@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (state_ != com.google.cloud.tpu.v2.QueuedResourceState.State.STATE_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
    }
    if (stateDataCase_ == 2) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              2, (com.google.cloud.tpu.v2.QueuedResourceState.CreatingData) stateData_);
    }
    if (stateDataCase_ == 3) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              3, (com.google.cloud.tpu.v2.QueuedResourceState.AcceptedData) stateData_);
    }
    if (stateDataCase_ == 4) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              4, (com.google.cloud.tpu.v2.QueuedResourceState.ProvisioningData) stateData_);
    }
    if (stateDataCase_ == 5) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              5, (com.google.cloud.tpu.v2.QueuedResourceState.FailedData) stateData_);
    }
    if (stateDataCase_ == 6) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              6, (com.google.cloud.tpu.v2.QueuedResourceState.DeletingData) stateData_);
    }
    if (stateDataCase_ == 7) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              7, (com.google.cloud.tpu.v2.QueuedResourceState.ActiveData) stateData_);
    }
    if (stateDataCase_ == 8) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              8, (com.google.cloud.tpu.v2.QueuedResourceState.SuspendingData) stateData_);
    }
    if (stateDataCase_ == 9) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              9, (com.google.cloud.tpu.v2.QueuedResourceState.SuspendedData) stateData_);
    }
    if (stateInitiator_
        != com.google.cloud.tpu.v2.QueuedResourceState.StateInitiator.STATE_INITIATOR_UNSPECIFIED
            .getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, stateInitiator_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Output only. The initiator of the QueuedResources's current state. Used to
indicate whether the SUSPENDING/SUSPENDED state was initiated by the user
or the service.
</pre>

<code>
.google.cloud.tpu.v2.QueuedResourceState.StateInitiator state_initiator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The stateInitiator.
java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/QueuedResourceState.java