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

    if (httpMethod_ != other.httpMethod_) return false;
    if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false;
    if (hasAppEngineRouting()) {
      if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false;
    }
    if (!getRelativeUrl().equals(other.getRelativeUrl())) return false;
    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
    if (!getPayload().equals(other.getPayload())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Payload.

The payload will be sent as the HTTP message body. A message
body, and thus a payload, is allowed only if the HTTP method is
POST or PUT. It is an error to set a data payload on a task with
an incompatible [HttpMethod][google.cloud.tasks.v2beta2.HttpMethod].
</pre>

<code>bytes payload = 5;</code>

@return The payload.
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java