public Builder setPayload(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      payload_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
<pre>
A data payload consumed by the worker to execute the task.
</pre>

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

@param value The payload to set.
@return This builder for chaining.
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java