Interface SpeechAdaptationOrBuilder (4.25.0)

public interface SpeechAdaptationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomClasses(int index)

public abstract CustomClass getCustomClasses(int index)

A list of inline CustomClasses. Existing CustomClass resources can be referenced directly in a PhraseSet.

repeated .google.cloud.speech.v2.CustomClass custom_classes = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomClass

getCustomClassesCount()

public abstract int getCustomClassesCount()

A list of inline CustomClasses. Existing CustomClass resources can be referenced directly in a PhraseSet.

repeated .google.cloud.speech.v2.CustomClass custom_classes = 2;

Returns
TypeDescription
int

getCustomClassesList()

public abstract List<CustomClass> getCustomClassesList()

A list of inline CustomClasses. Existing CustomClass resources can be referenced directly in a PhraseSet.

repeated .google.cloud.speech.v2.CustomClass custom_classes = 2;

Returns
TypeDescription
List<CustomClass>

getCustomClassesOrBuilder(int index)

public abstract CustomClassOrBuilder getCustomClassesOrBuilder(int index)

A list of inline CustomClasses. Existing CustomClass resources can be referenced directly in a PhraseSet.

repeated .google.cloud.speech.v2.CustomClass custom_classes = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomClassOrBuilder

getCustomClassesOrBuilderList()

public abstract List<? extends CustomClassOrBuilder> getCustomClassesOrBuilderList()

A list of inline CustomClasses. Existing CustomClass resources can be referenced directly in a PhraseSet.

repeated .google.cloud.speech.v2.CustomClass custom_classes = 2;

Returns
TypeDescription
List<? extends com.google.cloud.speech.v2.CustomClassOrBuilder>

getPhraseSets(int index)

public abstract SpeechAdaptation.AdaptationPhraseSet getPhraseSets(int index)

A list of inline or referenced PhraseSets.

repeated .google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet phrase_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpeechAdaptation.AdaptationPhraseSet

getPhraseSetsCount()

public abstract int getPhraseSetsCount()

A list of inline or referenced PhraseSets.

repeated .google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet phrase_sets = 1;

Returns
TypeDescription
int

getPhraseSetsList()

public abstract List<SpeechAdaptation.AdaptationPhraseSet> getPhraseSetsList()

A list of inline or referenced PhraseSets.

repeated .google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet phrase_sets = 1;

Returns
TypeDescription
List<AdaptationPhraseSet>

getPhraseSetsOrBuilder(int index)

public abstract SpeechAdaptation.AdaptationPhraseSetOrBuilder getPhraseSetsOrBuilder(int index)

A list of inline or referenced PhraseSets.

repeated .google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet phrase_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpeechAdaptation.AdaptationPhraseSetOrBuilder

getPhraseSetsOrBuilderList()

public abstract List<? extends SpeechAdaptation.AdaptationPhraseSetOrBuilder> getPhraseSetsOrBuilderList()

A list of inline or referenced PhraseSets.

repeated .google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet phrase_sets = 1;

Returns
TypeDescription
List<? extends com.google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSetOrBuilder>