public Builder setPayloadOptions(com.google.apps.events.subscriptions.v1.PayloadOptions value) {
      if (payloadOptionsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        payloadOptions_ = value;
      } else {
        payloadOptionsBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
<pre>
Optional. Options about what data to include in the event payload. Only
supported for Google Chat events.
</pre>

<code>
.google.apps.events.subscriptions.v1.PayloadOptions payload_options = 6 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-workspaceevents/proto-google-cloud-workspaceevents-v1/src/main/java/com/google/apps/events/subscriptions/v1/Subscription.java