public static com.google.apps.events.subscriptions.v1.CreateSubscriptionRequest parseFrom(
      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
<pre>
Optional. If set to `true`, validates and previews the request, but doesn't
create the subscription.
</pre>

<code>bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The validateOnly.
java-workspaceevents/proto-google-cloud-workspaceevents-v1/src/main/java/com/google/apps/events/subscriptions/v1/CreateSubscriptionRequest.java