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

          size = 0;
          if (nodeCount_ != 0) {
            size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, nodeCount_);
          }
          if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeIdPrefix_)) {
            size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nodeIdPrefix_);
          }
          if (workloadType_
              != com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec.MultiNodeParams
                  .WorkloadType.WORKLOAD_TYPE_UNSPECIFIED
                  .getNumber()) {
            size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, workloadType_);
          }
          size += getUnknownFields().getSerializedSize();
          memoizedSize = size;
          return size;
        }
<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