public Builder setBody(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      body_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
<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.v2.HttpMethod].
</pre>

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

@param value The body to set.
@return This builder for chaining.
java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java