private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.vertexai.api.SpeculativeDecodingSpec.NgramSpeculation,
            com.google.cloud.vertexai.api.SpeculativeDecodingSpec.NgramSpeculation.Builder,
            com.google.cloud.vertexai.api.SpeculativeDecodingSpec.NgramSpeculationOrBuilder>
        getNgramSpeculationFieldBuilder() {
      if (ngramSpeculationBuilder_ == null) {
        if (!(speculationCase_ == 3)) {
          speculation_ =
              com.google.cloud.vertexai.api.SpeculativeDecodingSpec.NgramSpeculation
                  .getDefaultInstance();
        }
        ngramSpeculationBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.vertexai.api.SpeculativeDecodingSpec.NgramSpeculation,
                com.google.cloud.vertexai.api.SpeculativeDecodingSpec.NgramSpeculation.Builder,
                com.google.cloud.vertexai.api.SpeculativeDecodingSpec.NgramSpeculationOrBuilder>(
                (com.google.cloud.vertexai.api.SpeculativeDecodingSpec.NgramSpeculation)
                    speculation_,
                getParentForChildren(),
                isClean());
        speculation_ = null;
      }
      speculationCase_ = 3;
      onChanged();
      return ngramSpeculationBuilder_;
    }
<pre>
N-Gram speculation.
</pre>

<code>
.google.cloud.vertexai.v1.SpeculativeDecodingSpec.NgramSpeculation ngram_speculation = 3;
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SpeculativeDecodingSpec.java