@java.lang.Override
    public com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu getTpu() {
      if (tpuBuilder_ == null) {
        if (resourceCase_ == 2) {
          return (com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu) resource_;
        }
        return com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.getDefaultInstance();
      } else {
        if (resourceCase_ == 2) {
          return tpuBuilder_.getMessage();
        }
        return com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.getDefaultInstance();
      }
    }
<pre>
Defines a TPU resource.
</pre>

<code>.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;</code>

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