@java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8:
              {
                encoding_ = input.readEnum();
                bitField0_ |= 0x00000001;
                break;
              } // case 8
            case 16:
              {
                sampleRateHertz_ = input.readInt32();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
            case 26:
              {
                languageCode_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000010;
                break;
              } // case 26
            case 32:
              {
                maxAlternatives_ = input.readInt32();
                bitField0_ |= 0x00000040;
                break;
              } // case 32
            case 40:
              {
                profanityFilter_ = input.readBool();
                bitField0_ |= 0x00000080;
                break;
              } // case 40
            case 50:
              {
                com.google.cloud.speech.v1p1beta1.SpeechContext m =
                    input.readMessage(
                        com.google.cloud.speech.v1p1beta1.SpeechContext.parser(),
                        extensionRegistry);
                if (speechContextsBuilder_ == null) {
                  ensureSpeechContextsIsMutable();
                  speechContexts_.add(m);
                } else {
                  speechContextsBuilder_.addMessage(m);
                }
                break;
              } // case 50
            case 56:
              {
                audioChannelCount_ = input.readInt32();
                bitField0_ |= 0x00000004;
                break;
              } // case 56
            case 64:
              {
                enableWordTimeOffsets_ = input.readBool();
                bitField0_ |= 0x00000800;
                break;
              } // case 64
            case 74:
              {
                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00080000;
                break;
              } // case 74
            case 88:
              {
                enableAutomaticPunctuation_ = input.readBool();
                bitField0_ |= 0x00002000;
                break;
              } // case 88
            case 96:
              {
                enableSeparateRecognitionPerChannel_ = input.readBool();
                bitField0_ |= 0x00000008;
                break;
              } // case 96
            case 106:
              {
                model_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00100000;
                break;
              } // case 106
            case 112:
              {
                useEnhanced_ = input.readBool();
                bitField0_ |= 0x00200000;
                break;
              } // case 112
            case 120:
              {
                enableWordConfidence_ = input.readBool();
                bitField0_ |= 0x00001000;
                break;
              } // case 120
            case 128:
              {
                enableSpeakerDiarization_ = input.readBool();
                bitField0_ |= 0x00010000;
                break;
              } // case 128
            case 136:
              {
                diarizationSpeakerCount_ = input.readInt32();
                bitField0_ |= 0x00020000;
                break;
              } // case 136
            case 146:
              {
                java.lang.String s = input.readStringRequireUtf8();
                ensureAlternativeLanguageCodesIsMutable();
                alternativeLanguageCodes_.add(s);
                break;
              } // case 146
            case 154:
              {
                input.readMessage(
                    getDiarizationConfigFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00040000;
                break;
              } // case 154
            case 162:
              {
                input.readMessage(getAdaptationFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000100;
                break;
              } // case 162
            case 178:
              {
                input.readMessage(
                    getEnableSpokenPunctuationFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00004000;
                break;
              } // case 178
            case 186:
              {
                input.readMessage(
                    getEnableSpokenEmojisFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00008000;
                break;
              } // case 186
            case 194:
              {
                input.readMessage(
                    getTranscriptNormalizationFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000200;
                break;
              } // case 194
            default:
              {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
<pre>
Provides information to the recognizer that specifies how to process the
request.
</pre>

Protobuf type {@code google.cloud.speech.v1p1beta1.RecognitionConfig}
java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java