@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + ATTEMPT_DISPATCH_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + getAttemptDispatchCount();
    hash = (37 * hash) + ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + getAttemptResponseCount();
    if (hasFirstAttemptStatus()) {
      hash = (37 * hash) + FIRST_ATTEMPT_STATUS_FIELD_NUMBER;
      hash = (53 * hash) + getFirstAttemptStatus().hashCode();
    }
    if (hasLastAttemptStatus()) {
      hash = (37 * hash) + LAST_ATTEMPT_STATUS_FIELD_NUMBER;
      hash = (53 * hash) + getLastAttemptStatus().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<pre>
Output only. The status of the task's last attempt.

This field is not calculated for [pull
tasks][google.cloud.tasks.v2beta2.PullMessage].
</pre>

<code>.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;</code>
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java