public Builder mergeTpu(com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu value) {
      if (tpuBuilder_ == null) {
        if (resourceCase_ == 2
            && resource_ != com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.getDefaultInstance()) {
          resource_ =
              com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.newBuilder(
                      (com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu) resource_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          resource_ = value;
        }
        onChanged();
      } else {
        if (resourceCase_ == 2) {
          tpuBuilder_.mergeFrom(value);
        } else {
          tpuBuilder_.setMessage(value);
        }
      }
      resourceCase_ = 2;
      return this;
    }
<pre>
Defines a TPU resource.
</pre>

<code>.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;</code>
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResource.java