public Builder setValidateOnly(boolean value) {

      validateOnly_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
If set, validate the request and preview the deleted CustomClass, but do
not actually delete it.
</pre>

<code>bool validate_only = 2;</code>

@param value The validateOnly to set.
@return This builder for chaining.
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/DeleteCustomClassRequest.java