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

      if (!getConfigCase().equals(other.getConfigCase())) return false;
      switch (configCase_) {
        case 1:
          if (!getGceInstance().equals(other.getGceInstance())) return false;
          break;
        case 0:
        default:
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Specifies a Compute Engine instance as the host.
</pre>

<code>.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance gce_instance = 1;
</code>
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/WorkstationConfig.java