@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    if (hasRateLimits()) {
      hash = (37 * hash) + RATE_LIMITS_FIELD_NUMBER;
      hash = (53 * hash) + getRateLimits().hashCode();
    }
    if (hasRetryConfig()) {
      hash = (37 * hash) + RETRY_CONFIG_FIELD_NUMBER;
      hash = (53 * hash) + getRetryConfig().hashCode();
    }
    hash = (37 * hash) + STATE_FIELD_NUMBER;
    hash = (53 * hash) + state_;
    if (hasPurgeTime()) {
      hash = (37 * hash) + PURGE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getPurgeTime().hashCode();
    }
    if (hasTaskTtl()) {
      hash = (37 * hash) + TASK_TTL_FIELD_NUMBER;
      hash = (53 * hash) + getTaskTtl().hashCode();
    }
    if (hasTombstoneTtl()) {
      hash = (37 * hash) + TOMBSTONE_TTL_FIELD_NUMBER;
      hash = (53 * hash) + getTombstoneTtl().hashCode();
    }
    if (hasStats()) {
      hash = (37 * hash) + STATS_FIELD_NUMBER;
      hash = (53 * hash) + getStats().hashCode();
    }
    switch (targetTypeCase_) {
      case 3:
        hash = (37 * hash) + APP_ENGINE_HTTP_TARGET_FIELD_NUMBER;
        hash = (53 * hash) + getAppEngineHttpTarget().hashCode();
        break;
      case 4:
        hash = (37 * hash) + PULL_TARGET_FIELD_NUMBER;
        hash = (53 * hash) + getPullTarget().hashCode();
        break;
      case 17:
        hash = (37 * hash) + HTTP_TARGET_FIELD_NUMBER;
        hash = (53 * hash) + getHttpTarget().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<pre>
Output only. The realtime, informational statistics for a queue. In order
to receive the statistics the caller should include this field in the
FieldMask.
</pre>

<code>
.google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java