private void buildPartialOneofs(com.google.cloud.tpu.v2.QueuedResourceState result) {
      result.stateDataCase_ = stateDataCase_;
      result.stateData_ = this.stateData_;
      if (stateDataCase_ == 2 && creatingDataBuilder_ != null) {
        result.stateData_ = creatingDataBuilder_.build();
      }
      if (stateDataCase_ == 3 && acceptedDataBuilder_ != null) {
        result.stateData_ = acceptedDataBuilder_.build();
      }
      if (stateDataCase_ == 4 && provisioningDataBuilder_ != null) {
        result.stateData_ = provisioningDataBuilder_.build();
      }
      if (stateDataCase_ == 5 && failedDataBuilder_ != null) {
        result.stateData_ = failedDataBuilder_.build();
      }
      if (stateDataCase_ == 6 && deletingDataBuilder_ != null) {
        result.stateData_ = deletingDataBuilder_.build();
      }
      if (stateDataCase_ == 7 && activeDataBuilder_ != null) {
        result.stateData_ = activeDataBuilder_.build();
      }
      if (stateDataCase_ == 8 && suspendingDataBuilder_ != null) {
        result.stateData_ = suspendingDataBuilder_.build();
      }
      if (stateDataCase_ == 9 && suspendedDataBuilder_ != null) {
        result.stateData_ = suspendedDataBuilder_.build();
      }
    }
<pre>
QueuedResourceState defines the details of the QueuedResource request.
</pre>

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