public Builder setSampleRateHertz(int value) {

      sampleRateHertz_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Optional. The synthesis sample rate (in hertz) for this audio.
</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-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingAudioConfig.java