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

    if (!getName().equals(other.getName())) return false;
    if (hasScheduleTime() != other.hasScheduleTime()) return false;
    if (hasScheduleTime()) {
      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
    }
    if (hasCreateTime() != other.hasCreateTime()) return false;
    if (hasCreateTime()) {
      if (!getCreateTime().equals(other.getCreateTime())) return false;
    }
    if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false;
    if (hasDispatchDeadline()) {
      if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false;
    }
    if (getDispatchCount() != other.getDispatchCount()) return false;
    if (getResponseCount() != other.getResponseCount()) return false;
    if (hasFirstAttempt() != other.hasFirstAttempt()) return false;
    if (hasFirstAttempt()) {
      if (!getFirstAttempt().equals(other.getFirstAttempt())) return false;
    }
    if (hasLastAttempt() != other.hasLastAttempt()) return false;
    if (hasLastAttempt()) {
      if (!getLastAttempt().equals(other.getLastAttempt())) return false;
    }
    if (view_ != other.view_) return false;
    if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false;
    switch (payloadTypeCase_) {
      case 3:
        if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false;
        break;
      case 11:
        if (!getHttpRequest().equals(other.getHttpRequest())) return false;
        break;
      case 13:
        if (!getPullMessage().equals(other.getPullMessage())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. The view specifies which subset of the
[Task][google.cloud.tasks.v2beta3.Task] has been returned.
</pre>

<code>.google.cloud.tasks.v2beta3.Task.View view = 10;</code>

@return The view.
java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java