diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java index 634b2ac93d5b..4d109012dbfe 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java @@ -1133,8 +1133,8 @@ 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
@@ -1157,8 +1157,8 @@ 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
@@ -1218,10 +1218,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.v2beta2.CloudTasks.ResumeQueue]. Tasks can
-     * still be added when the queue is paused. A queue is paused if its
-     * [state][google.cloud.tasks.v2beta2.Queue.state] is
-     * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
+     * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can still be added
+     * when the queue is paused. A queue is paused if its
+     * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ public void pauseQueue( @@ -1237,11 +1236,9 @@ public void pauseQueue( * Resume a queue. * This method resumes a queue after it has been * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED] or - * [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a - * queue is stored in the queue's - * [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method - * it will be set to - * [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING]. + * [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a queue is stored + * in the queue's [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method it + * will be set to [RUNNING][google.cloud.tasks.v2beta2.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 @@ -1259,9 +1256,9 @@ public void resumeQueue( * * *
-     * Gets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta2.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.v2beta2.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:
@@ -1278,8 +1275,8 @@ public void getIamPolicy(
      *
      *
      * 
-     * Sets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing policy.
+     * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.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
@@ -1298,10 +1295,9 @@ public void setIamPolicy(
      *
      *
      * 
-     * Returns permissions that a caller has on a
-     * [Queue][google.cloud.tasks.v2beta2.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.v2beta2.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.
@@ -1319,10 +1315,10 @@ public void testIamPermissions(
      *
      * 
      * Lists the tasks in a queue.
-     * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]
-     * view is retrieved due to performance considerations;
-     * [response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view]
-     * controls the subset of information which is returned.
+     * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
+     * due to performance considerations;
+     * [response_view][google.cloud.tasks.v2beta2.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.
      * 
@@ -1353,11 +1349,9 @@ 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.v2beta2.AppEngineHttpTarget],
-     * the maximum task size is
+     * * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task size is
      *   100KB.
-     * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum
-     * task size is 1MB.
+     * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ public void createTask( @@ -1390,17 +1384,16 @@ public void deleteTask( * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * This method is invoked by the worker to obtain a lease. The * worker must acknowledge the task via - * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] - * after they have performed the work associated with the task. - * The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended - * to store data that the worker needs to perform the work associated with the - * task. To return the payloads in the - * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set - * [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] - * to [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. - * A maximum of 10 qps of - * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are - * allowed per queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] + * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] after they have + * performed the work associated with the task. + * The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended to store data that + * the worker needs to perform the work associated with the task. To + * return the payloads in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set + * [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] to + * [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. + * A maximum of 10 qps of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] + * requests are allowed per + * queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] * is returned when this limit is * exceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] * is also returned when @@ -1421,12 +1414,11 @@ public void leaseTasks( *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
-     * [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must
-     * call this method to indicate that the work associated with the task has
-     * finished.
+     * [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must call this method
+     * to indicate that the work associated with the task has finished.
      * The worker must acknowledge a task within the
-     * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]
-     * or the lease will expire and the task will become available to be leased
+     * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] or the lease
+     * will expire and the task will become available to be leased
      * again. After the task is acknowledged, it will not be returned
      * by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks],
      * [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or
@@ -1446,8 +1438,7 @@ public void acknowledgeTask(
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
      * duration, starting from now. The new task lease will be
-     * returned in the task's
-     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
+     * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ public void renewLease( @@ -1462,9 +1453,9 @@ public void renewLease( *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
-     * setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * to now. This will make the task available to be leased to the next caller
-     * of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
+     * setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] to now. This will
+     * make the task available to be leased to the next caller of
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ public void cancelLease( @@ -1479,28 +1470,25 @@ public void cancelLease( *
      * 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.v2beta2.RateLimits] or is
-     * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
+     * the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits] or
+     * is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * This command is meant to be used for manual debugging. For
-     * example, [RunTask][google.cloud.tasks.v2beta2.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.v2beta2.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][google.cloud.tasks.v2beta2.Task.status] after the
-     * task is dispatched but before the task is received by its target.
+     * contains the [status][google.cloud.tasks.v2beta2.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.v2beta2.Task.schedule_time] will be
-     * reset to the time that
-     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus
-     * the retry delay specified in the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be reset to the time that
+     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus the retry delay specified
+     * in the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].
      * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns
      * [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
      * task that has already succeeded or permanently failed.
-     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called
-     * on a [pull task][google.cloud.tasks.v2beta2.PullMessage].
+     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called on a
+     * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ public void runTask( @@ -1701,8 +1689,8 @@ 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
@@ -1728,8 +1716,8 @@ 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
@@ -1798,10 +1786,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.v2beta2.CloudTasks.ResumeQueue]. Tasks can
-     * still be added when the queue is paused. A queue is paused if its
-     * [state][google.cloud.tasks.v2beta2.Queue.state] is
-     * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
+     * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can still be added
+     * when the queue is paused. A queue is paused if its
+     * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ public void pauseQueue( @@ -1820,11 +1807,9 @@ public void pauseQueue( * Resume a queue. * This method resumes a queue after it has been * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED] or - * [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a - * queue is stored in the queue's - * [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method - * it will be set to - * [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING]. + * [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a queue is stored + * in the queue's [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method it + * will be set to [RUNNING][google.cloud.tasks.v2beta2.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 @@ -1845,9 +1830,9 @@ public void resumeQueue( * * *
-     * Gets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta2.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.v2beta2.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:
@@ -1867,8 +1852,8 @@ public void getIamPolicy(
      *
      *
      * 
-     * Sets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing policy.
+     * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.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
@@ -1890,10 +1875,9 @@ public void setIamPolicy(
      *
      *
      * 
-     * Returns permissions that a caller has on a
-     * [Queue][google.cloud.tasks.v2beta2.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.v2beta2.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.
@@ -1914,10 +1898,10 @@ public void testIamPermissions(
      *
      * 
      * Lists the tasks in a queue.
-     * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]
-     * view is retrieved due to performance considerations;
-     * [response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view]
-     * controls the subset of information which is returned.
+     * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
+     * due to performance considerations;
+     * [response_view][google.cloud.tasks.v2beta2.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.
      * 
@@ -1954,11 +1938,9 @@ 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.v2beta2.AppEngineHttpTarget],
-     * the maximum task size is
+     * * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task size is
      *   100KB.
-     * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum
-     * task size is 1MB.
+     * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ public void createTask( @@ -1997,17 +1979,16 @@ public void deleteTask( * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * This method is invoked by the worker to obtain a lease. The * worker must acknowledge the task via - * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] - * after they have performed the work associated with the task. - * The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended - * to store data that the worker needs to perform the work associated with the - * task. To return the payloads in the - * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set - * [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] - * to [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. - * A maximum of 10 qps of - * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are - * allowed per queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] + * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] after they have + * performed the work associated with the task. + * The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended to store data that + * the worker needs to perform the work associated with the task. To + * return the payloads in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set + * [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] to + * [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. + * A maximum of 10 qps of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] + * requests are allowed per + * queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] * is returned when this limit is * exceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] * is also returned when @@ -2031,12 +2012,11 @@ public void leaseTasks( *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
-     * [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must
-     * call this method to indicate that the work associated with the task has
-     * finished.
+     * [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must call this method
+     * to indicate that the work associated with the task has finished.
      * The worker must acknowledge a task within the
-     * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]
-     * or the lease will expire and the task will become available to be leased
+     * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] or the lease
+     * will expire and the task will become available to be leased
      * again. After the task is acknowledged, it will not be returned
      * by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks],
      * [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or
@@ -2059,8 +2039,7 @@ public void acknowledgeTask(
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
      * duration, starting from now. The new task lease will be
-     * returned in the task's
-     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
+     * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ public void renewLease( @@ -2078,9 +2057,9 @@ public void renewLease( *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
-     * setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * to now. This will make the task available to be leased to the next caller
-     * of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
+     * setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] to now. This will
+     * make the task available to be leased to the next caller of
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ public void cancelLease( @@ -2098,28 +2077,25 @@ public void cancelLease( *
      * 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.v2beta2.RateLimits] or is
-     * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
+     * the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits] or
+     * is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * This command is meant to be used for manual debugging. For
-     * example, [RunTask][google.cloud.tasks.v2beta2.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.v2beta2.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][google.cloud.tasks.v2beta2.Task.status] after the
-     * task is dispatched but before the task is received by its target.
+     * contains the [status][google.cloud.tasks.v2beta2.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.v2beta2.Task.schedule_time] will be
-     * reset to the time that
-     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus
-     * the retry delay specified in the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be reset to the time that
+     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus the retry delay specified
+     * in the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].
      * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns
      * [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
      * task that has already succeeded or permanently failed.
-     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called
-     * on a [pull task][google.cloud.tasks.v2beta2.PullMessage].
+     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called on a
+     * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ public void runTask( @@ -2188,8 +2164,8 @@ public com.google.cloud.tasks.v2beta2.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
@@ -2212,8 +2188,8 @@ public com.google.cloud.tasks.v2beta2.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
@@ -2273,10 +2249,9 @@ public com.google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ResumeQueue]. Tasks can
-     * still be added when the queue is paused. A queue is paused if its
-     * [state][google.cloud.tasks.v2beta2.Queue.state] is
-     * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
+     * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can still be added
+     * when the queue is paused. A queue is paused if its
+     * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ public com.google.cloud.tasks.v2beta2.Queue pauseQueue( @@ -2292,11 +2267,9 @@ public com.google.cloud.tasks.v2beta2.Queue pauseQueue( * Resume a queue. * This method resumes a queue after it has been * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED] or - * [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a - * queue is stored in the queue's - * [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method - * it will be set to - * [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING]. + * [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a queue is stored + * in the queue's [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method it + * will be set to [RUNNING][google.cloud.tasks.v2beta2.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 @@ -2314,9 +2287,9 @@ public com.google.cloud.tasks.v2beta2.Queue resumeQueue( * * *
-     * Gets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta2.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.v2beta2.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:
@@ -2332,8 +2305,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
      *
      *
      * 
-     * Sets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing policy.
+     * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.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
@@ -2351,10 +2324,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.v2beta2.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.v2beta2.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.
@@ -2371,10 +2343,10 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      *
      * 
      * Lists the tasks in a queue.
-     * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]
-     * view is retrieved due to performance considerations;
-     * [response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view]
-     * controls the subset of information which is returned.
+     * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
+     * due to performance considerations;
+     * [response_view][google.cloud.tasks.v2beta2.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.
      * 
@@ -2402,11 +2374,9 @@ public com.google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpTarget],
-     * the maximum task size is
+     * * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task size is
      *   100KB.
-     * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum
-     * task size is 1MB.
+     * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ public com.google.cloud.tasks.v2beta2.Task createTask( @@ -2439,17 +2409,16 @@ public com.google.protobuf.Empty deleteTask( * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * This method is invoked by the worker to obtain a lease. The * worker must acknowledge the task via - * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] - * after they have performed the work associated with the task. - * The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended - * to store data that the worker needs to perform the work associated with the - * task. To return the payloads in the - * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set - * [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] - * to [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. - * A maximum of 10 qps of - * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are - * allowed per queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] + * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] after they have + * performed the work associated with the task. + * The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended to store data that + * the worker needs to perform the work associated with the task. To + * return the payloads in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set + * [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] to + * [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. + * A maximum of 10 qps of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] + * requests are allowed per + * queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] * is returned when this limit is * exceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] * is also returned when @@ -2469,12 +2438,11 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks( *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
-     * [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must
-     * call this method to indicate that the work associated with the task has
-     * finished.
+     * [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must call this method
+     * to indicate that the work associated with the task has finished.
      * The worker must acknowledge a task within the
-     * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]
-     * or the lease will expire and the task will become available to be leased
+     * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] or the lease
+     * will expire and the task will become available to be leased
      * again. After the task is acknowledged, it will not be returned
      * by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks],
      * [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or
@@ -2494,8 +2462,7 @@ public com.google.protobuf.Empty acknowledgeTask(
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
      * duration, starting from now. The new task lease will be
-     * returned in the task's
-     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
+     * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ public com.google.cloud.tasks.v2beta2.Task renewLease( @@ -2510,9 +2477,9 @@ public com.google.cloud.tasks.v2beta2.Task renewLease( *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
-     * setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * to now. This will make the task available to be leased to the next caller
-     * of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
+     * setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] to now. This will
+     * make the task available to be leased to the next caller of
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ public com.google.cloud.tasks.v2beta2.Task cancelLease( @@ -2527,28 +2494,25 @@ public com.google.cloud.tasks.v2beta2.Task cancelLease( *
      * 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.v2beta2.RateLimits] or is
-     * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
+     * the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits] or
+     * is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * This command is meant to be used for manual debugging. For
-     * example, [RunTask][google.cloud.tasks.v2beta2.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.v2beta2.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][google.cloud.tasks.v2beta2.Task.status] after the
-     * task is dispatched but before the task is received by its target.
+     * contains the [status][google.cloud.tasks.v2beta2.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.v2beta2.Task.schedule_time] will be
-     * reset to the time that
-     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus
-     * the retry delay specified in the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be reset to the time that
+     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus the retry delay specified
+     * in the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].
      * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns
      * [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
      * task that has already succeeded or permanently failed.
-     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called
-     * on a [pull task][google.cloud.tasks.v2beta2.PullMessage].
+     * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called on a
+     * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ public com.google.cloud.tasks.v2beta2.Task runTask( @@ -2614,8 +2578,8 @@ 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
@@ -2638,8 +2602,8 @@ 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
@@ -2699,10 +2663,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.v2beta2.CloudTasks.ResumeQueue]. Tasks can
-     * still be added when the queue is paused. A queue is paused if its
-     * [state][google.cloud.tasks.v2beta2.Queue.state] is
-     * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
+     * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can still be added
+     * when the queue is paused. A queue is paused if its
+     * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2718,11 +2681,9 @@ 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.v2beta2.Queue.State.PAUSED] or - * [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a - * queue is stored in the queue's - * [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method - * it will be set to - * [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING]. + * [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a queue is stored + * in the queue's [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method it + * will be set to [RUNNING][google.cloud.tasks.v2beta2.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 @@ -2740,9 +2701,9 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * * *
-     * Gets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta2.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.v2beta2.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:
@@ -2759,8 +2720,8 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      *
      *
      * 
-     * Sets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing policy.
+     * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.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
@@ -2779,10 +2740,9 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      *
      *
      * 
-     * Returns permissions that a caller has on a
-     * [Queue][google.cloud.tasks.v2beta2.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.v2beta2.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.
@@ -2800,10 +2760,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.v2beta2.Task.View.BASIC]
-     * view is retrieved due to performance considerations;
-     * [response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view]
-     * controls the subset of information which is returned.
+     * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
+     * due to performance considerations;
+     * [response_view][google.cloud.tasks.v2beta2.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.
      * 
@@ -2834,11 +2794,9 @@ 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.v2beta2.AppEngineHttpTarget],
-     * the maximum task size is
+     * * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task size is
      *   100KB.
-     * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum
-     * task size is 1MB.
+     * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2871,17 +2829,16 @@ public com.google.common.util.concurrent.ListenableFuture * Acknowledges a pull task. * The worker, that is, the entity that - * [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must - * call this method to indicate that the work associated with the task has - * finished. + * [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must call this method + * to indicate that the work associated with the task has finished. * The worker must acknowledge a task within the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] - * or the lease will expire and the task will become available to be leased + * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] or the lease + * will expire and the task will become available to be leased * again. After the task is acknowledged, it will not be returned * by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks], * [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or @@ -2927,8 +2883,7 @@ public com.google.common.util.concurrent.ListenableFuture */ public com.google.common.util.concurrent.ListenableFuture @@ -2943,9 +2898,9 @@ public com.google.common.util.concurrent.ListenableFuture * Cancel a pull task's lease. * The worker can use this method to cancel a task's lease by - * setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] - * to now. This will make the task available to be leased to the next caller - * of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. + * setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] to now. This will + * make the task available to be leased to the next caller of + * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. *
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2960,28 +2915,25 @@ 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.v2beta2.RateLimits] or is - * [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. + * the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits] or + * is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. * This command is meant to be used for manual debugging. For - * example, [RunTask][google.cloud.tasks.v2beta2.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.v2beta2.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][google.cloud.tasks.v2beta2.Task.status] after the - * task is dispatched but before the task is received by its target. + * contains the [status][google.cloud.tasks.v2beta2.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.v2beta2.Task.schedule_time] will be - * reset to the time that - * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus - * the retry delay specified in the queue's - * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig]. + * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be reset to the time that + * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus the retry delay specified + * in the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig]. * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns * [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a * task that has already succeeded or permanently failed. - * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called - * on a [pull task][google.cloud.tasks.v2beta2.PullMessage]. + * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called on a + * [pull task][google.cloud.tasks.v2beta2.PullMessage]. *
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java index db6237762460..cde98568f20b 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java @@ -29,11 +29,10 @@ * protocol. * The [AppEngineRouting][google.cloud.tasks.v2.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.v2.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.v2.AppEngineHttpRequest.app_engine_routing]. + * * If [app_engine_routing_override is set on the + * queue][Queue.app_engine_routing_override], this value is used for all + * tasks in the queue, no matter what the setting is for the [task-level + * app_engine_routing][AppEngineHttpRequest.app_engine_routing]. * The `url` that the task will be sent to is: * * `url =` [host][google.cloud.tasks.v2.AppEngineRouting.host] `+` * [relative_uri][google.cloud.tasks.v2.AppEngineHttpRequest.relative_uri] @@ -51,7 +50,7 @@ * the app's handler returns a non-2xx response code or Cloud Tasks does * not receive response before the [deadline][google.cloud.tasks.v2.Task.dispatch_deadline]. Failed * tasks will be retried according to the - * [retry configuration][Queue.RetryConfig]. `503` (Service Unavailable) is + * [retry configuration][google.cloud.tasks.v2.Queue.retry_config]. `503` (Service Unavailable) is * considered an App Engine system error instead of an application error and * will cause Cloud Tasks' traffic congestion control to temporarily throttle * the queue's dispatches. Unlike other types of task targets, a `429` (Too Many @@ -251,10 +250,10 @@ public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { * *
    * Task-level setting for App Engine routing.
-   * If set,
-   * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+   * * If [app_engine_routing_override is set on the
+   *    queue][Queue.app_engine_routing_override], this value is used for all
+   *    tasks in the queue, no matter what the setting is for the [task-level
+   *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -267,10 +266,10 @@ public boolean hasAppEngineRouting() { * *
    * Task-level setting for App Engine routing.
-   * If set,
-   * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+   * * If [app_engine_routing_override is set on the
+   *    queue][Queue.app_engine_routing_override], this value is used for all
+   *    tasks in the queue, no matter what the setting is for the [task-level
+   *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -285,10 +284,10 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { * *
    * Task-level setting for App Engine routing.
-   * If set,
-   * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+   * * If [app_engine_routing_override is set on the
+   *    queue][Queue.app_engine_routing_override], this value is used for all
+   *    tasks in the queue, no matter what the setting is for the [task-level
+   *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -820,11 +819,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * protocol. * The [AppEngineRouting][google.cloud.tasks.v2.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.v2.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.v2.AppEngineHttpRequest.app_engine_routing]. + * * If [app_engine_routing_override is set on the + * queue][Queue.app_engine_routing_override], this value is used for all + * tasks in the queue, no matter what the setting is for the [task-level + * app_engine_routing][AppEngineHttpRequest.app_engine_routing]. * The `url` that the task will be sent to is: * * `url =` [host][google.cloud.tasks.v2.AppEngineRouting.host] `+` * [relative_uri][google.cloud.tasks.v2.AppEngineHttpRequest.relative_uri] @@ -842,7 +840,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * the app's handler returns a non-2xx response code or Cloud Tasks does * not receive response before the [deadline][google.cloud.tasks.v2.Task.dispatch_deadline]. Failed * tasks will be retried according to the - * [retry configuration][Queue.RetryConfig]. `503` (Service Unavailable) is + * [retry configuration][google.cloud.tasks.v2.Queue.retry_config]. `503` (Service Unavailable) is * considered an App Engine system error instead of an application error and * will cause Cloud Tasks' traffic congestion control to temporarily throttle * the queue's dispatches. Unlike other types of task targets, a `429` (Too Many @@ -1187,10 +1185,10 @@ public Builder clearHttpMethod() { * *
      * Task-level setting for App Engine routing.
-     * If set,
-     * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+     * * If [app_engine_routing_override is set on the
+     *    queue][Queue.app_engine_routing_override], this value is used for all
+     *    tasks in the queue, no matter what the setting is for the [task-level
+     *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -1203,10 +1201,10 @@ public boolean hasAppEngineRouting() { * *
      * Task-level setting for App Engine routing.
-     * If set,
-     * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+     * * If [app_engine_routing_override is set on the
+     *    queue][Queue.app_engine_routing_override], this value is used for all
+     *    tasks in the queue, no matter what the setting is for the [task-level
+     *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -1225,10 +1223,10 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { * *
      * Task-level setting for App Engine routing.
-     * If set,
-     * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+     * * If [app_engine_routing_override is set on the
+     *    queue][Queue.app_engine_routing_override], this value is used for all
+     *    tasks in the queue, no matter what the setting is for the [task-level
+     *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -1251,10 +1249,10 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting va * *
      * Task-level setting for App Engine routing.
-     * If set,
-     * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+     * * If [app_engine_routing_override is set on the
+     *    queue][Queue.app_engine_routing_override], this value is used for all
+     *    tasks in the queue, no matter what the setting is for the [task-level
+     *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -1275,10 +1273,10 @@ public Builder setAppEngineRouting( * *
      * Task-level setting for App Engine routing.
-     * If set,
-     * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+     * * If [app_engine_routing_override is set on the
+     *    queue][Queue.app_engine_routing_override], this value is used for all
+     *    tasks in the queue, no matter what the setting is for the [task-level
+     *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -1305,10 +1303,10 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting * *
      * Task-level setting for App Engine routing.
-     * If set,
-     * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+     * * If [app_engine_routing_override is set on the
+     *    queue][Queue.app_engine_routing_override], this value is used for all
+     *    tasks in the queue, no matter what the setting is for the [task-level
+     *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -1329,10 +1327,10 @@ public Builder clearAppEngineRouting() { * *
      * Task-level setting for App Engine routing.
-     * If set,
-     * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+     * * If [app_engine_routing_override is set on the
+     *    queue][Queue.app_engine_routing_override], this value is used for all
+     *    tasks in the queue, no matter what the setting is for the [task-level
+     *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -1347,10 +1345,10 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingBui * *
      * Task-level setting for App Engine routing.
-     * If set,
-     * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+     * * If [app_engine_routing_override is set on the
+     *    queue][Queue.app_engine_routing_override], this value is used for all
+     *    tasks in the queue, no matter what the setting is for the [task-level
+     *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -1369,10 +1367,10 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr * *
      * Task-level setting for App Engine routing.
-     * If set,
-     * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+     * * If [app_engine_routing_override is set on the
+     *    queue][Queue.app_engine_routing_override], this value is used for all
+     *    tasks in the queue, no matter what the setting is for the [task-level
+     *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java index b939fd786ee3..86b4286ff2da 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java @@ -52,10 +52,10 @@ public interface AppEngineHttpRequestOrBuilder * *
    * Task-level setting for App Engine routing.
-   * If set,
-   * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+   * * If [app_engine_routing_override is set on the
+   *    queue][Queue.app_engine_routing_override], this value is used for all
+   *    tasks in the queue, no matter what the setting is for the [task-level
+   *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -66,10 +66,10 @@ public interface AppEngineHttpRequestOrBuilder * *
    * Task-level setting for App Engine routing.
-   * If set,
-   * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+   * * If [app_engine_routing_override is set on the
+   *    queue][Queue.app_engine_routing_override], this value is used for all
+   *    tasks in the queue, no matter what the setting is for the [task-level
+   *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; @@ -80,10 +80,10 @@ public interface AppEngineHttpRequestOrBuilder * *
    * Task-level setting for App Engine routing.
-   * If set,
-   * [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing].
+   * * If [app_engine_routing_override is set on the
+   *    queue][Queue.app_engine_routing_override], this value is used for all
+   *    tasks in the queue, no matter what the setting is for the [task-level
+   *    app_engine_routing][AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java index 5bb726abe0e2..f08c0b432a86 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java @@ -19,6 +19,11 @@ * routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), * and [App Engine Flex request * routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). + * Using [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] requires + * [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) + * Google IAM permission for the project + * and the following scope: + * `https://www.googleapis.com/auth/cloud-platform` *
* * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting} @@ -588,6 +593,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), * and [App Engine Flex request * routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). + * Using [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] requires + * [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) + * Google IAM permission for the project + * and the following scope: + * `https://www.googleapis.com/auth/cloud-platform` *
* * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java index c4cdde61b68f..37b68beae835 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java @@ -83,104 +83,124 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n&google/cloud/tasks/v2/cloudtasks.proto" + "\022\025google.cloud.tasks.v2\032\034google/api/anno" - + "tations.proto\032\031google/api/resource.proto" - + "\032!google/cloud/tasks/v2/queue.proto\032 goo" - + "gle/cloud/tasks/v2/task.proto\032\036google/ia" - + "m/v1/iam_policy.proto\032\032google/iam/v1/pol" - + "icy.proto\032\033google/protobuf/empty.proto\032 " - + "google/protobuf/field_mask.proto\032\025google" - + "/rpc/code.proto\"Z\n\021ListQueuesRequest\022\016\n\006" - + "parent\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_siz" - + "e\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueue" - + "sResponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud" - + ".tasks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\037\n\017GetQueueRequest\022\014\n\004name\030\001 \001(\t\"Q\n\022Cre" - + "ateQueueRequest\022\016\n\006parent\030\001 \001(\t\022+\n\005queue" - + "\030\002 \001(\0132\034.google.cloud.tasks.v2.Queue\"r\n\022" - + "UpdateQueueRequest\022+\n\005queue\030\001 \001(\0132\034.goog" - + "le.cloud.tasks.v2.Queue\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"\"\n\022Dele" - + "teQueueRequest\022\014\n\004name\030\001 \001(\t\"!\n\021PurgeQue" - + "ueRequest\022\014\n\004name\030\001 \001(\t\"!\n\021PauseQueueReq" - + "uest\022\014\n\004name\030\001 \001(\t\"\"\n\022ResumeQueueRequest" - + "\022\014\n\004name\030\001 \001(\t\"\202\001\n\020ListTasksRequest\022\016\n\006p" - + "arent\030\001 \001(\t\0227\n\rresponse_view\030\002 \001(\0162 .goo" - + "gle.cloud.tasks.v2.Task.View\022\021\n\tpage_siz" - + "e\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"X\n\021ListTasks" - + "Response\022*\n\005tasks\030\001 \003(\0132\033.google.cloud.t" - + "asks.v2.Task\022\027\n\017next_page_token\030\002 \001(\t\"W\n" - + "\016GetTaskRequest\022\014\n\004name\030\001 \001(\t\0227\n\rrespons" - + "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas" - + "k.View\"\207\001\n\021CreateTaskRequest\022\016\n\006parent\030\001" - + " \001(\t\022)\n\004task\030\002 \001(\0132\033.google.cloud.tasks." - + "v2.Task\0227\n\rresponse_view\030\003 \001(\0162 .google." - + "cloud.tasks.v2.Task.View\"!\n\021DeleteTaskRe" - + "quest\022\014\n\004name\030\001 \001(\t\"W\n\016RunTaskRequest\022\014\n" - + "\004name\030\001 \001(\t\0227\n\rresponse_view\030\002 \001(\0162 .goo" - + "gle.cloud.tasks.v2.Task.View2\337\022\n\nCloudTa" - + "sks\022\225\001\n\nListQueues\022(.google.cloud.tasks." - + "v2.ListQueuesRequest\032).google.cloud.task" - + "s.v2.ListQueuesResponse\"2\202\323\344\223\002,\022*/v2/{pa" - + "rent=projects/*/locations/*}/queues\022\204\001\n\010" - + "GetQueue\022&.google.cloud.tasks.v2.GetQueu" - + "eRequest\032\034.google.cloud.tasks.v2.Queue\"2" - + "\202\323\344\223\002,\022*/v2/{name=projects/*/locations/*" - + "/queues/*}\022\221\001\n\013CreateQueue\022).google.clou" - + "d.tasks.v2.CreateQueueRequest\032\034.google.c" - + "loud.tasks.v2.Queue\"9\202\323\344\223\0023\"*/v2/{parent" - + "=projects/*/locations/*}/queues:\005queue\022\227" - + "\001\n\013UpdateQueue\022).google.cloud.tasks.v2.U" - + "pdateQueueRequest\032\034.google.cloud.tasks.v" - + "2.Queue\"?\202\323\344\223\002920/v2/{queue.name=project" - + "s/*/locations/*/queues/*}:\005queue\022\204\001\n\013Del" - + "eteQueue\022).google.cloud.tasks.v2.DeleteQ" - + "ueueRequest\032\026.google.protobuf.Empty\"2\202\323\344" - + "\223\002,**/v2/{name=projects/*/locations/*/qu" - + "eues/*}\022\221\001\n\nPurgeQueue\022(.google.cloud.ta" - + "sks.v2.PurgeQueueRequest\032\034.google.cloud." - + "tasks.v2.Queue\";\202\323\344\223\0025\"0/v2/{name=projec" - + "ts/*/locations/*/queues/*}:purge:\001*\022\221\001\n\n" - + "PauseQueue\022(.google.cloud.tasks.v2.Pause" - + "QueueRequest\032\034.google.cloud.tasks.v2.Que" - + "ue\";\202\323\344\223\0025\"0/v2/{name=projects/*/locatio" - + "ns/*/queues/*}:pause:\001*\022\224\001\n\013ResumeQueue\022" - + ").google.cloud.tasks.v2.ResumeQueueReque" - + "st\032\034.google.cloud.tasks.v2.Queue\"<\202\323\344\223\0026" - + "\"1/v2/{name=projects/*/locations/*/queue" - + "s/*}:resume:\001*\022\221\001\n\014GetIamPolicy\022\".google" - + ".iam.v1.GetIamPolicyRequest\032\025.google.iam" - + ".v1.Policy\"F\202\323\344\223\002@\";/v2/{resource=projec" - + "ts/*/locations/*/queues/*}:getIamPolicy:" - + "\001*\022\221\001\n\014SetIamPolicy\022\".google.iam.v1.SetI" - + "amPolicyRequest\032\025.google.iam.v1.Policy\"F" - + "\202\323\344\223\002@\";/v2/{resource=projects/*/locatio" - + "ns/*/queues/*}:setIamPolicy:\001*\022\267\001\n\022TestI" - + "amPermissions\022(.google.iam.v1.TestIamPer" - + "missionsRequest\032).google.iam.v1.TestIamP" - + "ermissionsResponse\"L\202\323\344\223\002F\"A/v2/{resourc" - + "e=projects/*/locations/*/queues/*}:testI" - + "amPermissions:\001*\022\232\001\n\tListTasks\022\'.google." - + "cloud.tasks.v2.ListTasksRequest\032(.google" - + ".cloud.tasks.v2.ListTasksResponse\":\202\323\344\223\002" - + "4\0222/v2/{parent=projects/*/locations/*/qu" - + "eues/*}/tasks\022\211\001\n\007GetTask\022%.google.cloud" - + ".tasks.v2.GetTaskRequest\032\033.google.cloud." - + "tasks.v2.Task\":\202\323\344\223\0024\0222/v2/{name=project" - + "s/*/locations/*/queues/*/tasks/*}\022\222\001\n\nCr" - + "eateTask\022(.google.cloud.tasks.v2.CreateT" - + "askRequest\032\033.google.cloud.tasks.v2.Task\"" - + "=\202\323\344\223\0027\"2/v2/{parent=projects/*/location" - + "s/*/queues/*}/tasks:\001*\022\212\001\n\nDeleteTask\022(." - + "google.cloud.tasks.v2.DeleteTaskRequest\032" - + "\026.google.protobuf.Empty\":\202\323\344\223\0024*2/v2/{na" - + "me=projects/*/locations/*/queues/*/tasks" - + "/*}\022\220\001\n\007RunTask\022%.google.cloud.tasks.v2." - + "RunTaskRequest\032\033.google.cloud.tasks.v2.T" - + "ask\"A\202\323\344\223\002;\"6/v2/{name=projects/*/locati" - + "ons/*/queues/*/tasks/*}:run:\001*Br\n\031com.go" - + "ogle.cloud.tasks.v2B\017CloudTasksProtoP\001Z:" - + "google.golang.org/genproto/googleapis/cl" - + "oud/tasks/v2;tasks\242\002\005TASKSb\006proto3" + + "tations.proto\032\027google/api/client.proto\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\032!google/cloud/tasks/v" + + "2/queue.proto\032 google/cloud/tasks/v2/tas" + + "k.proto\032\036google/iam/v1/iam_policy.proto\032" + + "\032google/iam/v1/policy.proto\032\033google/prot" + + "obuf/empty.proto\032 google/protobuf/field_" + + "mask.proto\"\205\001\n\021ListQueuesRequest\0229\n\006pare" + + "nt\030\001 \001(\tB)\340A\002\372A#\022!locations.googleapis.c" + + "om/Location\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\022ListQueues" + + "Response\022,\n\006queues\030\001 \003(\0132\034.google.cloud." + + "tasks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"" + + "H\n\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!" + + "\n\037cloudtasks.googleapis.com/Queue\"\201\001\n\022Cr" + + "eateQueueRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#" + + "\022!locations.googleapis.com/Location\0220\n\005q" + + "ueue\030\002 \001(\0132\034.google.cloud.tasks.v2.Queue" + + "B\003\340A\002\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001" + + "(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + + "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" + + "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" + + "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + + "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" + + "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + + "\037cloudtasks.googleapis.com/Queue\"\253\001\n\020Lis" + + "tTasksRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" + + "loudtasks.googleapis.com/Queue\0227\n\rrespon" + + "se_view\030\002 \001(\0162 .google.cloud.tasks.v2.Ta" + + "sk.View\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token" + + "\030\004 \001(\t\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003" + + "(\0132\033.google.cloud.tasks.v2.Task\022\027\n\017next_" + + "page_token\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004na" + + "me\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleapis." + + "com/Task\0227\n\rresponse_view\030\002 \001(\0162 .google" + + ".cloud.tasks.v2.Task.View\"\265\001\n\021CreateTask" + + "Request\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudta" + + "sks.googleapis.com/Queue\022.\n\004task\030\002 \001(\0132\033" + + ".google.cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresp" + + "onse_view\030\003 \001(\0162 .google.cloud.tasks.v2." + + "Task.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001" + + " \001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/" + + "Task\"\177\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A" + + "\002\372A \n\036cloudtasks.googleapis.com/Task\0227\n\r" + + "response_view\030\002 \001(\0162 .google.cloud.tasks" + + ".v2.Task.View2\335\024\n\nCloudTasks\022\236\001\n\nListQue" + + "ues\022(.google.cloud.tasks.v2.ListQueuesRe" + + "quest\032).google.cloud.tasks.v2.ListQueues" + + "Response\";\202\323\344\223\002,\022*/v2/{parent=projects/*" + + "/locations/*}/queues\332A\006parent\022\213\001\n\010GetQue" + + "ue\022&.google.cloud.tasks.v2.GetQueueReque" + + "st\032\034.google.cloud.tasks.v2.Queue\"9\202\323\344\223\002," + + "\022*/v2/{name=projects/*/locations/*/queue" + + "s/*}\332A\004name\022\240\001\n\013CreateQueue\022).google.clo" + + "ud.tasks.v2.CreateQueueRequest\032\034.google." + + "cloud.tasks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{paren" + + "t=projects/*/locations/*}/queues:\005queue\332" + + "A\014parent,queue\022\253\001\n\013UpdateQueue\022).google." + + "cloud.tasks.v2.UpdateQueueRequest\032\034.goog" + + "le.cloud.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{qu" + + "eue.name=projects/*/locations/*/queues/*" + + "}:\005queue\332A\021queue,update_mask\022\213\001\n\013DeleteQ" + + "ueue\022).google.cloud.tasks.v2.DeleteQueue" + + "Request\032\026.google.protobuf.Empty\"9\202\323\344\223\002,*" + + "*/v2/{name=projects/*/locations/*/queues" + + "/*}\332A\004name\022\230\001\n\nPurgeQueue\022(.google.cloud" + + ".tasks.v2.PurgeQueueRequest\032\034.google.clo" + + "ud.tasks.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=pro" + + "jects/*/locations/*/queues/*}:purge:\001*\332A" + + "\004name\022\230\001\n\nPauseQueue\022(.google.cloud.task" + + "s.v2.PauseQueueRequest\032\034.google.cloud.ta" + + "sks.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects" + + "/*/locations/*/queues/*}:pause:\001*\332A\004name" + + "\022\233\001\n\013ResumeQueue\022).google.cloud.tasks.v2" + + ".ResumeQueueRequest\032\034.google.cloud.tasks" + + ".v2.Queue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/" + + "locations/*/queues/*}:resume:\001*\332A\004name\022\234" + + "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" + + "licyRequest\032\025.google.iam.v1.Policy\"Q\202\323\344\223" + + "\002@\";/v2/{resource=projects/*/locations/*" + + "/queues/*}:getIamPolicy:\001*\332A\010resource\022\243\001" + + "\n\014SetIamPolicy\022\".google.iam.v1.SetIamPol" + + "icyRequest\032\025.google.iam.v1.Policy\"X\202\323\344\223\002" + + "@\";/v2/{resource=projects/*/locations/*/" + + "queues/*}:setIamPolicy:\001*\332A\017resource,pol" + + "icy\022\316\001\n\022TestIamPermissions\022(.google.iam." + + "v1.TestIamPermissionsRequest\032).google.ia" + + "m.v1.TestIamPermissionsResponse\"c\202\323\344\223\002F\"" + + "A/v2/{resource=projects/*/locations/*/qu" + + "eues/*}:testIamPermissions:\001*\332A\024resource" + + ",permissions\022\243\001\n\tListTasks\022\'.google.clou" + + "d.tasks.v2.ListTasksRequest\032(.google.clo" + + "ud.tasks.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/" + + "v2/{parent=projects/*/locations/*/queues" + + "/*}/tasks\332A\006parent\022\220\001\n\007GetTask\022%.google." + + "cloud.tasks.v2.GetTaskRequest\032\033.google.c" + + "loud.tasks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=pr" + + "ojects/*/locations/*/queues/*/tasks/*}\332A" + + "\004name\022\240\001\n\nCreateTask\022(.google.cloud.task" + + "s.v2.CreateTaskRequest\032\033.google.cloud.ta" + + "sks.v2.Task\"K\202\323\344\223\0027\"2/v2/{parent=project" + + "s/*/locations/*/queues/*}/tasks:\001*\332A\013par" + + "ent,task\022\221\001\n\nDeleteTask\022(.google.cloud.t" + + "asks.v2.DeleteTaskRequest\032\026.google.proto" + + "buf.Empty\"A\202\323\344\223\0024*2/v2/{name=projects/*/" + + "locations/*/queues/*/tasks/*}\332A\004name\022\227\001\n" + + "\007RunTask\022%.google.cloud.tasks.v2.RunTask" + + "Request\032\033.google.cloud.tasks.v2.Task\"H\202\323" + + "\344\223\002;\"6/v2/{name=projects/*/locations/*/q" + + "ueues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031cloud" + + "tasks.googleapis.com\322A.https://www.googl" + + "eapis.com/auth/cloud-platformBr\n\031com.goo" + + "gle.cloud.tasks.v2B\017CloudTasksProtoP\001Z:g" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/tasks/v2;tasks\242\002\005TASKSb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -194,6 +214,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.tasks.v2.QueueProto.getDescriptor(), com.google.cloud.tasks.v2.TaskProto.getDescriptor(), @@ -201,7 +223,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.iam.v1.PolicyProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.CodeProto.getDescriptor(), }, assigner); internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor = @@ -326,10 +347,17 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2.QueueProto.getDescriptor(); com.google.cloud.tasks.v2.TaskProto.getDescriptor(); @@ -337,7 +365,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.iam.v1.PolicyProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.CodeProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java index 08b6175a45be..9cf39970c4f8 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java @@ -112,15 +112,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -137,15 +138,16 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -165,12 +167,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public boolean hasQueue() { return queue_ != null; @@ -179,12 +180,11 @@ public boolean hasQueue() { * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; @@ -193,12 +193,11 @@ public com.google.cloud.tasks.v2.Queue getQueue() { * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { return getQueue(); @@ -553,15 +552,16 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -578,15 +578,16 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -603,15 +604,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -626,15 +628,16 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -646,15 +649,16 @@ public Builder clearParent() { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -677,12 +681,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; @@ -691,12 +695,12 @@ public boolean hasQueue() { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.Queue getQueue() { if (queueBuilder_ == null) { @@ -709,12 +713,12 @@ public com.google.cloud.tasks.v2.Queue getQueue() { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -733,12 +737,12 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { @@ -754,12 +758,12 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -780,12 +784,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -802,12 +806,12 @@ public Builder clearQueue() { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { @@ -818,12 +822,12 @@ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { @@ -836,12 +840,12 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2.Queue, diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java index 502c92222380..ee44b788ab36 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java @@ -12,30 +12,32 @@ public interface CreateQueueRequestOrBuilder * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); @@ -43,36 +45,33 @@ public interface CreateQueueRequestOrBuilder * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ boolean hasQueue(); /** * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2.Queue getQueue(); /** * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 2; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java index a2077d2a7815..c8ef1bfa6a8f 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java @@ -119,13 +119,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -142,13 +143,14 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -168,8 +170,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2.Task.name]. If a
@@ -199,7 +200,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public boolean hasTask() { return task_ != null; @@ -208,8 +209,7 @@ public boolean hasTask() { * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2.Task.name]. If a
@@ -239,7 +239,7 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_; @@ -248,8 +248,7 @@ public com.google.cloud.tasks.v2.Task getTask() { * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2.Task.name]. If a
@@ -279,7 +278,7 @@ public com.google.cloud.tasks.v2.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() { return getTask(); @@ -697,13 +696,14 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -720,13 +720,14 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -743,13 +744,14 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -764,13 +766,14 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -782,13 +785,14 @@ public Builder clearParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -811,8 +815,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2.Task.name]. If a
@@ -842,7 +845,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; @@ -851,8 +854,7 @@ public boolean hasTask() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2.Task.name]. If a
@@ -882,7 +884,7 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Task getTask() { if (taskBuilder_ == null) { @@ -895,8 +897,7 @@ public com.google.cloud.tasks.v2.Task getTask() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2.Task.name]. If a
@@ -926,7 +927,7 @@ public com.google.cloud.tasks.v2.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTask(com.google.cloud.tasks.v2.Task value) { if (taskBuilder_ == null) { @@ -945,8 +946,7 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2.Task.name]. If a
@@ -976,7 +976,7 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (taskBuilder_ == null) { @@ -992,8 +992,7 @@ public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2.Task.name]. If a
@@ -1023,7 +1022,7 @@ public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTask(com.google.cloud.tasks.v2.Task value) { if (taskBuilder_ == null) { @@ -1043,8 +1042,7 @@ public Builder mergeTask(com.google.cloud.tasks.v2.Task value) { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2.Task.name]. If a
@@ -1074,7 +1072,7 @@ public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1091,8 +1089,7 @@ public Builder clearTask() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2.Task.name]. If a
@@ -1122,7 +1119,7 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Task.Builder getTaskBuilder() { @@ -1133,8 +1130,7 @@ public com.google.cloud.tasks.v2.Task.Builder getTaskBuilder() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2.Task.name]. If a
@@ -1164,7 +1160,7 @@ public com.google.cloud.tasks.v2.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { @@ -1177,8 +1173,7 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2.Task.name]. If a
@@ -1208,7 +1203,7 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2.Task, diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java index 2b11eaecc954..3312831030a6 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java @@ -12,26 +12,28 @@ public interface CreateTaskRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); @@ -39,8 +41,7 @@ public interface CreateTaskRequestOrBuilder * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2.Task.name]. If a
@@ -70,15 +71,14 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ boolean hasTask(); /** * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2.Task.name]. If a
@@ -108,15 +108,14 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2.Task getTask(); /** * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2.Task.name]. If a
@@ -146,7 +145,7 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2.Task task = 2; + * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder(); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java index d51043b8861c..b2735da548ec 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java @@ -97,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -119,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -459,12 +461,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -481,12 +484,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -503,12 +507,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -523,12 +528,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -540,12 +546,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java index db743c2d4063..66951b325cdd 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface DeleteQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java index 433372d11c9f..1f429f476099 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java @@ -98,12 +98,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -120,12 +121,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -461,12 +463,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -483,12 +486,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -505,12 +509,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -525,12 +530,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -542,12 +548,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java index 8cb68d4729fc..3fdffc767e23 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface DeleteTaskRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java index f65053d0480e..b52abbef04bb 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java @@ -97,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -119,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -459,12 +461,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -481,12 +484,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -503,12 +507,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -523,12 +528,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -540,12 +546,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java index c056653da64d..03de2ace6a52 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface GetQueueRequestOrBuilder * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java index 6dea83ce4bde..26695dc3d525 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java @@ -105,12 +105,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -127,12 +128,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -529,12 +531,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -551,12 +554,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -573,12 +577,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -593,12 +598,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -610,12 +616,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java index d51c197843aa..2e4f51a4312d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface GetTaskRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java index 45feb1b65d6a..9d663b39473f 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java @@ -118,12 +118,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -140,12 +141,13 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -661,12 +663,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -683,12 +686,13 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -705,12 +709,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -725,12 +730,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -742,12 +748,13 @@ public Builder clearParent() { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java index 8b08569b65de..23a0f5193666 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface ListQueuesRequestOrBuilder * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java index f651d9be33ca..0663e5bba744 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java @@ -118,12 +118,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -140,12 +141,13 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -649,12 +651,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -671,12 +674,13 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -693,12 +697,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -713,12 +718,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -730,12 +736,13 @@ public Builder clearParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java index 12387318ee29..e4923ff25c88 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface ListTasksRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java index 6c3965025434..4f32e74e550a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java @@ -97,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -119,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -459,12 +461,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -481,12 +484,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -503,12 +507,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -523,12 +528,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -540,12 +546,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java index ac7ca202194e..16c6fd9af2b0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface PauseQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java index ef0112852653..8100bdfe4cdb 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java @@ -97,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -119,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -459,12 +461,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -481,12 +484,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -503,12 +507,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -523,12 +528,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -540,12 +546,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java index 0dc246f938a7..3e8b6c0dbbef 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface PurgeQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java index 013088004cee..6f463074757e 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java @@ -34,11 +34,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n!google/cloud/tasks/v2/queue.proto\022\025goo" - + "gle.cloud.tasks.v2\032\034google/api/annotatio" - + "ns.proto\032\031google/api/resource.proto\032\"goo" - + "gle/cloud/tasks/v2/target.proto\032\036google/" - + "protobuf/duration.proto\032\037google/protobuf" - + "/timestamp.proto\"\377\002\n\005Queue\022\014\n\004name\030\001 \001(\t" + + "gle.cloud.tasks.v2\032\031google/api/resource." + + "proto\032\"google/cloud/tasks/v2/target.prot" + + "o\032\036google/protobuf/duration.proto\032\037googl" + + "e/protobuf/timestamp.proto\032\034google/api/a" + + "nnotations.proto\"\335\003\n\005Queue\022\014\n\004name\030\001 \001(\t" + "\022L\n\033app_engine_routing_override\030\002 \001(\0132\'." + "google.cloud.tasks.v2.AppEngineRouting\0226" + "\n\013rate_limits\030\003 \001(\0132!.google.cloud.tasks" @@ -48,17 +48,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ate\022.\n\npurge_time\030\006 \001(\0132\032.google.protobu" + "f.Timestamp\"E\n\005State\022\025\n\021STATE_UNSPECIFIE" + "D\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DISABLED" - + "\020\003\"j\n\nRateLimits\022!\n\031max_dispatches_per_s" - + "econd\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031m" - + "ax_concurrent_dispatches\030\003 \001(\005\"\321\001\n\013Retry" - + "Config\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022max_retr" - + "y_duration\030\002 \001(\0132\031.google.protobuf.Durat" - + "ion\022.\n\013min_backoff\030\003 \001(\0132\031.google.protob" - + "uf.Duration\022.\n\013max_backoff\030\004 \001(\0132\031.googl" - + "e.protobuf.Duration\022\025\n\rmax_doublings\030\005 \001" - + "(\005Be\n\031com.google.cloud.tasks.v2B\nQueuePr" - + "otoP\001Z:google.golang.org/genproto/google" - + "apis/cloud/tasks/v2;tasksb\006proto3" + + "\020\003:\\\352AY\n\037cloudtasks.googleapis.com/Queue" + + "\0226projects/{project}/locations/{location" + + "}/queues/{queue}\"j\n\nRateLimits\022!\n\031max_di" + + "spatches_per_second\030\001 \001(\001\022\026\n\016max_burst_s" + + "ize\030\002 \001(\005\022!\n\031max_concurrent_dispatches\030\003" + + " \001(\005\"\321\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001" + + "(\005\0225\n\022max_retry_duration\030\002 \001(\0132\031.google." + + "protobuf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031" + + ".google.protobuf.Duration\022.\n\013max_backoff" + + "\030\004 \001(\0132\031.google.protobuf.Duration\022\025\n\rmax" + + "_doublings\030\005 \001(\005Be\n\031com.google.cloud.tas" + + "ks.v2B\nQueueProtoP\001Z:google.golang.org/g" + + "enproto/googleapis/cloud/tasks/v2;tasksb" + + "\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -71,11 +74,11 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.tasks.v2.TargetProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_cloud_tasks_v2_Queue_descriptor = @@ -102,11 +105,16 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); - com.google.api.AnnotationsProto.getDescriptor(); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2.TargetProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java index 7dab4bde11a6..4ff7b656e36d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java @@ -110,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.v2.AppEngineHttpQueue], the maximum allowed value - * is 500. + * * The maximum allowed value is 500. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -146,7 +145,7 @@ public double getMaxDispatchesPerSecond() { * Cloud Tasks will pick the value of `max_burst_size` based on the * value of * [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second]. - * For App Engine queues that were created or updated using + * For queues that were created or updated using * `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 @@ -547,8 +546,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.v2.AppEngineHttpQueue], the maximum allowed value - * is 500. + * * The maximum allowed value is 500. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -566,8 +564,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.v2.AppEngineHttpQueue], the maximum allowed value - * is 500. + * * The maximum allowed value is 500. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -588,8 +585,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.v2.AppEngineHttpQueue], the maximum allowed value - * is 500. + * * The maximum allowed value is 500. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -626,7 +622,7 @@ public Builder clearMaxDispatchesPerSecond() { * Cloud Tasks will pick the value of `max_burst_size` based on the * value of * [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second]. - * For App Engine queues that were created or updated using + * For queues that were created or updated using * `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 @@ -665,7 +661,7 @@ public int getMaxBurstSize() { * Cloud Tasks will pick the value of `max_burst_size` based on the * value of * [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second]. - * For App Engine queues that were created or updated using + * For queues that were created or updated using * `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 @@ -707,7 +703,7 @@ public Builder setMaxBurstSize(int value) { * Cloud Tasks will pick the value of `max_burst_size` based on the * value of * [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second]. - * For App Engine queues that were created or updated using + * For queues that were created or updated using * `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 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java index 7deb4ae18bda..60cb41984414 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/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.v2.AppEngineHttpQueue], the maximum allowed value - * is 500. + * * The maximum allowed value is 500. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -47,7 +46,7 @@ public interface RateLimitsOrBuilder * Cloud Tasks will pick the value of `max_burst_size` based on the * value of * [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second]. - * For App Engine queues that were created or updated using + * For queues that were created or updated using * `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 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java index 676764600f0c..1d687dd304c3 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java @@ -97,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -119,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -459,12 +461,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -481,12 +484,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -503,12 +507,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -523,12 +528,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -540,12 +546,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java index add4c1ec97b1..00e2b99b7266 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface ResumeQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java index 1a56a5db9916..4a4f8e58a52b 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java @@ -106,12 +106,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -128,12 +129,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -531,12 +533,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -553,12 +556,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -575,12 +579,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -595,12 +600,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -612,12 +618,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java index ee9bc573c8a4..cd12857d74ef 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface RunTaskRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java index 4fef6c20f6d3..19ba0bfe9185 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java @@ -534,8 +534,7 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() * * *
-   * The time when the task is scheduled to be attempted.
-   * For App Engine queues, this is when the task will be attempted or retried.
+   * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* @@ -548,8 +547,7 @@ public boolean hasScheduleTime() { * * *
-   * The time when the task is scheduled to be attempted.
-   * For App Engine queues, this is when the task will be attempted or retried.
+   * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* @@ -564,8 +562,7 @@ public com.google.protobuf.Timestamp getScheduleTime() { * * *
-   * The time when the task is scheduled to be attempted.
-   * For App Engine queues, this is when the task will be attempted or retried.
+   * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* @@ -1831,8 +1828,7 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe * * *
-     * The time when the task is scheduled to be attempted.
-     * For App Engine queues, this is when the task will be attempted or retried.
+     * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* @@ -1845,8 +1841,7 @@ public boolean hasScheduleTime() { * * *
-     * The time when the task is scheduled to be attempted.
-     * For App Engine queues, this is when the task will be attempted or retried.
+     * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* @@ -1865,8 +1860,7 @@ public com.google.protobuf.Timestamp getScheduleTime() { * * *
-     * The time when the task is scheduled to be attempted.
-     * For App Engine queues, this is when the task will be attempted or retried.
+     * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* @@ -1889,8 +1883,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { * * *
-     * The time when the task is scheduled to be attempted.
-     * For App Engine queues, this is when the task will be attempted or retried.
+     * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* @@ -1910,8 +1903,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV * * *
-     * The time when the task is scheduled to be attempted.
-     * For App Engine queues, this is when the task will be attempted or retried.
+     * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* @@ -1938,8 +1930,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { * * *
-     * The time when the task is scheduled to be attempted.
-     * For App Engine queues, this is when the task will be attempted or retried.
+     * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* @@ -1960,8 +1951,7 @@ public Builder clearScheduleTime() { * * *
-     * The time when the task is scheduled to be attempted.
-     * For App Engine queues, this is when the task will be attempted or retried.
+     * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* @@ -1976,8 +1966,7 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { * * *
-     * The time when the task is scheduled to be attempted.
-     * For App Engine queues, this is when the task will be attempted or retried.
+     * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* @@ -1996,8 +1985,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * * *
-     * The time when the task is scheduled to be attempted.
-     * For App Engine queues, this is when the task will be attempted or retried.
+     * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java index 2d19d1409ffa..73e5ac6bb9b3 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java @@ -99,8 +99,7 @@ public interface TaskOrBuilder * * *
-   * The time when the task is scheduled to be attempted.
-   * For App Engine queues, this is when the task will be attempted or retried.
+   * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* @@ -111,8 +110,7 @@ public interface TaskOrBuilder * * *
-   * The time when the task is scheduled to be attempted.
-   * For App Engine queues, this is when the task will be attempted or retried.
+   * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* @@ -123,8 +121,7 @@ public interface TaskOrBuilder * * *
-   * The time when the task is scheduled to be attempted.
-   * For App Engine queues, this is when the task will be attempted or retried.
+   * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java index df12f64565e8..78fcebfa8334 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java @@ -30,12 +30,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n google/cloud/tasks/v2/task.proto\022\025goog" - + "le.cloud.tasks.v2\032\034google/api/annotation" - + "s.proto\032\031google/api/resource.proto\032\"goog" - + "le/cloud/tasks/v2/target.proto\032\036google/p" - + "rotobuf/duration.proto\032\037google/protobuf/" - + "timestamp.proto\032\027google/rpc/status.proto" - + "\"\216\004\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app_engine_ht" + + "le.cloud.tasks.v2\032\031google/api/resource.p" + + "roto\032\"google/cloud/tasks/v2/target.proto" + + "\032\036google/protobuf/duration.proto\032\037google" + + "/protobuf/timestamp.proto\032\027google/rpc/st" + + "atus.proto\032\034google/api/annotations.proto" + + "\"\370\004\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app_engine_ht" + "tp_request\030\002 \001(\0132+.google.cloud.tasks.v2" + ".AppEngineHttpRequestH\000\0221\n\rschedule_time" + "\030\004 \001(\0132\032.google.protobuf.Timestamp\022/\n\013cr" @@ -47,16 +47,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\0224\n\014last_attempt\030\n \001(\0132\036.google.cloud.ta" + "sks.v2.Attempt\022.\n\004view\030\013 \001(\0162 .google.cl" + "oud.tasks.v2.Task.View\"1\n\004View\022\024\n\020VIEW_U" - + "NSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\016\n\014mes" - + "sage_type\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001" - + " \001(\0132\032.google.protobuf.Timestamp\0221\n\rdisp" - + "atch_time\030\002 \001(\0132\032.google.protobuf.Timest" - + "amp\0221\n\rresponse_time\030\003 \001(\0132\032.google.prot" - + "obuf.Timestamp\022+\n\017response_status\030\004 \001(\0132" - + "\022.google.rpc.StatusBd\n\031com.google.cloud." - + "tasks.v2B\tTaskProtoP\001Z:google.golang.org" - + "/genproto/googleapis/cloud/tasks/v2;task" - + "sb\006proto3" + + "NSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036" + + "cloudtasks.googleapis.com/Task\022Cprojects" + + "/{project}/locations/{location}/queues/{" + + "queue}/tasks/{task}B\016\n\014message_type\"\317\001\n\007" + + "Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.google." + + "protobuf.Timestamp\0221\n\rdispatch_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\0221\n\rrespons" + + "e_time\030\003 \001(\0132\032.google.protobuf.Timestamp" + + "\022+\n\017response_status\030\004 \001(\0132\022.google.rpc.S" + + "tatusBd\n\031com.google.cloud.tasks.v2B\tTask" + + "ProtoP\001Z:google.golang.org/genproto/goog" + + "leapis/cloud/tasks/v2;tasksb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -69,12 +71,12 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.tasks.v2.TargetProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_cloud_tasks_v2_Task_descriptor = @@ -103,12 +105,17 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.api.AnnotationsProto.getDescriptor(); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2.TargetProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java index 363aa87fc18d..07d5acd81001 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java @@ -118,15 +118,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public boolean hasQueue() { return queue_ != null; @@ -135,15 +134,14 @@ public boolean hasQueue() { * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; @@ -152,15 +150,14 @@ public com.google.cloud.tasks.v2.Queue getQueue() { * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { return getQueue(); @@ -574,15 +571,15 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; @@ -591,15 +588,15 @@ public boolean hasQueue() { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.Queue getQueue() { if (queueBuilder_ == null) { @@ -612,15 +609,15 @@ public com.google.cloud.tasks.v2.Queue getQueue() { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -639,15 +636,15 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { @@ -663,15 +660,15 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -692,15 +689,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -717,15 +714,15 @@ public Builder clearQueue() { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { @@ -736,15 +733,15 @@ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { @@ -757,15 +754,15 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2.Queue, diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java index 8b50e774a358..daafc1b66189 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java @@ -12,45 +12,42 @@ public interface UpdateQueueRequestOrBuilder * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ boolean hasQueue(); /** * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2.Queue getQueue(); /** * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2.Queue queue = 1; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder(); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto index e287880c37b3..f948426a3655 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto @@ -18,6 +18,8 @@ syntax = "proto3"; package google.cloud.tasks.v2; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/tasks/v2/queue.proto"; import "google/cloud/tasks/v2/task.proto"; @@ -25,7 +27,6 @@ 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/v2;tasks"; option java_multiple_files = true; @@ -36,6 +37,9 @@ option objc_class_prefix = "TASKS"; // Cloud Tasks allows developers to manage the execution of background // work in their applications. service CloudTasks { + option (google.api.default_host) = "cloudtasks.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + // Lists queues. // // Queues are returned in lexicographical order. @@ -43,6 +47,7 @@ service CloudTasks { option (google.api.http) = { get: "/v2/{parent=projects/*/locations/*}/queues" }; + option (google.api.method_signature) = "parent"; } // Gets a queue. @@ -50,6 +55,7 @@ service CloudTasks { option (google.api.http) = { get: "/v2/{name=projects/*/locations/*/queues/*}" }; + option (google.api.method_signature) = "name"; } // Creates a queue. @@ -69,6 +75,7 @@ service CloudTasks { post: "/v2/{parent=projects/*/locations/*}/queues" body: "queue" }; + option (google.api.method_signature) = "parent,queue"; } // Updates a queue. @@ -91,6 +98,7 @@ service CloudTasks { patch: "/v2/{queue.name=projects/*/locations/*/queues/*}" body: "queue" }; + option (google.api.method_signature) = "queue,update_mask"; } // Deletes a queue. @@ -110,6 +118,7 @@ service CloudTasks { option (google.api.http) = { delete: "/v2/{name=projects/*/locations/*/queues/*}" }; + option (google.api.method_signature) = "name"; } // Purges a queue by deleting all of its tasks. @@ -123,6 +132,7 @@ service CloudTasks { post: "/v2/{name=projects/*/locations/*/queues/*}:purge" body: "*" }; + option (google.api.method_signature) = "name"; } // Pauses the queue. @@ -137,6 +147,7 @@ service CloudTasks { post: "/v2/{name=projects/*/locations/*/queues/*}:pause" body: "*" }; + option (google.api.method_signature) = "name"; } // Resume a queue. @@ -157,6 +168,7 @@ service CloudTasks { post: "/v2/{name=projects/*/locations/*/queues/*}:resume" body: "*" }; + option (google.api.method_signature) = "name"; } // Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. @@ -173,6 +185,7 @@ service CloudTasks { post: "/v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy" body: "*" }; + option (google.api.method_signature) = "resource"; } // Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing @@ -191,6 +204,7 @@ service CloudTasks { post: "/v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy" body: "*" }; + option (google.api.method_signature) = "resource,policy"; } // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue]. @@ -205,6 +219,7 @@ service CloudTasks { post: "/v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions" body: "*" }; + option (google.api.method_signature) = "resource,permissions"; } // Lists the tasks in a queue. @@ -220,6 +235,7 @@ service CloudTasks { option (google.api.http) = { get: "/v2/{parent=projects/*/locations/*/queues/*}/tasks" }; + option (google.api.method_signature) = "parent"; } // Gets a task. @@ -227,6 +243,7 @@ service CloudTasks { option (google.api.http) = { get: "/v2/{name=projects/*/locations/*/queues/*/tasks/*}" }; + option (google.api.method_signature) = "name"; } // Creates a task and adds it to a queue. @@ -239,6 +256,7 @@ service CloudTasks { post: "/v2/{parent=projects/*/locations/*/queues/*}/tasks" body: "*" }; + option (google.api.method_signature) = "parent,task"; } // Deletes a task. @@ -250,6 +268,7 @@ service CloudTasks { option (google.api.http) = { delete: "/v2/{name=projects/*/locations/*/queues/*/tasks/*}" }; + option (google.api.method_signature) = "name"; } // Forces a task to run now. @@ -281,16 +300,20 @@ service CloudTasks { post: "/v2/{name=projects/*/locations/*/queues/*/tasks/*}:run" body: "*" }; + option (google.api.method_signature) = "name"; } } // Request message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues]. message ListQueuesRequest { - // Required. - // - // The location name. + // Required. The location name. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "locations.googleapis.com/Location" + } + ]; // `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue] // field can be used as a filter and several operators as supported. @@ -344,45 +367,47 @@ message ListQueuesResponse { // Request message for [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue]. message GetQueueRequest { - // Required. - // - // The resource name of the queue. For example: + // Required. The resource name of the queue. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } // Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue]. message CreateQueueRequest { - // Required. - // - // The location name in which the queue will be created. + // Required. The location name in which the queue will be created. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` // // The list of allowed locations can be obtained by calling Cloud // Tasks' implementation of // [ListLocations][google.cloud.location.Locations.ListLocations]. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "locations.googleapis.com/Location" + } + ]; - // Required. - // - // The queue to create. + // Required. The queue to create. // // [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue. - Queue queue = 2; + Queue queue = 2 [(google.api.field_behavior) = REQUIRED]; } // Request message for [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue]. message UpdateQueueRequest { - // Required. - // - // The queue to create or update. + // Required. The queue to create or update. // // The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] cannot be changed. - Queue queue = 1; + Queue queue = 1 [(google.api.field_behavior) = REQUIRED]; // A mask used to specify which fields of the queue are being updated. // @@ -392,47 +417,62 @@ message UpdateQueueRequest { // Request message for [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue]. message DeleteQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } // Request message for [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue]. message PurgeQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } // Request message for [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue]. message PauseQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } // Request message for [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue]. message ResumeQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } // Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks]. message ListTasksRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "cloudtasks.googleapis.com/Queue" + } + ]; // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be // returned. @@ -487,11 +527,14 @@ message ListTasksResponse { // Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask]. message GetTaskRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be // returned. @@ -510,17 +553,18 @@ message GetTaskRequest { // Request message for [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask]. message CreateTaskRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` // // The queue must already exist. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "cloudtasks.googleapis.com/Queue" + } + ]; - // Required. - // - // The task to add. + // Required. The task to add. // // Task names have the following format: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. @@ -553,7 +597,7 @@ message CreateTaskRequest { // task commands. The infrastructure relies on an approximately // uniform distribution of task ids to store and serve tasks // efficiently. - Task task = 2; + Task task = 2 [(google.api.field_behavior) = REQUIRED]; // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be // returned. @@ -573,21 +617,27 @@ message CreateTaskRequest { // Request message for deleting a task using // [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask]. message DeleteTaskRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; } // Request message for forcing a task to run now using // [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask]. message RunTaskRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be // returned. diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto index 05dd03d07fe2..ce6a90244d7b 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto @@ -17,11 +17,11 @@ syntax = "proto3"; package google.cloud.tasks.v2; -import "google/api/annotations.proto"; import "google/api/resource.proto"; import "google/cloud/tasks/v2/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks"; option java_multiple_files = true; @@ -32,6 +32,11 @@ option java_package = "com.google.cloud.tasks.v2"; // how those tasks are dispatched. Configurable properties include rate limits, // retry options, queue types, and others. message Queue { + option (google.api.resource) = { + type: "cloudtasks.googleapis.com/Queue" + pattern: "projects/{project}/locations/{location}/queues/{queue}" + }; + // State of the queue. enum State { // Unspecified state. @@ -175,8 +180,7 @@ message RateLimits { // If unspecified when the queue is created, Cloud Tasks will pick the // default. // - // * For [App Engine queues][google.cloud.tasks.v2.AppEngineHttpQueue], the maximum allowed value - // is 500. + // * The maximum allowed value is 500. // // // This field has the same meaning as @@ -205,7 +209,7 @@ message RateLimits { // value of // [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second]. // - // For App Engine queues that were created or updated using + // For queues that were created or updated using // `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 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto index 2943a40587ec..acd38fedee3a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto @@ -52,11 +52,10 @@ option java_package = "com.google.cloud.tasks.v2"; // The [AppEngineRouting][google.cloud.tasks.v2.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.v2.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.v2.AppEngineHttpRequest.app_engine_routing]. +// * If [app_engine_routing_override is set on the +// queue][Queue.app_engine_routing_override], this value is used for all +// tasks in the queue, no matter what the setting is for the [task-level +// app_engine_routing][AppEngineHttpRequest.app_engine_routing]. // // // The `url` that the task will be sent to is: @@ -79,7 +78,7 @@ option java_package = "com.google.cloud.tasks.v2"; // the app's handler returns a non-2xx response code or Cloud Tasks does // not receive response before the [deadline][google.cloud.tasks.v2.Task.dispatch_deadline]. Failed // tasks will be retried according to the -// [retry configuration][Queue.RetryConfig]. `503` (Service Unavailable) is +// [retry configuration][google.cloud.tasks.v2.Queue.retry_config]. `503` (Service Unavailable) is // considered an App Engine system error instead of an application error and // will cause Cloud Tasks' traffic congestion control to temporarily throttle // the queue's dispatches. Unlike other types of task targets, a `429` (Too Many @@ -101,10 +100,10 @@ message AppEngineHttpRequest { // Task-level setting for App Engine routing. // - // If set, - // [app_engine_routing_override][google.cloud.tasks.v2.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.v2.AppEngineHttpRequest.app_engine_routing]. + // * If [app_engine_routing_override is set on the + // queue][Queue.app_engine_routing_override], this value is used for all + // tasks in the queue, no matter what the setting is for the [task-level + // app_engine_routing][AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing = 2; // The relative URI. @@ -180,6 +179,13 @@ message AppEngineHttpRequest { // routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), // and [App Engine Flex request // routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). +// +// Using [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] requires +// [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) +// Google IAM permission for the project +// and the following scope: +// +// `https://www.googleapis.com/auth/cloud-platform` message AppEngineRouting { // App service. // diff --git a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto index eefcb378c877..a555c2c19689 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto @@ -17,12 +17,12 @@ syntax = "proto3"; package google.cloud.tasks.v2; -import "google/api/annotations.proto"; import "google/api/resource.proto"; import "google/cloud/tasks/v2/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks"; option java_multiple_files = true; @@ -31,6 +31,11 @@ option java_package = "com.google.cloud.tasks.v2"; // A unit of scheduled work. message Task { + option (google.api.resource) = { + type: "cloudtasks.googleapis.com/Task" + pattern: "projects/{project}/locations/{location}/queues/{queue}/tasks/{task}" + }; + // The view specifies a subset of [Task][google.cloud.tasks.v2.Task] data. // // When a task is returned in a response, not all @@ -90,9 +95,7 @@ message Task { AppEngineHttpRequest app_engine_http_request = 2; } - // The time when the task is scheduled to be attempted. - // - // For App Engine queues, this is when the task will be attempted or retried. + // The time when the task is scheduled to be attempted or retried. // // `schedule_time` will be truncated to the nearest microsecond. google.protobuf.Timestamp schedule_time = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java index 78a13bcdaee6..f272c105aef6 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java @@ -113,12 +113,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -135,12 +136,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -160,15 +162,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasScheduleTime() { return scheduleTime_ != null; @@ -177,15 +179,15 @@ public boolean hasScheduleTime() { * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp getScheduleTime() { return scheduleTime_ == null @@ -196,15 +198,15 @@ public com.google.protobuf.Timestamp getScheduleTime() { * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { return getScheduleTime(); @@ -563,12 +565,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -585,12 +588,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -607,12 +611,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -627,12 +632,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -644,12 +650,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -672,15 +679,15 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; @@ -689,15 +696,15 @@ public boolean hasScheduleTime() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -712,15 +719,15 @@ public com.google.protobuf.Timestamp getScheduleTime() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -739,15 +746,15 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { @@ -763,15 +770,15 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -794,15 +801,15 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -819,15 +826,15 @@ public Builder clearScheduleTime() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { @@ -838,15 +845,15 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { @@ -861,15 +868,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java index fa994cb816e9..3f13599714c0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface AcknowledgeTaskRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); @@ -37,45 +39,45 @@ public interface AcknowledgeTaskRequestOrBuilder * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasScheduleTime(); /** * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.Timestamp getScheduleTime(); /** * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java index c88e44df44e6..632ae00045b4 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] - * set. - * Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] - * requires + * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] set. + * Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.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: @@ -26,25 +24,41 @@ * and how routing is affected by * [dispatch * files](https://cloud.google.com/appengine/docs/python/config/dispatchref). - * The [AppEngineRouting][google.cloud.tasks.v2beta2.AppEngineRouting] used to - * construct the URL that the task is delivered to can be set at the queue-level - * or task-level: + * Traffic is encrypted during transport and never leaves Google datacenters. + * Because this traffic is carried over a communication mechanism internal to + * 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.v2beta2.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.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * The `url` that the task will be sent to is: * * `url =` [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] `+` * [relative_url][google.cloud.tasks.v2beta2.AppEngineHttpRequest.relative_url] - * The task attempt has succeeded if the app's request handler returns - * an HTTP response code in the range [`200` - `299`]. `503` is - * considered an App Engine system error instead of an application - * error. Requests returning error `503` will be retried regardless of - * retry configuration and not counted against retry counts. - * Any other response code or a failure to receive a response before the - * deadline is a failed attempt. + * Tasks can be dispatched to secure app handlers, unsecure app handlers, and + * URIs restricted with + * [`login: + * admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). + * Because tasks are not run as any user, they cannot be dispatched to URIs + * restricted with + * [`login: + * required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) + * Task dispatches also do not follow redirects. + * The task attempt has succeeded if the app's request handler returns an HTTP + * response code in the range [`200` - `299`]. The task attempt has failed if + * the app's handler returns a non-2xx response code or Cloud Tasks does + * not receive response before the [deadline][Task.dispatch_deadline]. Failed + * tasks will be retried according to the + * [retry configuration][google.cloud.tasks.v2beta2.Queue.retry_config]. `503` (Service Unavailable) is + * considered an App Engine system error instead of an application error and + * will cause Cloud Tasks' traffic congestion control to temporarily throttle + * the queue's dispatches. Unlike other types of task targets, a `429` (Too Many + * Requests) response from an app handler does not cause traffic congestion + * control to throttle the queue. *
* * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest} @@ -242,8 +256,7 @@ public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. *
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -259,8 +272,7 @@ public boolean hasAppEngineRouting() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. *
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -278,8 +290,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. *
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -379,8 +390,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -400,10 +410,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. *
* * map<string, string> headers = 4; @@ -434,8 +442,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -455,10 +462,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. *
* * map<string, string> headers = 4; @@ -481,8 +486,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -502,10 +506,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. *
* * map<string, string> headers = 4; @@ -532,8 +534,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -553,10 +554,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. *
* * map<string, string> headers = 4; @@ -809,10 +808,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_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] - * set. - * Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] - * requires + * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] set. + * Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.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: @@ -824,25 +821,41 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * and how routing is affected by * [dispatch * files](https://cloud.google.com/appengine/docs/python/config/dispatchref). - * The [AppEngineRouting][google.cloud.tasks.v2beta2.AppEngineRouting] used to - * construct the URL that the task is delivered to can be set at the queue-level - * or task-level: + * Traffic is encrypted during transport and never leaves Google datacenters. + * Because this traffic is carried over a communication mechanism internal to + * 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.v2beta2.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.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * The `url` that the task will be sent to is: * * `url =` [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] `+` * [relative_url][google.cloud.tasks.v2beta2.AppEngineHttpRequest.relative_url] - * The task attempt has succeeded if the app's request handler returns - * an HTTP response code in the range [`200` - `299`]. `503` is - * considered an App Engine system error instead of an application - * error. Requests returning error `503` will be retried regardless of - * retry configuration and not counted against retry counts. - * Any other response code or a failure to receive a response before the - * deadline is a failed attempt. + * Tasks can be dispatched to secure app handlers, unsecure app handlers, and + * URIs restricted with + * [`login: + * admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). + * Because tasks are not run as any user, they cannot be dispatched to URIs + * restricted with + * [`login: + * required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) + * Task dispatches also do not follow redirects. + * The task attempt has succeeded if the app's request handler returns an HTTP + * response code in the range [`200` - `299`]. The task attempt has failed if + * the app's handler returns a non-2xx response code or Cloud Tasks does + * not receive response before the [deadline][Task.dispatch_deadline]. Failed + * tasks will be retried according to the + * [retry configuration][google.cloud.tasks.v2beta2.Queue.retry_config]. `503` (Service Unavailable) is + * considered an App Engine system error instead of an application error and + * will cause Cloud Tasks' traffic congestion control to temporarily throttle + * the queue's dispatches. Unlike other types of task targets, a `429` (Too Many + * Requests) response from an app handler does not cause traffic congestion + * control to throttle the queue. * * * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest} @@ -1187,8 +1200,7 @@ public Builder clearHttpMethod() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -1204,8 +1216,7 @@ public boolean hasAppEngineRouting() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -1227,8 +1238,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -1254,8 +1264,7 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRouti * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -1279,8 +1288,7 @@ public Builder setAppEngineRouting( * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -1310,8 +1318,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -1335,8 +1342,7 @@ public Builder clearAppEngineRouting() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -1354,8 +1360,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRouti * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -1377,8 +1382,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -1554,8 +1558,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -1575,10 +1578,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1609,8 +1610,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -1630,10 +1630,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1656,8 +1654,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -1677,10 +1674,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1708,8 +1703,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -1729,10 +1723,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1767,8 +1759,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -1788,10 +1779,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1823,8 +1812,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -1844,10 +1832,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1877,8 +1863,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -1898,10 +1883,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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java index 05ef29f3c70a..5adc311ef476 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java @@ -55,8 +55,7 @@ public interface AppEngineHttpRequestOrBuilder * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -70,8 +69,7 @@ public interface AppEngineHttpRequestOrBuilder * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -85,8 +83,7 @@ public interface AppEngineHttpRequestOrBuilder * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; @@ -137,8 +134,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -182,8 +176,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -230,8 +221,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -275,8 +263,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -320,8 +305,7 @@ 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 - * [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + * If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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 @@ -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.v2beta2.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java index 5ee678c3eec6..8f56ff025a5b 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java @@ -9,14 +9,10 @@ *
  * App Engine HTTP target.
  * The task will be delivered to the App Engine application hostname
- * specified by its
- * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and
- * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]. The
- * documentation for
- * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
- * explains how the task's host URL is constructed.
- * Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget]
- * requires
+ * specified by its [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest].
+ * The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] explains how the
+ * task's host URL is constructed.
+ * Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] 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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -136,12 +130,10 @@ public boolean hasAppEngineRoutingOverride() { * *
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -156,12 +148,10 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri * *
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -343,14 +333,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * App Engine HTTP target.
    * The task will be delivered to the App Engine application hostname
-   * specified by its
-   * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]. The
-   * documentation for
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-   * explains how the task's host URL is constructed.
-   * Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget]
-   * requires
+   * specified by its [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest].
+   * The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] explains how the
+   * task's host URL is constructed.
+   * Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] 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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -545,12 +529,10 @@ public boolean hasAppEngineRoutingOverride() { * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -569,12 +551,10 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -598,12 +578,10 @@ public Builder setAppEngineRoutingOverride( * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -624,12 +602,10 @@ public Builder setAppEngineRoutingOverride( * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -657,12 +633,10 @@ public Builder mergeAppEngineRoutingOverride( * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -683,12 +657,10 @@ public Builder clearAppEngineRoutingOverride() { * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -704,12 +676,10 @@ public Builder clearAppEngineRoutingOverride() { * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -729,12 +699,10 @@ public Builder clearAppEngineRoutingOverride() { * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java index b947f72a0146..4be1dfe1ed5d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java @@ -13,12 +13,10 @@ public interface AppEngineHttpTargetOrBuilder * *
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -29,12 +27,10 @@ public interface AppEngineHttpTargetOrBuilder * *
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; @@ -45,12 +41,10 @@ public interface AppEngineHttpTargetOrBuilder * *
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java index 7cd46e96ee68..179cb5d30d1e 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java @@ -8,6 +8,8 @@ * *
  * App Engine Routing.
+ * Defines routing characteristics specific to App Engine - service, version,
+ * and instance.
  * For more information about services, versions, and instances see
  * [An Overview of App
  * Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),
@@ -134,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.v2beta2.AppEngineRouting.host] is
-   * not parsable into
-   * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
+   * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable
+   * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
    * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and
-   * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable,
-   * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
+   * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then
+   * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
    * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and
-   * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the
-   * empty string.
+   * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string.
    * 
* * string service = 1; @@ -169,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. *
* * string service = 1; @@ -207,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. *
* * string version = 2; @@ -242,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -356,39 +350,34 @@ public com.google.protobuf.ByteString getInstanceBytes() { * example <app-id>.appspot.com, which is associated with the * queue's project ID. Some tasks which were created using the App Engine * SDK use a custom domain name. - * * `service =` - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `version =` - * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `version_dot_service =` * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `instance =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + * * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] * * `instance_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] * * `instance_dot_version =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `instance_dot_version_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, - * then the task will be sent to the service which is the default service when - * the task is attempted. - * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, - * then the task will be sent to the version which is the default version when - * the task is attempted. - * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * empty, then the task will be sent to an instance which is available when - * the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent + * to the service which is the default service when the task is attempted. + * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent + * to the version which is the default version when the task is attempted. + * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task + * will be sent to an instance which is available when the task is + * attempted. * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * invalid, then the task will be sent to the default version of the default - * service when the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task + * will be sent to the default version of the default service when + * the task is attempted. * * * string host = 4; @@ -425,39 +414,34 @@ public java.lang.String getHost() { * example <app-id>.appspot.com, which is associated with the * queue's project ID. Some tasks which were created using the App Engine * SDK use a custom domain name. - * * `service =` - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `version =` - * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `version_dot_service =` * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `instance =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + * * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] * * `instance_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] * * `instance_dot_version =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `instance_dot_version_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, - * then the task will be sent to the service which is the default service when - * the task is attempted. - * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, - * then the task will be sent to the version which is the default version when - * the task is attempted. - * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * empty, then the task will be sent to an instance which is available when - * the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent + * to the service which is the default service when the task is attempted. + * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent + * to the version which is the default version when the task is attempted. + * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task + * will be sent to an instance which is available when the task is + * attempted. * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * invalid, then the task will be sent to the default version of the default - * service when the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task + * will be sent to the default version of the default service when + * the task is attempted. * * * string host = 4; @@ -665,6 +649,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * App Engine Routing.
+   * Defines routing characteristics specific to App Engine - service, version,
+   * and instance.
    * For more information about services, versions, and instances see
    * [An Overview of App
    * Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),
@@ -857,18 +843,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.v2beta2.AppEngineRouting.host] is
-     * not parsable into
-     * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
+     * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable
+     * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
      * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and
-     * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable,
-     * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
+     * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then
+     * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
      * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and
-     * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the
-     * empty string.
+     * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string.
      * 
* * string service = 1; @@ -892,18 +876,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -927,18 +909,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -960,18 +940,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -990,18 +968,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -1026,18 +1002,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -1061,18 +1035,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -1096,18 +1068,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -1129,18 +1099,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -1159,18 +1127,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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -1352,39 +1318,34 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { * example <app-id>.appspot.com, which is associated with the * queue's project ID. Some tasks which were created using the App Engine * SDK use a custom domain name. - * * `service =` - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `version =` - * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `version_dot_service =` * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `instance =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + * * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] * * `instance_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] * * `instance_dot_version =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `instance_dot_version_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, - * then the task will be sent to the service which is the default service when - * the task is attempted. - * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, - * then the task will be sent to the version which is the default version when - * the task is attempted. - * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * empty, then the task will be sent to an instance which is available when - * the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent + * to the service which is the default service when the task is attempted. + * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent + * to the version which is the default version when the task is attempted. + * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task + * will be sent to an instance which is available when the task is + * attempted. * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * invalid, then the task will be sent to the default version of the default - * service when the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task + * will be sent to the default version of the default service when + * the task is attempted. * * * string host = 4; @@ -1421,39 +1382,34 @@ public java.lang.String getHost() { * example <app-id>.appspot.com, which is associated with the * queue's project ID. Some tasks which were created using the App Engine * SDK use a custom domain name. - * * `service =` - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `version =` - * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `version_dot_service =` * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `instance =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + * * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] * * `instance_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] * * `instance_dot_version =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `instance_dot_version_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, - * then the task will be sent to the service which is the default service when - * the task is attempted. - * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, - * then the task will be sent to the version which is the default version when - * the task is attempted. - * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * empty, then the task will be sent to an instance which is available when - * the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent + * to the service which is the default service when the task is attempted. + * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent + * to the version which is the default version when the task is attempted. + * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task + * will be sent to an instance which is available when the task is + * attempted. * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * invalid, then the task will be sent to the default version of the default - * service when the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task + * will be sent to the default version of the default service when + * the task is attempted. * * * string host = 4; @@ -1490,39 +1446,34 @@ public com.google.protobuf.ByteString getHostBytes() { * example <app-id>.appspot.com, which is associated with the * queue's project ID. Some tasks which were created using the App Engine * SDK use a custom domain name. - * * `service =` - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `version =` - * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `version_dot_service =` * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `instance =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + * * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] * * `instance_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] * * `instance_dot_version =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `instance_dot_version_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, - * then the task will be sent to the service which is the default service when - * the task is attempted. - * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, - * then the task will be sent to the version which is the default version when - * the task is attempted. - * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * empty, then the task will be sent to an instance which is available when - * the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent + * to the service which is the default service when the task is attempted. + * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent + * to the version which is the default version when the task is attempted. + * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task + * will be sent to an instance which is available when the task is + * attempted. * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * invalid, then the task will be sent to the default version of the default - * service when the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task + * will be sent to the default version of the default service when + * the task is attempted. * * * string host = 4; @@ -1557,39 +1508,34 @@ public Builder setHost(java.lang.String value) { * example <app-id>.appspot.com, which is associated with the * queue's project ID. Some tasks which were created using the App Engine * SDK use a custom domain name. - * * `service =` - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `version =` - * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `version_dot_service =` * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `instance =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + * * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] * * `instance_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] * * `instance_dot_version =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `instance_dot_version_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, - * then the task will be sent to the service which is the default service when - * the task is attempted. - * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, - * then the task will be sent to the version which is the default version when - * the task is attempted. - * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * empty, then the task will be sent to an instance which is available when - * the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent + * to the service which is the default service when the task is attempted. + * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent + * to the version which is the default version when the task is attempted. + * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task + * will be sent to an instance which is available when the task is + * attempted. * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * invalid, then the task will be sent to the default version of the default - * service when the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task + * will be sent to the default version of the default service when + * the task is attempted. * * * string host = 4; @@ -1621,39 +1567,34 @@ public Builder clearHost() { * example <app-id>.appspot.com, which is associated with the * queue's project ID. Some tasks which were created using the App Engine * SDK use a custom domain name. - * * `service =` - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `version =` - * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `version_dot_service =` * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `instance =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + * * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] * * `instance_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] * * `instance_dot_version =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `instance_dot_version_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, - * then the task will be sent to the service which is the default service when - * the task is attempted. - * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, - * then the task will be sent to the version which is the default version when - * the task is attempted. - * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * empty, then the task will be sent to an instance which is available when - * the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent + * to the service which is the default service when the task is attempted. + * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent + * to the version which is the default version when the task is attempted. + * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task + * will be sent to an instance which is available when the task is + * attempted. * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * invalid, then the task will be sent to the default version of the default - * service when the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task + * will be sent to the default version of the default service when + * the task is attempted. * * * string host = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java index 642a76b2f647..6f89dcf4b532 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -172,39 +164,34 @@ public interface AppEngineRoutingOrBuilder * example <app-id>.appspot.com, which is associated with the * queue's project ID. Some tasks which were created using the App Engine * SDK use a custom domain name. - * * `service =` - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `version =` - * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `version_dot_service =` * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `instance =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + * * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] * * `instance_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] * * `instance_dot_version =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `instance_dot_version_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, - * then the task will be sent to the service which is the default service when - * the task is attempted. - * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, - * then the task will be sent to the version which is the default version when - * the task is attempted. - * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * empty, then the task will be sent to an instance which is available when - * the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent + * to the service which is the default service when the task is attempted. + * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent + * to the version which is the default version when the task is attempted. + * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task + * will be sent to an instance which is available when the task is + * attempted. * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * invalid, then the task will be sent to the default version of the default - * service when the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task + * will be sent to the default version of the default service when + * the task is attempted. * * * string host = 4; @@ -231,39 +218,34 @@ public interface AppEngineRoutingOrBuilder * example <app-id>.appspot.com, which is associated with the * queue's project ID. Some tasks which were created using the App Engine * SDK use a custom domain name. - * * `service =` - * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `version =` - * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `version_dot_service =` * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * * `instance =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + * * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] * * `instance_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] * * `instance_dot_version =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] * * `instance_dot_version_dot_service =` - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - * +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' - * +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, - * then the task will be sent to the service which is the default service when - * the task is attempted. - * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, - * then the task will be sent to the version which is the default version when - * the task is attempted. - * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * empty, then the task will be sent to an instance which is available when - * the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` + * [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent + * to the service which is the default service when the task is attempted. + * If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent + * to the version which is the default version when the task is attempted. + * If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task + * will be sent to an instance which is available when the task is + * attempted. * If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - * invalid, then the task will be sent to the default version of the default - * service when the task is attempted. + * [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task + * will be sent to the default version of the default service when + * the task is attempted. * * * string host = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java index c4ff964bf3df..e0bd11f26260 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java @@ -121,12 +121,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -143,12 +144,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -168,15 +170,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasScheduleTime() { return scheduleTime_ != null; @@ -185,15 +187,15 @@ public boolean hasScheduleTime() { * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp getScheduleTime() { return scheduleTime_ == null @@ -204,15 +206,15 @@ public com.google.protobuf.Timestamp getScheduleTime() { * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { return getScheduleTime(); @@ -224,17 +226,16 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -246,17 +247,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -635,12 +635,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -657,12 +658,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -679,12 +681,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -699,12 +702,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -716,12 +720,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -744,15 +749,15 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; @@ -761,15 +766,15 @@ public boolean hasScheduleTime() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -784,15 +789,15 @@ public com.google.protobuf.Timestamp getScheduleTime() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -811,15 +816,15 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { @@ -835,15 +840,15 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -866,15 +871,15 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -891,15 +896,15 @@ public Builder clearScheduleTime() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { @@ -910,15 +915,15 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { @@ -933,15 +938,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, @@ -965,17 +970,16 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -987,17 +991,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -1011,17 +1014,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -1036,17 +1038,16 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -1064,17 +1065,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java index 878689e10f46..9ed98d004c85 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface CancelLeaseRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); @@ -37,45 +39,45 @@ public interface CancelLeaseRequestOrBuilder * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasScheduleTime(); /** * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.Timestamp getScheduleTime(); /** * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); @@ -83,17 +85,16 @@ public interface CancelLeaseRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -103,17 +104,16 @@ public interface CancelLeaseRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java index 93a14bb9e5af..43a7832f50a7 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java @@ -103,147 +103,175 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n+google/cloud/tasks/v2beta2/cloudtasks." + "proto\022\032google.cloud.tasks.v2beta2\032\034googl" - + "e/api/annotations.proto\032&google/cloud/ta" - + "sks/v2beta2/queue.proto\032%google/cloud/ta" - + "sks/v2beta2/task.proto\032\036google/iam/v1/ia" - + "m_policy.proto\032\032google/iam/v1/policy.pro" - + "to\032\036google/protobuf/duration.proto\032\033goog" - + "le/protobuf/empty.proto\032 google/protobuf" - + "/field_mask.proto\032\037google/protobuf/times" - + "tamp.proto\032\025google/rpc/code.proto\"Z\n\021Lis" - + "tQueuesRequest\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\022ListQueuesResponse\0221\n\006queues\030\001 " - + "\003(\0132!.google.cloud.tasks.v2beta2.Queue\022\027" - + "\n\017next_page_token\030\002 \001(\t\"\037\n\017GetQueueReque" - + "st\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.c" - + "loud.tasks.v2beta2.Queue\"w\n\022UpdateQueueR" - + "equest\0220\n\005queue\030\001 \001(\0132!.google.cloud.tas" - + "ks.v2beta2.Queue\022/\n\013update_mask\030\002 \001(\0132\032." - + "google.protobuf.FieldMask\"\"\n\022DeleteQueue" - + "Request\022\014\n\004name\030\001 \001(\t\"!\n\021PurgeQueueReque" - + "st\022\014\n\004name\030\001 \001(\t\"!\n\021PauseQueueRequest\022\014\n" - + "\004name\030\001 \001(\t\"\"\n\022ResumeQueueRequest\022\014\n\004nam" - + "e\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.clo" - + "ud.tasks.v2beta2.Task.View\022\021\n\tpage_size\030" - + "\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"]\n\021ListTasksRe" - + "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas" - + "ks.v2beta2.Task\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\\\n\016GetTaskRequest\022\014\n\004name\030\001 \001(\t\022<\n\rresp" - + "onse_view\030\002 \001(\0162%.google.cloud.tasks.v2b" - + "eta2.Task.View\"\221\001\n\021CreateTaskRequest\022\016\n\006" - + "parent\030\001 \001(\t\022.\n\004task\030\002 \001(\0132 .google.clou" - + "d.tasks.v2beta2.Task\022<\n\rresponse_view\030\003 " - + "\001(\0162%.google.cloud.tasks.v2beta2.Task.Vi" - + "ew\"!\n\021DeleteTaskRequest\022\014\n\004name\030\001 \001(\t\"\267\001" - + "\n\021LeaseTasksRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tm" - + "ax_tasks\030\002 \001(\005\0221\n\016lease_duration\030\003 \001(\0132\031" - + ".google.protobuf.Duration\022<\n\rresponse_vi" - + "ew\030\004 \001(\0162%.google.cloud.tasks.v2beta2.Ta" - + "sk.View\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRes" - + "ponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.task" - + "s.v2beta2.Task\"Y\n\026AcknowledgeTaskRequest" - + "\022\014\n\004name\030\001 \001(\t\0221\n\rschedule_time\030\002 \001(\0132\032." - + "google.protobuf.Timestamp\"\305\001\n\021RenewLease" - + "Request\022\014\n\004name\030\001 \001(\t\0221\n\rschedule_time\030\002" - + " \001(\0132\032.google.protobuf.Timestamp\0221\n\016leas" - + "e_duration\030\003 \001(\0132\031.google.protobuf.Durat" - + "ion\022<\n\rresponse_view\030\004 \001(\0162%.google.clou" - + "d.tasks.v2beta2.Task.View\"\223\001\n\022CancelLeas" - + "eRequest\022\014\n\004name\030\001 \001(\t\0221\n\rschedule_time\030" - + "\002 \001(\0132\032.google.protobuf.Timestamp\022<\n\rres" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032&google/clo" + + "ud/tasks/v2beta2/queue.proto\032%google/clo" + + "ud/tasks/v2beta2/task.proto\032\036google/iam/" + + "v1/iam_policy.proto\032\032google/iam/v1/polic" + + "y.proto\032\036google/protobuf/duration.proto\032" + + "\033google/protobuf/empty.proto\032 google/pro" + + "tobuf/field_mask.proto\032\037google/protobuf/" + + "timestamp.proto\"\205\001\n\021ListQueuesRequest\0229\n" + + "\006parent\030\001 \001(\tB)\340A\002\372A#\022!locations.googlea" + + "pis.com/Location\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\022ListQ" + + "ueuesResponse\0221\n\006queues\030\001 \003(\0132!.google.c" + + "loud.tasks.v2beta2.Queue\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"H\n\017GetQueueRequest\0225\n\004name\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + + "eue\"\206\001\n\022CreateQueueRequest\0229\n\006parent\030\001 \001" + + "(\tB)\340A\002\372A#\022!locations.googleapis.com/Loc" + + "ation\0225\n\005queue\030\002 \001(\0132!.google.cloud.task" + + "s.v2beta2.QueueB\003\340A\002\"|\n\022UpdateQueueReque" + + "st\0225\n\005queue\030\001 \001(\0132!.google.cloud.tasks.v" + + "2beta2.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032" + + ".google.protobuf.FieldMask\"K\n\022DeleteQueu" + + "eRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtas" + + "ks.googleapis.com/Queue\"J\n\021PurgeQueueReq" + + "uest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.g" + + "oogleapis.com/Queue\"J\n\021PauseQueueRequest" + + "\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googl" + + "eapis.com/Queue\"K\n\022ResumeQueueRequest\0225\n" + + "\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleap" + + "is.com/Queue\"\260\001\n\020ListTasksRequest\0227\n\006par" + + "ent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis" + + ".com/Queue\022<\n\rresponse_view\030\002 \001(\0162%.goog" + + "le.cloud.tasks.v2beta2.Task.View\022\021\n\tpage" + + "_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"]\n\021ListT" + + "asksResponse\022/\n\005tasks\030\001 \003(\0132 .google.clo" + + "ud.tasks.v2beta2.Task\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB" + + "&\340A\002\372A \n\036cloudtasks.googleapis.com/Task\022" + + "<\n\rresponse_view\030\002 \001(\0162%.google.cloud.ta" + + "sks.v2beta2.Task.View\"\277\001\n\021CreateTaskRequ" + + "est\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks." + + "googleapis.com/Queue\0223\n\004task\030\002 \001(\0132 .goo" + + "gle.cloud.tasks.v2beta2.TaskB\003\340A\002\022<\n\rres" + "ponse_view\030\003 \001(\0162%.google.cloud.tasks.v2" - + "beta2.Task.View\"\\\n\016RunTaskRequest\022\014\n\004nam" - + "e\030\001 \001(\t\022<\n\rresponse_view\030\002 \001(\0162%.google." - + "cloud.tasks.v2beta2.Task.View2\360\031\n\nCloudT" - + "asks\022\244\001\n\nListQueues\022-.google.cloud.tasks" - + ".v2beta2.ListQueuesRequest\032..google.clou" - + "d.tasks.v2beta2.ListQueuesResponse\"7\202\323\344\223" - + "\0021\022//v2beta2/{parent=projects/*/location" - + "s/*}/queues\022\223\001\n\010GetQueue\022+.google.cloud." - + "tasks.v2beta2.GetQueueRequest\032!.google.c" - + "loud.tasks.v2beta2.Queue\"7\202\323\344\223\0021\022//v2bet" - + "a2/{name=projects/*/locations/*/queues/*" - + "}\022\240\001\n\013CreateQueue\022..google.cloud.tasks.v" - + "2beta2.CreateQueueRequest\032!.google.cloud" - + ".tasks.v2beta2.Queue\">\202\323\344\223\0028\"//v2beta2/{" - + "parent=projects/*/locations/*}/queues:\005q" - + "ueue\022\246\001\n\013UpdateQueue\022..google.cloud.task" - + "s.v2beta2.UpdateQueueRequest\032!.google.cl" - + "oud.tasks.v2beta2.Queue\"D\202\323\344\223\002>25/v2beta" - + "2/{queue.name=projects/*/locations/*/que" - + "ues/*}:\005queue\022\216\001\n\013DeleteQueue\022..google.c" - + "loud.tasks.v2beta2.DeleteQueueRequest\032\026." - + "google.protobuf.Empty\"7\202\323\344\223\0021*//v2beta2/" - + "{name=projects/*/locations/*/queues/*}\022\240" - + "\001\n\nPurgeQueue\022-.google.cloud.tasks.v2bet" - + "a2.PurgeQueueRequest\032!.google.cloud.task" - + "s.v2beta2.Queue\"@\202\323\344\223\002:\"5/v2beta2/{name=" - + "projects/*/locations/*/queues/*}:purge:\001" - + "*\022\240\001\n\nPauseQueue\022-.google.cloud.tasks.v2" - + "beta2.PauseQueueRequest\032!.google.cloud.t" - + "asks.v2beta2.Queue\"@\202\323\344\223\002:\"5/v2beta2/{na" - + "me=projects/*/locations/*/queues/*}:paus" - + "e:\001*\022\243\001\n\013ResumeQueue\022..google.cloud.task" - + "s.v2beta2.ResumeQueueRequest\032!.google.cl" - + "oud.tasks.v2beta2.Queue\"A\202\323\344\223\002;\"6/v2beta" - + "2/{name=projects/*/locations/*/queues/*}" - + ":resume:\001*\022\226\001\n\014GetIamPolicy\022\".google.iam" + + "beta2.Task.View\"I\n\021DeleteTaskRequest\0224\n\004" + + "name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleapi" + + "s.com/Task\"\345\001\n\021LeaseTasksRequest\0227\n\006pare" + + "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis." + + "com/Queue\022\021\n\tmax_tasks\030\002 \001(\005\0226\n\016lease_du" + + "ration\030\003 \001(\0132\031.google.protobuf.DurationB" + + "\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%.google.clo" + + "ud.tasks.v2beta2.Task.View\022\016\n\006filter\030\005 \001" + + "(\t\"E\n\022LeaseTasksResponse\022/\n\005tasks\030\001 \003(\0132" + + " .google.cloud.tasks.v2beta2.Task\"\206\001\n\026Ac" + + "knowledgeTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + + "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" + + "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\002\"\367\001\n\021RenewLeaseRequest\0224\n\004name" + + "\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.co" + + "m/Task\0226\n\rschedule_time\030\002 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\002\0226\n\016lease_duration" + + "\030\003 \001(\0132\031.google.protobuf.DurationB\003\340A\002\022<" + + "\n\rresponse_view\030\004 \001(\0162%.google.cloud.tas" + + "ks.v2beta2.Task.View\"\300\001\n\022CancelLeaseRequ" + + "est\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.go" + + "ogleapis.com/Task\0226\n\rschedule_time\030\002 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\002\022<\n\rres" + + "ponse_view\030\003 \001(\0162%.google.cloud.tasks.v2" + + "beta2.Task.View\"\204\001\n\016RunTaskRequest\0224\n\004na" + + "me\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleapis." + + "com/Task\022<\n\rresponse_view\030\002 \001(\0162%.google" + + ".cloud.tasks.v2beta2.Task.View2\324\034\n\nCloud" + + "Tasks\022\255\001\n\nListQueues\022-.google.cloud.task" + + "s.v2beta2.ListQueuesRequest\032..google.clo" + + "ud.tasks.v2beta2.ListQueuesResponse\"@\202\323\344" + + "\223\0021\022//v2beta2/{parent=projects/*/locatio" + + "ns/*}/queues\332A\006parent\022\232\001\n\010GetQueue\022+.goo" + + "gle.cloud.tasks.v2beta2.GetQueueRequest\032" + + "!.google.cloud.tasks.v2beta2.Queue\">\202\323\344\223" + + "\0021\022//v2beta2/{name=projects/*/locations/" + + "*/queues/*}\332A\004name\022\257\001\n\013CreateQueue\022..goo" + + "gle.cloud.tasks.v2beta2.CreateQueueReque" + + "st\032!.google.cloud.tasks.v2beta2.Queue\"M\202" + + "\323\344\223\0028\"//v2beta2/{parent=projects/*/locat" + + "ions/*}/queues:\005queue\332A\014parent,queue\022\272\001\n" + + "\013UpdateQueue\022..google.cloud.tasks.v2beta" + + "2.UpdateQueueRequest\032!.google.cloud.task" + + "s.v2beta2.Queue\"X\202\323\344\223\002>25/v2beta2/{queue" + + ".name=projects/*/locations/*/queues/*}:\005" + + "queue\332A\021queue,update_mask\022\225\001\n\013DeleteQueu" + + "e\022..google.cloud.tasks.v2beta2.DeleteQue" + + "ueRequest\032\026.google.protobuf.Empty\">\202\323\344\223\002" + + "1*//v2beta2/{name=projects/*/locations/*" + + "/queues/*}\332A\004name\022\247\001\n\nPurgeQueue\022-.googl" + + "e.cloud.tasks.v2beta2.PurgeQueueRequest\032" + + "!.google.cloud.tasks.v2beta2.Queue\"G\202\323\344\223" + + "\002:\"5/v2beta2/{name=projects/*/locations/" + + "*/queues/*}:purge:\001*\332A\004name\022\247\001\n\nPauseQue" + + "ue\022-.google.cloud.tasks.v2beta2.PauseQue" + + "ueRequest\032!.google.cloud.tasks.v2beta2.Q" + + "ueue\"G\202\323\344\223\002:\"5/v2beta2/{name=projects/*/" + + "locations/*/queues/*}:pause:\001*\332A\004name\022\252\001" + + "\n\013ResumeQueue\022..google.cloud.tasks.v2bet" + + "a2.ResumeQueueRequest\032!.google.cloud.tas" + + "ks.v2beta2.Queue\"H\202\323\344\223\002;\"6/v2beta2/{name" + + "=projects/*/locations/*/queues/*}:resume" + + ":\001*\332A\004name\022\241\001\n\014GetIamPolicy\022\".google.iam" + ".v1.GetIamPolicyRequest\032\025.google.iam.v1." - + "Policy\"K\202\323\344\223\002E\"@/v2beta2/{resource=proje" + + "Policy\"V\202\323\344\223\002E\"@/v2beta2/{resource=proje" + "cts/*/locations/*/queues/*}:getIamPolicy" - + ":\001*\022\226\001\n\014SetIamPolicy\022\".google.iam.v1.Set" - + "IamPolicyRequest\032\025.google.iam.v1.Policy\"" - + "K\202\323\344\223\002E\"@/v2beta2/{resource=projects/*/l" - + "ocations/*/queues/*}:setIamPolicy:\001*\022\274\001\n" - + "\022TestIamPermissions\022(.google.iam.v1.Test" - + "IamPermissionsRequest\032).google.iam.v1.Te" - + "stIamPermissionsResponse\"Q\202\323\344\223\002K\"F/v2bet" - + "a2/{resource=projects/*/locations/*/queu" - + "es/*}:testIamPermissions:\001*\022\251\001\n\tListTask" - + "s\022,.google.cloud.tasks.v2beta2.ListTasks" - + "Request\032-.google.cloud.tasks.v2beta2.Lis" - + "tTasksResponse\"?\202\323\344\223\0029\0227/v2beta2/{parent" - + "=projects/*/locations/*/queues/*}/tasks\022" - + "\230\001\n\007GetTask\022*.google.cloud.tasks.v2beta2" - + ".GetTaskRequest\032 .google.cloud.tasks.v2b" - + "eta2.Task\"?\202\323\344\223\0029\0227/v2beta2/{name=projec" - + "ts/*/locations/*/queues/*/tasks/*}\022\241\001\n\nC" - + "reateTask\022-.google.cloud.tasks.v2beta2.C" - + "reateTaskRequest\032 .google.cloud.tasks.v2" - + "beta2.Task\"B\202\323\344\223\002<\"7/v2beta2/{parent=pro" - + "jects/*/locations/*/queues/*}/tasks:\001*\022\224" - + "\001\n\nDeleteTask\022-.google.cloud.tasks.v2bet" - + "a2.DeleteTaskRequest\032\026.google.protobuf.E" - + "mpty\"?\202\323\344\223\0029*7/v2beta2/{name=projects/*/" - + "locations/*/queues/*/tasks/*}\022\265\001\n\nLeaseT" - + "asks\022-.google.cloud.tasks.v2beta2.LeaseT" - + "asksRequest\032..google.cloud.tasks.v2beta2" - + ".LeaseTasksResponse\"H\202\323\344\223\002B\"=/v2beta2/{p" - + "arent=projects/*/locations/*/queues/*}/t" - + "asks:lease:\001*\022\255\001\n\017AcknowledgeTask\0222.goog" - + "le.cloud.tasks.v2beta2.AcknowledgeTaskRe" - + "quest\032\026.google.protobuf.Empty\"N\202\323\344\223\002H\"C/" - + "v2beta2/{name=projects/*/locations/*/que" - + "ues/*/tasks/*}:acknowledge:\001*\022\254\001\n\nRenewL" - + "ease\022-.google.cloud.tasks.v2beta2.RenewL" - + "easeRequest\032 .google.cloud.tasks.v2beta2" - + ".Task\"M\202\323\344\223\002G\"B/v2beta2/{name=projects/*" - + "/locations/*/queues/*/tasks/*}:renewLeas" - + "e:\001*\022\257\001\n\013CancelLease\022..google.cloud.task" - + "s.v2beta2.CancelLeaseRequest\032 .google.cl" - + "oud.tasks.v2beta2.Task\"N\202\323\344\223\002H\"C/v2beta2" + + ":\001*\332A\010resource\022\250\001\n\014SetIamPolicy\022\".google" + + ".iam.v1.SetIamPolicyRequest\032\025.google.iam" + + ".v1.Policy\"]\202\323\344\223\002E\"@/v2beta2/{resource=p" + + "rojects/*/locations/*/queues/*}:setIamPo" + + "licy:\001*\332A\017resource,policy\022\323\001\n\022TestIamPer" + + "missions\022(.google.iam.v1.TestIamPermissi" + + "onsRequest\032).google.iam.v1.TestIamPermis" + + "sionsResponse\"h\202\323\344\223\002K\"F/v2beta2/{resourc" + + "e=projects/*/locations/*/queues/*}:testI" + + "amPermissions:\001*\332A\024resource,permissions\022" + + "\262\001\n\tListTasks\022,.google.cloud.tasks.v2bet" + + "a2.ListTasksRequest\032-.google.cloud.tasks" + + ".v2beta2.ListTasksResponse\"H\202\323\344\223\0029\0227/v2b" + + "eta2/{parent=projects/*/locations/*/queu" + + "es/*}/tasks\332A\006parent\022\237\001\n\007GetTask\022*.googl" + + "e.cloud.tasks.v2beta2.GetTaskRequest\032 .g" + + "oogle.cloud.tasks.v2beta2.Task\"F\202\323\344\223\0029\0227" + + "/v2beta2/{name=projects/*/locations/*/qu" + + "eues/*/tasks/*}\332A\004name\022\257\001\n\nCreateTask\022-." + + "google.cloud.tasks.v2beta2.CreateTaskReq" + + "uest\032 .google.cloud.tasks.v2beta2.Task\"P" + + "\202\323\344\223\002<\"7/v2beta2/{parent=projects/*/loca" + + "tions/*/queues/*}/tasks:\001*\332A\013parent,task" + + "\022\233\001\n\nDeleteTask\022-.google.cloud.tasks.v2b" + + "eta2.DeleteTaskRequest\032\026.google.protobuf" + + ".Empty\"F\202\323\344\223\0029*7/v2beta2/{name=projects/" + + "*/locations/*/queues/*/tasks/*}\332A\004name\022\315" + + "\001\n\nLeaseTasks\022-.google.cloud.tasks.v2bet" + + "a2.LeaseTasksRequest\032..google.cloud.task" + + "s.v2beta2.LeaseTasksResponse\"`\202\323\344\223\002B\"=/v" + + "2beta2/{parent=projects/*/locations/*/qu" + + "eues/*}/tasks:lease:\001*\332A\025parent,lease_du" + + "ration\022\302\001\n\017AcknowledgeTask\0222.google.clou" + + "d.tasks.v2beta2.AcknowledgeTaskRequest\032\026" + + ".google.protobuf.Empty\"c\202\323\344\223\002H\"C/v2beta2" + "/{name=projects/*/locations/*/queues/*/t" - + "asks/*}:cancelLease:\001*\022\237\001\n\007RunTask\022*.goo" - + "gle.cloud.tasks.v2beta2.RunTaskRequest\032 " - + ".google.cloud.tasks.v2beta2.Task\"F\202\323\344\223\002@" - + "\";/v2beta2/{name=projects/*/locations/*/" - + "queues/*/tasks/*}:run:\001*B|\n\036com.google.c" - + "loud.tasks.v2beta2B\017CloudTasksProtoP\001Z?g" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/tasks/v2beta2;tasks\242\002\005TASKSb\006proto3" + + "asks/*}:acknowledge:\001*\332A\022name,schedule_t" + + "ime\022\320\001\n\nRenewLease\022-.google.cloud.tasks." + + "v2beta2.RenewLeaseRequest\032 .google.cloud" + + ".tasks.v2beta2.Task\"q\202\323\344\223\002G\"B/v2beta2/{n" + + "ame=projects/*/locations/*/queues/*/task" + + "s/*}:renewLease:\001*\332A!name,schedule_time," + + "lease_duration\022\304\001\n\013CancelLease\022..google." + + "cloud.tasks.v2beta2.CancelLeaseRequest\032 " + + ".google.cloud.tasks.v2beta2.Task\"c\202\323\344\223\002H" + + "\"C/v2beta2/{name=projects/*/locations/*/" + + "queues/*/tasks/*}:cancelLease:\001*\332A\022name," + + "schedule_time\022\246\001\n\007RunTask\022*.google.cloud" + + ".tasks.v2beta2.RunTaskRequest\032 .google.c" + + "loud.tasks.v2beta2.Task\"M\202\323\344\223\002@\";/v2beta" + + "2/{name=projects/*/locations/*/queues/*/" + + "tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.go" + + "ogleapis.com\322A.https://www.googleapis.co" + + "m/auth/cloud-platformB|\n\036com.google.clou" + + "d.tasks.v2beta2B\017CloudTasksProtoP\001Z?goog" + + "le.golang.org/genproto/googleapis/cloud/" + + "tasks/v2beta2;tasks\242\002\005TASKSb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -257,6 +285,9 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(), com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), com.google.iam.v1.IamPolicyProto.getDescriptor(), @@ -265,7 +296,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.CodeProto.getDescriptor(), }, assigner); internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = @@ -430,10 +460,18 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); com.google.iam.v1.IamPolicyProto.getDescriptor(); @@ -442,7 +480,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.CodeProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java index d13462026b72..20cd52038ef4 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
+ * Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} @@ -114,15 +113,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -139,15 +139,16 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -167,13 +168,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required.
-   * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-   * an existing queue.
+   * Required. The queue to create.
+   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasQueue() { return queue_ != null; @@ -182,13 +182,12 @@ public boolean hasQueue() { * * *
-   * Required.
-   * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-   * an existing queue.
+   * Required. The queue to create.
+   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; @@ -197,13 +196,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { * * *
-   * Required.
-   * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-   * an existing queue.
+   * Required. The queue to create.
+   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { return getQueue(); @@ -386,8 +384,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
+   * Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} @@ -561,15 +558,16 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -586,15 +584,16 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -611,15 +610,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -634,15 +634,16 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -654,15 +655,16 @@ public Builder clearParent() { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -685,13 +687,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required.
-     * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-     * an existing queue.
+     * Required. The queue to create.
+     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; @@ -700,13 +701,12 @@ public boolean hasQueue() { * * *
-     * Required.
-     * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-     * an existing queue.
+     * Required. The queue to create.
+     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { if (queueBuilder_ == null) { @@ -719,13 +719,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { * * *
-     * Required.
-     * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-     * an existing queue.
+     * Required. The queue to create.
+     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -744,13 +743,12 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { * * *
-     * Required.
-     * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-     * an existing queue.
+     * Required. The queue to create.
+     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { @@ -766,13 +764,12 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV * * *
-     * Required.
-     * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-     * an existing queue.
+     * Required. The queue to create.
+     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -795,13 +792,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { * * *
-     * Required.
-     * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-     * an existing queue.
+     * Required. The queue to create.
+     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -818,13 +814,12 @@ public Builder clearQueue() { * * *
-     * Required.
-     * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-     * an existing queue.
+     * Required. The queue to create.
+     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { @@ -835,13 +830,12 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { * * *
-     * Required.
-     * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-     * an existing queue.
+     * Required. The queue to create.
+     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { @@ -854,13 +848,12 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { * * *
-     * Required.
-     * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-     * an existing queue.
+     * Required. The queue to create.
+     * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.Queue, diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java index 71942d23e49d..139b885f82d0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java @@ -12,30 +12,32 @@ public interface CreateQueueRequestOrBuilder * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); @@ -43,39 +45,36 @@ public interface CreateQueueRequestOrBuilder * * *
-   * Required.
-   * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-   * an existing queue.
+   * Required. The queue to create.
+   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasQueue(); /** * * *
-   * Required.
-   * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-   * an existing queue.
+   * Required. The queue to create.
+   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** * * *
-   * Required.
-   * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
-   * an existing queue.
+   * Required. The queue to create.
+   * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java index a8bc1ca181a9..5656e76a0bc0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+ * Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} @@ -122,13 +121,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -145,13 +145,14 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -171,16 +172,15 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2beta2.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.v2beta2.Task.name].
-   * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+   * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +192,18 @@ 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 completed.
    * Because there is an extra lookup cost to identify duplicate task
-   * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasTask() { return task_ != null; @@ -211,16 +212,15 @@ public boolean hasTask() { * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2beta2.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.v2beta2.Task.name].
-   * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+   * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +232,18 @@ 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 completed.
    * Because there is an extra lookup cost to identify duplicate task
-   * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; @@ -251,16 +252,15 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2beta2.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.v2beta2.Task.name].
-   * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+   * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +272,18 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
    * queue.xml, then another task with the same name can't be created
    * for ~9days after the original task was deleted or completed.
    * Because there is an extra lookup cost to identify duplicate task
-   * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { return getTask(); @@ -294,17 +295,16 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -316,17 +316,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -524,8 +523,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+   * Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} @@ -704,13 +702,14 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -727,13 +726,14 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -750,13 +750,14 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -771,13 +772,14 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -789,13 +791,14 @@ public Builder clearParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -818,16 +821,15 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2beta2.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.v2beta2.Task.name].
-     * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+     * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +841,18 @@ 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 completed.
      * Because there is an extra lookup cost to identify duplicate task
-     * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; @@ -858,16 +861,15 @@ public boolean hasTask() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2beta2.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.v2beta2.Task.name].
-     * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+     * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +881,18 @@ 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 completed.
      * Because there is an extra lookup cost to identify duplicate task
-     * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Task getTask() { if (taskBuilder_ == null) { @@ -902,16 +905,15 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2beta2.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.v2beta2.Task.name].
-     * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+     * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +925,18 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
      * queue.xml, then another task with the same name can't be created
      * for ~9days after the original task was deleted or completed.
      * Because there is an extra lookup cost to identify duplicate task
-     * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { @@ -952,16 +955,15 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2beta2.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.v2beta2.Task.name].
-     * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+     * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +975,18 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) {
      * queue.xml, then another task with the same name can't be created
      * for ~9days after the original task was deleted or completed.
      * Because there is an extra lookup cost to identify duplicate task
-     * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (taskBuilder_ == null) { @@ -999,16 +1002,15 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForVal * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2beta2.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.v2beta2.Task.name].
-     * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+     * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +1022,18 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.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 completed.
      * Because there is an extra lookup cost to identify duplicate task
-     * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { @@ -1051,16 +1054,15 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2beta2.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.v2beta2.Task.name].
-     * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+     * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +1074,18 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) {
      * queue.xml, then another task with the same name can't be created
      * for ~9days after the original task was deleted or completed.
      * Because there is an extra lookup cost to identify duplicate task
-     * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1099,16 +1102,15 @@ public Builder clearTask() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2beta2.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.v2beta2.Task.name].
-     * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+     * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +1122,18 @@ 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 completed.
      * Because there is an extra lookup cost to identify duplicate task
-     * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() { @@ -1141,16 +1144,15 @@ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2beta2.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.v2beta2.Task.name].
-     * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+     * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +1164,18 @@ public com.google.cloud.tasks.v2beta2.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 completed.
      * Because there is an extra lookup cost to identify duplicate task
-     * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { @@ -1185,16 +1188,15 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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.v2beta2.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.v2beta2.Task.name].
-     * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+     * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +1208,18 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * queue.xml, then another task with the same name can't be created
      * for ~9days after the original task was deleted or completed.
      * Because there is an extra lookup cost to identify duplicate task
-     * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.Task, @@ -1240,17 +1243,16 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -1262,17 +1264,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -1286,17 +1287,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -1311,17 +1311,16 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -1339,17 +1338,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java index a7cd463fd76e..a4de1b8197c0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java @@ -12,26 +12,28 @@ public interface CreateTaskRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); @@ -39,16 +41,15 @@ public interface CreateTaskRequestOrBuilder * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2beta2.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.v2beta2.Task.name].
-   * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+   * If [schedule_time][google.cloud.tasks.v2beta2.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,33 +61,33 @@ 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 completed.
    * Because there is an extra lookup cost to identify duplicate task
-   * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasTask(); /** * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2beta2.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.v2beta2.Task.name].
-   * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+   * If [schedule_time][google.cloud.tasks.v2beta2.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,33 +99,33 @@ 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 completed.
    * Because there is an extra lookup cost to identify duplicate task
-   * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.Task getTask(); /** * * *
-   * Required.
-   * The task to add.
+   * Required. 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.v2beta2.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.v2beta2.Task.name].
-   * If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.name].
+   * If [schedule_time][google.cloud.tasks.v2beta2.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,17 +137,18 @@ 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 completed.
    * Because there is an extra lookup cost to identify duplicate task
-   * names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder(); @@ -154,17 +156,16 @@ public interface CreateTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; @@ -174,17 +175,16 @@ public interface CreateTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java index d76f3b252212..a1c534cd34cb 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
+ * Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} @@ -98,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -120,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -302,8 +303,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
+   * Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} @@ -463,12 +463,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -485,12 +486,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -507,12 +509,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -527,12 +530,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -544,12 +548,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java index bcbc24540f51..fecc09108e9e 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface DeleteQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java index d3e35849fc40..13de0ebde31a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java @@ -98,12 +98,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -120,12 +121,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -462,12 +464,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -484,12 +487,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -506,12 +510,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -526,12 +531,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -543,12 +549,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java index 235b4abf7810..6bab53e68619 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface DeleteTaskRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java index 4c4be3ae9b1a..2527c481be5a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
+ * Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} @@ -98,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -120,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -302,8 +303,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
+   * Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} @@ -461,12 +461,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -483,12 +484,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -505,12 +507,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -525,12 +528,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -542,12 +546,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java index 35d43c7018b9..ef77e2a9f946 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface GetQueueRequestOrBuilder * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java index dade23d77eaa..c2efa91db70c 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for getting a task using
- * [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
+ * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetTaskRequest} @@ -106,12 +105,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -128,12 +128,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -153,17 +154,16 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -175,17 +175,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -369,8 +368,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for getting a task using
-   * [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
+   * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetTaskRequest} @@ -534,12 +532,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -556,12 +555,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -578,12 +578,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -598,12 +599,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -615,12 +617,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -638,17 +641,16 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -660,17 +662,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -684,17 +685,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -709,17 +709,16 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -737,17 +736,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java index 61f13e9506ec..5152ebaf3357 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface GetTaskRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); @@ -37,17 +39,16 @@ public interface GetTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -57,17 +58,16 @@ public interface GetTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java index 5b2e6f991ba2..cbfd6269dea7 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for leasing tasks using
- * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
+ * Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} @@ -134,12 +133,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -156,12 +156,13 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -185,6 +186,9 @@ public com.google.protobuf.ByteString getParentBytes() { * The system will make a best effort to return as close to as * `max_tasks` as possible. * The largest that `max_tasks` can be is 1000. + * The maximum total size of a [lease tasks response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is + * 32 MB. If the sum of all task sizes requested reaches this limit, + * fewer tasks than requested are returned. * * * int32 max_tasks = 2; @@ -199,18 +203,25 @@ public int getMaxTasks() { * * *
+   * Required. The duration of the lease.
+   * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+   * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+   * time plus the `lease_duration`. The task is leased until its
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+   * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+   * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
    * After the worker has successfully finished the work associated
    * with the task, the worker must call via
-   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-   * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-   * Otherwise the task will be returned to a later
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-   * another worker can retry it.
+   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+   * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+   * that another worker can retry it.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasLeaseDuration() { return leaseDuration_ != null; @@ -219,18 +230,25 @@ public boolean hasLeaseDuration() { * * *
+   * Required. The duration of the lease.
+   * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+   * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+   * time plus the `lease_duration`. The task is leased until its
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+   * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+   * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
    * After the worker has successfully finished the work associated
    * with the task, the worker must call via
-   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-   * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-   * Otherwise the task will be returned to a later
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-   * another worker can retry it.
+   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+   * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+   * that another worker can retry it.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration getLeaseDuration() { return leaseDuration_ == null @@ -241,18 +259,25 @@ public com.google.protobuf.Duration getLeaseDuration() { * * *
+   * Required. The duration of the lease.
+   * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+   * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+   * time plus the `lease_duration`. The task is leased until its
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+   * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+   * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
    * After the worker has successfully finished the work associated
    * with the task, the worker must call via
-   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-   * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-   * Otherwise the task will be returned to a later
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-   * another worker can retry it.
+   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+   * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+   * that another worker can retry it.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { return getLeaseDuration(); @@ -264,17 +289,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -286,17 +310,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -316,13 +339,12 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
-   * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only
-   * tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to
-   * `<my-tag>`. `<my-tag>` must be less than 500 characters.
+   * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose
+   * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to `<my-tag>`. `<my-tag>` must be
+   * less than 500 characters.
    * When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
    * the same tag as the task with the oldest
-   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
-   * returned.
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned.
    * Grammar Syntax:
    * * `filter = "tag=" tag | "tag_function=" function`
    * * `tag = string`
@@ -334,9 +356,8 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
    * [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
    * only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
    * aren't UTF-8 encoded can't be used in the
-   * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the
-   * task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed
-   * as empty in Cloud Tasks.
+   * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's
+   * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks.
    * 
* * string filter = 5; @@ -358,13 +379,12 @@ public java.lang.String getFilter() { *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
-   * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only
-   * tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to
-   * `<my-tag>`. `<my-tag>` must be less than 500 characters.
+   * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose
+   * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to `<my-tag>`. `<my-tag>` must be
+   * less than 500 characters.
    * When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
    * the same tag as the task with the oldest
-   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
-   * returned.
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned.
    * Grammar Syntax:
    * * `filter = "tag=" tag | "tag_function=" function`
    * * `tag = string`
@@ -376,9 +396,8 @@ public java.lang.String getFilter() {
    * [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
    * only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
    * aren't UTF-8 encoded can't be used in the
-   * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the
-   * task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed
-   * as empty in Cloud Tasks.
+   * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's
+   * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks.
    * 
* * string filter = 5; @@ -599,8 +618,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for leasing tasks using
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
+   * Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} @@ -792,12 +810,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -814,12 +833,13 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -836,12 +856,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -856,12 +877,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -873,12 +895,13 @@ public Builder clearParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -900,6 +923,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * The system will make a best effort to return as close to as * `max_tasks` as possible. * The largest that `max_tasks` can be is 1000. + * The maximum total size of a [lease tasks response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is + * 32 MB. If the sum of all task sizes requested reaches this limit, + * fewer tasks than requested are returned. * * * int32 max_tasks = 2; @@ -915,6 +941,9 @@ public int getMaxTasks() { * The system will make a best effort to return as close to as * `max_tasks` as possible. * The largest that `max_tasks` can be is 1000. + * The maximum total size of a [lease tasks response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is + * 32 MB. If the sum of all task sizes requested reaches this limit, + * fewer tasks than requested are returned. * * * int32 max_tasks = 2; @@ -933,6 +962,9 @@ public Builder setMaxTasks(int value) { * The system will make a best effort to return as close to as * `max_tasks` as possible. * The largest that `max_tasks` can be is 1000. + * The maximum total size of a [lease tasks response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is + * 32 MB. If the sum of all task sizes requested reaches this limit, + * fewer tasks than requested are returned. * * * int32 max_tasks = 2; @@ -954,18 +986,25 @@ public Builder clearMaxTasks() { * * *
+     * Required. The duration of the lease.
+     * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+     * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+     * time plus the `lease_duration`. The task is leased until its
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+     * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+     * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * After the worker has successfully finished the work associated
      * with the task, the worker must call via
-     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-     * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-     * Otherwise the task will be returned to a later
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-     * another worker can retry it.
+     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+     * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+     * that another worker can retry it.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; @@ -974,18 +1013,25 @@ public boolean hasLeaseDuration() { * * *
+     * Required. The duration of the lease.
+     * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+     * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+     * time plus the `lease_duration`. The task is leased until its
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+     * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+     * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * After the worker has successfully finished the work associated
      * with the task, the worker must call via
-     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-     * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-     * Otherwise the task will be returned to a later
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-     * another worker can retry it.
+     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+     * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+     * that another worker can retry it.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1000,18 +1046,25 @@ public com.google.protobuf.Duration getLeaseDuration() { * * *
+     * Required. The duration of the lease.
+     * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+     * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+     * time plus the `lease_duration`. The task is leased until its
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+     * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+     * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * After the worker has successfully finished the work associated
      * with the task, the worker must call via
-     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-     * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-     * Otherwise the task will be returned to a later
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-     * another worker can retry it.
+     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+     * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+     * that another worker can retry it.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1030,18 +1083,25 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { * * *
+     * Required. The duration of the lease.
+     * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+     * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+     * time plus the `lease_duration`. The task is leased until its
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+     * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+     * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * After the worker has successfully finished the work associated
      * with the task, the worker must call via
-     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-     * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-     * Otherwise the task will be returned to a later
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-     * another worker can retry it.
+     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+     * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+     * that another worker can retry it.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { @@ -1057,18 +1117,25 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV * * *
+     * Required. The duration of the lease.
+     * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+     * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+     * time plus the `lease_duration`. The task is leased until its
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+     * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+     * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * After the worker has successfully finished the work associated
      * with the task, the worker must call via
-     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-     * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-     * Otherwise the task will be returned to a later
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-     * another worker can retry it.
+     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+     * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+     * that another worker can retry it.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1091,18 +1158,25 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { * * *
+     * Required. The duration of the lease.
+     * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+     * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+     * time plus the `lease_duration`. The task is leased until its
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+     * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+     * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * After the worker has successfully finished the work associated
      * with the task, the worker must call via
-     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-     * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-     * Otherwise the task will be returned to a later
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-     * another worker can retry it.
+     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+     * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+     * that another worker can retry it.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1119,18 +1193,25 @@ public Builder clearLeaseDuration() { * * *
+     * Required. The duration of the lease.
+     * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+     * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+     * time plus the `lease_duration`. The task is leased until its
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+     * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+     * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * After the worker has successfully finished the work associated
      * with the task, the worker must call via
-     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-     * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-     * Otherwise the task will be returned to a later
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-     * another worker can retry it.
+     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+     * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+     * that another worker can retry it.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { @@ -1141,18 +1222,25 @@ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { * * *
+     * Required. The duration of the lease.
+     * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+     * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+     * time plus the `lease_duration`. The task is leased until its
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+     * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+     * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * After the worker has successfully finished the work associated
      * with the task, the worker must call via
-     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-     * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-     * Otherwise the task will be returned to a later
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-     * another worker can retry it.
+     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+     * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+     * that another worker can retry it.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { @@ -1167,18 +1255,25 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { * * *
+     * Required. The duration of the lease.
+     * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+     * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+     * time plus the `lease_duration`. The task is leased until its
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+     * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+     * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * After the worker has successfully finished the work associated
      * with the task, the worker must call via
-     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-     * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-     * Otherwise the task will be returned to a later
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-     * another worker can retry it.
+     * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+     * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+     * that another worker can retry it.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, @@ -1202,17 +1297,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -1224,17 +1318,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -1248,17 +1341,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -1273,17 +1365,16 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -1301,17 +1392,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -1330,13 +1420,12 @@ public Builder clearResponseView() { *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
-     * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only
-     * tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to
-     * `<my-tag>`. `<my-tag>` must be less than 500 characters.
+     * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose
+     * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to `<my-tag>`. `<my-tag>` must be
+     * less than 500 characters.
      * When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
      * the same tag as the task with the oldest
-     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
-     * returned.
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned.
      * Grammar Syntax:
      * * `filter = "tag=" tag | "tag_function=" function`
      * * `tag = string`
@@ -1348,9 +1437,8 @@ public Builder clearResponseView() {
      * [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
      * only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
      * aren't UTF-8 encoded can't be used in the
-     * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the
-     * task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed
-     * as empty in Cloud Tasks.
+     * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's
+     * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks.
      * 
* * string filter = 5; @@ -1372,13 +1460,12 @@ public java.lang.String getFilter() { *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
-     * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only
-     * tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to
-     * `<my-tag>`. `<my-tag>` must be less than 500 characters.
+     * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose
+     * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to `<my-tag>`. `<my-tag>` must be
+     * less than 500 characters.
      * When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
      * the same tag as the task with the oldest
-     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
-     * returned.
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned.
      * Grammar Syntax:
      * * `filter = "tag=" tag | "tag_function=" function`
      * * `tag = string`
@@ -1390,9 +1477,8 @@ public java.lang.String getFilter() {
      * [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
      * only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
      * aren't UTF-8 encoded can't be used in the
-     * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the
-     * task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed
-     * as empty in Cloud Tasks.
+     * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's
+     * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks.
      * 
* * string filter = 5; @@ -1414,13 +1500,12 @@ public com.google.protobuf.ByteString getFilterBytes() { *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
-     * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only
-     * tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to
-     * `<my-tag>`. `<my-tag>` must be less than 500 characters.
+     * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose
+     * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to `<my-tag>`. `<my-tag>` must be
+     * less than 500 characters.
      * When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
      * the same tag as the task with the oldest
-     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
-     * returned.
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned.
      * Grammar Syntax:
      * * `filter = "tag=" tag | "tag_function=" function`
      * * `tag = string`
@@ -1432,9 +1517,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
      * only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
      * aren't UTF-8 encoded can't be used in the
-     * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the
-     * task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed
-     * as empty in Cloud Tasks.
+     * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's
+     * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks.
      * 
* * string filter = 5; @@ -1454,13 +1538,12 @@ public Builder setFilter(java.lang.String value) { *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
-     * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only
-     * tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to
-     * `<my-tag>`. `<my-tag>` must be less than 500 characters.
+     * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose
+     * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to `<my-tag>`. `<my-tag>` must be
+     * less than 500 characters.
      * When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
      * the same tag as the task with the oldest
-     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
-     * returned.
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned.
      * Grammar Syntax:
      * * `filter = "tag=" tag | "tag_function=" function`
      * * `tag = string`
@@ -1472,9 +1555,8 @@ public Builder setFilter(java.lang.String value) {
      * [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
      * only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
      * aren't UTF-8 encoded can't be used in the
-     * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the
-     * task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed
-     * as empty in Cloud Tasks.
+     * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's
+     * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks.
      * 
* * string filter = 5; @@ -1491,13 +1573,12 @@ public Builder clearFilter() { *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
-     * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only
-     * tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to
-     * `<my-tag>`. `<my-tag>` must be less than 500 characters.
+     * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose
+     * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to `<my-tag>`. `<my-tag>` must be
+     * less than 500 characters.
      * When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
      * the same tag as the task with the oldest
-     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
-     * returned.
+     * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned.
      * Grammar Syntax:
      * * `filter = "tag=" tag | "tag_function=" function`
      * * `tag = string`
@@ -1509,9 +1590,8 @@ public Builder clearFilter() {
      * [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
      * only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
      * aren't UTF-8 encoded can't be used in the
-     * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the
-     * task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed
-     * as empty in Cloud Tasks.
+     * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's
+     * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks.
      * 
* * string filter = 5; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java index d53dd2309a89..d001290b1c68 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface LeaseTasksRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); @@ -41,6 +43,9 @@ public interface LeaseTasksRequestOrBuilder * The system will make a best effort to return as close to as * `max_tasks` as possible. * The largest that `max_tasks` can be is 1000. + * The maximum total size of a [lease tasks response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is + * 32 MB. If the sum of all task sizes requested reaches this limit, + * fewer tasks than requested are returned. * * * int32 max_tasks = 2; @@ -51,54 +56,75 @@ public interface LeaseTasksRequestOrBuilder * * *
+   * Required. The duration of the lease.
+   * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+   * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+   * time plus the `lease_duration`. The task is leased until its
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+   * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+   * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
    * After the worker has successfully finished the work associated
    * with the task, the worker must call via
-   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-   * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-   * Otherwise the task will be returned to a later
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-   * another worker can retry it.
+   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+   * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+   * that another worker can retry it.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasLeaseDuration(); /** * * *
+   * Required. The duration of the lease.
+   * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+   * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+   * time plus the `lease_duration`. The task is leased until its
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+   * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+   * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
    * After the worker has successfully finished the work associated
    * with the task, the worker must call via
-   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-   * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-   * Otherwise the task will be returned to a later
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-   * another worker can retry it.
+   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+   * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+   * that another worker can retry it.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.Duration getLeaseDuration(); /** * * *
+   * Required. The duration of the lease.
+   * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+   * have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+   * time plus the `lease_duration`. The task is leased until its
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+   * returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+   * before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
    * After the worker has successfully finished the work associated
    * with the task, the worker must call via
-   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
-   * before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
-   * Otherwise the task will be returned to a later
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
-   * another worker can retry it.
+   * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+   * returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+   * that another worker can retry it.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); @@ -106,17 +132,16 @@ public interface LeaseTasksRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -126,17 +151,16 @@ public interface LeaseTasksRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -149,13 +173,12 @@ public interface LeaseTasksRequestOrBuilder *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
-   * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only
-   * tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to
-   * `<my-tag>`. `<my-tag>` must be less than 500 characters.
+   * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose
+   * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to `<my-tag>`. `<my-tag>` must be
+   * less than 500 characters.
    * When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
    * the same tag as the task with the oldest
-   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
-   * returned.
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned.
    * Grammar Syntax:
    * * `filter = "tag=" tag | "tag_function=" function`
    * * `tag = string`
@@ -167,9 +190,8 @@ public interface LeaseTasksRequestOrBuilder
    * [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
    * only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
    * aren't UTF-8 encoded can't be used in the
-   * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the
-   * task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed
-   * as empty in Cloud Tasks.
+   * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's
+   * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks.
    * 
* * string filter = 5; @@ -181,13 +203,12 @@ public interface LeaseTasksRequestOrBuilder *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
-   * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only
-   * tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to
-   * `<my-tag>`. `<my-tag>` must be less than 500 characters.
+   * [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose
+   * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to `<my-tag>`. `<my-tag>` must be
+   * less than 500 characters.
    * When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
    * the same tag as the task with the oldest
-   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
-   * returned.
+   * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned.
    * Grammar Syntax:
    * * `filter = "tag=" tag | "tag_function=" function`
    * * `tag = string`
@@ -199,9 +220,8 @@ public interface LeaseTasksRequestOrBuilder
    * [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
    * only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
    * aren't UTF-8 encoded can't be used in the
-   * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the
-   * task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed
-   * as empty in Cloud Tasks.
+   * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's
+   * [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks.
    * 
* * string filter = 5; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java index 6abc2299a563..8b6d897a0af3 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java @@ -7,8 +7,7 @@ * * *
- * Response message for leasing tasks using
- * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
+ * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} @@ -328,8 +327,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for leasing tasks using
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
+   * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java index 3880576a6a8e..3382538d0e3d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
+ * Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} @@ -119,12 +118,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -141,12 +141,13 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -166,10 +167,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * `filter` can be used to specify a subset of queues. Any
-   * [Queue][google.cloud.tasks.v2beta2.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
+   * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.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 "app_engine_http_target: *".
    * Note that using filters might cause fewer queues than the
@@ -193,10 +195,11 @@ public java.lang.String getFilter() {
    *
    *
    * 
-   * `filter` can be used to specify a subset of queues. Any
-   * [Queue][google.cloud.tasks.v2beta2.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
+   * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.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 "app_engine_http_target: *".
    * Note that using filters might cause fewer queues than the
@@ -227,8 +230,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.v2beta2.ListQueuesResponse.next_page_token]
-   * in the response to determine if more queues exist.
+   * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] in the
+   * response to determine if more queues exist.
    * 
* * int32 page_size = 3; @@ -246,12 +249,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.v2beta2.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. *
* * string page_token = 4; @@ -274,12 +275,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.v2beta2.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. * * * string page_token = 4; @@ -486,8 +485,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
+   * Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} @@ -666,12 +664,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -688,12 +687,13 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -710,12 +710,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -730,12 +731,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -747,12 +749,13 @@ public Builder clearParent() { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -770,10 +773,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * `filter` can be used to specify a subset of queues. Any
-     * [Queue][google.cloud.tasks.v2beta2.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
+     * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.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 "app_engine_http_target: *".
      * Note that using filters might cause fewer queues than the
@@ -797,10 +801,11 @@ public java.lang.String getFilter() {
      *
      *
      * 
-     * `filter` can be used to specify a subset of queues. Any
-     * [Queue][google.cloud.tasks.v2beta2.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
+     * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.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 "app_engine_http_target: *".
      * Note that using filters might cause fewer queues than the
@@ -824,10 +829,11 @@ public com.google.protobuf.ByteString getFilterBytes() {
      *
      *
      * 
-     * `filter` can be used to specify a subset of queues. Any
-     * [Queue][google.cloud.tasks.v2beta2.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
+     * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.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 "app_engine_http_target: *".
      * Note that using filters might cause fewer queues than the
@@ -849,10 +855,11 @@ public Builder setFilter(java.lang.String value) {
      *
      *
      * 
-     * `filter` can be used to specify a subset of queues. Any
-     * [Queue][google.cloud.tasks.v2beta2.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
+     * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.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 "app_engine_http_target: *".
      * Note that using filters might cause fewer queues than the
@@ -871,10 +878,11 @@ public Builder clearFilter() {
      *
      *
      * 
-     * `filter` can be used to specify a subset of queues. Any
-     * [Queue][google.cloud.tasks.v2beta2.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
+     * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.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 "app_engine_http_target: *".
      * Note that using filters might cause fewer queues than the
@@ -903,8 +911,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.v2beta2.ListQueuesResponse.next_page_token]
-     * in the response to determine if more queues exist.
+     * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] in the
+     * response to determine if more queues exist.
      * 
* * int32 page_size = 3; @@ -920,8 +928,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.v2beta2.ListQueuesResponse.next_page_token] - * in the response to determine if more queues exist. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] in the + * response to determine if more queues exist. *
* * int32 page_size = 3; @@ -940,8 +948,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.v2beta2.ListQueuesResponse.next_page_token] - * in the response to determine if more queues exist. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] in the + * response to determine if more queues exist. *
* * int32 page_size = 3; @@ -961,12 +969,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.v2beta2.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. *
* * string page_token = 4; @@ -989,12 +995,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.v2beta2.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. *
* * string page_token = 4; @@ -1017,12 +1021,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.v2beta2.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. * * * string page_token = 4; @@ -1043,12 +1045,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.v2beta2.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. * * * string page_token = 4; @@ -1066,12 +1066,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.v2beta2.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. * * * string page_token = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java index 1630c1f93422..357f6ff2d0bc 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface ListQueuesRequestOrBuilder * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); @@ -37,10 +39,11 @@ public interface ListQueuesRequestOrBuilder * * *
-   * `filter` can be used to specify a subset of queues. Any
-   * [Queue][google.cloud.tasks.v2beta2.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
+   * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.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 "app_engine_http_target: *".
    * Note that using filters might cause fewer queues than the
@@ -54,10 +57,11 @@ public interface ListQueuesRequestOrBuilder
    *
    *
    * 
-   * `filter` can be used to specify a subset of queues. Any
-   * [Queue][google.cloud.tasks.v2beta2.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
+   * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.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 "app_engine_http_target: *".
    * Note that using filters might cause fewer queues than the
@@ -76,8 +80,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.v2beta2.ListQueuesResponse.next_page_token]
-   * in the response to determine if more queues exist.
+   * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] in the
+   * response to determine if more queues exist.
    * 
* * int32 page_size = 3; @@ -91,12 +95,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.v2beta2.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. *
* * string page_token = 4; @@ -109,12 +111,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.v2beta2.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. * * * string page_token = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java index a88a2fba9f71..6beff1abfe5a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java @@ -7,8 +7,7 @@ * * *
- * Response message for
- * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
+ * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} @@ -180,8 +179,7 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int inde *
    * A token to retrieve next page of results.
    * To return the next page of results, call
-   * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this
-   * value as the
+   * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the
    * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListQueues] with this
-   * value as the
+   * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the
    * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListQueues].
+   * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListQueues] with this
-     * value as the
+     * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the
      * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListQueues] with this
-     * value as the
+     * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the
      * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListQueues] with this
-     * value as the
+     * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the
      * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListQueues] with this
-     * value as the
+     * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the
      * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListQueues] with this
-     * value as the
+     * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the
      * [page_token][google.cloud.tasks.v2beta2.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-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java
index 8771d147ca04..5609fff28db5 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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.v2beta2.CloudTasks.ListQueues] with this
-   * value as the
+   * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the
    * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListQueues] with this
-   * value as the
+   * [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the
    * [page_token][google.cloud.tasks.v2beta2.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-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java
index 11a4fd59e6e0..e8bcb870d4a0 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java
@@ -7,8 +7,7 @@
  *
  *
  * 
- * Request message for listing tasks using
- * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
+ * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListTasksRequest} @@ -119,12 +118,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -141,12 +141,13 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -166,17 +167,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -188,17 +188,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -216,12 +215,12 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { * * *
-   * Requested page size. Fewer tasks than requested might be returned.
-   * 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.v2beta2.ListTasksResponse.next_page_token]
-   * in the response to determine if more tasks exist.
+   * Maximum page size.
+   * Fewer tasks than requested might be returned, even if more tasks exist; use
+   * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] in the response to
+   * determine if more tasks exist.
+   * The maximum page size is 1000. If unspecified, the page size will be the
+   * maximum.
    * 
* * int32 page_size = 4; @@ -239,9 +238,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.v2beta2.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -265,9 +264,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.v2beta2.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -475,8 +474,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for listing tasks using
-   * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
+   * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListTasksRequest} @@ -654,12 +652,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -676,12 +675,13 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -698,12 +698,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -718,12 +719,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -735,12 +737,13 @@ public Builder clearParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -758,17 +761,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -780,17 +782,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -804,17 +805,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -829,17 +829,16 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -857,17 +856,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -884,12 +882,12 @@ public Builder clearResponseView() { * * *
-     * Requested page size. Fewer tasks than requested might be returned.
-     * 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.v2beta2.ListTasksResponse.next_page_token]
-     * in the response to determine if more tasks exist.
+     * Maximum page size.
+     * Fewer tasks than requested might be returned, even if more tasks exist; use
+     * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] in the response to
+     * determine if more tasks exist.
+     * The maximum page size is 1000. If unspecified, the page size will be the
+     * maximum.
      * 
* * int32 page_size = 4; @@ -901,12 +899,12 @@ public int getPageSize() { * * *
-     * Requested page size. Fewer tasks than requested might be returned.
-     * 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.v2beta2.ListTasksResponse.next_page_token]
-     * in the response to determine if more tasks exist.
+     * Maximum page size.
+     * Fewer tasks than requested might be returned, even if more tasks exist; use
+     * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] in the response to
+     * determine if more tasks exist.
+     * The maximum page size is 1000. If unspecified, the page size will be the
+     * maximum.
      * 
* * int32 page_size = 4; @@ -921,12 +919,12 @@ public Builder setPageSize(int value) { * * *
-     * Requested page size. Fewer tasks than requested might be returned.
-     * 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.v2beta2.ListTasksResponse.next_page_token]
-     * in the response to determine if more tasks exist.
+     * Maximum page size.
+     * Fewer tasks than requested might be returned, even if more tasks exist; use
+     * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] in the response to
+     * determine if more tasks exist.
+     * The maximum page size is 1000. If unspecified, the page size will be the
+     * maximum.
      * 
* * int32 page_size = 4; @@ -946,9 +944,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.v2beta2.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -972,9 +970,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.v2beta2.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -998,9 +996,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.v2beta2.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -1022,9 +1020,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.v2beta2.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -1043,9 +1041,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.v2beta2.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java index 26ef42d23723..942fa45740cb 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface ListTasksRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); @@ -37,17 +39,16 @@ public interface ListTasksRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -57,17 +58,16 @@ public interface ListTasksRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -78,12 +78,12 @@ public interface ListTasksRequestOrBuilder * * *
-   * Requested page size. Fewer tasks than requested might be returned.
-   * 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.v2beta2.ListTasksResponse.next_page_token]
-   * in the response to determine if more tasks exist.
+   * Maximum page size.
+   * Fewer tasks than requested might be returned, even if more tasks exist; use
+   * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] in the response to
+   * determine if more tasks exist.
+   * The maximum page size is 1000. If unspecified, the page size will be the
+   * maximum.
    * 
* * int32 page_size = 4; @@ -97,9 +97,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.v2beta2.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -113,9 +113,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.v2beta2.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java index 8ce1e6d1b6f2..81cc0e5b5f1e 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java @@ -7,8 +7,7 @@ * * *
- * Response message for listing tasks using
- * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
+ * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListTasksResponse} @@ -180,8 +179,7 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) *
    * A token to retrieve next page of results.
    * To return the next page of results, call
-   * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this
-   * value as the
+   * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the
    * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListTasks] with this
-   * value as the
+   * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the
    * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListTasks].
+   * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListTasks] with this
-     * value as the
+     * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the
      * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListTasks] with this
-     * value as the
+     * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the
      * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListTasks] with this
-     * value as the
+     * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the
      * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListTasks] with this
-     * value as the
+     * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the
      * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListTasks] with this
-     * value as the
+     * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the
      * [page_token][google.cloud.tasks.v2beta2.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-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java index a30bb052d980..73b29004bef4 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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.v2beta2.CloudTasks.ListTasks] with this
-   * value as the
+   * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the
    * [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.ListTasks] with this
-   * value as the
+   * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the
    * [page_token][google.cloud.tasks.v2beta2.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-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java index 73c06fe72245..d236d654c431 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
+ * Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} @@ -98,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -120,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -302,8 +303,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
+   * Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} @@ -462,12 +462,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -484,12 +485,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -506,12 +508,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -526,12 +529,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -543,12 +547,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java index 2f5e5d406396..b12e9dc2fcc5 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface PauseQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java index 56a4c271d108..31ef827a390d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java @@ -8,8 +8,7 @@ * *
  * The pull message contains data that can be used by the caller of
- * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the
- * task.
+ * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
  * This proto can only be used for tasks in a queue which has
  * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] set.
  * 
@@ -125,11 +124,10 @@ public com.google.protobuf.ByteString getPayload() { * The task's tag. * Tags allow similar tasks to be processed in a batch. If you label * tasks with a tag, your worker can - * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the - * same tag using - * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, - * if you want to aggregate the events associated with a specific user once a - * day, you could tag tasks with the user ID. + * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using + * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to + * aggregate the events associated with a specific user once a day, + * you could tag tasks with the user ID. * The task's tag can only be set when the * [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. * The tag must be less than 500 characters. @@ -160,11 +158,10 @@ public java.lang.String getTag() { * The task's tag. * Tags allow similar tasks to be processed in a batch. If you label * tasks with a tag, your worker can - * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the - * same tag using - * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, - * if you want to aggregate the events associated with a specific user once a - * day, you could tag tasks with the user ID. + * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using + * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to + * aggregate the events associated with a specific user once a day, + * you could tag tasks with the user ID. * The task's tag can only be set when the * [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. * The tag must be less than 500 characters. @@ -362,8 +359,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * The pull message contains data that can be used by the caller of
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the
-   * task.
+   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
    * This proto can only be used for tasks in a queue which has
    * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] set.
    * 
@@ -579,11 +575,10 @@ public Builder clearPayload() { * The task's tag. * Tags allow similar tasks to be processed in a batch. If you label * tasks with a tag, your worker can - * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the - * same tag using - * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, - * if you want to aggregate the events associated with a specific user once a - * day, you could tag tasks with the user ID. + * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using + * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to + * aggregate the events associated with a specific user once a day, + * you could tag tasks with the user ID. * The task's tag can only be set when the * [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. * The tag must be less than 500 characters. @@ -614,11 +609,10 @@ public java.lang.String getTag() { * The task's tag. * Tags allow similar tasks to be processed in a batch. If you label * tasks with a tag, your worker can - * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the - * same tag using - * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, - * if you want to aggregate the events associated with a specific user once a - * day, you could tag tasks with the user ID. + * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using + * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to + * aggregate the events associated with a specific user once a day, + * you could tag tasks with the user ID. * The task's tag can only be set when the * [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. * The tag must be less than 500 characters. @@ -649,11 +643,10 @@ public com.google.protobuf.ByteString getTagBytes() { * The task's tag. * Tags allow similar tasks to be processed in a batch. If you label * tasks with a tag, your worker can - * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the - * same tag using - * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, - * if you want to aggregate the events associated with a specific user once a - * day, you could tag tasks with the user ID. + * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using + * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to + * aggregate the events associated with a specific user once a day, + * you could tag tasks with the user ID. * The task's tag can only be set when the * [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. * The tag must be less than 500 characters. @@ -682,11 +675,10 @@ public Builder setTag(java.lang.String value) { * The task's tag. * Tags allow similar tasks to be processed in a batch. If you label * tasks with a tag, your worker can - * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the - * same tag using - * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, - * if you want to aggregate the events associated with a specific user once a - * day, you could tag tasks with the user ID. + * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using + * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to + * aggregate the events associated with a specific user once a day, + * you could tag tasks with the user ID. * The task's tag can only be set when the * [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. * The tag must be less than 500 characters. @@ -712,11 +704,10 @@ public Builder clearTag() { * The task's tag. * Tags allow similar tasks to be processed in a batch. If you label * tasks with a tag, your worker can - * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the - * same tag using - * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, - * if you want to aggregate the events associated with a specific user once a - * day, you could tag tasks with the user ID. + * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using + * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to + * aggregate the events associated with a specific user once a day, + * you could tag tasks with the user ID. * The task's tag can only be set when the * [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. * The tag must be less than 500 characters. diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java index d94057770252..a5383cf2975f 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java @@ -26,11 +26,10 @@ public interface PullMessageOrBuilder * The task's tag. * Tags allow similar tasks to be processed in a batch. If you label * tasks with a tag, your worker can - * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the - * same tag using - * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, - * if you want to aggregate the events associated with a specific user once a - * day, you could tag tasks with the user ID. + * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using + * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to + * aggregate the events associated with a specific user once a day, + * you could tag tasks with the user ID. * The task's tag can only be set when the * [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. * The tag must be less than 500 characters. @@ -51,11 +50,10 @@ public interface PullMessageOrBuilder * The task's tag. * Tags allow similar tasks to be processed in a batch. If you label * tasks with a tag, your worker can - * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the - * same tag using - * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, - * if you want to aggregate the events associated with a specific user once a - * day, you could tag tasks with the user ID. + * [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using + * [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to + * aggregate the events associated with a specific user once a day, + * you could tag tasks with the user ID. * The task's tag can only be set when the * [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. * The tag must be less than 500 characters. diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java index 1c0bcb9019e3..b121aa573f7d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
+ * Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} @@ -98,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -120,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -302,8 +303,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
+   * Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} @@ -462,12 +462,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -484,12 +485,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -506,12 +508,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -526,12 +529,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -543,12 +547,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java index d54ff772a320..98f88fe8b7bf 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface PurgeQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java index 9ff5503d4270..20e1f419b3c1 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java @@ -226,8 +226,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * Tasks are paused by the user. If the queue is paused then Cloud * Tasks will stop delivering tasks from it, but more tasks can * still be added to it by the user. When a pull queue is paused, - * all [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls - * will return a [FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION]. + * all [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls will return a + * [FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION]. * * * PAUSED = 2; @@ -246,8 +246,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * a queue. * When a queue is disabled, tasks can still be added to a queue * but the tasks are not dispatched and - * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls - * return a `FAILED_PRECONDITION` error. + * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls return a + * `FAILED_PRECONDITION` error. * To permanently delete this queue and all of its tasks, call * [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue]. * @@ -291,8 +291,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * Tasks are paused by the user. If the queue is paused then Cloud * Tasks will stop delivering tasks from it, but more tasks can * still be added to it by the user. When a pull queue is paused, - * all [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls - * will return a [FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION]. + * all [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls will return a + * [FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION]. * * * PAUSED = 2; @@ -311,8 +311,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * a queue. * When a queue is disabled, tasks can still be added to a queue * but the tasks are not dispatched and - * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls - * return a `FAILED_PRECONDITION` error. + * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls return a + * `FAILED_PRECONDITION` error. * To permanently delete this queue and all of its tasks, call * [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue]. * @@ -440,9 +440,8 @@ public TargetTypeCase getTargetTypeCase() { * * *
-   * Caller-specified and required in
-   * [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], after
-   * which it becomes output only.
+   * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.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`
@@ -476,9 +475,8 @@ public java.lang.String getName() {
    *
    *
    * 
-   * Caller-specified and required in
-   * [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], after
-   * which it becomes output only.
+   * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.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`
@@ -515,8 +513,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    * 
    * App Engine HTTP target.
-   * An App Engine queue is a queue that has an
-   * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+   * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -529,8 +526,7 @@ public boolean hasAppEngineHttpTarget() { * *
    * App Engine HTTP target.
-   * An App Engine queue is a queue that has an
-   * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+   * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -546,8 +542,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget * *
    * App Engine HTTP target.
-   * An App Engine queue is a queue that has an
-   * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+   * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -566,8 +561,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget * *
    * Pull target.
-   * A pull queue is a queue that has a
-   * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+   * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -580,8 +574,7 @@ public boolean hasPullTarget() { * *
    * Pull target.
-   * A pull queue is a queue that has a
-   * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+   * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -597,8 +590,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { * *
    * Pull target.
-   * A pull queue is a queue that has a
-   * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+   * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -618,19 +610,17 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-   * because they both control task attempts however they control how tasks are
+   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+   * control task attempts however they control how tasks are
    * attempted in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-   * total rate of
+   * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -644,19 +634,17 @@ public boolean hasRateLimits() { *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-   * because they both control task attempts however they control how tasks are
+   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+   * control task attempts however they control how tasks are
    * attempted in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-   * total rate of
+   * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -672,19 +660,17 @@ public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-   * because they both control task attempts however they control how tasks are
+   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+   * control task attempts however they control how tasks are
    * attempted in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-   * total rate of
+   * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -767,11 +753,9 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; @@ -786,11 +770,9 @@ public int getStateValue() { * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; @@ -809,11 +791,10 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() { * *
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -829,11 +810,10 @@ public boolean hasPurgeTime() {
    *
    * 
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -849,11 +829,10 @@ public com.google.protobuf.Timestamp getPurgeTime() {
    *
    * 
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -1370,9 +1349,8 @@ public Builder clearTargetType() {
      *
      *
      * 
-     * Caller-specified and required in
-     * [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], after
-     * which it becomes output only.
+     * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.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`
@@ -1406,9 +1384,8 @@ public java.lang.String getName() {
      *
      *
      * 
-     * Caller-specified and required in
-     * [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], after
-     * which it becomes output only.
+     * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.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`
@@ -1442,9 +1419,8 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      *
      * 
-     * Caller-specified and required in
-     * [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], after
-     * which it becomes output only.
+     * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.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`
@@ -1476,9 +1452,8 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * Caller-specified and required in
-     * [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], after
-     * which it becomes output only.
+     * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.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`
@@ -1507,9 +1482,8 @@ public Builder clearName() {
      *
      *
      * 
-     * Caller-specified and required in
-     * [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], after
-     * which it becomes output only.
+     * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.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`
@@ -1549,8 +1523,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * App Engine HTTP target.
-     * An App Engine queue is a queue that has an
-     * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+     * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -1563,8 +1536,7 @@ public boolean hasAppEngineHttpTarget() { * *
      * App Engine HTTP target.
-     * An App Engine queue is a queue that has an
-     * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+     * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -1587,8 +1559,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget * *
      * App Engine HTTP target.
-     * An App Engine queue is a queue that has an
-     * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+     * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -1612,8 +1583,7 @@ public Builder setAppEngineHttpTarget( * *
      * App Engine HTTP target.
-     * An App Engine queue is a queue that has an
-     * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+     * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -1634,8 +1604,7 @@ public Builder setAppEngineHttpTarget( * *
      * App Engine HTTP target.
-     * An App Engine queue is a queue that has an
-     * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+     * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -1669,8 +1638,7 @@ public Builder mergeAppEngineHttpTarget( * *
      * App Engine HTTP target.
-     * An App Engine queue is a queue that has an
-     * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+     * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -1696,8 +1664,7 @@ public Builder clearAppEngineHttpTarget() { * *
      * App Engine HTTP target.
-     * An App Engine queue is a queue that has an
-     * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+     * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -1711,8 +1678,7 @@ public Builder clearAppEngineHttpTarget() { * *
      * App Engine HTTP target.
-     * An App Engine queue is a queue that has an
-     * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+     * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -1733,8 +1699,7 @@ public Builder clearAppEngineHttpTarget() { * *
      * App Engine HTTP target.
-     * An App Engine queue is a queue that has an
-     * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+     * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -1774,8 +1739,7 @@ public Builder clearAppEngineHttpTarget() { * *
      * Pull target.
-     * A pull queue is a queue that has a
-     * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+     * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -1788,8 +1752,7 @@ public boolean hasPullTarget() { * *
      * Pull target.
-     * A pull queue is a queue that has a
-     * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+     * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -1812,8 +1775,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { * *
      * Pull target.
-     * A pull queue is a queue that has a
-     * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+     * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -1836,8 +1798,7 @@ public Builder setPullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) { * *
      * Pull target.
-     * A pull queue is a queue that has a
-     * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+     * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -1858,8 +1819,7 @@ public Builder setPullTarget( * *
      * Pull target.
-     * A pull queue is a queue that has a
-     * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+     * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -1891,8 +1851,7 @@ public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) * *
      * Pull target.
-     * A pull queue is a queue that has a
-     * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+     * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -1918,8 +1877,7 @@ public Builder clearPullTarget() { * *
      * Pull target.
-     * A pull queue is a queue that has a
-     * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+     * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -1932,8 +1890,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget.Builder getPullTargetBuilder() * *
      * Pull target.
-     * A pull queue is a queue that has a
-     * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+     * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -1953,8 +1910,7 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder * *
      * Pull target.
-     * A pull queue is a queue that has a
-     * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+     * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -1996,19 +1952,17 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-     * because they both control task attempts however they control how tasks are
+     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+     * control task attempts however they control how tasks are
      * attempted in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-     * total rate of
+     * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -2022,19 +1976,17 @@ public boolean hasRateLimits() { *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-     * because they both control task attempts however they control how tasks are
+     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+     * control task attempts however they control how tasks are
      * attempted in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-     * total rate of
+     * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -2054,19 +2006,17 @@ public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-     * because they both control task attempts however they control how tasks are
+     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+     * control task attempts however they control how tasks are
      * attempted in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-     * total rate of
+     * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -2090,19 +2040,17 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value) { *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-     * because they both control task attempts however they control how tasks are
+     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+     * control task attempts however they control how tasks are
      * attempted in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-     * total rate of
+     * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -2124,19 +2072,17 @@ public Builder setRateLimits( *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-     * because they both control task attempts however they control how tasks are
+     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+     * control task attempts however they control how tasks are
      * attempted in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-     * total rate of
+     * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -2164,19 +2110,17 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value) *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-     * because they both control task attempts however they control how tasks are
+     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+     * control task attempts however they control how tasks are
      * attempted in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-     * total rate of
+     * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -2198,19 +2142,17 @@ public Builder clearRateLimits() { *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-     * because they both control task attempts however they control how tasks are
+     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+     * control task attempts however they control how tasks are
      * attempted in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-     * total rate of
+     * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -2226,19 +2168,17 @@ public com.google.cloud.tasks.v2beta2.RateLimits.Builder getRateLimitsBuilder() *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-     * because they both control task attempts however they control how tasks are
+     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+     * control task attempts however they control how tasks are
      * attempted in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-     * total rate of
+     * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -2258,19 +2198,17 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-     * because they both control task attempts however they control how tasks are
+     * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+     * control task attempts however they control how tasks are
      * attempted in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-     * total rate of
+     * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -2554,11 +2492,9 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; @@ -2573,11 +2509,9 @@ public int getStateValue() { * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; @@ -2594,11 +2528,9 @@ public Builder setStateValue(int value) { * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; @@ -2616,11 +2548,9 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() { * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; @@ -2641,11 +2571,9 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) { * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; @@ -2668,11 +2596,10 @@ public Builder clearState() { * *
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -2688,11 +2615,10 @@ public boolean hasPurgeTime() {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -2712,11 +2638,10 @@ public com.google.protobuf.Timestamp getPurgeTime() {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -2742,11 +2667,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.v2beta2.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -2769,11 +2693,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.v2beta2.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -2801,11 +2724,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.v2beta2.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -2829,11 +2751,10 @@ public Builder clearPurgeTime() {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -2851,11 +2772,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.v2beta2.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -2875,11 +2795,10 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java
index ed4a022a7c37..1d633424b510 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java
@@ -12,9 +12,8 @@ public interface QueueOrBuilder
    *
    *
    * 
-   * Caller-specified and required in
-   * [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], after
-   * which it becomes output only.
+   * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.CreateQueue], after
-   * which it becomes output only.
+   * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.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`
@@ -66,8 +64,7 @@ public interface QueueOrBuilder
    *
    * 
    * App Engine HTTP target.
-   * An App Engine queue is a queue that has an
-   * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+   * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -78,8 +75,7 @@ public interface QueueOrBuilder * *
    * App Engine HTTP target.
-   * An App Engine queue is a queue that has an
-   * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+   * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -90,8 +86,7 @@ public interface QueueOrBuilder * *
    * App Engine HTTP target.
-   * An App Engine queue is a queue that has an
-   * [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+   * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; @@ -103,8 +98,7 @@ public interface QueueOrBuilder * *
    * Pull target.
-   * A pull queue is a queue that has a
-   * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+   * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -115,8 +109,7 @@ public interface QueueOrBuilder * *
    * Pull target.
-   * A pull queue is a queue that has a
-   * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+   * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -127,8 +120,7 @@ public interface QueueOrBuilder * *
    * Pull target.
-   * A pull queue is a queue that has a
-   * [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+   * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; @@ -141,19 +133,17 @@ public interface QueueOrBuilder *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-   * because they both control task attempts however they control how tasks are
+   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+   * control task attempts however they control how tasks are
    * attempted in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-   * total rate of
+   * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -165,19 +155,17 @@ public interface QueueOrBuilder *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-   * because they both control task attempts however they control how tasks are
+   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+   * control task attempts however they control how tasks are
    * attempted in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-   * total rate of
+   * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -189,19 +177,17 @@ public interface QueueOrBuilder *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related
-   * because they both control task attempts however they control how tasks are
+   * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+   * control task attempts however they control how tasks are
    * attempted in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the
-   * total rate of
+   * * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; @@ -270,11 +256,9 @@ public interface QueueOrBuilder * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; @@ -287,11 +271,9 @@ public interface QueueOrBuilder * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; @@ -303,11 +285,10 @@ public interface QueueOrBuilder * *
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -321,11 +302,10 @@ public interface QueueOrBuilder
    *
    * 
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
@@ -339,11 +319,10 @@ public interface QueueOrBuilder
    *
    * 
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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.
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java
index ce6d128d11d1..5b0c473e858b 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java
@@ -34,35 +34,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
   static {
     java.lang.String[] descriptorData = {
       "\n&google/cloud/tasks/v2beta2/queue.proto"
-          + "\022\032google.cloud.tasks.v2beta2\032\034google/api"
-          + "/annotations.proto\032\'google/cloud/tasks/v"
-          + "2beta2/target.proto\032\036google/protobuf/dur"
-          + "ation.proto\032\037google/protobuf/timestamp.p"
-          + "roto\"\341\003\n\005Queue\022\014\n\004name\030\001 \001(\t\022Q\n\026app_engi"
-          + "ne_http_target\030\003 \001(\0132/.google.cloud.task"
-          + "s.v2beta2.AppEngineHttpTargetH\000\022=\n\013pull_"
-          + "target\030\004 \001(\0132&.google.cloud.tasks.v2beta"
-          + "2.PullTargetH\000\022;\n\013rate_limits\030\005 \001(\0132&.go"
-          + "ogle.cloud.tasks.v2beta2.RateLimits\022=\n\014r"
-          + "etry_config\030\006 \001(\0132\'.google.cloud.tasks.v"
-          + "2beta2.RetryConfig\0226\n\005state\030\007 \001(\0162\'.goog"
-          + "le.cloud.tasks.v2beta2.Queue.State\022.\n\npu"
-          + "rge_time\030\010 \001(\0132\032.google.protobuf.Timesta"
-          + "mp\"E\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RU"
-          + "NNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DISABLED\020\003B\r\n\013tar"
-          + "get_type\"k\n\nRateLimits\022\'\n\037max_tasks_disp"
-          + "atched_per_second\030\001 \001(\001\022\026\n\016max_burst_siz"
-          + "e\030\002 \001(\005\022\034\n\024max_concurrent_tasks\030\003 \001(\005\"\201\002"
-          + "\n\013RetryConfig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n"
-          + "\022unlimited_attempts\030\002 \001(\010H\000\0225\n\022max_retry"
-          + "_duration\030\003 \001(\0132\031.google.protobuf.Durati"
-          + "on\022.\n\013min_backoff\030\004 \001(\0132\031.google.protobu"
-          + "f.Duration\022.\n\013max_backoff\030\005 \001(\0132\031.google"
-          + ".protobuf.Duration\022\025\n\rmax_doublings\030\006 \001("
-          + "\005B\016\n\014num_attemptsBo\n\036com.google.cloud.ta"
-          + "sks.v2beta2B\nQueueProtoP\001Z?google.golang"
-          + ".org/genproto/googleapis/cloud/tasks/v2b"
-          + "eta2;tasksb\006proto3"
+          + "\022\032google.cloud.tasks.v2beta2\032\031google/api"
+          + "/resource.proto\032\'google/cloud/tasks/v2be"
+          + "ta2/target.proto\032\036google/protobuf/durati"
+          + "on.proto\032\037google/protobuf/timestamp.prot"
+          + "o\032\034google/api/annotations.proto\"\277\004\n\005Queu"
+          + "e\022\014\n\004name\030\001 \001(\t\022Q\n\026app_engine_http_targe"
+          + "t\030\003 \001(\0132/.google.cloud.tasks.v2beta2.App"
+          + "EngineHttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132"
+          + "&.google.cloud.tasks.v2beta2.PullTargetH"
+          + "\000\022;\n\013rate_limits\030\005 \001(\0132&.google.cloud.ta"
+          + "sks.v2beta2.RateLimits\022=\n\014retry_config\030\006"
+          + " \001(\0132\'.google.cloud.tasks.v2beta2.RetryC"
+          + "onfig\0226\n\005state\030\007 \001(\0162\'.google.cloud.task"
+          + "s.v2beta2.Queue.State\022.\n\npurge_time\030\010 \001("
+          + "\0132\032.google.protobuf.Timestamp\"E\n\005State\022\025"
+          + "\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PA"
+          + "USED\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.go"
+          + "ogleapis.com/Queue\0226projects/{project}/l"
+          + "ocations/{location}/queues/{queue}B\r\n\013ta"
+          + "rget_type\"k\n\nRateLimits\022\'\n\037max_tasks_dis"
+          + "patched_per_second\030\001 \001(\001\022\026\n\016max_burst_si"
+          + "ze\030\002 \001(\005\022\034\n\024max_concurrent_tasks\030\003 \001(\005\"\201"
+          + "\002\n\013RetryConfig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034"
+          + "\n\022unlimited_attempts\030\002 \001(\010H\000\0225\n\022max_retr"
+          + "y_duration\030\003 \001(\0132\031.google.protobuf.Durat"
+          + "ion\022.\n\013min_backoff\030\004 \001(\0132\031.google.protob"
+          + "uf.Duration\022.\n\013max_backoff\030\005 \001(\0132\031.googl"
+          + "e.protobuf.Duration\022\025\n\rmax_doublings\030\006 \001"
+          + "(\005B\016\n\014num_attemptsBo\n\036com.google.cloud.t"
+          + "asks.v2beta2B\nQueueProtoP\001Z?google.golan"
+          + "g.org/genproto/googleapis/cloud/tasks/v2"
+          + "beta2;tasksb\006proto3"
     };
     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
         new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -75,10 +78,11 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
     com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
         descriptorData,
         new com.google.protobuf.Descriptors.FileDescriptor[] {
-          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
           com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(),
           com.google.protobuf.DurationProto.getDescriptor(),
           com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.api.AnnotationsProto.getDescriptor(),
         },
         assigner);
     internal_static_google_cloud_tasks_v2beta2_Queue_descriptor =
@@ -118,10 +122,16 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
               "MaxDoublings",
               "NumAttempts",
             });
-    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
     com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor();
     com.google.protobuf.DurationProto.getDescriptor();
     com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
   }
 
   // @@protoc_insertion_point(outer_class_scope)
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java
index e8adc547e041..336c5ae1bd50 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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.v2beta2.CloudTasks.RunTask], will run a task
- * even if the queue has reached its
- * [RateLimits][google.cloud.tasks.v2beta2.RateLimits].
+ * Note: The debugging command, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask], will run a task
+ * even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits} @@ -112,14 +110,11 @@ 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.v2beta2.AppEngineHttpTarget], - * the maximum allowed value + * * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum allowed value * is 500. - * * This field is output only for [pull - * queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the + * * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the * `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of - * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests - * are allowed per pull queue. + * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are allowed per pull queue. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -158,9 +153,9 @@ public double getMaxTasksDispatchedPerSecond() { * `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.v2beta2.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.v2beta2.CloudTasks.UpdateQueue] is called on a queue + * created by `queue.yaml/xml`, `max_burst_size` will be reset based + * on the value of * [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second], * regardless of whether * [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second] @@ -187,9 +182,8 @@ public int getMaxBurstSize() { * default. * The maximum allowed value is 5,000. * This field is output only for - * [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which - * indicates no limit. No other queue types can have `max_concurrent_tasks` - * set to -1. + * [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which indicates no limit. No other + * queue types can have `max_concurrent_tasks` set to -1. * This field has the same meaning as * [max_concurrent_requests in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). @@ -390,10 +384,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.v2beta2.CloudTasks.RunTask], will run a task - * even if the queue has reached its - * [RateLimits][google.cloud.tasks.v2beta2.RateLimits]. + * Note: The debugging command, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask], will run a task + * even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits]. *
* * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits} @@ -565,14 +557,11 @@ 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.v2beta2.AppEngineHttpTarget], - * the maximum allowed value + * * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum allowed value * is 500. - * * This field is output only for [pull - * queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the + * * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the * `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of - * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests - * are allowed per pull queue. + * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are allowed per pull queue. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -590,14 +579,11 @@ public double getMaxTasksDispatchedPerSecond() { * 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.v2beta2.AppEngineHttpTarget], - * the maximum allowed value + * * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum allowed value * is 500. - * * This field is output only for [pull - * queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the + * * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the * `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of - * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests - * are allowed per pull queue. + * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are allowed per pull queue. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -618,14 +604,11 @@ public Builder setMaxTasksDispatchedPerSecond(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.v2beta2.AppEngineHttpTarget], - * the maximum allowed value + * * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum allowed value * is 500. - * * This field is output only for [pull - * queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the + * * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the * `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of - * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests - * are allowed per pull queue. + * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are allowed per pull queue. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -666,9 +649,9 @@ public Builder clearMaxTasksDispatchedPerSecond() { * `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.v2beta2.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.v2beta2.CloudTasks.UpdateQueue] is called on a queue + * created by `queue.yaml/xml`, `max_burst_size` will be reset based + * on the value of * [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second], * regardless of whether * [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second] @@ -705,9 +688,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.v2beta2.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.v2beta2.CloudTasks.UpdateQueue] is called on a queue + * created by `queue.yaml/xml`, `max_burst_size` will be reset based + * on the value of * [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second], * regardless of whether * [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second] @@ -747,9 +730,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.v2beta2.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.v2beta2.CloudTasks.UpdateQueue] is called on a queue + * created by `queue.yaml/xml`, `max_burst_size` will be reset based + * on the value of * [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second], * regardless of whether * [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second] @@ -778,9 +761,8 @@ public Builder clearMaxBurstSize() { * default. * The maximum allowed value is 5,000. * This field is output only for - * [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which - * indicates no limit. No other queue types can have `max_concurrent_tasks` - * set to -1. + * [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which indicates no limit. No other + * queue types can have `max_concurrent_tasks` set to -1. * This field has the same meaning as * [max_concurrent_requests in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). @@ -803,9 +785,8 @@ public int getMaxConcurrentTasks() { * default. * The maximum allowed value is 5,000. * This field is output only for - * [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which - * indicates no limit. No other queue types can have `max_concurrent_tasks` - * set to -1. + * [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which indicates no limit. No other + * queue types can have `max_concurrent_tasks` set to -1. * This field has the same meaning as * [max_concurrent_requests in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). @@ -831,9 +812,8 @@ public Builder setMaxConcurrentTasks(int value) { * default. * The maximum allowed value is 5,000. * This field is output only for - * [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which - * indicates no limit. No other queue types can have `max_concurrent_tasks` - * set to -1. + * [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which indicates no limit. No other + * queue types can have `max_concurrent_tasks` set to -1. * This field has the same meaning as * [max_concurrent_requests in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java index 0e301985c138..6b2995522aa7 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java @@ -15,14 +15,11 @@ 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.v2beta2.AppEngineHttpTarget], - * the maximum allowed value + * * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum allowed value * is 500. - * * This field is output only for [pull - * queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the + * * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the * `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of - * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests - * are allowed per pull queue. + * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are allowed per pull queue. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -57,9 +54,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.v2beta2.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.v2beta2.CloudTasks.UpdateQueue] is called on a queue + * created by `queue.yaml/xml`, `max_burst_size` will be reset based + * on the value of * [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second], * regardless of whether * [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second] @@ -82,9 +79,8 @@ public interface RateLimitsOrBuilder * default. * The maximum allowed value is 5,000. * This field is output only for - * [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which - * indicates no limit. No other queue types can have `max_concurrent_tasks` - * set to -1. + * [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which indicates no limit. No other + * queue types can have `max_concurrent_tasks` set to -1. * This field has the same meaning as * [max_concurrent_requests in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java index 55a9490382cf..4589751a9baf 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java @@ -136,12 +136,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -158,12 +159,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -183,15 +185,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasScheduleTime() { return scheduleTime_ != null; @@ -200,15 +202,15 @@ public boolean hasScheduleTime() { * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp getScheduleTime() { return scheduleTime_ == null @@ -219,15 +221,15 @@ public com.google.protobuf.Timestamp getScheduleTime() { * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { return getScheduleTime(); @@ -239,13 +241,13 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * * *
-   * Required.
-   * The desired new lease duration, starting from now.
+   * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasLeaseDuration() { return leaseDuration_ != null; @@ -254,13 +256,13 @@ public boolean hasLeaseDuration() { * * *
-   * Required.
-   * The desired new lease duration, starting from now.
+   * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration getLeaseDuration() { return leaseDuration_ == null @@ -271,13 +273,13 @@ public com.google.protobuf.Duration getLeaseDuration() { * * *
-   * Required.
-   * The desired new lease duration, starting from now.
+   * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { return getLeaseDuration(); @@ -289,17 +291,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -311,17 +312,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -727,12 +727,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -749,12 +750,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -771,12 +773,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -791,12 +794,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -808,12 +812,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -836,15 +841,15 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; @@ -853,15 +858,15 @@ public boolean hasScheduleTime() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -876,15 +881,15 @@ public com.google.protobuf.Timestamp getScheduleTime() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -903,15 +908,15 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { @@ -927,15 +932,15 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -958,15 +963,15 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -983,15 +988,15 @@ public Builder clearScheduleTime() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { @@ -1002,15 +1007,15 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { @@ -1025,15 +1030,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * * *
-     * Required.
-     * The task's current schedule time, available in the
+     * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-     * This restriction is to ensure that your worker currently holds the lease.
+     * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+     * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, @@ -1062,13 +1067,13 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * * *
-     * Required.
-     * The desired new lease duration, starting from now.
+     * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; @@ -1077,13 +1082,13 @@ public boolean hasLeaseDuration() { * * *
-     * Required.
-     * The desired new lease duration, starting from now.
+     * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1098,13 +1103,13 @@ public com.google.protobuf.Duration getLeaseDuration() { * * *
-     * Required.
-     * The desired new lease duration, starting from now.
+     * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1123,13 +1128,13 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { * * *
-     * Required.
-     * The desired new lease duration, starting from now.
+     * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { @@ -1145,13 +1150,13 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV * * *
-     * Required.
-     * The desired new lease duration, starting from now.
+     * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1174,13 +1179,13 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { * * *
-     * Required.
-     * The desired new lease duration, starting from now.
+     * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1197,13 +1202,13 @@ public Builder clearLeaseDuration() { * * *
-     * Required.
-     * The desired new lease duration, starting from now.
+     * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { @@ -1214,13 +1219,13 @@ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { * * *
-     * Required.
-     * The desired new lease duration, starting from now.
+     * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { @@ -1235,13 +1240,13 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { * * *
-     * Required.
-     * The desired new lease duration, starting from now.
+     * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, @@ -1265,17 +1270,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -1287,17 +1291,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -1311,17 +1314,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -1336,17 +1338,16 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -1364,17 +1365,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java index 14315a935cf1..bd243c2e5f44 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface RenewLeaseRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); @@ -37,45 +39,45 @@ public interface RenewLeaseRequestOrBuilder * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasScheduleTime(); /** * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.Timestamp getScheduleTime(); /** * * *
-   * Required.
-   * The task's current schedule time, available in the
+   * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
-   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
-   * This restriction is to ensure that your worker currently holds the lease.
+   * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+   * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); @@ -83,39 +85,39 @@ public interface RenewLeaseRequestOrBuilder * * *
-   * Required.
-   * The desired new lease duration, starting from now.
+   * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasLeaseDuration(); /** * * *
-   * Required.
-   * The desired new lease duration, starting from now.
+   * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.Duration getLeaseDuration(); /** * * *
-   * Required.
-   * The desired new lease duration, starting from now.
+   * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); @@ -123,17 +125,16 @@ public interface RenewLeaseRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; @@ -143,17 +144,16 @@ public interface RenewLeaseRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java index dac35bbc7a1a..30777c3eeeaf 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
+ * Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} @@ -98,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -120,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -302,8 +303,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
+   * Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} @@ -463,12 +463,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -485,12 +486,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -507,12 +509,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -527,12 +530,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -544,12 +548,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java index 1a35a9b87988..6634182eb203 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface ResumeQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java index 37fab7f5aa8a..1672ecad9291 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java @@ -231,14 +231,13 @@ public boolean getUnlimitedAttempts() { * 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.v2beta2.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.v2beta2.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. - * This field is output only for [pull - * queues][google.cloud.tasks.v2beta2.PullTarget]. + * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. * `max_retry_duration` will be truncated to the nearest second. * This field has the same meaning as * [task_age_limit in @@ -257,14 +256,13 @@ 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.v2beta2.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.v2beta2.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. - * This field is output only for [pull - * queues][google.cloud.tasks.v2beta2.PullTarget]. + * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. * `max_retry_duration` will be truncated to the nearest second. * This field has the same meaning as * [task_age_limit in @@ -285,14 +283,13 @@ 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.v2beta2.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.v2beta2.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. - * This field is output only for [pull - * queues][google.cloud.tasks.v2beta2.PullTarget]. + * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. * `max_retry_duration` will be truncated to the nearest second. * This field has the same meaning as * [task_age_limit in @@ -311,17 +308,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() { * * *
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `min_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [min_backoff_seconds in
@@ -337,17 +331,14 @@ public boolean hasMinBackoff() {
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `min_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [min_backoff_seconds in
@@ -363,17 +354,14 @@ public com.google.protobuf.Duration getMinBackoff() {
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `min_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [min_backoff_seconds in
@@ -392,17 +380,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `max_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [max_backoff_seconds in
@@ -418,17 +403,14 @@ public boolean hasMaxBackoff() {
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `max_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [max_backoff_seconds in
@@ -444,17 +426,14 @@ public com.google.protobuf.Duration getMaxBackoff() {
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `max_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [max_backoff_seconds in
@@ -475,26 +454,23 @@ 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.v2beta2.RetryConfig.min_backoff], then
-   * doubles `max_doublings` times, then increases linearly, and finally retries
-   * retries at intervals of
+   * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then doubles
+   * `max_doublings` times, then increases linearly, and finally
+   * retries retries at intervals of
    * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] up to
    * [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times.
-   * For example, if
-   * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] is 10s,
-   * [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the
-   * task has been attempted
-   * [max_attempts][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.min_backoff] is 10s,
+   * [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the
+   * task has been attempted [max_attempts][google.cloud.tasks.v2beta2.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 is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * This field has the same meaning as
    * [max_doublings in
    * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
@@ -1102,14 +1078,13 @@ public Builder clearUnlimitedAttempts() {
      * 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.v2beta2.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.v2beta2.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.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_retry_duration` will be truncated to the nearest second.
      * This field has the same meaning as
      * [task_age_limit in
@@ -1128,14 +1103,13 @@ 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.v2beta2.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.v2beta2.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.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_retry_duration` will be truncated to the nearest second.
      * This field has the same meaning as
      * [task_age_limit in
@@ -1160,14 +1134,13 @@ 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.v2beta2.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.v2beta2.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.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_retry_duration` will be truncated to the nearest second.
      * This field has the same meaning as
      * [task_age_limit in
@@ -1196,14 +1169,13 @@ 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.v2beta2.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.v2beta2.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.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_retry_duration` will be truncated to the nearest second.
      * This field has the same meaning as
      * [task_age_limit in
@@ -1229,14 +1201,13 @@ 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.v2beta2.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.v2beta2.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.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_retry_duration` will be truncated to the nearest second.
      * This field has the same meaning as
      * [task_age_limit in
@@ -1269,14 +1240,13 @@ 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.v2beta2.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.v2beta2.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.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_retry_duration` will be truncated to the nearest second.
      * This field has the same meaning as
      * [task_age_limit in
@@ -1303,14 +1273,13 @@ 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.v2beta2.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.v2beta2.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.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_retry_duration` will be truncated to the nearest second.
      * This field has the same meaning as
      * [task_age_limit in
@@ -1331,14 +1300,13 @@ 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.v2beta2.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.v2beta2.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.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_retry_duration` will be truncated to the nearest second.
      * This field has the same meaning as
      * [task_age_limit in
@@ -1363,14 +1331,13 @@ 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.v2beta2.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.v2beta2.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.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_retry_duration` will be truncated to the nearest second.
      * This field has the same meaning as
      * [task_age_limit in
@@ -1406,17 +1373,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `min_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [min_backoff_seconds in
@@ -1432,17 +1396,14 @@ public boolean hasMinBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `min_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [min_backoff_seconds in
@@ -1464,17 +1425,14 @@ public com.google.protobuf.Duration getMinBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `min_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [min_backoff_seconds in
@@ -1500,17 +1458,14 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `min_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [min_backoff_seconds in
@@ -1533,17 +1488,14 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `min_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [min_backoff_seconds in
@@ -1571,17 +1523,14 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `min_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [min_backoff_seconds in
@@ -1605,17 +1554,14 @@ public Builder clearMinBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `min_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [min_backoff_seconds in
@@ -1633,17 +1579,14 @@ public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `min_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [min_backoff_seconds in
@@ -1665,17 +1608,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `min_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [min_backoff_seconds in
@@ -1711,17 +1651,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [max_backoff_seconds in
@@ -1737,17 +1674,14 @@ public boolean hasMaxBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [max_backoff_seconds in
@@ -1769,17 +1703,14 @@ public com.google.protobuf.Duration getMaxBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [max_backoff_seconds in
@@ -1805,17 +1736,14 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [max_backoff_seconds in
@@ -1838,17 +1766,14 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [max_backoff_seconds in
@@ -1876,17 +1801,14 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [max_backoff_seconds in
@@ -1910,17 +1832,14 @@ public Builder clearMaxBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [max_backoff_seconds in
@@ -1938,17 +1857,14 @@ public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [max_backoff_seconds in
@@ -1970,17 +1886,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
-     * This field is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * `max_backoff` will be truncated to the nearest second.
      * This field has the same meaning as
      * [max_backoff_seconds in
@@ -2013,26 +1926,23 @@ 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.v2beta2.RetryConfig.min_backoff], then
-     * doubles `max_doublings` times, then increases linearly, and finally retries
-     * retries at intervals of
+     * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then doubles
+     * `max_doublings` times, then increases linearly, and finally
+     * retries retries at intervals of
      * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] up to
      * [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times.
-     * For example, if
-     * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] is 10s,
-     * [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.min_backoff] is 10s,
+     * [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta2.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 is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * This field has the same meaning as
      * [max_doublings in
      * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
@@ -2049,26 +1959,23 @@ public int getMaxDoublings() {
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
-     * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then
-     * doubles `max_doublings` times, then increases linearly, and finally retries
-     * retries at intervals of
+     * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then doubles
+     * `max_doublings` times, then increases linearly, and finally
+     * retries retries at intervals of
      * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] up to
      * [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times.
-     * For example, if
-     * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] is 10s,
-     * [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.min_backoff] is 10s,
+     * [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta2.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 is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * This field has the same meaning as
      * [max_doublings in
      * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
@@ -2088,26 +1995,23 @@ 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.v2beta2.RetryConfig.min_backoff], then
-     * doubles `max_doublings` times, then increases linearly, and finally retries
-     * retries at intervals of
+     * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then doubles
+     * `max_doublings` times, then increases linearly, and finally
+     * retries retries at intervals of
      * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] up to
      * [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times.
-     * For example, if
-     * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] is 10s,
-     * [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.min_backoff] is 10s,
+     * [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta2.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 is output only for [pull
-     * queues][google.cloud.tasks.v2beta2.PullTarget].
+     * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
      * This field has the same meaning as
      * [max_doublings in
      * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java
index 257da937238e..c68f84577f39 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java
@@ -40,14 +40,13 @@ 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.v2beta2.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.v2beta2.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.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `max_retry_duration` will be truncated to the nearest second.
    * This field has the same meaning as
    * [task_age_limit in
@@ -64,14 +63,13 @@ 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.v2beta2.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.v2beta2.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.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `max_retry_duration` will be truncated to the nearest second.
    * This field has the same meaning as
    * [task_age_limit in
@@ -88,14 +86,13 @@ 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.v2beta2.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.v2beta2.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.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `max_retry_duration` will be truncated to the nearest second.
    * This field has the same meaning as
    * [task_age_limit in
@@ -110,17 +107,14 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `min_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [min_backoff_seconds in
@@ -134,17 +128,14 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `min_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [min_backoff_seconds in
@@ -158,17 +149,14 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `min_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [min_backoff_seconds in
@@ -183,17 +171,14 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `max_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [max_backoff_seconds in
@@ -207,17 +192,14 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `max_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [max_backoff_seconds in
@@ -231,17 +213,14 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
-   * This field is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * `max_backoff` will be truncated to the nearest second.
    * This field has the same meaning as
    * [max_backoff_seconds in
@@ -258,26 +237,23 @@ public interface RetryConfigOrBuilder
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
-   * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then
-   * doubles `max_doublings` times, then increases linearly, and finally retries
-   * retries at intervals of
+   * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then doubles
+   * `max_doublings` times, then increases linearly, and finally
+   * retries retries at intervals of
    * [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] up to
    * [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times.
-   * For example, if
-   * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] is 10s,
-   * [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the
-   * task has been attempted
-   * [max_attempts][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.min_backoff] is 10s,
+   * [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the
+   * task has been attempted [max_attempts][google.cloud.tasks.v2beta2.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 is output only for [pull
-   * queues][google.cloud.tasks.v2beta2.PullTarget].
+   * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
    * This field has the same meaning as
    * [max_doublings in
    * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java
index 488c27a7882e..41ce0424945c 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java
@@ -106,12 +106,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -128,12 +129,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -153,17 +155,16 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -175,17 +176,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -534,12 +534,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -556,12 +557,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -578,12 +580,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -598,12 +601,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -615,12 +619,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -638,17 +643,16 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -660,17 +664,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -684,17 +687,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -709,17 +711,16 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -737,17 +738,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta2.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java index d0fefe4087a6..da7d68c37d52 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface RunTaskRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); @@ -37,17 +39,16 @@ public interface RunTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; @@ -57,17 +58,16 @@ public interface RunTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta2.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java index d5ea66c58708..fe1ff6fc8560 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java @@ -47,28 +47,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n\'google/cloud/tasks/v2beta2/target.prot" + "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" - + "i/annotations.proto\032\036google/protobuf/dur" - + "ation.proto\"\014\n\nPullTarget\"+\n\013PullMessage" - + "\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h\n\023AppEng" - + "ineHttpTarget\022Q\n\033app_engine_routing_over" - + "ride\030\001 \001(\0132,.google.cloud.tasks.v2beta2." - + "AppEngineRouting\"\304\002\n\024AppEngineHttpReques" - + "t\022;\n\013http_method\030\001 \001(\0162&.google.cloud.ta" - + "sks.v2beta2.HttpMethod\022H\n\022app_engine_rou" - + "ting\030\002 \001(\0132,.google.cloud.tasks.v2beta2." - + "AppEngineRouting\022\024\n\014relative_url\030\003 \001(\t\022N" - + "\n\007headers\030\004 \003(\0132=.google.cloud.tasks.v2b" - + "eta2.AppEngineHttpRequest.HeadersEntry\022\017" - + "\n\007payload\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\020AppEngineRout" - + "ing\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*[\n\nHttpMet" - + "hod\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\005Bp\n\036com.google.cloud.tasks.v2beta2B\013Ta" - + "rgetProtoP\001Z?google.golang.org/genproto/" - + "googleapis/cloud/tasks/v2beta2;tasksb\006pr" - + "oto3" + + "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" + + "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" + + "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" + + "ing_override\030\001 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" + + "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." + + "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" + + "gine_routing\030\002 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\022\024\n\014relative_url" + + "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" + + "asks.v2beta2.AppEngineHttpRequest.Header" + + "sEntry\022\017\n\007payload\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*[\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\005Bp\n\036com.google.cloud.tasks.v2b" + + "eta2B\013TargetProtoP\001Z?google.golang.org/g" + + "enproto/googleapis/cloud/tasks/v2beta2;t" + + "asksb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -82,7 +81,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), }, assigner); internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = @@ -134,7 +132,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Service", "Version", "Instance", "Host", }); com.google.api.AnnotationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java index 86fcb385dccf..424c31adcaf0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java @@ -186,8 +186,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task]
-   * data.
+   * The view specifies a subset of [Task][google.cloud.tasks.v2beta2.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
@@ -215,13 +214,11 @@ 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
-     * ([payload in
-     * AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-     * and [payload in
-     * PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]). These
-     * payloads 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.
+     * ([payload in AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] and
+     * [payload in PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]). These payloads 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.
      * 
* * BASIC = 1; @@ -232,10 +229,9 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { * *
      * All information is returned.
-     * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Queue][google.cloud.tasks.v2beta2.Queue] resource.
+     * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Queue][google.cloud.tasks.v2beta2.Queue] resource.
      * 
* * FULL = 2; @@ -261,13 +257,11 @@ 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 - * ([payload in - * AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] - * and [payload in - * PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]). These - * payloads 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. + * ([payload in AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] and + * [payload in PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]). These payloads 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. *
* * BASIC = 1; @@ -278,10 +272,9 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { * *
      * All information is returned.
-     * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Queue][google.cloud.tasks.v2beta2.Queue] resource.
+     * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Queue][google.cloud.tasks.v2beta2.Queue] resource.
      * 
* * FULL = 2; @@ -405,8 +398,7 @@ public PayloadTypeCase getPayloadTypeCase() { * * *
-   * Optionally caller-specified in
-   * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+   * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.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`
@@ -442,8 +434,7 @@ public java.lang.String getName() {
    *
    *
    * 
-   * Optionally caller-specified in
-   * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+   * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.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`
@@ -483,11 +474,9 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
-   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-   * is set on the queue.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-   * set.
+   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+   * on the queue.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -501,11 +490,9 @@ public boolean hasAppEngineHttpRequest() { *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
-   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-   * is set on the queue.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-   * set.
+   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+   * on the queue.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -522,11 +509,9 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
-   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-   * is set on the queue.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-   * set.
+   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+   * on the queue.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -544,12 +529,9 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque * * *
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-   * the task. Can be set only if
-   * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-   * queue.
-   * A pull task is a task that has
-   * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+   * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+   * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -561,12 +543,9 @@ public boolean hasPullMessage() { * * *
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-   * the task. Can be set only if
-   * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-   * queue.
-   * A pull task is a task that has
-   * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+   * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+   * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -581,12 +560,9 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { * * *
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-   * the task. Can be set only if
-   * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-   * queue.
-   * A pull task is a task that has
-   * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+   * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+   * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -609,8 +585,7 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -628,8 +603,7 @@ public boolean hasScheduleTime() { * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -649,8 +623,7 @@ public com.google.protobuf.Timestamp getScheduleTime() { * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -749,8 +722,8 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { * * *
-   * Output only. The view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] has been returned.
+   * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
+   * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; @@ -762,8 +735,8 @@ public int getViewValue() { * * *
-   * Output only. The view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] has been returned.
+   * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
+   * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; @@ -1278,8 +1251,7 @@ public Builder clearPayloadType() { * * *
-     * Optionally caller-specified in
-     * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+     * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.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`
@@ -1315,8 +1287,7 @@ public java.lang.String getName() {
      *
      *
      * 
-     * Optionally caller-specified in
-     * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+     * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.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`
@@ -1352,8 +1323,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      *
      * 
-     * Optionally caller-specified in
-     * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+     * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.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`
@@ -1387,8 +1357,7 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * Optionally caller-specified in
-     * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+     * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.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`
@@ -1419,8 +1388,7 @@ public Builder clearName() {
      *
      *
      * 
-     * Optionally caller-specified in
-     * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+     * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.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`
@@ -1463,11 +1431,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
-     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-     * is set on the queue.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-     * set.
+     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+     * on the queue.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -1481,11 +1447,9 @@ public boolean hasAppEngineHttpRequest() { *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
-     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-     * is set on the queue.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-     * set.
+     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+     * on the queue.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -1509,11 +1473,9 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
-     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-     * is set on the queue.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-     * set.
+     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+     * on the queue.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -1538,11 +1500,9 @@ public Builder setAppEngineHttpRequest( *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
-     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-     * is set on the queue.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-     * set.
+     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+     * on the queue.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -1564,11 +1524,9 @@ public Builder setAppEngineHttpRequest( *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
-     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-     * is set on the queue.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-     * set.
+     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+     * on the queue.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -1603,11 +1561,9 @@ public Builder mergeAppEngineHttpRequest( *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
-     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-     * is set on the queue.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-     * set.
+     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+     * on the queue.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -1634,11 +1590,9 @@ public Builder clearAppEngineHttpRequest() { *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
-     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-     * is set on the queue.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-     * set.
+     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+     * on the queue.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -1653,11 +1607,9 @@ public Builder clearAppEngineHttpRequest() { *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
-     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-     * is set on the queue.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-     * set.
+     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+     * on the queue.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -1679,11 +1631,9 @@ public Builder clearAppEngineHttpRequest() { *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
-     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-     * is set on the queue.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-     * set.
+     * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+     * on the queue.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -1722,12 +1672,9 @@ public Builder clearAppEngineHttpRequest() { * * *
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-     * the task. Can be set only if
-     * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-     * queue.
-     * A pull task is a task that has
-     * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+     * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+     * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -1739,12 +1686,9 @@ public boolean hasPullMessage() { * * *
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-     * the task. Can be set only if
-     * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-     * queue.
-     * A pull task is a task that has
-     * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+     * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+     * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -1766,12 +1710,9 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { * * *
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-     * the task. Can be set only if
-     * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-     * queue.
-     * A pull task is a task that has
-     * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+     * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+     * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -1793,12 +1734,9 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta2.PullMessage value) * * *
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-     * the task. Can be set only if
-     * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-     * queue.
-     * A pull task is a task that has
-     * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+     * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+     * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -1818,12 +1756,9 @@ public Builder setPullMessage( * * *
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-     * the task. Can be set only if
-     * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-     * queue.
-     * A pull task is a task that has
-     * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+     * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+     * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -1854,12 +1789,9 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value * * *
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-     * the task. Can be set only if
-     * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-     * queue.
-     * A pull task is a task that has
-     * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+     * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+     * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -1884,12 +1816,9 @@ public Builder clearPullMessage() { * * *
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-     * the task. Can be set only if
-     * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-     * queue.
-     * A pull task is a task that has
-     * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+     * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+     * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -1901,12 +1830,9 @@ public com.google.cloud.tasks.v2beta2.PullMessage.Builder getPullMessageBuilder( * * *
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-     * the task. Can be set only if
-     * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-     * queue.
-     * A pull task is a task that has
-     * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+     * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+     * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -1925,12 +1851,9 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild * * *
-     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-     * the task. Can be set only if
-     * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-     * queue.
-     * A pull task is a task that has
-     * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+     * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+     * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+     * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -1975,8 +1898,7 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -1994,8 +1916,7 @@ public boolean hasScheduleTime() { * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -2019,8 +1940,7 @@ public com.google.protobuf.Timestamp getScheduleTime() { * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -2048,8 +1968,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -2074,8 +1993,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -2107,8 +2025,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -2134,8 +2051,7 @@ public Builder clearScheduleTime() { * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -2155,8 +2071,7 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -2180,8 +2095,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -2578,8 +2492,8 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { * * *
-     * Output only. The view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] has been returned.
+     * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
+     * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; @@ -2591,8 +2505,8 @@ public int getViewValue() { * * *
-     * Output only. The view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] has been returned.
+     * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
+     * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; @@ -2606,8 +2520,8 @@ public Builder setViewValue(int value) { * * *
-     * Output only. The view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] has been returned.
+     * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
+     * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; @@ -2622,8 +2536,8 @@ public com.google.cloud.tasks.v2beta2.Task.View getView() { * * *
-     * Output only. The view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] has been returned.
+     * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
+     * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; @@ -2641,8 +2555,8 @@ public Builder setView(com.google.cloud.tasks.v2beta2.Task.View value) { * * *
-     * Output only. The view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta2.Task] has been returned.
+     * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
+     * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java index 19da2144f150..9ee3a8901b0c 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java @@ -12,8 +12,7 @@ public interface TaskOrBuilder * * *
-   * Optionally caller-specified in
-   * [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+   * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.CreateTask].
+   * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.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`
@@ -69,11 +67,9 @@ public interface TaskOrBuilder
    * 
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
-   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-   * is set on the queue.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-   * set.
+   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+   * on the queue.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -85,11 +81,9 @@ public interface TaskOrBuilder *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
-   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-   * is set on the queue.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-   * set.
+   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+   * on the queue.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -101,11 +95,9 @@ public interface TaskOrBuilder *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
-   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target]
-   * is set on the queue.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
-   * set.
+   * [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+   * on the queue.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; @@ -116,12 +108,9 @@ public interface TaskOrBuilder * * *
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-   * the task. Can be set only if
-   * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-   * queue.
-   * A pull task is a task that has
-   * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+   * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+   * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -131,12 +120,9 @@ public interface TaskOrBuilder * * *
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-   * the task. Can be set only if
-   * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-   * queue.
-   * A pull task is a task that has
-   * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+   * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+   * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -146,12 +132,9 @@ public interface TaskOrBuilder * * *
-   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process
-   * the task. Can be set only if
-   * [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the
-   * queue.
-   * A pull task is a task that has
-   * [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+   * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+   * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+   * A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; @@ -167,8 +150,7 @@ public interface TaskOrBuilder * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -184,8 +166,7 @@ public interface TaskOrBuilder * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -201,8 +182,7 @@ public interface TaskOrBuilder * For pull queues, this is the time when the task is available to * be leased; if a task is currently leased, this is the time when * the current lease expires, that is, the time that the task was - * leased plus the - * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + * leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. * `schedule_time` will be truncated to the nearest microsecond. *
* @@ -279,8 +259,8 @@ public interface TaskOrBuilder * * *
-   * Output only. The view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] has been returned.
+   * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
+   * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; @@ -290,8 +270,8 @@ public interface TaskOrBuilder * * *
-   * Output only. The view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta2.Task] has been returned.
+   * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
+   * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java index 24d1caae2471..f42c6607ede9 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java @@ -34,36 +34,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n%google/cloud/tasks/v2beta2/task.proto\022" - + "\032google.cloud.tasks.v2beta2\032\034google/api/" - + "annotations.proto\032\'google/cloud/tasks/v2" - + "beta2/target.proto\032\037google/protobuf/time" - + "stamp.proto\032\027google/rpc/status.proto\"\276\003\n" - + "\004Task\022\014\n\004name\030\001 \001(\t\022S\n\027app_engine_http_r" - + "equest\030\003 \001(\01320.google.cloud.tasks.v2beta" - + "2.AppEngineHttpRequestH\000\022?\n\014pull_message" - + "\030\004 \001(\0132\'.google.cloud.tasks.v2beta2.Pull" - + "MessageH\000\0221\n\rschedule_time\030\005 \001(\0132\032.googl" - + "e.protobuf.Timestamp\022/\n\013create_time\030\006 \001(" - + "\0132\032.google.protobuf.Timestamp\0226\n\006status\030" - + "\007 \001(\0132&.google.cloud.tasks.v2beta2.TaskS" - + "tatus\0223\n\004view\030\010 \001(\0162%.google.cloud.tasks" - + ".v2beta2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPE" - + "CIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\016\n\014payload" - + "_type\"\335\001\n\nTaskStatus\022\036\n\026attempt_dispatch" - + "_count\030\001 \001(\005\022\036\n\026attempt_response_count\030\002" - + " \001(\005\022G\n\024first_attempt_status\030\003 \001(\0132).goo" - + "gle.cloud.tasks.v2beta2.AttemptStatus\022F\n" - + "\023last_attempt_status\030\004 \001(\0132).google.clou" - + "d.tasks.v2beta2.AttemptStatus\"\325\001\n\rAttemp" - + "tStatus\0221\n\rschedule_time\030\001 \001(\0132\032.google." - + "protobuf.Timestamp\0221\n\rdispatch_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\0221\n\rrespons" - + "e_time\030\003 \001(\0132\032.google.protobuf.Timestamp" - + "\022+\n\017response_status\030\004 \001(\0132\022.google.rpc.S" - + "tatusBn\n\036com.google.cloud.tasks.v2beta2B" - + "\tTaskProtoP\001Z?google.golang.org/genproto" - + "/googleapis/cloud/tasks/v2beta2;tasksb\006p" - + "roto3" + + "\032google.cloud.tasks.v2beta2\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a2/target.proto\032\037google/protobuf/timesta" + + "mp.proto\032\027google/rpc/status.proto\032\034googl" + + "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" + + "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" + + "0.google.cloud.tasks.v2beta2.AppEngineHt" + + "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" + + "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" + + "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" + + "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" + + "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" + + ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" + + "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" + + "apis.com/Task\022Cprojects/{project}/locati" + + "ons/{location}/queues/{queue}/tasks/{tas" + + "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" + + "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" + + "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" + + "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" + + "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" + + ").google.cloud.tasks.v2beta2.AttemptStat" + + "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " + + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" + + "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" + + ".google.rpc.StatusBn\n\036com.google.cloud.t" + + "asks.v2beta2B\tTaskProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta2;tasksb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -76,10 +79,11 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_cloud_tasks_v2beta2_Task_descriptor = @@ -116,10 +120,16 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.api.AnnotationsProto.getDescriptor(); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java index a9a65168796d..e22a2bd8dc78 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java @@ -131,7 +131,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Output only. The number of attempts dispatched.
-   * This count includes tasks which have been dispatched but haven't
+   * This count includes attempts which have been dispatched but haven't
    * received a response.
    * 
* @@ -148,8 +148,7 @@ public int getAttemptDispatchCount() { * *
    * Output only. The number of attempts which have received a response.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; @@ -165,13 +164,9 @@ public int getAttemptResponseCount() { * *
    * Output only. The status of the task's first attempt.
-   * Only
-   * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-   * will be set. The other
-   * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-   * not retained by Cloud Tasks.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+   * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -184,13 +179,9 @@ public boolean hasFirstAttemptStatus() { * *
    * Output only. The status of the task's first attempt.
-   * Only
-   * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-   * will be set. The other
-   * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-   * not retained by Cloud Tasks.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+   * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -205,13 +196,9 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { * *
    * Output only. The status of the task's first attempt.
-   * Only
-   * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-   * will be set. The other
-   * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-   * not retained by Cloud Tasks.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+   * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -227,8 +214,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat * *
    * Output only. The status of the task's last attempt.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -241,8 +227,7 @@ public boolean hasLastAttemptStatus() { * *
    * Output only. The status of the task's last attempt.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -257,8 +242,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { * *
    * Output only. The status of the task's last attempt.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -659,7 +643,7 @@ public Builder mergeFrom( * *
      * Output only. The number of attempts dispatched.
-     * This count includes tasks which have been dispatched but haven't
+     * This count includes attempts which have been dispatched but haven't
      * received a response.
      * 
* @@ -673,7 +657,7 @@ public int getAttemptDispatchCount() { * *
      * Output only. The number of attempts dispatched.
-     * This count includes tasks which have been dispatched but haven't
+     * This count includes attempts which have been dispatched but haven't
      * received a response.
      * 
* @@ -690,7 +674,7 @@ public Builder setAttemptDispatchCount(int value) { * *
      * Output only. The number of attempts dispatched.
-     * This count includes tasks which have been dispatched but haven't
+     * This count includes attempts which have been dispatched but haven't
      * received a response.
      * 
* @@ -709,8 +693,7 @@ public Builder clearAttemptDispatchCount() { * *
      * Output only. The number of attempts which have received a response.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; @@ -723,8 +706,7 @@ public int getAttemptResponseCount() { * *
      * Output only. The number of attempts which have received a response.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; @@ -740,8 +722,7 @@ public Builder setAttemptResponseCount(int value) { * *
      * Output only. The number of attempts which have received a response.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; @@ -764,13 +745,9 @@ public Builder clearAttemptResponseCount() { * *
      * Output only. The status of the task's first attempt.
-     * Only
-     * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-     * will be set. The other
-     * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-     * not retained by Cloud Tasks.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+     * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -783,13 +760,9 @@ public boolean hasFirstAttemptStatus() { * *
      * Output only. The status of the task's first attempt.
-     * Only
-     * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-     * will be set. The other
-     * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-     * not retained by Cloud Tasks.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+     * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -808,13 +781,9 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { * *
      * Output only. The status of the task's first attempt.
-     * Only
-     * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-     * will be set. The other
-     * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-     * not retained by Cloud Tasks.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+     * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -837,13 +806,9 @@ public Builder setFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatu * *
      * Output only. The status of the task's first attempt.
-     * Only
-     * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-     * will be set. The other
-     * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-     * not retained by Cloud Tasks.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+     * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -864,13 +829,9 @@ public Builder setFirstAttemptStatus( * *
      * Output only. The status of the task's first attempt.
-     * Only
-     * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-     * will be set. The other
-     * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-     * not retained by Cloud Tasks.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+     * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -897,13 +858,9 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta * *
      * Output only. The status of the task's first attempt.
-     * Only
-     * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-     * will be set. The other
-     * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-     * not retained by Cloud Tasks.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+     * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -924,13 +881,9 @@ public Builder clearFirstAttemptStatus() { * *
      * Output only. The status of the task's first attempt.
-     * Only
-     * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-     * will be set. The other
-     * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-     * not retained by Cloud Tasks.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+     * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -945,13 +898,9 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getFirstAttemptStatu * *
      * Output only. The status of the task's first attempt.
-     * Only
-     * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-     * will be set. The other
-     * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-     * not retained by Cloud Tasks.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+     * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -970,13 +919,9 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat * *
      * Output only. The status of the task's first attempt.
-     * Only
-     * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-     * will be set. The other
-     * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-     * not retained by Cloud Tasks.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+     * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -1009,8 +954,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat * *
      * Output only. The status of the task's last attempt.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -1023,8 +967,7 @@ public boolean hasLastAttemptStatus() { * *
      * Output only. The status of the task's last attempt.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -1043,8 +986,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { * *
      * Output only. The status of the task's last attempt.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -1067,8 +1009,7 @@ public Builder setLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatus * *
      * Output only. The status of the task's last attempt.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -1089,8 +1030,7 @@ public Builder setLastAttemptStatus( * *
      * Output only. The status of the task's last attempt.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -1117,8 +1057,7 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat * *
      * Output only. The status of the task's last attempt.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -1139,8 +1078,7 @@ public Builder clearLastAttemptStatus() { * *
      * Output only. The status of the task's last attempt.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -1155,8 +1093,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getLastAttemptStatus * *
      * Output only. The status of the task's last attempt.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -1175,8 +1112,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu * *
      * Output only. The status of the task's last attempt.
-     * This field is not calculated for [pull
-     * tasks][google.cloud.tasks.v2beta2.PullMessage].
+     * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java index 06004843dfef..68e3f1719b07 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java @@ -13,7 +13,7 @@ public interface TaskStatusOrBuilder * *
    * Output only. The number of attempts dispatched.
-   * This count includes tasks which have been dispatched but haven't
+   * This count includes attempts which have been dispatched but haven't
    * received a response.
    * 
* @@ -26,8 +26,7 @@ public interface TaskStatusOrBuilder * *
    * Output only. The number of attempts which have received a response.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; @@ -39,13 +38,9 @@ public interface TaskStatusOrBuilder * *
    * Output only. The status of the task's first attempt.
-   * Only
-   * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-   * will be set. The other
-   * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-   * not retained by Cloud Tasks.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+   * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -56,13 +51,9 @@ public interface TaskStatusOrBuilder * *
    * Output only. The status of the task's first attempt.
-   * Only
-   * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-   * will be set. The other
-   * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-   * not retained by Cloud Tasks.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+   * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -73,13 +64,9 @@ public interface TaskStatusOrBuilder * *
    * Output only. The status of the task's first attempt.
-   * Only
-   * [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
-   * will be set. The other
-   * [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
-   * not retained by Cloud Tasks.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+   * The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; @@ -91,8 +78,7 @@ public interface TaskStatusOrBuilder * *
    * Output only. The status of the task's last attempt.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -103,8 +89,7 @@ public interface TaskStatusOrBuilder * *
    * Output only. The status of the task's last attempt.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; @@ -115,8 +100,7 @@ public interface TaskStatusOrBuilder * *
    * Output only. The status of the task's last attempt.
-   * This field is not calculated for [pull
-   * tasks][google.cloud.tasks.v2beta2.PullMessage].
+   * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java index e35e8c56aba0..28c86a843de0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
+ * Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} @@ -120,17 +119,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-   * specified.
+   * Required. The queue to create or update.
+   * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasQueue() { return queue_ != null; @@ -139,17 +136,15 @@ public boolean hasQueue() { * * *
-   * Required.
-   * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-   * specified.
+   * Required. The queue to create or update.
+   * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; @@ -158,17 +153,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { * * *
-   * Required.
-   * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-   * specified.
+   * Required. The queue to create or update.
+   * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { return getQueue(); @@ -398,8 +391,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
+   * Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} @@ -585,17 +577,15 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-     * specified.
+     * Required. The queue to create or update.
+     * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; @@ -604,17 +594,15 @@ public boolean hasQueue() { * * *
-     * Required.
-     * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-     * specified.
+     * Required. The queue to create or update.
+     * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { if (queueBuilder_ == null) { @@ -627,17 +615,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { * * *
-     * Required.
-     * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-     * specified.
+     * Required. The queue to create or update.
+     * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -656,17 +642,15 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { * * *
-     * Required.
-     * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-     * specified.
+     * Required. The queue to create or update.
+     * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { @@ -682,17 +666,15 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV * * *
-     * Required.
-     * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-     * specified.
+     * Required. The queue to create or update.
+     * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -715,17 +697,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { * * *
-     * Required.
-     * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-     * specified.
+     * Required. The queue to create or update.
+     * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -742,17 +722,15 @@ public Builder clearQueue() { * * *
-     * Required.
-     * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-     * specified.
+     * Required. The queue to create or update.
+     * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { @@ -763,17 +741,15 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { * * *
-     * Required.
-     * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-     * specified.
+     * Required. The queue to create or update.
+     * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { @@ -786,17 +762,15 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { * * *
-     * Required.
-     * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-     * specified.
+     * Required. The queue to create or update.
+     * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.Queue, diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java index d79f9d44d34d..a90e0df7bd1d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java @@ -12,51 +12,45 @@ public interface UpdateQueueRequestOrBuilder * * *
-   * Required.
-   * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-   * specified.
+   * Required. The queue to create or update.
+   * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasQueue(); /** * * *
-   * Required.
-   * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-   * specified.
+   * Required. The queue to create or update.
+   * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** * * *
-   * Required.
-   * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
-   * specified.
+   * Required. The queue to create or update.
+   * The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto index 61a6ecdc935d..79274fc37291 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,12 +11,16 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// syntax = "proto3"; package google.cloud.tasks.v2beta2; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/cloud/tasks/v2beta2/queue.proto"; import "google/cloud/tasks/v2beta2/task.proto"; import "google/iam/v1/iam_policy.proto"; @@ -25,7 +29,6 @@ import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -import "google/rpc/code.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks"; option java_multiple_files = true; @@ -36,6 +39,9 @@ option objc_class_prefix = "TASKS"; // Cloud Tasks allows developers to manage the execution of background // work in their applications. service CloudTasks { + option (google.api.default_host) = "cloudtasks.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + // Lists queues. // // Queues are returned in lexicographical order. @@ -43,6 +49,7 @@ service CloudTasks { option (google.api.http) = { get: "/v2beta2/{parent=projects/*/locations/*}/queues" }; + option (google.api.method_signature) = "parent"; } // Gets a queue. @@ -50,13 +57,14 @@ service CloudTasks { option (google.api.http) = { get: "/v2beta2/{name=projects/*/locations/*/queues/*}" }; + option (google.api.method_signature) = "name"; } // 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. @@ -69,6 +77,7 @@ service CloudTasks { post: "/v2beta2/{parent=projects/*/locations/*}/queues" body: "queue" }; + option (google.api.method_signature) = "parent,queue"; } // Updates a queue. @@ -77,8 +86,8 @@ 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. @@ -91,6 +100,7 @@ service CloudTasks { patch: "/v2beta2/{queue.name=projects/*/locations/*/queues/*}" body: "queue" }; + option (google.api.method_signature) = "queue,update_mask"; } // Deletes a queue. @@ -110,6 +120,7 @@ service CloudTasks { option (google.api.http) = { delete: "/v2beta2/{name=projects/*/locations/*/queues/*}" }; + option (google.api.method_signature) = "name"; } // Purges a queue by deleting all of its tasks. @@ -123,32 +134,31 @@ service CloudTasks { post: "/v2beta2/{name=projects/*/locations/*/queues/*}:purge" body: "*" }; + option (google.api.method_signature) = "name"; } // 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.v2beta2.CloudTasks.ResumeQueue]. Tasks can - // still be added when the queue is paused. A queue is paused if its - // [state][google.cloud.tasks.v2beta2.Queue.state] is - // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. + // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can still be added + // when the queue is paused. A queue is paused if its + // [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. rpc PauseQueue(PauseQueueRequest) returns (Queue) { option (google.api.http) = { post: "/v2beta2/{name=projects/*/locations/*/queues/*}:pause" body: "*" }; + option (google.api.method_signature) = "name"; } // Resume a queue. // // This method resumes a queue after it has been // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED] or - // [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a - // queue is stored in the queue's - // [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method - // it will be set to - // [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING]. + // [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a queue is stored + // in the queue's [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method it + // will be set to [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING]. // // WARNING: Resuming many high-QPS queues at the same time can // lead to target overloading. If you are resuming high-QPS @@ -160,27 +170,28 @@ service CloudTasks { post: "/v2beta2/{name=projects/*/locations/*/queues/*}:resume" body: "*" }; + option (google.api.method_signature) = "name"; } - // Gets the access control policy for a - // [Queue][google.cloud.tasks.v2beta2.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.v2beta2.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: "/v2beta2/{resource=projects/*/locations/*/queues/*}:getIamPolicy" body: "*" }; + option (google.api.method_signature) = "resource"; } - // Sets the access control policy for a - // [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing policy. + // Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.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. @@ -190,36 +201,35 @@ 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: "/v2beta2/{resource=projects/*/locations/*/queues/*}:setIamPolicy" body: "*" }; + option (google.api.method_signature) = "resource,policy"; } - // Returns permissions that a caller has on a - // [Queue][google.cloud.tasks.v2beta2.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.v2beta2.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: "/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions" body: "*" }; + option (google.api.method_signature) = "resource,permissions"; } // Lists the tasks in a queue. // - // By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] - // view is retrieved due to performance considerations; - // [response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view] - // controls the subset of information which is returned. + // By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved + // due to performance considerations; + // [response_view][google.cloud.tasks.v2beta2.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. @@ -227,6 +237,7 @@ service CloudTasks { option (google.api.http) = { get: "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks" }; + option (google.api.method_signature) = "parent"; } // Gets a task. @@ -234,22 +245,22 @@ service CloudTasks { option (google.api.http) = { get: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}" }; + option (google.api.method_signature) = "name"; } // 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.v2beta2.AppEngineHttpTarget], - // the maximum task size is + // * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task size is // 100KB. - // * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum - // task size is 1MB. + // * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. rpc CreateTask(CreateTaskRequest) returns (Task) { option (google.api.http) = { post: "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks" body: "*" }; + option (google.api.method_signature) = "parent,task"; } // Deletes a task. @@ -261,6 +272,7 @@ service CloudTasks { option (google.api.http) = { delete: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}" }; + option (google.api.method_signature) = "name"; } // Leases tasks from a pull queue for @@ -268,19 +280,18 @@ service CloudTasks { // // This method is invoked by the worker to obtain a lease. The // worker must acknowledge the task via - // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] - // after they have performed the work associated with the task. - // - // The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended - // to store data that the worker needs to perform the work associated with the - // task. To return the payloads in the - // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set - // [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] - // to [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. - // - // A maximum of 10 qps of - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are - // allowed per queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] + // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] after they have + // performed the work associated with the task. + // + // The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended to store data that + // the worker needs to perform the work associated with the task. To + // return the payloads in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set + // [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] to + // [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. + // + // A maximum of 10 qps of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] + // requests are allowed per + // queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] // is returned when this limit is // exceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] // is also returned when @@ -291,18 +302,18 @@ service CloudTasks { post: "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:lease" body: "*" }; + option (google.api.method_signature) = "parent,lease_duration"; } // Acknowledges a pull task. // // The worker, that is, the entity that - // [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must - // call this method to indicate that the work associated with the task has - // finished. + // [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must call this method + // to indicate that the work associated with the task has finished. // // The worker must acknowledge a task within the - // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] - // or the lease will expire and the task will become available to be leased + // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] or the lease + // will expire and the task will become available to be leased // again. After the task is acknowledged, it will not be returned // by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks], // [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or @@ -312,85 +323,88 @@ service CloudTasks { post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge" body: "*" }; + option (google.api.method_signature) = "name,schedule_time"; } // Renew the current lease of a pull task. // // The worker can use this method to extend the lease by a new // duration, starting from now. The new task lease will be - // returned in the task's - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. + // returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. rpc RenewLease(RenewLeaseRequest) returns (Task) { option (google.api.http) = { post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease" body: "*" }; + option (google.api.method_signature) = "name,schedule_time,lease_duration"; } // Cancel a pull task's lease. // // The worker can use this method to cancel a task's lease by - // setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] - // to now. This will make the task available to be leased to the next caller - // of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. + // setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] to now. This will + // make the task available to be leased to the next caller of + // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. rpc CancelLease(CancelLeaseRequest) returns (Task) { option (google.api.http) = { post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease" body: "*" }; + option (google.api.method_signature) = "name,schedule_time"; } // 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.v2beta2.RateLimits] or is - // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. + // the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits] or + // is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. // // This command is meant to be used for manual debugging. For - // example, [RunTask][google.cloud.tasks.v2beta2.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.v2beta2.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][google.cloud.tasks.v2beta2.Task.status] after the - // task is dispatched but before the task is received by its target. + // contains the [status][google.cloud.tasks.v2beta2.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.v2beta2.Task.schedule_time] will be - // reset to the time that - // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus - // the retry delay specified in the queue's - // [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig]. + // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be reset to the time that + // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus the retry delay specified + // in the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig]. // // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a // task that has already succeeded or permanently failed. // - // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called - // on a [pull task][google.cloud.tasks.v2beta2.PullMessage]. + // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called on a + // [pull task][google.cloud.tasks.v2beta2.PullMessage]. rpc RunTask(RunTaskRequest) returns (Task) { option (google.api.http) = { post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run" body: "*" }; + option (google.api.method_signature) = "name"; } } -// Request message for -// [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues]. +// Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues]. message ListQueuesRequest { - // Required. - // - // The location name. + // Required. The location name. // 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.v2beta2.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 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "locations.googleapis.com/Location" + } + ]; + + // `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.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 "app_engine_http_target: *". @@ -404,25 +418,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.v2beta2.ListQueuesResponse.next_page_token] - // in the response to determine if more queues exist. + // [next_page_token][google.cloud.tasks.v2beta2.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.v2beta2.ListQueuesResponse.next_page_token] - // returned from the previous call to - // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It - // is an error to switch the value of the - // [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while - // iterating through pages. + // [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned + // from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] + // method. It is an error to switch the value of the + // [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. string page_token = 4; } -// Response message for -// [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues]. +// Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues]. message ListQueuesResponse { // The list of queues. repeated Queue queues = 1; @@ -430,8 +441,7 @@ message ListQueuesResponse { // A token to retrieve next page of results. // // To return the next page of results, call - // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this - // value as the + // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the // [page_token][google.cloud.tasks.v2beta2.ListQueuesRequest.page_token]. // // If the next_page_token is empty, there are no more results. @@ -440,53 +450,49 @@ message ListQueuesResponse { string next_page_token = 2; } -// Request message for -// [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue]. +// Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue]. message GetQueueRequest { - // Required. - // - // The resource name of the queue. For example: + // Required. The resource name of the queue. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } -// Request message for -// [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue]. +// Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue]. message CreateQueueRequest { - // Required. - // - // The location name in which the queue will be created. + // Required. The location name in which the queue will be created. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` // // The list of allowed locations can be obtained by calling Cloud // Tasks' implementation of // [ListLocations][google.cloud.location.Locations.ListLocations]. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "locations.googleapis.com/Location" + } + ]; - // Required. + // Required. The queue to create. // - // The queue to create. - // - // [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as - // an existing queue. - Queue queue = 2; + // [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue. + Queue queue = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for -// [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue]. +// Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue]. message UpdateQueueRequest { - // Required. - // - // The queue to create or update. + // Required. The queue to create or update. // - // The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be - // specified. + // The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.Queue.name] cannot be - // changed. - Queue queue = 1; + // The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed. + Queue queue = 1 [(google.api.field_behavior) = REQUIRED]; // A mask used to specify which fields of the queue are being updated. // @@ -494,93 +500,102 @@ message UpdateQueueRequest { google.protobuf.FieldMask update_mask = 2; } -// Request message for -// [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue]. +// Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue]. message DeleteQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } -// Request message for -// [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue]. +// Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue]. message PurgeQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } -// Request message for -// [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue]. +// Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue]. message PauseQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } -// Request message for -// [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. +// Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. message ResumeQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } -// Request message for listing tasks using -// [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. +// Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. message ListTasksRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - string parent = 1; - - // The response_view specifies which subset of the - // [Task][google.cloud.tasks.v2beta2.Task] will be returned. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "cloudtasks.googleapis.com/Queue" + } + ]; + + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be + // returned. // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta2.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 2; - // Requested page size. Fewer tasks than requested might be returned. + // Maximum page size. // - // 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.v2beta2.ListTasksResponse.next_page_token] - // in the response to determine if more tasks exist. + // Fewer tasks than requested might be returned, even if more tasks exist; use + // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] in the response to + // determine if more tasks exist. + // + // The maximum page size is 1000. If unspecified, the page size will be the + // maximum. int32 page_size = 4; // 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.v2beta2.ListTasksResponse.next_page_token] - // returned from the previous call to - // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. + // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned + // from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] + // method. // // The page token is valid for only 2 hours. string page_token = 5; } -// Response message for listing tasks using -// [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. +// Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. message ListTasksResponse { // The list of tasks. repeated Task tasks = 1; @@ -588,63 +603,63 @@ message ListTasksResponse { // A token to retrieve next page of results. // // To return the next page of results, call - // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this - // value as the + // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the // [page_token][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.GetTask]. +// Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask]. message GetTaskRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `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.v2beta2.Task] will be returned. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; + + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be + // returned. // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta2.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 2; } -// Request message for -// [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. +// Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. message CreateTaskRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` // // The queue must already exist. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "cloudtasks.googleapis.com/Queue" + } + ]; - // Required. - // - // The task to add. + // Required. 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.v2beta2.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.v2beta2.Task.name]. + // The user can optionally specify a task [name][google.cloud.tasks.v2beta2.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.v2beta2.Task.name]. // - // If [schedule_time][google.cloud.tasks.v2beta2.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.v2beta2.Task.schedule_time] is not set or is in the + // past then Cloud Tasks will set it to the current time. // // Task De-duplication: // @@ -659,50 +674,54 @@ message CreateTaskRequest { // for ~9days after the original task was deleted or completed. // // Because there is an extra lookup cost to identify duplicate task - // names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.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; + Task task = 2 [(google.api.field_behavior) = REQUIRED]; - // The response_view specifies which subset of the - // [Task][google.cloud.tasks.v2beta2.Task] will be returned. + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be + // returned. // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta2.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 3; } // Request message for deleting a task using // [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask]. message DeleteTaskRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; } -// Request message for leasing tasks using -// [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. +// Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. message LeaseTasksRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "cloudtasks.googleapis.com/Queue" + } + ]; // The maximum number of tasks to lease. // @@ -710,47 +729,57 @@ message LeaseTasksRequest { // `max_tasks` as possible. // // The largest that `max_tasks` can be is 1000. + // + // The maximum total size of a [lease tasks response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is + // 32 MB. If the sum of all task sizes requested reaches this limit, + // fewer tasks than requested are returned. int32 max_tasks = 2; + // Required. The duration of the lease. + // + // Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will + // have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current + // time plus the `lease_duration`. The task is leased until its + // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be + // returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call + // before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. + // // // After the worker has successfully finished the work associated // with the task, the worker must call via - // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] - // before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. - // Otherwise the task will be returned to a later - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that - // another worker can retry it. + // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the + // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be + // returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so + // that another worker can retry it. // // The maximum lease duration is 1 week. // `lease_duration` will be truncated to the nearest second. - google.protobuf.Duration lease_duration = 3; + google.protobuf.Duration lease_duration = 3 [(google.api.field_behavior) = REQUIRED]; - // The response_view specifies which subset of the - // [Task][google.cloud.tasks.v2beta2.Task] will be returned. + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be + // returned. // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta2.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 4; // `filter` can be used to specify a subset of tasks to lease. // // When `filter` is set to `tag=` then the - // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only - // tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to - // ``. `` must be less than 500 characters. + // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose + // [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to ``. `` must be + // less than 500 characters. // // When `filter` is set to `tag_function=oldest_tag()`, only tasks which have // the same tag as the task with the oldest - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be - // returned. + // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned. // // Grammar Syntax: // @@ -768,14 +797,12 @@ message LeaseTasksRequest { // [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), // only UTF-8 encoded tags can be used in Cloud Tasks. Tag which // aren't UTF-8 encoded can't be used in the - // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the - // task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed - // as empty in Cloud Tasks. + // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's + // [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks. string filter = 5; } -// Response message for leasing tasks using -// [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. +// Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. message LeaseTasksResponse { // The leased tasks. repeated Task tasks = 1; @@ -784,120 +811,121 @@ message LeaseTasksResponse { // Request message for acknowledging a task using // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]. message AcknowledgeTaskRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - string name = 1; - - // Required. - // - // The task's current schedule time, available in the + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; + + // Required. The task's current schedule time, available in the // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or - // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. - // This restriction is to ensure that your worker currently holds the lease. - google.protobuf.Timestamp schedule_time = 2; + // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is + // to ensure that your worker currently holds the lease. + google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = REQUIRED]; } // Request message for renewing a lease using // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease]. message RenewLeaseRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - string name = 1; - - // Required. - // - // The task's current schedule time, available in the + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; + + // Required. The task's current schedule time, available in the // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or - // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. - // This restriction is to ensure that your worker currently holds the lease. - google.protobuf.Timestamp schedule_time = 2; + // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is + // to ensure that your worker currently holds the lease. + google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. - // - // The desired new lease duration, starting from now. + // Required. The desired new lease duration, starting from now. // // // The maximum lease duration is 1 week. // `lease_duration` will be truncated to the nearest second. - google.protobuf.Duration lease_duration = 3; + google.protobuf.Duration lease_duration = 3 [(google.api.field_behavior) = REQUIRED]; - // The response_view specifies which subset of the - // [Task][google.cloud.tasks.v2beta2.Task] will be returned. + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be + // returned. // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta2.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 4; } // Request message for canceling a lease using // [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease]. message CancelLeaseRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - string name = 1; - - // Required. - // - // The task's current schedule time, available in the + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; + + // Required. The task's current schedule time, available in the // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or - // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. - // This restriction is to ensure that your worker currently holds the lease. - google.protobuf.Timestamp schedule_time = 2; - - // The response_view specifies which subset of the - // [Task][google.cloud.tasks.v2beta2.Task] will be returned. - // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta2.Task] resource. + // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is + // to ensure that your worker currently holds the lease. + google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = REQUIRED]; + + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be + // returned. + // + // By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 3; } // Request message for forcing a task to run now using // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask]. message RunTaskRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `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.v2beta2.Task] will be returned. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; + + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be + // returned. // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta2.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 2; } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto index 3aa4b80b3a6a..212ab7384cc5 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,15 +11,17 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// syntax = "proto3"; package google.cloud.tasks.v2beta2; -import "google/api/annotations.proto"; +import "google/api/resource.proto"; import "google/cloud/tasks/v2beta2/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks"; option java_multiple_files = true; @@ -30,6 +32,11 @@ option java_package = "com.google.cloud.tasks.v2beta2"; // how those tasks are dispatched. Configurable properties include rate limits, // retry options, target types, and others. message Queue { + option (google.api.resource) = { + type: "cloudtasks.googleapis.com/Queue" + pattern: "projects/{project}/locations/{location}/queues/{queue}" + }; + // State of the queue. enum State { // Unspecified state. @@ -48,8 +55,8 @@ message Queue { // Tasks are paused by the user. If the queue is paused then Cloud // Tasks will stop delivering tasks from it, but more tasks can // still be added to it by the user. When a pull queue is paused, - // all [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls - // will return a [FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION]. + // all [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls will return a + // [FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION]. PAUSED = 2; // The queue is disabled. @@ -63,17 +70,16 @@ message Queue { // // When a queue is disabled, tasks can still be added to a queue // but the tasks are not dispatched and - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls - // return a `FAILED_PRECONDITION` error. + // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls return a + // `FAILED_PRECONDITION` error. // // To permanently delete this queue and all of its tasks, call // [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue]. DISABLED = 3; } - // Caller-specified and required in - // [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], after - // which it becomes output only. + // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], + // after which it becomes output only. // // The queue name. // @@ -93,10 +99,9 @@ message Queue { // hyphens (-). The maximum length is 100 characters. string name = 1; - // Caller-specified and required in - // [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue][], after - // which the queue config type becomes output only, though fields within the - // config are mutable. + // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue][], + // after which the queue config type becomes output only, though fields within + // the config are mutable. // // The queue's target. // @@ -104,34 +109,30 @@ message Queue { oneof target_type { // App Engine HTTP target. // - // An App Engine queue is a queue that has an - // [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget]. + // An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget]. AppEngineHttpTarget app_engine_http_target = 3; // Pull target. // - // A pull queue is a queue that has a - // [PullTarget][google.cloud.tasks.v2beta2.PullTarget]. + // A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget]. PullTarget pull_target = 4; } // Rate limits for task dispatches. // // [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and - // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related - // because they both control task attempts however they control how tasks are + // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both + // control task attempts however they control how tasks are // attempted in different ways: // - // * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the - // total rate of + // * [rate_limits][google.cloud.tasks.v2beta2.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.v2beta2.Queue.retry_config] controls - // what happens to + // * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to // particular a task after its first attempt fails. That is, - // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls - // task retries (the second attempt, third attempt, etc). + // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the + // second attempt, third attempt, etc). RateLimits rate_limits = 5; // Settings that determine the retry behavior. @@ -150,21 +151,18 @@ message Queue { // // `state` can only be changed by called // [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or - // uploading + // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be - // used to change `state`. + // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. State state = 7; // Output only. The last time this queue was purged. // - // All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] - // before this time were purged. + // All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time + // were purged. // - // A queue can be purged using - // [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App - // Engine Task Queue SDK, or the Cloud + // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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 @@ -177,24 +175,19 @@ 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.v2beta2.CloudTasks.RunTask], will run a task -// even if the queue has reached its -// [RateLimits][google.cloud.tasks.v2beta2.RateLimits]. +// Note: The debugging command, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask], will run a task +// even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpTarget], - // the maximum allowed value + // * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum allowed value // is 500. - // * This field is output only for [pull - // queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the + // * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the // `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests - // are allowed per pull queue. + // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are allowed per pull queue. // // // This field has the same meaning as @@ -227,9 +220,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.v2beta2.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.v2beta2.CloudTasks.UpdateQueue] is called on a queue + // created by `queue.yaml/xml`, `max_burst_size` will be reset based + // on the value of // [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second], // regardless of whether // [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second] @@ -249,9 +242,8 @@ message RateLimits { // The maximum allowed value is 5,000. // // This field is output only for - // [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which - // indicates no limit. No other queue types can have `max_concurrent_tasks` - // set to -1. + // [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which indicates no limit. No other + // queue types can have `max_concurrent_tasks` set to -1. // // // This field has the same meaning as @@ -289,17 +281,16 @@ 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.v2beta2.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.v2beta2.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. // - // This field is output only for [pull - // queues][google.cloud.tasks.v2beta2.PullTarget]. + // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. // // // `max_retry_duration` will be truncated to the nearest second. @@ -309,19 +300,16 @@ message RetryConfig { // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). google.protobuf.Duration max_retry_duration = 3; - // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] - // for retry between + // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration - // after it fails, if the queue's - // [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the - // task should be retried. + // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails, + // if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be + // retried. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. // - // This field is output only for [pull - // queues][google.cloud.tasks.v2beta2.PullTarget]. + // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. // // // `min_backoff` will be truncated to the nearest second. @@ -331,19 +319,16 @@ message RetryConfig { // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). google.protobuf.Duration min_backoff = 4; - // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] - // for retry between + // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration - // after it fails, if the queue's - // [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the - // task should be retried. + // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails, + // if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be + // retried. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. // - // This field is output only for [pull - // queues][google.cloud.tasks.v2beta2.PullTarget]. + // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. // // // `max_backoff` will be truncated to the nearest second. @@ -356,29 +341,26 @@ message RetryConfig { // The time between retries will double `max_doublings` times. // // A task's retry interval starts at - // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then - // doubles `max_doublings` times, then increases linearly, and finally retries - // retries at intervals of + // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then doubles + // `max_doublings` times, then increases linearly, and finally + // retries retries at intervals of // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] up to // [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times. // - // For example, if - // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] is 10s, - // [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the - // task has been attempted - // [max_attempts][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.min_backoff] is 10s, + // [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the + // task has been attempted [max_attempts][google.cloud.tasks.v2beta2.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 is output only for [pull - // queues][google.cloud.tasks.v2beta2.PullTarget]. + // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. // // // This field has the same meaning as diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto index ae1b5555dfd2..decdbaf8b791 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,13 +11,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// syntax = "proto3"; package google.cloud.tasks.v2beta2; import "google/api/annotations.proto"; -import "google/protobuf/duration.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks"; option java_multiple_files = true; @@ -25,11 +25,12 @@ option java_outer_classname = "TargetProto"; option java_package = "com.google.cloud.tasks.v2beta2"; // Pull target. -message PullTarget {} +message PullTarget { + +} // The pull message contains data that can be used by the caller of -// [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the -// task. +// [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. // // This proto can only be used for tasks in a queue which has // [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] set. @@ -41,11 +42,10 @@ message PullMessage { // // Tags allow similar tasks to be processed in a batch. If you label // tasks with a tag, your worker can - // [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the - // same tag using - // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, - // if you want to aggregate the events associated with a specific user once a - // day, you could tag tasks with the user ID. + // [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using + // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to + // aggregate the events associated with a specific user once a day, + // you could tag tasks with the user ID. // // The task's tag can only be set when the // [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. @@ -63,15 +63,11 @@ message PullMessage { // App Engine HTTP target. // // The task will be delivered to the App Engine application hostname -// specified by its -// [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and -// [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]. The -// documentation for -// [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] -// explains how the task's host URL is constructed. +// specified by its [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]. +// The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] explains how the +// task's host URL is constructed. // -// Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] -// requires +// Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] requires // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) // Google IAM permission for the project // and the following scope: @@ -79,13 +75,11 @@ message PullMessage { // `https://www.googleapis.com/auth/cloud-platform` message AppEngineHttpTarget { // Overrides for the - // [task-level - // app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. + // [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + // [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing_override = 1; } @@ -95,11 +89,9 @@ message AppEngineHttpTarget { // the task is dispatched. // // This proto can only be used for tasks in a queue which has -// [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] -// set. +// [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] set. // -// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] -// requires +// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.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: @@ -113,17 +105,20 @@ message AppEngineHttpTarget { // and how routing is affected by // [dispatch // files](https://cloud.google.com/appengine/docs/python/config/dispatchref). +// Traffic is encrypted during transport and never leaves Google datacenters. +// Because this traffic is carried over a communication mechanism internal to +// 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.v2beta2.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.v2beta2.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.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. +// [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. // // // The `url` that the task will be sent to is: @@ -131,13 +126,27 @@ message AppEngineHttpTarget { // * `url =` [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] `+` // [relative_url][google.cloud.tasks.v2beta2.AppEngineHttpRequest.relative_url] // -// The task attempt has succeeded if the app's request handler returns -// an HTTP response code in the range [`200` - `299`]. `503` is -// considered an App Engine system error instead of an application -// error. Requests returning error `503` will be retried regardless of -// retry configuration and not counted against retry counts. -// Any other response code or a failure to receive a response before the -// deadline is a failed attempt. +// Tasks can be dispatched to secure app handlers, unsecure app handlers, and +// URIs restricted with +// [`login: +// admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). +// Because tasks are not run as any user, they cannot be dispatched to URIs +// restricted with +// [`login: +// required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) +// Task dispatches also do not follow redirects. +// +// The task attempt has succeeded if the app's request handler returns an HTTP +// response code in the range [`200` - `299`]. The task attempt has failed if +// the app's handler returns a non-2xx response code or Cloud Tasks does +// not receive response before the [deadline][Task.dispatch_deadline]. Failed +// tasks will be retried according to the +// [retry configuration][google.cloud.tasks.v2beta2.Queue.retry_config]. `503` (Service Unavailable) is +// considered an App Engine system error instead of an application error and +// will cause Cloud Tasks' traffic congestion control to temporarily throttle +// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many +// Requests) response from an app handler does not cause traffic congestion +// control to throttle the queue. message AppEngineHttpRequest { // The HTTP method to use for the request. The default is POST. // @@ -157,8 +166,7 @@ message AppEngineHttpRequest { // If set, // [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. + // [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing = 2; // The relative URL. @@ -184,8 +192,7 @@ message AppEngineHttpRequest { // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the // modified `User-Agent`. // - // If the task has a - // [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + // If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud // Tasks sets the following headers: // // * `Content-Type`: By default, the `Content-Type` header is set to @@ -210,10 +217,8 @@ 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.v2beta2.Task]. For more information, see the - // [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] - // documentation. + // the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more + // information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. map headers = 4; // Payload. @@ -227,6 +232,9 @@ message AppEngineHttpRequest { // App Engine Routing. // +// Defines routing characteristics specific to App Engine - service, version, +// and instance. +// // For more information about services, versions, and instances see // [An Overview of App // Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), @@ -243,18 +251,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.v2beta2.AppEngineRouting.host] is - // not parsable into - // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + // Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + // into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - // then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + // [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - // empty string. + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. string service = 1; // App version. @@ -263,18 +269,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.v2beta2.AppEngineRouting.host] is - // not parsable into - // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + // Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable + // into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, - // then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + // [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then + // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the - // empty string. + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. string version = 2; // App instance. @@ -315,49 +319,44 @@ message AppEngineRouting { // queue's project ID. Some tasks which were created using the App Engine // SDK use a custom domain name. // - // * `service =` - // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + // * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] // - // * `version =` - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + // * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] // // * `version_dot_service =` // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] // - // * `instance =` - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + // * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] // // * `instance_dot_service =` - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - // +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] // // * `instance_dot_version =` - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - // +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] // // * `instance_dot_version_dot_service =` - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' - // +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' - // +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` + // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` + // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] // - // If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, - // then the task will be sent to the service which is the default service when - // the task is attempted. + // If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent + // to the service which is the default service when the task is attempted. // - // If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, - // then the task will be sent to the version which is the default version when - // the task is attempted. + // If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent + // to the version which is the default version when the task is attempted. // - // If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - // empty, then the task will be sent to an instance which is available when - // the task is attempted. + // If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task + // will be sent to an instance which is available when the task is + // attempted. // // If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is - // invalid, then the task will be sent to the default version of the default - // service when the task is attempted. + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task + // will be sent to the default version of the default service when + // the task is attempted. string host = 4; } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto index f9e18be492a5..9a927462c48c 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,15 +11,17 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// syntax = "proto3"; package google.cloud.tasks.v2beta2; -import "google/api/annotations.proto"; +import "google/api/resource.proto"; import "google/cloud/tasks/v2beta2/target.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks"; option java_multiple_files = true; @@ -28,8 +30,12 @@ option java_package = "com.google.cloud.tasks.v2beta2"; // A unit of scheduled work. message Task { - // The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] - // data. + option (google.api.resource) = { + type: "cloudtasks.googleapis.com/Task" + pattern: "projects/{project}/locations/{location}/queues/{queue}/tasks/{task}" + }; + + // The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] data. // // When a task is returned in a response, not all // information is retrieved by default because some data, such as @@ -44,26 +50,22 @@ message Task { // sensitive data. // // This view does not include the - // ([payload in - // AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] - // and [payload in - // PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]). These - // payloads 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. + // ([payload in AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] and + // [payload in PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]). These payloads 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. BASIC = 1; // All information is returned. // - // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Queue][google.cloud.tasks.v2beta2.Queue] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Queue][google.cloud.tasks.v2beta2.Queue] resource. FULL = 2; } - // Optionally caller-specified in - // [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. + // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. // // The task name. // @@ -92,21 +94,16 @@ message Task { oneof payload_type { // App Engine HTTP request that is sent to the task's target. Can // be set only if - // [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] - // is set on the queue. + // [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set + // on the queue. // - // An App Engine task is a task that has - // [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] - // set. + // An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set. AppEngineHttpRequest app_engine_http_request = 3; - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process - // the task. Can be set only if - // [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the - // queue. + // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be + // set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue. // - // A pull task is a task that has - // [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set. + // A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set. PullMessage pull_message = 4; } @@ -117,8 +114,7 @@ message Task { // For pull queues, this is the time when the task is available to // be leased; if a task is currently leased, this is the time when // the current lease expires, that is, the time that the task was - // leased plus the - // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + // leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. // // `schedule_time` will be truncated to the nearest microsecond. google.protobuf.Timestamp schedule_time = 5; @@ -131,8 +127,8 @@ message Task { // Output only. The task status. TaskStatus status = 7; - // Output only. The view specifies which subset of the - // [Task][google.cloud.tasks.v2beta2.Task] has been returned. + // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has + // been returned. View view = 8; } @@ -140,32 +136,26 @@ message Task { message TaskStatus { // Output only. The number of attempts dispatched. // - // This count includes tasks which have been dispatched but haven't + // This count includes attempts which have been dispatched but haven't // received a response. int32 attempt_dispatch_count = 1; // Output only. The number of attempts which have received a response. // - // This field is not calculated for [pull - // tasks][google.cloud.tasks.v2beta2.PullMessage]. + // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage]. int32 attempt_response_count = 2; // Output only. The status of the task's first attempt. // - // Only - // [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] - // will be set. The other - // [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is - // not retained by Cloud Tasks. + // Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set. + // The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks. // - // This field is not calculated for [pull - // tasks][google.cloud.tasks.v2beta2.PullMessage]. + // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage]. AttemptStatus first_attempt_status = 3; // Output only. The status of the task's last attempt. // - // This field is not calculated for [pull - // tasks][google.cloud.tasks.v2beta2.PullMessage]. + // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage]. AttemptStatus last_attempt_status = 4; } 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 1dcf04ff356b..f2db63501143 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 @@ -51,7 +51,7 @@ * the app's handler returns a non-2xx response code or Cloud Tasks does * not receive response before the [deadline][google.cloud.tasks.v2beta3.Task.dispatch_deadline]. Failed * tasks will be retried according to the - * [retry configuration][Queue.RetryConfig]. `503` (Service Unavailable) is + * [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config]. `503` (Service Unavailable) is * considered an App Engine system error instead of an application error and * will cause Cloud Tasks' traffic congestion control to temporarily throttle * the queue's dispatches. Unlike other types of task targets, a `429` (Too Many @@ -844,7 +844,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * the app's handler returns a non-2xx response code or Cloud Tasks does * not receive response before the [deadline][google.cloud.tasks.v2beta3.Task.dispatch_deadline]. Failed * tasks will be retried according to the - * [retry configuration][Queue.RetryConfig]. `503` (Service Unavailable) is + * [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config]. `503` (Service Unavailable) is * considered an App Engine system error instead of an application error and * will cause Cloud Tasks' traffic congestion control to temporarily throttle * the queue's dispatches. Unlike other types of task targets, a `429` (Too Many 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 c53e69f20d49..5d0b6b0082e7 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,131 @@ 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\031google/api/reso" - + "urce.proto\032&google/cloud/tasks/v2beta3/q" - + "ueue.proto\032%google/cloud/tasks/v2beta3/t" - + "ask.proto\032\036google/iam/v1/iam_policy.prot" - + "o\032\032google/iam/v1/policy.proto\032\033google/pr" - + "otobuf/empty.proto\032 google/protobuf/fiel" - + "d_mask.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" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032&google/clo" + + "ud/tasks/v2beta3/queue.proto\032%google/clo" + + "ud/tasks/v2beta3/task.proto\032\036google/iam/" + + "v1/iam_policy.proto\032\032google/iam/v1/polic" + + "y.proto\032\033google/protobuf/empty.proto\032 go" + + "ogle/protobuf/field_mask.proto\"\205\001\n\021ListQ" + + "ueuesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!lo" + + "cations.googleapis.com/Location\022\016\n\006filte" + + "r\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token" + + "\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\"H\n\017GetQueueRequ" + + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go" + + "ogleapis.com/Queue\"\206\001\n\022CreateQueueReques" + + "t\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!locations.goo" + + "gleapis.com/Location\0225\n\005queue\030\002 \001(\0132!.go" + + "ogle.cloud.tasks.v2beta3.QueueB\003\340A\002\"|\n\022U" + + "pdateQueueRequest\0225\n\005queue\030\001 \001(\0132!.googl" + + "e.cloud.tasks.v2beta3.QueueB\003\340A\002\022/\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340" + + "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J" + + "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" + + "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa" + + "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c" + + "loudtasks.googleapis.com/Queue\"K\n\022Resume" + + "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou" + + "dtasks.googleapis.com/Queue\"\260\001\n\020ListTask" + + "sRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" + + "asks.googleapis.com/Queue\022<\n\rresponse_vi" + + "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta3.Ta" + + "sk.View\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 .google.cloud.tasks.v2beta3.Task\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskRequest" + + "\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googl" + + "eapis.com/Task\022<\n\rresponse_view\030\002 \001(\0162%." + + "google.cloud.tasks.v2beta3.Task.View\"\277\001\n" + + "\021CreateTaskRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372" + + "A!\022\037cloudtasks.googleapis.com/Queue\0223\n\004t" + + "ask\030\002 \001(\0132 .google.cloud.tasks.v2beta3.T" + + "askB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.google" + + ".cloud.tasks.v2beta3.Task.View\"I\n\021Delete" + + "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + + "tasks.googleapis.com/Task\"\204\001\n\016RunTaskReq" + + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" + + "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" + + "\0162%.google.cloud.tasks.v2beta3.Task.View" + + "2\245\026\n\nCloudTasks\022\255\001\n\nListQueues\022-.google." + + "cloud.tasks.v2beta3.ListQueuesRequest\032.." + + "google.cloud.tasks.v2beta3.ListQueuesRes" + + "ponse\"@\202\323\344\223\0021\022//v2beta3/{parent=projects" + + "/*/locations/*}/queues\332A\006parent\022\232\001\n\010GetQ" + + "ueue\022+.google.cloud.tasks.v2beta3.GetQue" + "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" + + "ueue\">\202\323\344\223\0021\022//v2beta3/{name=projects/*/" + + "locations/*/queues/*}\332A\004name\022\257\001\n\013CreateQ" + + "ueue\022..google.cloud.tasks.v2beta3.Create" + "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.Queue\"M\202\323\344\223\0028\"//v2beta3/{parent=projec" + + "ts/*/locations/*}/queues:\005queue\332A\014parent" + + ",queue\022\272\001\n\013UpdateQueue\022..google.cloud.ta" + + "sks.v2beta3.UpdateQueueRequest\032!.google." + + "cloud.tasks.v2beta3.Queue\"X\202\323\344\223\002>25/v2be" + + "ta3/{queue.name=projects/*/locations/*/q" + + "ueues/*}:\005queue\332A\021queue,update_mask\022\225\001\n\013" + + "DeleteQueue\022..google.cloud.tasks.v2beta3" + + ".DeleteQueueRequest\032\026.google.protobuf.Em" + + "pty\">\202\323\344\223\0021*//v2beta3/{name=projects/*/l" + + "ocations/*/queues/*}\332A\004name\022\247\001\n\nPurgeQue" + + "ue\022-.google.cloud.tasks.v2beta3.PurgeQue" + + "ueRequest\032!.google.cloud.tasks.v2beta3.Q" + + "ueue\"G\202\323\344\223\002:\"5/v2beta3/{name=projects/*/" + + "locations/*/queues/*}:purge:\001*\332A\004name\022\247\001" + + "\n\nPauseQueue\022-.google.cloud.tasks.v2beta" + + "3.PauseQueueRequest\032!.google.cloud.tasks" + + ".v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3/{name=p" + + "rojects/*/locations/*/queues/*}:pause:\001*" + + "\332A\004name\022\252\001\n\013ResumeQueue\022..google.cloud.t" + + "asks.v2beta3.ResumeQueueRequest\032!.google" + + ".cloud.tasks.v2beta3.Queue\"H\202\323\344\223\002;\"6/v2b" + + "eta3/{name=projects/*/locations/*/queues" + + "/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPolicy\022\"." + + "google.iam.v1.GetIamPolicyRequest\032\025.goog" + + "le.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta3/{reso" + + "urce=projects/*/locations/*/queues/*}:ge" + + "tIamPolicy:\001*\332A\010resource\022\250\001\n\014SetIamPolic" + + "y\022\".google.iam.v1.SetIamPolicyRequest\032\025." + + "google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2beta3/{" + + "resource=projects/*/locations/*/queues/*" + + "}:setIamPolicy:\001*\332A\017resource,policy\022\323\001\n\022" + + "TestIamPermissions\022(.google.iam.v1.TestI" + + "amPermissionsRequest\032).google.iam.v1.Tes" + + "tIamPermissionsResponse\"h\202\323\344\223\002K\"F/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" + + "s/*}:testIamPermissions:\001*\332A\024resource,pe" + + "rmissions\022\262\001\n\tListTasks\022,.google.cloud.t" + + "asks.v2beta3.ListTasksRequest\032-.google.c" + + "loud.tasks.v2beta3.ListTasksResponse\"H\202\323" + + "\344\223\0029\0227/v2beta3/{parent=projects/*/locati" + + "ons/*/queues/*}/tasks\332A\006parent\022\237\001\n\007GetTa" + + "sk\022*.google.cloud.tasks.v2beta3.GetTaskR" + + "equest\032 .google.cloud.tasks.v2beta3.Task" + + "\"F\202\323\344\223\0029\0227/v2beta3/{name=projects/*/loca" + + "tions/*/queues/*/tasks/*}\332A\004name\022\257\001\n\nCre" + + "ateTask\022-.google.cloud.tasks.v2beta3.Cre" + + "ateTaskRequest\032 .google.cloud.tasks.v2be" + + "ta3.Task\"P\202\323\344\223\002<\"7/v2beta3/{parent=proje" + + "cts/*/locations/*/queues/*}/tasks:\001*\332A\013p" + + "arent,task\022\233\001\n\nDeleteTask\022-.google.cloud" + + ".tasks.v2beta3.DeleteTaskRequest\032\026.googl" + + "e.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta3/{name" + + "=projects/*/locations/*/queues/*/tasks/*" + + "}\332A\004name\022\246\001\n\007RunTask\022*.google.cloud.task" + + "s.v2beta3.RunTaskRequest\032 .google.cloud." + + "tasks.v2beta3.Task\"M\202\323\344\223\002@\";/v2beta3/{na" + + "me=projects/*/locations/*/queues/*/tasks" + + "/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.googlea" + + "pis.com\322A.https://www.googleapis.com/aut" + + "h/cloud-platformB|\n\036com.google.cloud.tas" + + "ks.v2beta3B\017CloudTasksProtoP\001Z?google.go" + + "lang.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,6 +221,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(), com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(), @@ -208,7 +230,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.iam.v1.PolicyProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.CodeProto.getDescriptor(), }, assigner); internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor = @@ -333,10 +354,17 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(); com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(); @@ -344,7 +372,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.iam.v1.PolicyProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.CodeProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) 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 68032fa01a88..20a5213b471b 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 @@ -113,15 +113,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -138,15 +139,16 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -166,12 +168,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasQueue() { return queue_ != null; @@ -180,12 +182,12 @@ public boolean hasQueue() { * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; @@ -194,12 +196,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { return getQueue(); @@ -556,15 +558,16 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -581,15 +584,16 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -606,15 +610,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -629,15 +634,16 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -649,15 +655,16 @@ public Builder clearParent() { * * *
-     * Required.
-     * The location name in which the queue will be created.
+     * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * The list of allowed locations can be obtained by calling Cloud
      * Tasks' implementation of
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -680,12 +687,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; @@ -694,12 +701,12 @@ public boolean hasQueue() { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { if (queueBuilder_ == null) { @@ -712,12 +719,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -736,12 +743,12 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { @@ -757,12 +764,12 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -785,12 +792,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -807,12 +814,12 @@ public Builder clearQueue() { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { @@ -823,12 +830,12 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { @@ -841,12 +848,12 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { * * *
-     * Required.
-     * The queue to create.
+     * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.Queue, 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 aac78e1cff3e..83c157baaf4b 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 @@ -12,30 +12,32 @@ public interface CreateQueueRequestOrBuilder * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The location name in which the queue will be created.
+   * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * The list of allowed locations can be obtained by calling Cloud
    * Tasks' implementation of
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); @@ -43,36 +45,36 @@ public interface CreateQueueRequestOrBuilder * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasQueue(); /** * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** * * *
-   * Required.
-   * The queue to create.
+   * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); } 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 5d4ee4698225..d4e5405d4506 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 @@ -121,13 +121,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -144,13 +145,14 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -170,8 +172,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required.
-   * The task to add.
+   * Required. 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
@@ -201,7 +202,8 @@ public com.google.protobuf.ByteString getParentBytes() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasTask() { return task_ != null; @@ -210,8 +212,7 @@ public boolean hasTask() { * * *
-   * Required.
-   * The task to add.
+   * Required. 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
@@ -241,7 +242,8 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; @@ -250,8 +252,7 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { * * *
-   * Required.
-   * The task to add.
+   * Required. 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
@@ -281,7 +282,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { return getTask(); @@ -700,13 +702,14 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -723,13 +726,14 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -746,13 +750,14 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -767,13 +772,14 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -785,13 +791,14 @@ public Builder clearParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -814,8 +821,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required.
-     * The task to add.
+     * Required. 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
@@ -845,7 +851,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; @@ -854,8 +861,7 @@ public boolean hasTask() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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
@@ -885,7 +891,8 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Task getTask() { if (taskBuilder_ == null) { @@ -898,8 +905,7 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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
@@ -929,7 +935,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { @@ -948,8 +955,7 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { * * *
-     * Required.
-     * The task to add.
+     * Required. 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
@@ -979,7 +985,8 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (taskBuilder_ == null) { @@ -995,8 +1002,7 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForVal * * *
-     * Required.
-     * The task to add.
+     * Required. 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
@@ -1026,7 +1032,8 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForVal
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { @@ -1047,8 +1054,7 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { * * *
-     * Required.
-     * The task to add.
+     * Required. 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
@@ -1078,7 +1084,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1095,8 +1102,7 @@ public Builder clearTask() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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
@@ -1126,7 +1132,8 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() { @@ -1137,8 +1144,7 @@ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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
@@ -1168,7 +1174,8 @@ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { @@ -1181,8 +1188,7 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { * * *
-     * Required.
-     * The task to add.
+     * Required. 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
@@ -1212,7 +1218,8 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.Task, 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 ab271e80e2b1..206876883420 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 @@ -12,26 +12,28 @@ public interface CreateTaskRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); @@ -39,8 +41,7 @@ public interface CreateTaskRequestOrBuilder * * *
-   * Required.
-   * The task to add.
+   * Required. 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
@@ -70,15 +71,15 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasTask(); /** * * *
-   * Required.
-   * The task to add.
+   * Required. 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
@@ -108,15 +109,15 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.Task getTask(); /** * * *
-   * Required.
-   * The task to add.
+   * Required. 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
@@ -146,7 +147,8 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder(); 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 a8b5dba034dc..48abc69d9a20 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 @@ -97,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -119,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -461,12 +463,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -483,12 +486,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -505,12 +509,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -525,12 +530,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -542,12 +548,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java index 4a0ed73eaa6b..5374832ea7b1 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface DeleteQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java index a93e3db36c93..c9b61cf6560a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java @@ -98,12 +98,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -120,12 +121,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -462,12 +464,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -484,12 +487,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -506,12 +510,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -526,12 +531,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -543,12 +549,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java index 269b100f163a..f2f740b8836f 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface DeleteTaskRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } 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 b0308be580c2..09b3bf8f4c79 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 @@ -97,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -119,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -459,12 +461,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -481,12 +484,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -503,12 +507,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -523,12 +528,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -540,12 +546,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The resource name of the queue. For example:
+     * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java index 17b0b426b37d..ec0904577df1 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface GetQueueRequestOrBuilder * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The resource name of the queue. For example:
+   * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } 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 2089fb56d2d8..58f86dcfa0c8 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 @@ -105,12 +105,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -127,12 +128,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -530,12 +532,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -552,12 +555,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -574,12 +578,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -594,12 +599,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -611,12 +617,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { 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 73c7d5481505..6bd59e5a0cad 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 @@ -12,24 +12,26 @@ public interface GetTaskRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); 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 b154d47a88b9..35420a30fa8f 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 @@ -13,14 +13,14 @@ * 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]. + * * User-specified throttling: [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config], + * [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], 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. * System throttling happens because: - * * Cloud Tasks backoffs on all errors. Normally the backoff specified in - * [rate limits][Queue.RateLimits] will be used. But if the worker returns + * * Cloud Tasks backs off on all errors. Normally the backoff specified in + * [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. But if the worker returns * `429` (Too Many Requests), `503` (Service Unavailable), or the rate of * errors is high, Cloud Tasks will use a higher backoff rate. The retry * specified in the `Retry-After` HTTP response header is considered. @@ -870,14 +870,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * 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]. + * * User-specified throttling: [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config], + * [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], 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. * System throttling happens because: - * * Cloud Tasks backoffs on all errors. Normally the backoff specified in - * [rate limits][Queue.RateLimits] will be used. But if the worker returns + * * Cloud Tasks backs off on all errors. Normally the backoff specified in + * [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. But if the worker returns * `429` (Too Many Requests), `503` (Service Unavailable), or the rate of * errors is high, Cloud Tasks will use a higher backoff rate. The retry * specified in the `Retry-After` HTTP response header is considered. 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 a01b9ed91e43..65ec285fadaa 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 @@ -118,12 +118,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -140,12 +141,13 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -662,12 +664,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -684,12 +687,13 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -706,12 +710,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -726,12 +731,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -743,12 +749,13 @@ public Builder clearParent() { * * *
-     * Required.
-     * The location name.
+     * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { 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 e598447f3414..c3bda66ec1ab 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 @@ -12,24 +12,26 @@ public interface ListQueuesRequestOrBuilder * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The location name.
+   * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); 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 2afe5a765e79..605cd253b30c 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 @@ -118,12 +118,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -140,12 +141,13 @@ public java.lang.String getParent() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -650,12 +652,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -672,12 +675,13 @@ public java.lang.String getParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -694,12 +698,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -714,12 +719,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -731,12 +737,13 @@ public Builder clearParent() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { 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 b3a4f1ee58bb..9c6c4cd25287 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 @@ -12,24 +12,26 @@ public interface ListTasksRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); 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 89663c1f300c..ae57b7d89a19 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 @@ -97,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -119,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -460,12 +462,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -482,12 +485,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -504,12 +508,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -524,12 +529,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -541,12 +547,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java index e4f34cc1e716..9983cb9648c0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface PauseQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } 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 e59d8505324d..2450083f984a 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 @@ -97,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -119,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -460,12 +462,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -482,12 +485,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -504,12 +508,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -524,12 +529,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -541,12 +547,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java index 8ea8d1c61002..8c937cf465c5 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface PurgeQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } 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 9771074b0f19..ef2be83c25f1 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 @@ -38,11 +38,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n&google/cloud/tasks/v2beta3/queue.proto" - + "\022\032google.cloud.tasks.v2beta3\032\034google/api" - + "/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\"\371\003\n\005Queu" + + "\022\032google.cloud.tasks.v2beta3\032\031google/api" + + "/resource.proto\032\'google/cloud/tasks/v2be" + + "ta3/target.proto\032\036google/protobuf/durati" + + "on.proto\032\037google/protobuf/timestamp.prot" + + "o\032\034google/api/annotations.proto\"\327\004\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&." @@ -55,19 +55,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "24.google.cloud.tasks.v2beta3.Stackdrive" + "rLoggingConfig\"E\n\005State\022\025\n\021STATE_UNSPECI" + "FIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DISAB" - + "LED\020\003B\014\n\nqueue_type\"j\n\nRateLimits\022!\n\031max" - + "_dispatches_per_second\030\001 \001(\001\022\026\n\016max_burs" - + "t_size\030\002 \001(\005\022!\n\031max_concurrent_dispatche" - + "s\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014max_attempts\030" - + "\001 \001(\005\0225\n\022max_retry_duration\030\002 \001(\0132\031.goog" - + "le.protobuf.Duration\022.\n\013min_backoff\030\003 \001(" - + "\0132\031.google.protobuf.Duration\022.\n\013max_back" - + "off\030\004 \001(\0132\031.google.protobuf.Duration\022\025\n\r" - + "max_doublings\030\005 \001(\005\"2\n\030StackdriverLoggin" - + "gConfig\022\026\n\016sampling_ratio\030\001 \001(\001Bo\n\036com.g" - + "oogle.cloud.tasks.v2beta3B\nQueueProtoP\001Z" - + "?google.golang.org/genproto/googleapis/c" - + "loud/tasks/v2beta3;tasksb\006proto3" + + "LED\020\003:\\\352AY\n\037cloudtasks.googleapis.com/Qu" + + "eue\0226projects/{project}/locations/{locat" + + "ion}/queues/{queue}B\014\n\nqueue_type\"j\n\nRat" + + "eLimits\022!\n\031max_dispatches_per_second\030\001 \001" + + "(\001\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concur" + + "rent_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n" + + "\014max_attempts\030\001 \001(\005\0225\n\022max_retry_duratio" + + "n\030\002 \001(\0132\031.google.protobuf.Duration\022.\n\013mi" + + "n_backoff\030\003 \001(\0132\031.google.protobuf.Durati" + + "on\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobu" + + "f.Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Sta" + + "ckdriverLoggingConfig\022\026\n\016sampling_ratio\030" + + "\001 \001(\001Bo\n\036com.google.cloud.tasks.v2beta3B" + + "\nQueueProtoP\001Z?google.golang.org/genprot" + + "o/googleapis/cloud/tasks/v2beta3;tasksb\006" + + "proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -80,11 +83,11 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = @@ -126,11 +129,16 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "SamplingRatio", }); - com.google.api.AnnotationsProto.getDescriptor(); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) 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 de633e83a588..35cfbc764ef7 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 @@ -97,12 +97,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -119,12 +120,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -461,12 +463,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -483,12 +486,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -505,12 +509,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -525,12 +530,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -542,12 +548,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The queue name. For example:
+     * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java index e53d4631654f..d9fa7056b7b5 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java @@ -12,24 +12,26 @@ public interface ResumeQueueRequestOrBuilder * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The queue name. For example:
+   * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } 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 fb3449281516..efbf7a871554 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 @@ -106,12 +106,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -128,12 +129,13 @@ public java.lang.String getName() { * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -532,12 +534,13 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -554,12 +557,13 @@ public java.lang.String getName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -576,12 +580,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -596,12 +601,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -613,12 +619,13 @@ public Builder clearName() { * * *
-     * Required.
-     * The task name. For example:
+     * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { 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 e0657cc4f288..cc705ef809de 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 @@ -12,24 +12,26 @@ public interface RunTaskRequestOrBuilder * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Required.
-   * The task name. For example:
+   * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); 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 a4afab01796e..e290e4c45470 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 @@ -30,12 +30,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n%google/cloud/tasks/v2beta3/task.proto\022" - + "\032google.cloud.tasks.v2beta3\032\034google/api/" - + "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" + + "\032google.cloud.tasks.v2beta3\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a3/target.proto\032\036google/protobuf/duratio" + + "n.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\032\034google/api/an" + + "notations.proto\"\315\005\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" @@ -50,15 +50,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "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" + + "C\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.googleapi" + + "s.com/Task\022Cprojects/{project}/locations" + + "/{location}/queues/{queue}/tasks/{task}B" + + "\016\n\014payload_type\"\317\001\n\007Attempt\0221\n\rschedule_" + + "time\030\001 \001(\0132\032.google.protobuf.Timestamp\0221" + + "\n\rdispatch_time\030\002 \001(\0132\032.google.protobuf." + + "Timestamp\0221\n\rresponse_time\030\003 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022+\n\017response_status\030" + + "\004 \001(\0132\022.google.rpc.StatusBn\n\036com.google." + + "cloud.tasks.v2beta3B\tTaskProtoP\001Z?google" + + ".golang.org/genproto/googleapis/cloud/ta" + + "sks/v2beta3;tasksb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -71,12 +74,12 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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(), com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_cloud_tasks_v2beta3_Task_descriptor = @@ -106,12 +109,17 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.api.AnnotationsProto.getDescriptor(); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) 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 9eca90f57aaa..8d3d054623e6 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 @@ -119,15 +119,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * 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.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasQueue() { return queue_ != null; @@ -136,15 +136,15 @@ public boolean hasQueue() { * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * 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.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; @@ -153,15 +153,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * 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.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { return getQueue(); @@ -577,15 +577,15 @@ public Builder mergeFrom( * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * 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.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; @@ -594,15 +594,15 @@ public boolean hasQueue() { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * 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.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { if (queueBuilder_ == null) { @@ -615,15 +615,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * 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.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -642,15 +642,15 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * 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.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { @@ -666,15 +666,15 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * 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.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -697,15 +697,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * 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.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -722,15 +722,15 @@ public Builder clearQueue() { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * 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.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { @@ -741,15 +741,15 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * 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.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { @@ -762,15 +762,15 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { * * *
-     * Required.
-     * The queue to create or update.
+     * Required. The queue to create or update.
      * 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.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.Queue, 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 f48cd23c29cf..81fc0b097d61 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 @@ -12,45 +12,45 @@ public interface UpdateQueueRequestOrBuilder * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * 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.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasQueue(); /** * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * 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.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** * * *
-   * Required.
-   * The queue to create or update.
+   * Required. The queue to create or update.
    * 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.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); 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 66971c3e6b2f..431d5a73fc7a 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,6 +18,8 @@ syntax = "proto3"; package google.cloud.tasks.v2beta3; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/tasks/v2beta3/queue.proto"; import "google/cloud/tasks/v2beta3/task.proto"; @@ -25,7 +27,6 @@ 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"; option java_multiple_files = true; @@ -36,6 +37,9 @@ option objc_class_prefix = "TASKS"; // Cloud Tasks allows developers to manage the execution of background // work in their applications. service CloudTasks { + option (google.api.default_host) = "cloudtasks.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + // Lists queues. // // Queues are returned in lexicographical order. @@ -43,6 +47,7 @@ service CloudTasks { option (google.api.http) = { get: "/v2beta3/{parent=projects/*/locations/*}/queues" }; + option (google.api.method_signature) = "parent"; } // Gets a queue. @@ -50,6 +55,7 @@ service CloudTasks { option (google.api.http) = { get: "/v2beta3/{name=projects/*/locations/*/queues/*}" }; + option (google.api.method_signature) = "name"; } // Creates a queue. @@ -69,6 +75,7 @@ service CloudTasks { post: "/v2beta3/{parent=projects/*/locations/*}/queues" body: "queue" }; + option (google.api.method_signature) = "parent,queue"; } // Updates a queue. @@ -91,6 +98,7 @@ service CloudTasks { patch: "/v2beta3/{queue.name=projects/*/locations/*/queues/*}" body: "queue" }; + option (google.api.method_signature) = "queue,update_mask"; } // Deletes a queue. @@ -110,6 +118,7 @@ service CloudTasks { option (google.api.http) = { delete: "/v2beta3/{name=projects/*/locations/*/queues/*}" }; + option (google.api.method_signature) = "name"; } // Purges a queue by deleting all of its tasks. @@ -123,6 +132,7 @@ service CloudTasks { post: "/v2beta3/{name=projects/*/locations/*/queues/*}:purge" body: "*" }; + option (google.api.method_signature) = "name"; } // Pauses the queue. @@ -137,6 +147,7 @@ service CloudTasks { post: "/v2beta3/{name=projects/*/locations/*/queues/*}:pause" body: "*" }; + option (google.api.method_signature) = "name"; } // Resume a queue. @@ -157,6 +168,7 @@ service CloudTasks { post: "/v2beta3/{name=projects/*/locations/*/queues/*}:resume" body: "*" }; + option (google.api.method_signature) = "name"; } // Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. @@ -173,6 +185,7 @@ service CloudTasks { post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:getIamPolicy" body: "*" }; + option (google.api.method_signature) = "resource"; } // Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing @@ -191,6 +204,7 @@ service CloudTasks { post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:setIamPolicy" body: "*" }; + option (google.api.method_signature) = "resource,policy"; } // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. @@ -205,6 +219,7 @@ service CloudTasks { post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions" body: "*" }; + option (google.api.method_signature) = "resource,permissions"; } // Lists the tasks in a queue. @@ -220,6 +235,7 @@ service CloudTasks { option (google.api.http) = { get: "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks" }; + option (google.api.method_signature) = "parent"; } // Gets a task. @@ -227,6 +243,7 @@ service CloudTasks { option (google.api.http) = { get: "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}" }; + option (google.api.method_signature) = "name"; } // Creates a task and adds it to a queue. @@ -239,6 +256,7 @@ service CloudTasks { post: "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks" body: "*" }; + option (google.api.method_signature) = "parent,task"; } // Deletes a task. @@ -250,6 +268,7 @@ service CloudTasks { option (google.api.http) = { delete: "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}" }; + option (google.api.method_signature) = "name"; } // Forces a task to run now. @@ -281,16 +300,20 @@ service CloudTasks { post: "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}:run" body: "*" }; + option (google.api.method_signature) = "name"; } } // Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. message ListQueuesRequest { - // Required. - // - // The location name. + // Required. The location name. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "locations.googleapis.com/Location" + } + ]; // `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. @@ -344,45 +367,47 @@ message ListQueuesResponse { // Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue]. message GetQueueRequest { - // Required. - // - // The resource name of the queue. For example: + // Required. The resource name of the queue. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } // Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue]. message CreateQueueRequest { - // Required. - // - // The location name in which the queue will be created. + // Required. The location name in which the queue will be created. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` // // The list of allowed locations can be obtained by calling Cloud // Tasks' implementation of // [ListLocations][google.cloud.location.Locations.ListLocations]. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "locations.googleapis.com/Location" + } + ]; - // Required. - // - // The queue to create. + // Required. The queue to create. // // [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue. - Queue queue = 2; + Queue queue = 2 [(google.api.field_behavior) = REQUIRED]; } // Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue]. message UpdateQueueRequest { - // Required. - // - // The queue to create or update. + // Required. The queue to create or update. // // 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. - Queue queue = 1; + Queue queue = 1 [(google.api.field_behavior) = REQUIRED]; // A mask used to specify which fields of the queue are being updated. // @@ -392,47 +417,62 @@ message UpdateQueueRequest { // Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue]. message DeleteQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } // Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue]. message PurgeQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } // Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue]. message PauseQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } // Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. message ResumeQueueRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Queue" + } + ]; } // Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. message ListTasksRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "cloudtasks.googleapis.com/Queue" + } + ]; // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be // returned. @@ -487,11 +527,14 @@ message ListTasksResponse { // Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask]. message GetTaskRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be // returned. @@ -510,17 +553,18 @@ message GetTaskRequest { // Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. message CreateTaskRequest { - // Required. - // - // The queue name. For example: + // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` // // The queue must already exist. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "cloudtasks.googleapis.com/Queue" + } + ]; - // Required. - // - // The task to add. + // Required. The task to add. // // Task names have the following format: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. @@ -553,7 +597,7 @@ message CreateTaskRequest { // task commands. The infrastructure relies on an approximately // uniform distribution of task ids to store and serve tasks // efficiently. - Task task = 2; + Task task = 2 [(google.api.field_behavior) = REQUIRED]; // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be // returned. @@ -573,21 +617,27 @@ message CreateTaskRequest { // Request message for deleting a task using // [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask]. message DeleteTaskRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; } // Request message for forcing a task to run now using // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask]. message RunTaskRequest { - // Required. - // - // The task name. For example: + // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudtasks.googleapis.com/Task" + } + ]; // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be // returned. 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 264a19eed4fe..777e9b8b4768 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 @@ -17,11 +17,11 @@ 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"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks"; option java_multiple_files = true; @@ -32,6 +32,11 @@ option java_package = "com.google.cloud.tasks.v2beta3"; // how those tasks are dispatched. Configurable properties include rate limits, // retry options, queue types, and others. message Queue { + option (google.api.resource) = { + type: "cloudtasks.googleapis.com/Queue" + pattern: "projects/{project}/locations/{location}/queues/{queue}" + }; + // State of the queue. enum State { // Unspecified state. 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 48d7df55f11b..f3ef089f40c6 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 @@ -32,8 +32,8 @@ option java_package = "com.google.cloud.tasks.v2beta3"; // 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]. +// * User-specified throttling: [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config], +// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], 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 @@ -41,8 +41,8 @@ option java_package = "com.google.cloud.tasks.v2beta3"; // // System throttling happens because: // -// * Cloud Tasks backoffs on all errors. Normally the backoff specified in -// [rate limits][Queue.RateLimits] will be used. But if the worker returns +// * Cloud Tasks backs off on all errors. Normally the backoff specified in +// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. But if the worker returns // `429` (Too Many Requests), `503` (Service Unavailable), or the rate of // errors is high, Cloud Tasks will use a higher backoff rate. The retry // specified in the `Retry-After` HTTP response header is considered. @@ -106,7 +106,7 @@ message HttpRequest { // The mode for generating an `Authorization` header for HTTP requests. // - // If specified, all `Authorization` headers in the [HttpTarget.headers][] + // If specified, all `Authorization` headers in the [HttpRequest.headers][google.cloud.tasks.v2beta3.HttpRequest.headers] // field will be overridden. oneof authorization_header { // If specified, an @@ -208,7 +208,7 @@ message AppEngineHttpQueue { // the app's handler returns a non-2xx response code or Cloud Tasks does // not receive response before the [deadline][google.cloud.tasks.v2beta3.Task.dispatch_deadline]. Failed // tasks will be retried according to the -// [retry configuration][Queue.RetryConfig]. `503` (Service Unavailable) is +// [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config]. `503` (Service Unavailable) is // considered an App Engine system error instead of an application error and // will cause Cloud Tasks' traffic congestion control to temporarily throttle // the queue's dispatches. Unlike other types of task targets, a `429` (Too Many 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 10213ad8590d..573cc85027c1 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 @@ -17,12 +17,12 @@ 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"; import "google/rpc/status.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks"; option java_multiple_files = true; @@ -31,6 +31,11 @@ option java_package = "com.google.cloud.tasks.v2beta3"; // A unit of scheduled work. message Task { + option (google.api.resource) = { + type: "cloudtasks.googleapis.com/Task" + pattern: "projects/{project}/locations/{location}/queues/{queue}/tasks/{task}" + }; + // The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data. // // When a task is returned in a response, not all diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java index 6cb2c9a77a77..bd8555c929d6 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java @@ -176,8 +176,8 @@ public CloudTasksStub getStub() { * } *
* - * @param parent Required. - *

The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` + * @param parent Required. The location name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListQueuesPagedResponse listQueues(LocationName parent) { @@ -203,8 +203,8 @@ public final ListQueuesPagedResponse listQueues(LocationName parent) { * } *

* - * @param parent Required. - *

The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` + * @param parent Required. The location name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListQueuesPagedResponse listQueues(String parent) { @@ -311,8 +311,7 @@ public final UnaryCallable listQueuesCall * } *

* - * @param name Required. - *

The resource name of the queue. For example: + * @param name Required. The resource name of the queue. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -336,8 +335,7 @@ public final Queue getQueue(QueueName name) { * } *

* - * @param name Required. - *

The resource name of the queue. For example: + * @param name Required. The resource name of the queue. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -413,13 +411,11 @@ public final UnaryCallable getQueueCallable() { * } *

* - * @param parent Required. - *

The location name in which the queue will be created. For example: + * @param parent Required. The location name in which the queue will be created. For example: * `projects/PROJECT_ID/locations/LOCATION_ID` *

The list of allowed locations can be obtained by calling Cloud Tasks' implementation of * [ListLocations][google.cloud.location.Locations.ListLocations]. - * @param queue Required. - *

The queue to create. + * @param queue Required. The queue to create. *

[Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing * queue. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -455,13 +451,11 @@ public final Queue createQueue(LocationName parent, Queue queue) { * } *

* - * @param parent Required. - *

The location name in which the queue will be created. For example: + * @param parent Required. The location name in which the queue will be created. For example: * `projects/PROJECT_ID/locations/LOCATION_ID` *

The list of allowed locations can be obtained by calling Cloud Tasks' implementation of * [ListLocations][google.cloud.location.Locations.ListLocations]. - * @param queue Required. - *

The queue to create. + * @param queue Required. The queue to create. *

[Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing * queue. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -559,8 +553,7 @@ public final UnaryCallable createQueueCallable() { * } *

* - * @param queue Required. - *

The queue to create or update. + * @param queue Required. The queue to create or update. *

The queue's [name][google.cloud.tasks.v2.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.v2.Queue.name] @@ -660,8 +653,8 @@ public final UnaryCallable updateQueueCallable() { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteQueue(QueueName name) { @@ -692,8 +685,8 @@ public final void deleteQueue(QueueName name) { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteQueue(String name) { @@ -781,8 +774,8 @@ public final UnaryCallable deleteQueueCallable() { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue purgeQueue(QueueName name) { @@ -810,8 +803,8 @@ public final Queue purgeQueue(QueueName name) { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue purgeQueue(String name) { @@ -893,8 +886,8 @@ public final UnaryCallable purgeQueueCallable() { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue pauseQueue(QueueName name) { @@ -922,8 +915,8 @@ public final Queue pauseQueue(QueueName name) { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue pauseQueue(String name) { @@ -1010,8 +1003,8 @@ public final UnaryCallable pauseQueueCallable() { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue resumeQueue(QueueName name) { @@ -1044,8 +1037,8 @@ public final Queue resumeQueue(QueueName name) { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue resumeQueue(String name) { @@ -1541,8 +1534,8 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq * } *

* - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTasksPagedResponse listTasks(QueueName parent) { @@ -1573,8 +1566,8 @@ public final ListTasksPagedResponse listTasks(QueueName parent) { * } *

* - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTasksPagedResponse listTasks(String parent) { @@ -1696,8 +1689,7 @@ public final UnaryCallable listTasksCallabl * } *

* - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1721,8 +1713,7 @@ public final Task getTask(TaskName name) { * } *

* - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1795,11 +1786,10 @@ public final UnaryCallable getTaskCallable() { * } *

* - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` *

The queue must already exist. - * @param task Required. - *

The task to add. + * @param task Required. 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.v2.Task.name]. If a name is not @@ -1852,11 +1842,10 @@ public final Task createTask(QueueName parent, Task task) { * } *

* - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` *

The queue must already exist. - * @param task Required. - *

The task to add. + * @param task Required. 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.v2.Task.name]. If a name is not @@ -1961,8 +1950,7 @@ public final UnaryCallable createTaskCallable() { * } *

* - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1989,8 +1977,7 @@ public final void deleteTask(TaskName name) { * } *

* - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2085,8 +2072,7 @@ public final UnaryCallable deleteTaskCallable() { * } *

* - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2131,8 +2117,7 @@ public final Task runTask(TaskName name) { * } *

* - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java index 90cf2a153e16..93f025d85d79 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java @@ -178,8 +178,8 @@ public CloudTasksStub getStub() { * } *

* - * @param parent Required. - *

The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` + * @param parent Required. The location name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListQueuesPagedResponse listQueues(LocationName parent) { @@ -205,8 +205,8 @@ public final ListQueuesPagedResponse listQueues(LocationName parent) { * } *

* - * @param parent Required. - *

The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` + * @param parent Required. The location name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListQueuesPagedResponse listQueues(String parent) { @@ -313,8 +313,7 @@ public final UnaryCallable listQueuesCall * } *

* - * @param name Required. - *

The resource name of the queue. For example: + * @param name Required. The resource name of the queue. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -338,8 +337,7 @@ public final Queue getQueue(QueueName name) { * } *

* - * @param name Required. - *

The resource name of the queue. For example: + * @param name Required. The resource name of the queue. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -415,13 +413,11 @@ public final UnaryCallable getQueueCallable() { * } *

* - * @param parent Required. - *

The location name in which the queue will be created. For example: + * @param parent Required. The location name in which the queue will be created. For example: * `projects/PROJECT_ID/locations/LOCATION_ID` *

The list of allowed locations can be obtained by calling Cloud Tasks' implementation of * [ListLocations][google.cloud.location.Locations.ListLocations]. - * @param queue Required. - *

The queue to create. + * @param queue Required. The queue to create. *

[Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing * queue. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -457,13 +453,11 @@ public final Queue createQueue(LocationName parent, Queue queue) { * } *

* - * @param parent Required. - *

The location name in which the queue will be created. For example: + * @param parent Required. The location name in which the queue will be created. For example: * `projects/PROJECT_ID/locations/LOCATION_ID` *

The list of allowed locations can be obtained by calling Cloud Tasks' implementation of * [ListLocations][google.cloud.location.Locations.ListLocations]. - * @param queue Required. - *

The queue to create. + * @param queue Required. The queue to create. *

[Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing * queue. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -561,8 +555,7 @@ public final UnaryCallable createQueueCallable() { * } *

* - * @param queue Required. - *

The queue to create or update. + * @param queue Required. The queue to create or update. *

The queue's [name][google.cloud.tasks.v2beta2.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 @@ -662,8 +655,8 @@ public final UnaryCallable updateQueueCallable() { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteQueue(QueueName name) { @@ -694,8 +687,8 @@ public final void deleteQueue(QueueName name) { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteQueue(String name) { @@ -783,8 +776,8 @@ public final UnaryCallable deleteQueueCallable() { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue purgeQueue(QueueName name) { @@ -812,8 +805,8 @@ public final Queue purgeQueue(QueueName name) { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue purgeQueue(String name) { @@ -896,8 +889,8 @@ public final UnaryCallable purgeQueueCallable() { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue pauseQueue(QueueName name) { @@ -926,8 +919,8 @@ public final Queue pauseQueue(QueueName name) { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue pauseQueue(String name) { @@ -1016,8 +1009,8 @@ public final UnaryCallable pauseQueueCallable() { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue resumeQueue(QueueName name) { @@ -1050,8 +1043,8 @@ public final Queue resumeQueue(QueueName name) { * } *

* - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue resumeQueue(String name) { @@ -1547,8 +1540,8 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq * } *

* - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTasksPagedResponse listTasks(QueueName parent) { @@ -1579,8 +1572,8 @@ public final ListTasksPagedResponse listTasks(QueueName parent) { * } * * - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTasksPagedResponse listTasks(String parent) { @@ -1702,8 +1695,7 @@ public final UnaryCallable listTasksCallabl * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1727,8 +1719,7 @@ public final Task getTask(TaskName name) { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1803,11 +1794,10 @@ public final UnaryCallable getTaskCallable() { * } * * - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` *

The queue must already exist. - * @param task Required. - *

The task to add. + * @param task Required. 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.v2beta2.Task.name]. If a name is not @@ -1862,11 +1852,10 @@ public final Task createTask(QueueName parent, Task task) { * } * * - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` *

The queue must already exist. - * @param task Required. - *

The task to add. + * @param task Required. 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.v2beta2.Task.name]. If a name is not @@ -1975,8 +1964,7 @@ public final UnaryCallable createTaskCallable() { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2003,8 +1991,7 @@ public final void deleteTask(TaskName name) { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2176,11 +2163,9 @@ public final UnaryCallable leaseTasksCall * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - * @param scheduleTime Required. - *

The task's current schedule time, available in the + * @param scheduleTime Required. The task's current schedule time, available in the * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction @@ -2223,11 +2208,9 @@ public final void acknowledgeTask(TaskName name, Timestamp scheduleTime) { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - * @param scheduleTime Required. - *

The task's current schedule time, available in the + * @param scheduleTime Required. The task's current schedule time, available in the * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction @@ -2333,17 +2316,14 @@ public final UnaryCallable acknowledgeTaskCallabl * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - * @param scheduleTime Required. - *

The task's current schedule time, available in the + * @param scheduleTime Required. The task's current schedule time, available in the * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction * is to ensure that your worker currently holds the lease. - * @param leaseDuration Required. - *

The desired new lease duration, starting from now. + * @param leaseDuration Required. The desired new lease duration, starting from now. *

The maximum lease duration is 1 week. `lease_duration` will be truncated to the nearest * second. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2378,17 +2358,14 @@ public final Task renewLease(TaskName name, Timestamp scheduleTime, Duration lea * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - * @param scheduleTime Required. - *

The task's current schedule time, available in the + * @param scheduleTime Required. The task's current schedule time, available in the * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction * is to ensure that your worker currently holds the lease. - * @param leaseDuration Required. - *

The desired new lease duration, starting from now. + * @param leaseDuration Required. The desired new lease duration, starting from now. *

The maximum lease duration is 1 week. `lease_duration` will be truncated to the nearest * second. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2484,11 +2461,9 @@ public final UnaryCallable renewLeaseCallable() { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - * @param scheduleTime Required. - *

The task's current schedule time, available in the + * @param scheduleTime Required. The task's current schedule time, available in the * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction @@ -2524,11 +2499,9 @@ public final Task cancelLease(TaskName name, Timestamp scheduleTime) { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` - * @param scheduleTime Required. - *

The task's current schedule time, available in the + * @param scheduleTime Required. The task's current schedule time, available in the * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction @@ -2639,8 +2612,7 @@ public final UnaryCallable cancelLeaseCallable() { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2689,8 +2661,7 @@ public final Task runTask(TaskName name) { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java index 2ce486d8fb7b..6f2d85e692e3 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java @@ -176,8 +176,8 @@ public CloudTasksStub getStub() { * } * * - * @param parent Required. - *

The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` + * @param parent Required. The location name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListQueuesPagedResponse listQueues(LocationName parent) { @@ -203,8 +203,8 @@ public final ListQueuesPagedResponse listQueues(LocationName parent) { * } * * - * @param parent Required. - *

The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` + * @param parent Required. The location name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListQueuesPagedResponse listQueues(String parent) { @@ -311,8 +311,7 @@ public final UnaryCallable listQueuesCall * } * * - * @param name Required. - *

The resource name of the queue. For example: + * @param name Required. The resource name of the queue. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -336,8 +335,7 @@ public final Queue getQueue(QueueName name) { * } * * - * @param name Required. - *

The resource name of the queue. For example: + * @param name Required. The resource name of the queue. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -413,13 +411,11 @@ public final UnaryCallable getQueueCallable() { * } * * - * @param parent Required. - *

The location name in which the queue will be created. For example: + * @param parent Required. The location name in which the queue will be created. For example: * `projects/PROJECT_ID/locations/LOCATION_ID` *

The list of allowed locations can be obtained by calling Cloud Tasks' implementation of * [ListLocations][google.cloud.location.Locations.ListLocations]. - * @param queue Required. - *

The queue to create. + * @param queue Required. The queue to create. *

[Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing * queue. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -455,13 +451,11 @@ public final Queue createQueue(LocationName parent, Queue queue) { * } * * - * @param parent Required. - *

The location name in which the queue will be created. For example: + * @param parent Required. The location name in which the queue will be created. For example: * `projects/PROJECT_ID/locations/LOCATION_ID` *

The list of allowed locations can be obtained by calling Cloud Tasks' implementation of * [ListLocations][google.cloud.location.Locations.ListLocations]. - * @param queue Required. - *

The queue to create. + * @param queue Required. The queue to create. *

[Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing * queue. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -559,8 +553,7 @@ public final UnaryCallable createQueueCallable() { * } * * - * @param queue Required. - *

The queue to create or update. + * @param queue Required. The queue to create or update. *

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 @@ -660,8 +653,8 @@ public final UnaryCallable updateQueueCallable() { * } * * - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteQueue(QueueName name) { @@ -692,8 +685,8 @@ public final void deleteQueue(QueueName name) { * } * * - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteQueue(String name) { @@ -781,8 +774,8 @@ public final UnaryCallable deleteQueueCallable() { * } * * - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue purgeQueue(QueueName name) { @@ -810,8 +803,8 @@ public final Queue purgeQueue(QueueName name) { * } * * - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue purgeQueue(String name) { @@ -894,8 +887,8 @@ public final UnaryCallable purgeQueueCallable() { * } * * - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue pauseQueue(QueueName name) { @@ -924,8 +917,8 @@ public final Queue pauseQueue(QueueName name) { * } * * - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue pauseQueue(String name) { @@ -1014,8 +1007,8 @@ public final UnaryCallable pauseQueueCallable() { * } * * - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue resumeQueue(QueueName name) { @@ -1048,8 +1041,8 @@ public final Queue resumeQueue(QueueName name) { * } * * - * @param name Required. - *

The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + * @param name Required. The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Queue resumeQueue(String name) { @@ -1545,8 +1538,8 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq * } * * - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTasksPagedResponse listTasks(QueueName parent) { @@ -1577,8 +1570,8 @@ public final ListTasksPagedResponse listTasks(QueueName parent) { * } * * - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTasksPagedResponse listTasks(String parent) { @@ -1700,8 +1693,7 @@ public final UnaryCallable listTasksCallabl * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1725,8 +1717,7 @@ public final Task getTask(TaskName name) { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1799,11 +1790,10 @@ public final UnaryCallable getTaskCallable() { * } * * - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` *

The queue must already exist. - * @param task Required. - *

The task to add. + * @param task Required. 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 @@ -1856,11 +1846,10 @@ public final Task createTask(QueueName parent, Task task) { * } * * - * @param parent Required. - *

The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * @param parent Required. The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` *

The queue must already exist. - * @param task Required. - *

The task to add. + * @param task Required. 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 @@ -1965,8 +1954,7 @@ public final UnaryCallable createTaskCallable() { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1993,8 +1981,7 @@ public final void deleteTask(TaskName name) { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2090,8 +2077,7 @@ public final UnaryCallable deleteTaskCallable() { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2137,8 +2123,7 @@ public final Task runTask(TaskName name) { * } * * - * @param name Required. - *

The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/google-cloud-clients/google-cloud-tasks/synth.metadata b/google-cloud-clients/google-cloud-tasks/synth.metadata index 96a54ba77d1e..66ed27705885 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-08-02T08:00:14.688184Z", + "updateTime": "2019-08-21T08:02:15.401377Z", "sources": [ { "generator": { "name": "artman", - "version": "0.32.0", - "dockerImage": "googleapis/artman@sha256:6929f343c400122d85818195b18613330a12a014bffc1e08499550d40571479d" + "version": "0.34.0", + "dockerImage": "googleapis/artman@sha256:38a27ba6245f96c3e86df7acb2ebcc33b4f186d9e475efe2d64303aec3d4e0ea" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1b1ef1ca146c2119f077bca5e2b638c6bacb0925", - "internalRef": "261214002" + "sha": "11592a15391951348a64f5c303399733b1c5b3b2", + "internalRef": "264425502" } } ],