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

      if (!getPath().equals(other.getPath())) return false;
      if (getPort() != other.getPort()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Optional. Port to which the request should be sent.
</pre>

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

@return The port.
java-workstations/proto-google-cloud-workstations-v1beta/src/main/java/com/google/cloud/workstations/v1beta/WorkstationConfig.java