@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (httpMethod_
        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
      output.writeEnum(1, httpMethod_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(2, getAppEngineRouting());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_);
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4);
    if (!body_.isEmpty()) {
      output.writeBytes(5, body_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
HTTP request body.

A request body is allowed only if the HTTP method is POST or PUT. It is
an error to set a body on a task with an incompatible
[HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
</pre>

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

@return The body.
java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java