@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.tasks.v2beta2.Queue)) {
      return super.equals(obj);
    }
    com.google.cloud.tasks.v2beta2.Queue other = (com.google.cloud.tasks.v2beta2.Queue) obj;

    if (!getName().equals(other.getName())) return false;
    if (hasRateLimits() != other.hasRateLimits()) return false;
    if (hasRateLimits()) {
      if (!getRateLimits().equals(other.getRateLimits())) return false;
    }
    if (hasRetryConfig() != other.hasRetryConfig()) return false;
    if (hasRetryConfig()) {
      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
    }
    if (state_ != other.state_) return false;
    if (hasPurgeTime() != other.hasPurgeTime()) return false;
    if (hasPurgeTime()) {
      if (!getPurgeTime().equals(other.getPurgeTime())) return false;
    }
    if (hasTaskTtl() != other.hasTaskTtl()) return false;
    if (hasTaskTtl()) {
      if (!getTaskTtl().equals(other.getTaskTtl())) return false;
    }
    if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false;
    if (hasTombstoneTtl()) {
      if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false;
    }
    if (hasStats() != other.hasStats()) return false;
    if (hasStats()) {
      if (!getStats().equals(other.getStats())) return false;
    }
    if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false;
    switch (targetTypeCase_) {
      case 3:
        if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false;
        break;
      case 4:
        if (!getPullTarget().equals(other.getPullTarget())) return false;
        break;
      case 17:
        if (!getHttpTarget().equals(other.getHttpTarget())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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