Interface SpeechAdaptationOrBuilder

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

@Generated public interface SpeechAdaptationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getPhraseSetsList

      List<PhraseSet> getPhraseSetsList()
       A collection of phrase sets. To specify the hints inline, leave the
       phrase set's `name` blank and fill in the rest of its fields. Any
       phrase set can use any custom class.
       
      repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
    • getPhraseSets

      PhraseSet getPhraseSets(int index)
       A collection of phrase sets. To specify the hints inline, leave the
       phrase set's `name` blank and fill in the rest of its fields. Any
       phrase set can use any custom class.
       
      repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
    • getPhraseSetsCount

      int getPhraseSetsCount()
       A collection of phrase sets. To specify the hints inline, leave the
       phrase set's `name` blank and fill in the rest of its fields. Any
       phrase set can use any custom class.
       
      repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
    • getPhraseSetsOrBuilderList

      List<? extends PhraseSetOrBuilder> getPhraseSetsOrBuilderList()
       A collection of phrase sets. To specify the hints inline, leave the
       phrase set's `name` blank and fill in the rest of its fields. Any
       phrase set can use any custom class.
       
      repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
    • getPhraseSetsOrBuilder

      PhraseSetOrBuilder getPhraseSetsOrBuilder(int index)
       A collection of phrase sets. To specify the hints inline, leave the
       phrase set's `name` blank and fill in the rest of its fields. Any
       phrase set can use any custom class.
       
      repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
    • getPhraseSetReferencesList

      List<String> getPhraseSetReferencesList()
       A collection of phrase set resource names to use.
       
      repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      A list containing the phraseSetReferences.
    • getPhraseSetReferencesCount

      int getPhraseSetReferencesCount()
       A collection of phrase set resource names to use.
       
      repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The count of phraseSetReferences.
    • getPhraseSetReferences

      String getPhraseSetReferences(int index)
       A collection of phrase set resource names to use.
       
      repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The phraseSetReferences at the given index.
    • getPhraseSetReferencesBytes

      com.google.protobuf.ByteString getPhraseSetReferencesBytes(int index)
       A collection of phrase set resource names to use.
       
      repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the phraseSetReferences at the given index.
    • getCustomClassesList

      List<CustomClass> getCustomClassesList()
       A collection of custom classes. To specify the classes inline, leave the
       class' `name` blank and fill in the rest of its fields, giving it a unique
       `custom_class_id`. Refer to the inline defined class in phrase hints by its
       `custom_class_id`.
       
      repeated .google.cloud.speech.v1.CustomClass custom_classes = 3;
    • getCustomClasses

      CustomClass getCustomClasses(int index)
       A collection of custom classes. To specify the classes inline, leave the
       class' `name` blank and fill in the rest of its fields, giving it a unique
       `custom_class_id`. Refer to the inline defined class in phrase hints by its
       `custom_class_id`.
       
      repeated .google.cloud.speech.v1.CustomClass custom_classes = 3;
    • getCustomClassesCount

      int getCustomClassesCount()
       A collection of custom classes. To specify the classes inline, leave the
       class' `name` blank and fill in the rest of its fields, giving it a unique
       `custom_class_id`. Refer to the inline defined class in phrase hints by its
       `custom_class_id`.
       
      repeated .google.cloud.speech.v1.CustomClass custom_classes = 3;
    • getCustomClassesOrBuilderList

      List<? extends CustomClassOrBuilder> getCustomClassesOrBuilderList()
       A collection of custom classes. To specify the classes inline, leave the
       class' `name` blank and fill in the rest of its fields, giving it a unique
       `custom_class_id`. Refer to the inline defined class in phrase hints by its
       `custom_class_id`.
       
      repeated .google.cloud.speech.v1.CustomClass custom_classes = 3;
    • getCustomClassesOrBuilder

      CustomClassOrBuilder getCustomClassesOrBuilder(int index)
       A collection of custom classes. To specify the classes inline, leave the
       class' `name` blank and fill in the rest of its fields, giving it a unique
       `custom_class_id`. Refer to the inline defined class in phrase hints by its
       `custom_class_id`.
       
      repeated .google.cloud.speech.v1.CustomClass custom_classes = 3;
    • hasAbnfGrammar

      boolean hasAbnfGrammar()
       Augmented Backus-Naur form (ABNF) is a standardized grammar notation
       comprised by a set of derivation rules.
       See specifications: https://www.w3.org/TR/speech-grammar
       
      .google.cloud.speech.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
      Returns:
      Whether the abnfGrammar field is set.
    • getAbnfGrammar

       Augmented Backus-Naur form (ABNF) is a standardized grammar notation
       comprised by a set of derivation rules.
       See specifications: https://www.w3.org/TR/speech-grammar
       
      .google.cloud.speech.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
      Returns:
      The abnfGrammar.
    • getAbnfGrammarOrBuilder

      SpeechAdaptation.ABNFGrammarOrBuilder getAbnfGrammarOrBuilder()
       Augmented Backus-Naur form (ABNF) is a standardized grammar notation
       comprised by a set of derivation rules.
       See specifications: https://www.w3.org/TR/speech-grammar
       
      .google.cloud.speech.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;