Package com.google.cloud.speech.v2
Interface SpeechAdaptation.AdaptationPhraseSetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SpeechAdaptation.AdaptationPhraseSet
,SpeechAdaptation.AdaptationPhraseSet.Builder
- Enclosing class:
- SpeechAdaptation
public static interface SpeechAdaptation.AdaptationPhraseSetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PhraseSet
getInlinePhraseSet()
An inline defined PhraseSet.PhraseSetOrBuilder
getInlinePhraseSetOrBuilder()
An inline defined PhraseSet.String
getPhraseSet()
The name of an existing PhraseSet resource.com.google.protobuf.ByteString
getPhraseSetBytes()
The name of an existing PhraseSet resource.SpeechAdaptation.AdaptationPhraseSet.ValueCase
getValueCase()
boolean
hasInlinePhraseSet()
An inline defined PhraseSet.boolean
hasPhraseSet()
The name of an existing PhraseSet resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPhraseSet
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:
- Whether the phraseSet field is set.
-
getPhraseSet
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:
- The phraseSet.
-
getPhraseSetBytes
com.google.protobuf.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:
- The bytes for phraseSet.
-
hasInlinePhraseSet
boolean hasInlinePhraseSet()
An inline defined PhraseSet.
.google.cloud.speech.v2.PhraseSet inline_phrase_set = 2;
- Returns:
- Whether the inlinePhraseSet field is set.
-
getInlinePhraseSet
PhraseSet getInlinePhraseSet()
An inline defined PhraseSet.
.google.cloud.speech.v2.PhraseSet inline_phrase_set = 2;
- Returns:
- The inlinePhraseSet.
-
getInlinePhraseSetOrBuilder
PhraseSetOrBuilder getInlinePhraseSetOrBuilder()
An inline defined PhraseSet.
.google.cloud.speech.v2.PhraseSet inline_phrase_set = 2;
-
getValueCase
SpeechAdaptation.AdaptationPhraseSet.ValueCase getValueCase()
-
-