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

      if (hasMinDuration() != other.hasMinDuration()) return false;
      if (hasMinDuration()) {
        if (!getMinDuration().equals(other.getMinDuration())) return false;
      }
      if (getReserved() != other.getReserved()) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Optional. Specifies the request should be scheduled on reserved capacity.
</pre>

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

@return The reserved.
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResource.java