@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    if (hasCreateTime()) {
      hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getCreateTime().hashCode();
    }
    if (hasQueueingPolicy()) {
      hash = (37 * hash) + QUEUEING_POLICY_FIELD_NUMBER;
      hash = (53 * hash) + getQueueingPolicy().hashCode();
    }
    if (hasState()) {
      hash = (37 * hash) + STATE_FIELD_NUMBER;
      hash = (53 * hash) + getState().hashCode();
    }
    hash = (37 * hash) + RESERVATION_NAME_FIELD_NUMBER;
    hash = (53 * hash) + getReservationName().hashCode();
    switch (resourceCase_) {
      case 2:
        hash = (37 * hash) + TPU_FIELD_NUMBER;
        hash = (53 * hash) + getTpu().hashCode();
        break;
      case 0:
      default:
    }
    switch (tierCase_) {
      case 3:
        hash = (37 * hash) + SPOT_FIELD_NUMBER;
        hash = (53 * hash) + getSpot().hashCode();
        break;
      case 4:
        hash = (37 * hash) + GUARANTEED_FIELD_NUMBER;
        hash = (53 * hash) + getGuaranteed().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<pre>
Optional. Name of the reservation in which the resource should be
provisioned. Format:
projects/{project}/locations/{zone}/reservations/{reservation}
</pre>

<code>string reservation_name = 7 [(.google.api.field_behavior) = OPTIONAL];</code>

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