public Builder setSampleRateHertz(int value) {

      sampleRateHertz_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Optional. Sample rate in Hertz of the audio data sent for recognition.
Valid values are: 8000-48000. 16000 is optimal. For best results, set the
sampling rate of the audio source to 16000 Hz. If that's not possible, use
the native sample rate of the audio source (instead of re-sampling).
Note that this field is marked as OPTIONAL for backward compatibility
reasons. It is (and has always been) effectively REQUIRED.
</pre>

<code>int32 sample_rate_hertz = 2 [(.google.api.field_behavior) = OPTIONAL];</code>

@param value The sampleRateHertz to set.
@return This builder for chaining.
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/ExplicitDecodingConfig.java