@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.speech.v1.SpeechAdaptation)) {
      return super.equals(obj);
    }
    com.google.cloud.speech.v1.SpeechAdaptation other =
        (com.google.cloud.speech.v1.SpeechAdaptation) obj;

    if (!getPhraseSetsList().equals(other.getPhraseSetsList())) return false;
    if (!getPhraseSetReferencesList().equals(other.getPhraseSetReferencesList())) return false;
    if (!getCustomClassesList().equals(other.getCustomClassesList())) return false;
    if (hasAbnfGrammar() != other.hasAbnfGrammar()) return false;
    if (hasAbnfGrammar()) {
      if (!getAbnfGrammar().equals(other.getAbnfGrammar())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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