@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (onHostMaintenance_
        != com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance
            .ON_HOST_MAINTENANCE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(1, onHostMaintenance_);
    }
    for (int i = 0; i < nodeAffinities_.size(); i++) {
      output.writeMessage(3, nodeAffinities_.get(i));
    }
    if (minNodeCpus_ != 0) {
      output.writeInt32(4, minNodeCpus_);
    }
    if (restartType_
        != com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.RESTART_TYPE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(5, restartType_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
The minimum number of virtual CPUs this instance will consume when
running on a sole-tenant node. Ignored if no node_affinites are
configured.
</pre>

<code>int32 min_node_cpus = 4;</code>

@return The minNodeCpus.
java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java