@java.lang.Override
    public com.google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits getCapacityUnits() {
      com.google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits result =
          com.google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits.forNumber(
              capacityUnits_);
      return result == null
          ? com.google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits.UNRECOGNIZED
          : result;
    }
<pre>
Capacity units this reservation is measured in.
</pre>

<code>.google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits capacity_units = 2;
</code>

@return The capacityUnits.
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/Reservation.java