Interface SpeechAdaptationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SpeechAdaptation,SpeechAdaptation.Builder
public interface SpeechAdaptationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpeechAdaptation.ABNFGrammargetAbnfGrammar()Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.SpeechAdaptation.ABNFGrammarOrBuildergetAbnfGrammarOrBuilder()Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.CustomClassgetCustomClasses(int index)A collection of custom classes.intgetCustomClassesCount()A collection of custom classes.List<CustomClass>getCustomClassesList()A collection of custom classes.CustomClassOrBuildergetCustomClassesOrBuilder(int index)A collection of custom classes.List<? extends CustomClassOrBuilder>getCustomClassesOrBuilderList()A collection of custom classes.StringgetPhraseSetReferences(int index)A collection of phrase set resource names to use.com.google.protobuf.ByteStringgetPhraseSetReferencesBytes(int index)A collection of phrase set resource names to use.intgetPhraseSetReferencesCount()A collection of phrase set resource names to use.List<String>getPhraseSetReferencesList()A collection of phrase set resource names to use.PhraseSetgetPhraseSets(int index)A collection of phrase sets.intgetPhraseSetsCount()A collection of phrase sets.List<PhraseSet>getPhraseSetsList()A collection of phrase sets.PhraseSetOrBuildergetPhraseSetsOrBuilder(int index)A collection of phrase sets.List<? extends PhraseSetOrBuilder>getPhraseSetsOrBuilderList()A collection of phrase sets.booleanhasAbnfGrammar()Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;- Returns:
- Whether the abnfGrammar field is set.
-
getAbnfGrammar
SpeechAdaptation.ABNFGrammar 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.v1p1beta1.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.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
-
-