@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vmwareengine.v1.CreatePrivateCloudRequest)) {
      return super.equals(obj);
    }
    com.google.cloud.vmwareengine.v1.CreatePrivateCloudRequest other =
        (com.google.cloud.vmwareengine.v1.CreatePrivateCloudRequest) obj;

    if (!getParent().equals(other.getParent())) return false;
    if (!getPrivateCloudId().equals(other.getPrivateCloudId())) return false;
    if (hasPrivateCloud() != other.hasPrivateCloud()) return false;
    if (hasPrivateCloud()) {
      if (!getPrivateCloud().equals(other.getPrivateCloud())) return false;
    }
    if (!getRequestId().equals(other.getRequestId())) return false;
    if (getValidateOnly() != other.getValidateOnly()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. True if you want the request to be validated and not executed;
false otherwise.
</pre>

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

@return The validateOnly.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/CreatePrivateCloudRequest.java