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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, network_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subnetwork_);
    }
    if (enableExternalIps_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, enableExternalIps_);
    }
    if (canIpForward_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, canIpForward_);
    }
    if (queueCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, queueCount_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Optional. Specifies networking queue count for TPU VM instance's network
interface.
</pre>

<code>int32 queue_count = 6 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The queueCount.
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/NetworkConfig.java