@java.lang.Override
    public long getTasksCount() {
      return tasksCount_;
    }
<pre>
Output only. An estimation of the number of tasks in the queue, that is,
the tasks in the queue that haven't been executed, the tasks in the queue
which the queue has dispatched but has not yet received a reply for, and
the failed tasks that the queue is retrying.
</pre>

<code>int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The tasksCount.
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java