@java.lang.Override
    public int getSampleRateHertz() {
      return sampleRateHertz_;
    }
<pre>
Optional. The synthesis sample rate (in hertz) for this audio. When this is
specified in SynthesizeSpeechRequest, if this is different from the voice's
natural sample rate, then the synthesizer will honor this request by
converting to the desired sample rate (which might result in worse audio
quality), unless the specified sample rate is not supported for the
encoding chosen, in which case it will fail the request and return
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
</pre>

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

@return The sampleRateHertz.
java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfig.java