@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)) {
      return super.equals(obj);
    }
    com.google.cloud.tpu.v2alpha1.QueuedResource other =
        (com.google.cloud.tpu.v2alpha1.QueuedResource) obj;

    if (!getName().equals(other.getName())) return false;
    if (hasCreateTime() != other.hasCreateTime()) return false;
    if (hasCreateTime()) {
      if (!getCreateTime().equals(other.getCreateTime())) return false;
    }
    if (hasQueueingPolicy() != other.hasQueueingPolicy()) return false;
    if (hasQueueingPolicy()) {
      if (!getQueueingPolicy().equals(other.getQueueingPolicy())) return false;
    }
    if (hasState() != other.hasState()) return false;
    if (hasState()) {
      if (!getState().equals(other.getState())) return false;
    }
    if (!getReservationName().equals(other.getReservationName())) return false;
    if (!getResourceCase().equals(other.getResourceCase())) return false;
    switch (resourceCase_) {
      case 2:
        if (!getTpu().equals(other.getTpu())) return false;
        break;
      case 0:
      default:
    }
    if (!getTierCase().equals(other.getTierCase())) return false;
    switch (tierCase_) {
      case 3:
        if (!getBestEffort().equals(other.getBestEffort())) return false;
        break;
      case 4:
        if (!getGuaranteed().equals(other.getGuaranteed())) return false;
        break;
      case 9:
        if (!getSpot().equals(other.getSpot())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Name of the reservation in which the resource should be provisioned.
Format: projects/{project}/locations/{zone}/reservations/{reservation}
</pre>

<code>string reservation_name = 8;</code>

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