@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (preemptible_ != false) {
      output.writeBool(1, preemptible_);
    }
    if (reserved_ != false) {
      output.writeBool(2, reserved_);
    }
    if (spot_ != false) {
      output.writeBool(3, spot_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. Defines whether the node is Spot VM.
</pre>

<code>bool spot = 3 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The spot.
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/SchedulingConfig.java