Interface SpeechAdaptationOrBuilder (4.38.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSetOrBuilder>