@java.lang.Override
  public com.google.cloud.texttospeech.v1beta1.CustomPronunciationParams.PhoneticEncoding
      getPhoneticEncoding() {
    com.google.cloud.texttospeech.v1beta1.CustomPronunciationParams.PhoneticEncoding result =
        com.google.cloud.texttospeech.v1beta1.CustomPronunciationParams.PhoneticEncoding.forNumber(
            phoneticEncoding_);
    return result == null
        ? com.google.cloud.texttospeech.v1beta1.CustomPronunciationParams.PhoneticEncoding
            .UNRECOGNIZED
        : result;
  }
<pre>
The phonetic encoding of the phrase.
</pre>

<code>
optional .google.cloud.texttospeech.v1beta1.CustomPronunciationParams.PhoneticEncoding phonetic_encoding = 2;
</code>

@return The phoneticEncoding.
java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomPronunciationParams.java