private void buildPartialOneofs(com.google.cloud.tpu.v2alpha1.QueuedResource result) {
      result.resourceCase_ = resourceCase_;
      result.resource_ = this.resource_;
      if (resourceCase_ == 2 && tpuBuilder_ != null) {
        result.resource_ = tpuBuilder_.build();
      }
      result.tierCase_ = tierCase_;
      result.tier_ = this.tier_;
      if (tierCase_ == 3 && bestEffortBuilder_ != null) {
        result.tier_ = bestEffortBuilder_.build();
      }
      if (tierCase_ == 4 && guaranteedBuilder_ != null) {
        result.tier_ = guaranteedBuilder_.build();
      }
      if (tierCase_ == 9 && spotBuilder_ != null) {
        result.tier_ = spotBuilder_.build();
      }
    }
<pre>
A QueuedResource represents a request for resources that will be placed
in a queue and fulfilled when the necessary resources are available.
</pre>

Protobuf type {@code google.cloud.tpu.v2alpha1.QueuedResource}
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResource.java