Interface SpeechContextOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SpeechContext, SpeechContext.Builder

    public interface SpeechContextOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      com.google.protobuf.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.
      List<String> getPhrasesList()
      *Optional* A list of strings containing words and phrases "hints" so that the speech recognition is more likely to recognize them.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getPhrasesList

        List<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;
      • getPhrasesCount

        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;
      • getPhrases

        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;
      • getPhrasesBytes

        com.google.protobuf.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;