@java.lang.Override
  public boolean hasAdaptation() {
    return ((bitField0_ & 0x00000002) != 0);
  }
<pre>
Speech adaptation context that weights recognizer predictions for specific
words and phrases.
</pre>

<code>.google.cloud.speech.v2.SpeechAdaptation adaptation = 6;</code>

@return Whether the adaptation field is set.
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/RecognitionConfig.java