public Builder mergeFrom(
        com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig other) {
      if (other
          == com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig
              .getDefaultInstance()) return this;
      if (!other.getLanguageCode().isEmpty()) {
        languageCode_ = other.languageCode_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (other.getMaxAlternatives() != 0) {
        setMaxAlternatives(other.getMaxAlternatives());
      }
      if (other.getFilterProfanity() != false) {
        setFilterProfanity(other.getFilterProfanity());
      }
      if (speechContextsBuilder_ == null) {
        if (!other.speechContexts_.isEmpty()) {
          if (speechContexts_.isEmpty()) {
            speechContexts_ = other.speechContexts_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureSpeechContextsIsMutable();
            speechContexts_.addAll(other.speechContexts_);
          }
          onChanged();
        }
      } else {
        if (!other.speechContexts_.isEmpty()) {
          if (speechContextsBuilder_.isEmpty()) {
            speechContextsBuilder_.dispose();
            speechContextsBuilder_ = null;
            speechContexts_ = other.speechContexts_;
            bitField0_ = (bitField0_ & ~0x00000008);
            speechContextsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getSpeechContextsFieldBuilder()
                    : null;
          } else {
            speechContextsBuilder_.addAllMessages(other.speechContexts_);
          }
        }
      }
      if (other.getEnableAutomaticPunctuation() != false) {
        setEnableAutomaticPunctuation(other.getEnableAutomaticPunctuation());
      }
      if (!other.audioTracks_.isEmpty()) {
        if (audioTracks_.isEmpty()) {
          audioTracks_ = other.audioTracks_;
          audioTracks_.makeImmutable();
          bitField0_ |= 0x00000020;
        } else {
          ensureAudioTracksIsMutable();
          audioTracks_.addAll(other.audioTracks_);
        }
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Config for SPEECH_TRANSCRIPTION.
</pre>

Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig}
java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java