Interface SpeechAdaptation.AdaptationPhraseSetOrBuilder (4.49.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
Type Description
PhraseSet

The inlinePhraseSet.

getInlinePhraseSetOrBuilder()

public abstract PhraseSetOrBuilder getInlinePhraseSetOrBuilder()

An inline defined PhraseSet.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for phraseSet.

getValueCase()

public abstract SpeechAdaptation.AdaptationPhraseSet.ValueCase getValueCase()
Returns
Type Description
SpeechAdaptation.AdaptationPhraseSet.ValueCase

hasInlinePhraseSet()

public abstract boolean hasInlinePhraseSet()

An inline defined PhraseSet.

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

Returns
Type Description
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
Type Description
boolean

Whether the phraseSet field is set.