@java.lang.Override
        public void writeTo(com.google.protobuf.CodedOutputStream output)
            throws java.io.IOException {
          if (nodeCount_ != 0) {
            output.writeInt32(1, nodeCount_);
          }
          if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeIdPrefix_)) {
            com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nodeIdPrefix_);
          }
          if (workloadType_
              != com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec.MultiNodeParams
                  .WorkloadType.WORKLOAD_TYPE_UNSPECIFIED
                  .getNumber()) {
            output.writeEnum(4, workloadType_);
          }
          getUnknownFields().writeTo(output);
        }
<pre>
Optional. The workload type for the multi-node request.
</pre>

<code>
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec.MultiNodeParams.WorkloadType workload_type = 4 [(.google.api.field_behavior) = OPTIONAL];
</code>

@return The workloadType.
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResource.java