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
Modifier and TypeMethodDescriptionAn inline defined PhraseSet.An inline defined PhraseSet.The name of an existing PhraseSet resource.com.google.protobuf.ByteStringThe name of an existing PhraseSet resource.booleanAn inline defined PhraseSet.booleanThe name of an existing PhraseSet resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()
-