@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    for (int i = 0; i < phraseSets_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, phraseSets_.get(i));
    }
    {
      int dataSize = 0;
      for (int i = 0; i < phraseSetReferences_.size(); i++) {
        dataSize += computeStringSizeNoTag(phraseSetReferences_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getPhraseSetReferencesList().size();
    }
    for (int i = 0; i < customClasses_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, customClasses_.get(i));
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAbnfGrammar());
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Augmented Backus-Naur form (ABNF) is a standardized grammar notation
comprised by a set of derivation rules.
See specifications: https://www.w3.org/TR/speech-grammar
</pre>

<code>.google.cloud.speech.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;</code>
java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechAdaptation.java