@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(2, getFeatures());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(6, getAdaptation());
    }
    if (decodingConfigCase_ == 7) {
      output.writeMessage(7, (com.google.cloud.speech.v2.AutoDetectDecodingConfig) decodingConfig_);
    }
    if (decodingConfigCase_ == 8) {
      output.writeMessage(8, (com.google.cloud.speech.v2.ExplicitDecodingConfig) decodingConfig_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, model_);
    }
    for (int i = 0; i < languageCodes_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, languageCodes_.getRaw(i));
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(11, getTranscriptNormalization());
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      output.writeMessage(15, getTranslationConfig());
    }
    getUnknownFields().writeTo(output);
  }
<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