public interface SpeechContextOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPhrases(int index)
*Optional* A list of strings containing words and phrases "hints" so that
the speech recognition is more likely to recognize them.
|
ByteString |
getPhrasesBytes(int index)
*Optional* A list of strings containing words and phrases "hints" so that
the speech recognition is more likely to recognize them.
|
int |
getPhrasesCount()
*Optional* A list of strings containing words and phrases "hints" so that
the speech recognition is more likely to recognize them.
|
java.util.List<java.lang.String> |
getPhrasesList()
*Optional* A list of strings containing words and phrases "hints" so that
the speech recognition is more likely to recognize them.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.util.List<java.lang.String> getPhrasesList()
*Optional* A list of strings containing words and phrases "hints" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech/limits#content).
repeated string phrases = 1;
int getPhrasesCount()
*Optional* A list of strings containing words and phrases "hints" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech/limits#content).
repeated string phrases = 1;
java.lang.String getPhrases(int index)
*Optional* A list of strings containing words and phrases "hints" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech/limits#content).
repeated string phrases = 1;
ByteString getPhrasesBytes(int index)
*Optional* A list of strings containing words and phrases "hints" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech/limits#content).
repeated string phrases = 1;