@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.texttospeech.v1beta1.StreamingAudioConfig)) {
      return super.equals(obj);
    }
    com.google.cloud.texttospeech.v1beta1.StreamingAudioConfig other =
        (com.google.cloud.texttospeech.v1beta1.StreamingAudioConfig) obj;

    if (audioEncoding_ != other.audioEncoding_) return false;
    if (getSampleRateHertz() != other.getSampleRateHertz()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. The synthesis sample rate (in hertz) for this audio.
</pre>

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

@return The sampleRateHertz.
java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingAudioConfig.java