Class SpeechAdaptation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
- com.google.cloud.speech.v1p1beta1.SpeechAdaptation.Builder
-
- All Implemented Interfaces:
SpeechAdaptationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- SpeechAdaptation
public static final class SpeechAdaptation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder> implements SpeechAdaptationOrBuilder
Speech adaptation configuration.
Protobuf typegoogle.cloud.speech.v1p1beta1.SpeechAdaptation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SpeechAdaptation.Builder
addAllCustomClasses(Iterable<? extends CustomClass> values)
A collection of custom classes.SpeechAdaptation.Builder
addAllPhraseSetReferences(Iterable<String> values)
A collection of phrase set resource names to use.SpeechAdaptation.Builder
addAllPhraseSets(Iterable<? extends PhraseSet> values)
A collection of phrase sets.SpeechAdaptation.Builder
addCustomClasses(int index, CustomClass value)
A collection of custom classes.SpeechAdaptation.Builder
addCustomClasses(int index, CustomClass.Builder builderForValue)
A collection of custom classes.SpeechAdaptation.Builder
addCustomClasses(CustomClass value)
A collection of custom classes.SpeechAdaptation.Builder
addCustomClasses(CustomClass.Builder builderForValue)
A collection of custom classes.CustomClass.Builder
addCustomClassesBuilder()
A collection of custom classes.CustomClass.Builder
addCustomClassesBuilder(int index)
A collection of custom classes.SpeechAdaptation.Builder
addPhraseSetReferences(String value)
A collection of phrase set resource names to use.SpeechAdaptation.Builder
addPhraseSetReferencesBytes(com.google.protobuf.ByteString value)
A collection of phrase set resource names to use.SpeechAdaptation.Builder
addPhraseSets(int index, PhraseSet value)
A collection of phrase sets.SpeechAdaptation.Builder
addPhraseSets(int index, PhraseSet.Builder builderForValue)
A collection of phrase sets.SpeechAdaptation.Builder
addPhraseSets(PhraseSet value)
A collection of phrase sets.SpeechAdaptation.Builder
addPhraseSets(PhraseSet.Builder builderForValue)
A collection of phrase sets.PhraseSet.Builder
addPhraseSetsBuilder()
A collection of phrase sets.PhraseSet.Builder
addPhraseSetsBuilder(int index)
A collection of phrase sets.SpeechAdaptation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SpeechAdaptation
build()
SpeechAdaptation
buildPartial()
SpeechAdaptation.Builder
clear()
SpeechAdaptation.Builder
clearAbnfGrammar()
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.SpeechAdaptation.Builder
clearCustomClasses()
A collection of custom classes.SpeechAdaptation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SpeechAdaptation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SpeechAdaptation.Builder
clearPhraseSetReferences()
A collection of phrase set resource names to use.SpeechAdaptation.Builder
clearPhraseSets()
A collection of phrase sets.SpeechAdaptation.Builder
clone()
SpeechAdaptation.ABNFGrammar
getAbnfGrammar()
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.SpeechAdaptation.ABNFGrammar.Builder
getAbnfGrammarBuilder()
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.SpeechAdaptation.ABNFGrammarOrBuilder
getAbnfGrammarOrBuilder()
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.CustomClass
getCustomClasses(int index)
A collection of custom classes.CustomClass.Builder
getCustomClassesBuilder(int index)
A collection of custom classes.List<CustomClass.Builder>
getCustomClassesBuilderList()
A collection of custom classes.int
getCustomClassesCount()
A collection of custom classes.List<CustomClass>
getCustomClassesList()
A collection of custom classes.CustomClassOrBuilder
getCustomClassesOrBuilder(int index)
A collection of custom classes.List<? extends CustomClassOrBuilder>
getCustomClassesOrBuilderList()
A collection of custom classes.SpeechAdaptation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getPhraseSetReferences(int index)
A collection of phrase set resource names to use.com.google.protobuf.ByteString
getPhraseSetReferencesBytes(int index)
A collection of phrase set resource names to use.int
getPhraseSetReferencesCount()
A collection of phrase set resource names to use.com.google.protobuf.ProtocolStringList
getPhraseSetReferencesList()
A collection of phrase set resource names to use.PhraseSet
getPhraseSets(int index)
A collection of phrase sets.PhraseSet.Builder
getPhraseSetsBuilder(int index)
A collection of phrase sets.List<PhraseSet.Builder>
getPhraseSetsBuilderList()
A collection of phrase sets.int
getPhraseSetsCount()
A collection of phrase sets.List<PhraseSet>
getPhraseSetsList()
A collection of phrase sets.PhraseSetOrBuilder
getPhraseSetsOrBuilder(int index)
A collection of phrase sets.List<? extends PhraseSetOrBuilder>
getPhraseSetsOrBuilderList()
A collection of phrase sets.boolean
hasAbnfGrammar()
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SpeechAdaptation.Builder
mergeAbnfGrammar(SpeechAdaptation.ABNFGrammar value)
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.SpeechAdaptation.Builder
mergeFrom(SpeechAdaptation other)
SpeechAdaptation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SpeechAdaptation.Builder
mergeFrom(com.google.protobuf.Message other)
SpeechAdaptation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SpeechAdaptation.Builder
removeCustomClasses(int index)
A collection of custom classes.SpeechAdaptation.Builder
removePhraseSets(int index)
A collection of phrase sets.SpeechAdaptation.Builder
setAbnfGrammar(SpeechAdaptation.ABNFGrammar value)
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.SpeechAdaptation.Builder
setAbnfGrammar(SpeechAdaptation.ABNFGrammar.Builder builderForValue)
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules.SpeechAdaptation.Builder
setCustomClasses(int index, CustomClass value)
A collection of custom classes.SpeechAdaptation.Builder
setCustomClasses(int index, CustomClass.Builder builderForValue)
A collection of custom classes.SpeechAdaptation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SpeechAdaptation.Builder
setPhraseSetReferences(int index, String value)
A collection of phrase set resource names to use.SpeechAdaptation.Builder
setPhraseSets(int index, PhraseSet value)
A collection of phrase sets.SpeechAdaptation.Builder
setPhraseSets(int index, PhraseSet.Builder builderForValue)
A collection of phrase sets.SpeechAdaptation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SpeechAdaptation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
clear
public SpeechAdaptation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
getDefaultInstanceForType
public SpeechAdaptation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SpeechAdaptation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SpeechAdaptation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SpeechAdaptation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
setField
public SpeechAdaptation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
clearField
public SpeechAdaptation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
clearOneof
public SpeechAdaptation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
setRepeatedField
public SpeechAdaptation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
addRepeatedField
public SpeechAdaptation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
mergeFrom
public SpeechAdaptation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SpeechAdaptation.Builder>
-
mergeFrom
public SpeechAdaptation.Builder mergeFrom(SpeechAdaptation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
mergeFrom
public SpeechAdaptation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SpeechAdaptation.Builder>
- Throws:
IOException
-
getPhraseSetsList
public List<PhraseSet> getPhraseSetsList()
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
- Specified by:
getPhraseSetsList
in interfaceSpeechAdaptationOrBuilder
-
getPhraseSetsCount
public int getPhraseSetsCount()
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
- Specified by:
getPhraseSetsCount
in interfaceSpeechAdaptationOrBuilder
-
getPhraseSets
public PhraseSet getPhraseSets(int index)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
- Specified by:
getPhraseSets
in interfaceSpeechAdaptationOrBuilder
-
setPhraseSets
public SpeechAdaptation.Builder setPhraseSets(int index, PhraseSet value)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
setPhraseSets
public SpeechAdaptation.Builder setPhraseSets(int index, PhraseSet.Builder builderForValue)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
addPhraseSets
public SpeechAdaptation.Builder addPhraseSets(PhraseSet value)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
addPhraseSets
public SpeechAdaptation.Builder addPhraseSets(int index, PhraseSet value)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
addPhraseSets
public SpeechAdaptation.Builder addPhraseSets(PhraseSet.Builder builderForValue)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
addPhraseSets
public SpeechAdaptation.Builder addPhraseSets(int index, PhraseSet.Builder builderForValue)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
addAllPhraseSets
public SpeechAdaptation.Builder addAllPhraseSets(Iterable<? extends PhraseSet> values)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
clearPhraseSets
public SpeechAdaptation.Builder clearPhraseSets()
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
removePhraseSets
public SpeechAdaptation.Builder removePhraseSets(int index)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
getPhraseSetsBuilder
public PhraseSet.Builder getPhraseSetsBuilder(int index)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
getPhraseSetsOrBuilder
public PhraseSetOrBuilder getPhraseSetsOrBuilder(int index)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
- Specified by:
getPhraseSetsOrBuilder
in interfaceSpeechAdaptationOrBuilder
-
getPhraseSetsOrBuilderList
public List<? extends PhraseSetOrBuilder> getPhraseSetsOrBuilderList()
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
- Specified by:
getPhraseSetsOrBuilderList
in interfaceSpeechAdaptationOrBuilder
-
addPhraseSetsBuilder
public PhraseSet.Builder addPhraseSetsBuilder()
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
addPhraseSetsBuilder
public PhraseSet.Builder addPhraseSetsBuilder(int index)
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
getPhraseSetsBuilderList
public List<PhraseSet.Builder> getPhraseSetsBuilderList()
A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.
repeated .google.cloud.speech.v1p1beta1.PhraseSet phrase_sets = 1;
-
getPhraseSetReferencesList
public com.google.protobuf.ProtocolStringList getPhraseSetReferencesList()
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
- Specified by:
getPhraseSetReferencesList
in interfaceSpeechAdaptationOrBuilder
- Returns:
- A list containing the phraseSetReferences.
-
getPhraseSetReferencesCount
public int getPhraseSetReferencesCount()
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
- Specified by:
getPhraseSetReferencesCount
in interfaceSpeechAdaptationOrBuilder
- Returns:
- The count of phraseSetReferences.
-
getPhraseSetReferences
public String getPhraseSetReferences(int index)
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
- Specified by:
getPhraseSetReferences
in interfaceSpeechAdaptationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The phraseSetReferences at the given index.
-
getPhraseSetReferencesBytes
public com.google.protobuf.ByteString getPhraseSetReferencesBytes(int index)
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
- Specified by:
getPhraseSetReferencesBytes
in interfaceSpeechAdaptationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the phraseSetReferences at the given index.
-
setPhraseSetReferences
public SpeechAdaptation.Builder setPhraseSetReferences(int index, String value)
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
- Parameters:
index
- The index to set the value at.value
- The phraseSetReferences to set.- Returns:
- This builder for chaining.
-
addPhraseSetReferences
public SpeechAdaptation.Builder addPhraseSetReferences(String value)
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The phraseSetReferences to add.- Returns:
- This builder for chaining.
-
addAllPhraseSetReferences
public SpeechAdaptation.Builder addAllPhraseSetReferences(Iterable<String> values)
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
- Parameters:
values
- The phraseSetReferences to add.- Returns:
- This builder for chaining.
-
clearPhraseSetReferences
public SpeechAdaptation.Builder clearPhraseSetReferences()
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
addPhraseSetReferencesBytes
public SpeechAdaptation.Builder addPhraseSetReferencesBytes(com.google.protobuf.ByteString value)
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes of the phraseSetReferences to add.- Returns:
- This builder for chaining.
-
getCustomClassesList
public List<CustomClass> getCustomClassesList()
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
- Specified by:
getCustomClassesList
in interfaceSpeechAdaptationOrBuilder
-
getCustomClassesCount
public int getCustomClassesCount()
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
- Specified by:
getCustomClassesCount
in interfaceSpeechAdaptationOrBuilder
-
getCustomClasses
public CustomClass getCustomClasses(int index)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
- Specified by:
getCustomClasses
in interfaceSpeechAdaptationOrBuilder
-
setCustomClasses
public SpeechAdaptation.Builder setCustomClasses(int index, CustomClass value)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
setCustomClasses
public SpeechAdaptation.Builder setCustomClasses(int index, CustomClass.Builder builderForValue)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
addCustomClasses
public SpeechAdaptation.Builder addCustomClasses(CustomClass value)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
addCustomClasses
public SpeechAdaptation.Builder addCustomClasses(int index, CustomClass value)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
addCustomClasses
public SpeechAdaptation.Builder addCustomClasses(CustomClass.Builder builderForValue)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
addCustomClasses
public SpeechAdaptation.Builder addCustomClasses(int index, CustomClass.Builder builderForValue)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
addAllCustomClasses
public SpeechAdaptation.Builder addAllCustomClasses(Iterable<? extends CustomClass> values)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
clearCustomClasses
public SpeechAdaptation.Builder clearCustomClasses()
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
removeCustomClasses
public SpeechAdaptation.Builder removeCustomClasses(int index)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
getCustomClassesBuilder
public CustomClass.Builder getCustomClassesBuilder(int index)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
getCustomClassesOrBuilder
public CustomClassOrBuilder getCustomClassesOrBuilder(int index)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
- Specified by:
getCustomClassesOrBuilder
in interfaceSpeechAdaptationOrBuilder
-
getCustomClassesOrBuilderList
public List<? extends CustomClassOrBuilder> getCustomClassesOrBuilderList()
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
- Specified by:
getCustomClassesOrBuilderList
in interfaceSpeechAdaptationOrBuilder
-
addCustomClassesBuilder
public CustomClass.Builder addCustomClassesBuilder()
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
addCustomClassesBuilder
public CustomClass.Builder addCustomClassesBuilder(int index)
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
getCustomClassesBuilderList
public List<CustomClass.Builder> getCustomClassesBuilderList()
A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 3;
-
hasAbnfGrammar
public boolean hasAbnfGrammar()
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
- Specified by:
hasAbnfGrammar
in interfaceSpeechAdaptationOrBuilder
- Returns:
- Whether the abnfGrammar field is set.
-
getAbnfGrammar
public SpeechAdaptation.ABNFGrammar getAbnfGrammar()
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
- Specified by:
getAbnfGrammar
in interfaceSpeechAdaptationOrBuilder
- Returns:
- The abnfGrammar.
-
setAbnfGrammar
public SpeechAdaptation.Builder setAbnfGrammar(SpeechAdaptation.ABNFGrammar value)
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
-
setAbnfGrammar
public SpeechAdaptation.Builder setAbnfGrammar(SpeechAdaptation.ABNFGrammar.Builder builderForValue)
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
-
mergeAbnfGrammar
public SpeechAdaptation.Builder mergeAbnfGrammar(SpeechAdaptation.ABNFGrammar value)
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
-
clearAbnfGrammar
public SpeechAdaptation.Builder clearAbnfGrammar()
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
-
getAbnfGrammarBuilder
public SpeechAdaptation.ABNFGrammar.Builder getAbnfGrammarBuilder()
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
-
getAbnfGrammarOrBuilder
public SpeechAdaptation.ABNFGrammarOrBuilder getAbnfGrammarOrBuilder()
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
.google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
- Specified by:
getAbnfGrammarOrBuilder
in interfaceSpeechAdaptationOrBuilder
-
setUnknownFields
public final SpeechAdaptation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
mergeUnknownFields
public final SpeechAdaptation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SpeechAdaptation.Builder>
-
-