Package com.google.cloud.speech.v1
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 Summary
Modifier and TypeMethodDescriptionAugmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.getCustomClasses(int index) A collection of custom classes.intA collection of custom classes.A collection of custom classes.getCustomClassesOrBuilder(int index) A collection of custom classes.List<? extends CustomClassOrBuilder>A collection of custom classes.getPhraseSetReferences(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.intA collection of phrase set resource names to use.A collection of phrase set resource names to use.getPhraseSets(int index) A collection of phrase sets.intA collection of phrase sets.A collection of phrase sets.getPhraseSetsOrBuilder(int index) A collection of phrase sets.List<? extends PhraseSetOrBuilder>A collection of phrase sets.booleanAugmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.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
-
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
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
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
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
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
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
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
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.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;
-