@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 (customCoreCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, customCoreCount_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Optional. Customized number of cores available to each node of the type.
This number must always be one of `nodeType.availableCustomCoreCounts`.
If zero is provided max value from `nodeType.availableCustomCoreCounts`
will be used.
</pre>

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

@return The customCoreCount.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeConfig.java