public Builder mergeSpot(com.google.cloud.tpu.v2.QueuedResource.Spot value) {
      if (spotBuilder_ == null) {
        if (tierCase_ == 3
            && tier_ != com.google.cloud.tpu.v2.QueuedResource.Spot.getDefaultInstance()) {
          tier_ =
              com.google.cloud.tpu.v2.QueuedResource.Spot.newBuilder(
                      (com.google.cloud.tpu.v2.QueuedResource.Spot) tier_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          tier_ = value;
        }
        onChanged();
      } else {
        if (tierCase_ == 3) {
          spotBuilder_.mergeFrom(value);
        } else {
          spotBuilder_.setMessage(value);
        }
      }
      tierCase_ = 3;
      return this;
    }
<pre>
Optional. The Spot tier.
</pre>

<code>
.google.cloud.tpu.v2.QueuedResource.Spot spot = 3 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/QueuedResource.java