@java.lang.Override
    public com.google.cloud.vertexai.api.SpeculativeDecodingSpec.DraftModelSpeculationOrBuilder
        getDraftModelSpeculationOrBuilder() {
      if ((speculationCase_ == 2) && (draftModelSpeculationBuilder_ != null)) {
        return draftModelSpeculationBuilder_.getMessageOrBuilder();
      } else {
        if (speculationCase_ == 2) {
          return (com.google.cloud.vertexai.api.SpeculativeDecodingSpec.DraftModelSpeculation)
              speculation_;
        }
        return com.google.cloud.vertexai.api.SpeculativeDecodingSpec.DraftModelSpeculation
            .getDefaultInstance();
      }
    }
<pre>
draft model speculation.
</pre>

<code>
.google.cloud.vertexai.v1.SpeculativeDecodingSpec.DraftModelSpeculation draft_model_speculation = 2;
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SpeculativeDecodingSpec.java