@java.lang.Override
    public boolean hasPhoneticEncoding() {
      return ((bitField0_ & 0x00000002) != 0);
    }
<pre>
The phonetic encoding of the phrase.
</pre>

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

@return Whether the phoneticEncoding field is set.
java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomPronunciationParams.java