Interface SpeechAdaptation.AdaptationPhraseSetOrBuilder (4.28.0)

public static interface SpeechAdaptation.AdaptationPhraseSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInlinePhraseSet()

public abstract PhraseSet getInlinePhraseSet()

An inline defined PhraseSet.

.google.cloud.speech.v2.PhraseSet inline_phrase_set = 2;

Returns
TypeDescription
PhraseSet

The inlinePhraseSet.

getInlinePhraseSetOrBuilder()

public abstract PhraseSetOrBuilder getInlinePhraseSetOrBuilder()

An inline defined PhraseSet.

.google.cloud.speech.v2.PhraseSet inline_phrase_set = 2;

Returns
TypeDescription
PhraseSetOrBuilder

getPhraseSet()

public abstract String getPhraseSet()

The name of an existing PhraseSet resource. The user must have read access to the resource and it must not be deleted.

string phrase_set = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The phraseSet.

getPhraseSetBytes()

public abstract ByteString getPhraseSetBytes()

The name of an existing PhraseSet resource. The user must have read access to the resource and it must not be deleted.

string phrase_set = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for phraseSet.

getValueCase()

public abstract SpeechAdaptation.AdaptationPhraseSet.ValueCase getValueCase()
Returns
TypeDescription
SpeechAdaptation.AdaptationPhraseSet.ValueCase

hasInlinePhraseSet()

public abstract boolean hasInlinePhraseSet()

An inline defined PhraseSet.

.google.cloud.speech.v2.PhraseSet inline_phrase_set = 2;

Returns
TypeDescription
boolean

Whether the inlinePhraseSet field is set.

hasPhraseSet()

public abstract boolean hasPhraseSet()

The name of an existing PhraseSet resource. The user must have read access to the resource and it must not be deleted.

string phrase_set = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the phraseSet field is set.