public Builder setPhoneticEncoding(
        com.google.cloud.texttospeech.v1beta1.CustomPronunciationParams.PhoneticEncoding value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000002;
      phoneticEncoding_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
The phonetic encoding of the phrase.
</pre>

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

@param value The phoneticEncoding to set.
@return This builder for chaining.
java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomPronunciationParams.java