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

    if (!getParent().equals(other.getParent())) return false;
    if (!getWorkstationConfigId().equals(other.getWorkstationConfigId())) return false;
    if (hasWorkstationConfig() != other.hasWorkstationConfig()) return false;
    if (hasWorkstationConfig()) {
      if (!getWorkstationConfig().equals(other.getWorkstationConfig())) return false;
    }
    if (getValidateOnly() != other.getValidateOnly()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. If set, validate the request and preview the review, but do not
actually apply it.
</pre>

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

@return The validateOnly.
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/CreateWorkstationConfigRequest.java