private void buildPartial0(
          com.google.cloud.vertexai.api.SpeculativeDecodingSpec.NgramSpeculation result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.ngramSize_ = ngramSize_;
        }
      }
<pre>
N-Gram speculation works by trying to find matching tokens in the
previous prompt sequence and use those as speculation for generating
new tokens.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.SpeculativeDecodingSpec.NgramSpeculation}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SpeculativeDecodingSpec.java