@java.lang.Override
  public com.google.cloud.tpu.v2.QueuedResource.TpuOrBuilder getTpuOrBuilder() {
    if (resourceCase_ == 2) {
      return (com.google.cloud.tpu.v2.QueuedResource.Tpu) resource_;
    }
    return com.google.cloud.tpu.v2.QueuedResource.Tpu.getDefaultInstance();
  }
<pre>
Optional. Defines a TPU resource.
</pre>

<code>
.google.cloud.tpu.v2.QueuedResource.Tpu tpu = 2 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/QueuedResource.java