public Builder clearNgramSpeculation() {
      if (ngramSpeculationBuilder_ == null) {
        if (speculationCase_ == 3) {
          speculationCase_ = 0;
          speculation_ = null;
          onChanged();
        }
      } else {
        if (speculationCase_ == 3) {
          speculationCase_ = 0;
          speculation_ = null;
        }
        ngramSpeculationBuilder_.clear();
      }
      return this;
    }
<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