@java.lang.Override
  public boolean hasDraftModelSpeculation() {
    return speculationCase_ == 2;
  }
<pre>
draft model speculation.
</pre>

<code>
.google.cloud.vertexai.v1.SpeculativeDecodingSpec.DraftModelSpeculation draft_model_speculation = 2;
</code>

@return Whether the draftModelSpeculation field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SpeculativeDecodingSpec.java