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

    if (hasScheduleTime() != other.hasScheduleTime()) return false;
    if (hasScheduleTime()) {
      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
    }
    if (hasDispatchTime() != other.hasDispatchTime()) return false;
    if (hasDispatchTime()) {
      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
    }
    if (hasResponseTime() != other.hasResponseTime()) return false;
    if (hasResponseTime()) {
      if (!getResponseTime().equals(other.getResponseTime())) return false;
    }
    if (hasResponseStatus() != other.hasResponseStatus()) return false;
    if (hasResponseStatus()) {
      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. The response from the worker for this attempt.

If `response_time` is unset, then the task has not been attempted or is
currently running and the `response_status` field is meaningless.
</pre>

<code>.google.rpc.Status response_status = 4;</code>
java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java