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

    if (getPreemptible() != other.getPreemptible()) return false;
    if (getReserved() != other.getReserved()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Whether the node is created under a reservation.
</pre>

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

@return The reserved.
java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/SchedulingConfig.java