Package com.google.cloud.dialogflow.v2
Interface CustomPronunciationParamsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomPronunciationParams,CustomPronunciationParams.Builder
@Generated
public interface CustomPronunciationParamsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe phonetic encoding of the phrase.intThe phonetic encoding of the phrase.The phrase to which the customization is applied.com.google.protobuf.ByteStringThe phrase to which the customization is applied.The pronunciation of the phrase.com.google.protobuf.ByteStringThe pronunciation of the phrase.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPhrase
String getPhrase()The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
string phrase = 1;- Returns:
- The phrase.
-
getPhraseBytes
com.google.protobuf.ByteString getPhraseBytes()The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
string phrase = 1;- Returns:
- The bytes for phrase.
-
getPhoneticEncodingValue
int getPhoneticEncodingValue()The phonetic encoding of the phrase.
.google.cloud.dialogflow.v2.CustomPronunciationParams.PhoneticEncoding phonetic_encoding = 2;- Returns:
- The enum numeric value on the wire for phoneticEncoding.
-
getPhoneticEncoding
CustomPronunciationParams.PhoneticEncoding getPhoneticEncoding()The phonetic encoding of the phrase.
.google.cloud.dialogflow.v2.CustomPronunciationParams.PhoneticEncoding phonetic_encoding = 2;- Returns:
- The phoneticEncoding.
-
getPronunciation
String getPronunciation()The pronunciation of the phrase. This must be in the phonetic encoding specified above.
string pronunciation = 3;- Returns:
- The pronunciation.
-
getPronunciationBytes
com.google.protobuf.ByteString getPronunciationBytes()The pronunciation of the phrase. This must be in the phonetic encoding specified above.
string pronunciation = 3;- Returns:
- The bytes for pronunciation.
-