@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + MODEL_FIELD_NUMBER;
    hash = (53 * hash) + getModel().hashCode();
    if (getLanguageCodesCount() > 0) {
      hash = (37 * hash) + LANGUAGE_CODES_FIELD_NUMBER;
      hash = (53 * hash) + getLanguageCodesList().hashCode();
    }
    if (hasFeatures()) {
      hash = (37 * hash) + FEATURES_FIELD_NUMBER;
      hash = (53 * hash) + getFeatures().hashCode();
    }
    if (hasAdaptation()) {
      hash = (37 * hash) + ADAPTATION_FIELD_NUMBER;
      hash = (53 * hash) + getAdaptation().hashCode();
    }
    if (hasTranscriptNormalization()) {
      hash = (37 * hash) + TRANSCRIPT_NORMALIZATION_FIELD_NUMBER;
      hash = (53 * hash) + getTranscriptNormalization().hashCode();
    }
    if (hasTranslationConfig()) {
      hash = (37 * hash) + TRANSLATION_CONFIG_FIELD_NUMBER;
      hash = (53 * hash) + getTranslationConfig().hashCode();
    }
    switch (decodingConfigCase_) {
      case 7:
        hash = (37 * hash) + AUTO_DECODING_CONFIG_FIELD_NUMBER;
        hash = (53 * hash) + getAutoDecodingConfig().hashCode();
        break;
      case 8:
        hash = (37 * hash) + EXPLICIT_DECODING_CONFIG_FIELD_NUMBER;
        hash = (53 * hash) + getExplicitDecodingConfig().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<pre>
Optional. Optional configuration used to automatically run translation on
the given audio to the desired language for supported models.
</pre>

<code>
.google.cloud.speech.v2.TranslationConfig translation_config = 15 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/RecognitionConfig.java