- 4.48.0 (latest)
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
public static final class SpeechAdaptation.Builder extends GeneratedMessageV3.Builder<SpeechAdaptation.Builder> implements SpeechAdaptationOrBuilder
Speech adaptation configuration.
Protobuf type google.cloud.speech.v1.SpeechAdaptation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SpeechAdaptation.BuilderImplements
SpeechAdaptationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllCustomClasses(Iterable<? extends CustomClass> values)
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.v1.CustomClass custom_classes = 3;
Name | Description |
values | Iterable<? extends com.google.cloud.speech.v1.CustomClass> |
Type | Description |
SpeechAdaptation.Builder |
addAllPhraseSetReferences(Iterable<String> values)
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) = { ... }
Name | Description |
values | Iterable<String> The phraseSetReferences to add. |
Type | Description |
SpeechAdaptation.Builder | This builder for chaining. |
addAllPhraseSets(Iterable<? extends PhraseSet> values)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.speech.v1.PhraseSet> |
Type | Description |
SpeechAdaptation.Builder |
addCustomClasses(CustomClass value)
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.v1.CustomClass custom_classes = 3;
Name | Description |
value | CustomClass |
Type | Description |
SpeechAdaptation.Builder |
addCustomClasses(CustomClass.Builder builderForValue)
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.v1.CustomClass custom_classes = 3;
Name | Description |
builderForValue | CustomClass.Builder |
Type | Description |
SpeechAdaptation.Builder |
addCustomClasses(int index, CustomClass value)
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.v1.CustomClass custom_classes = 3;
Name | Description |
index | int |
value | CustomClass |
Type | Description |
SpeechAdaptation.Builder |
addCustomClasses(int index, CustomClass.Builder builderForValue)
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.v1.CustomClass custom_classes = 3;
Name | Description |
index | int |
builderForValue | CustomClass.Builder |
Type | Description |
SpeechAdaptation.Builder |
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.v1.CustomClass custom_classes = 3;
Type | Description |
CustomClass.Builder |
addCustomClassesBuilder(int index)
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.v1.CustomClass custom_classes = 3;
Name | Description |
index | int |
Type | Description |
CustomClass.Builder |
addPhraseSetReferences(String value)
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) = { ... }
Name | Description |
value | String The phraseSetReferences to add. |
Type | Description |
SpeechAdaptation.Builder | This builder for chaining. |
addPhraseSetReferencesBytes(ByteString value)
public SpeechAdaptation.Builder addPhraseSetReferencesBytes(ByteString value)
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes of the phraseSetReferences to add. |
Type | Description |
SpeechAdaptation.Builder | This builder for chaining. |
addPhraseSets(PhraseSet value)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
value | PhraseSet |
Type | Description |
SpeechAdaptation.Builder |
addPhraseSets(PhraseSet.Builder builderForValue)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
builderForValue | PhraseSet.Builder |
Type | Description |
SpeechAdaptation.Builder |
addPhraseSets(int index, PhraseSet value)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
index | int |
value | PhraseSet |
Type | Description |
SpeechAdaptation.Builder |
addPhraseSets(int index, PhraseSet.Builder builderForValue)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
index | int |
builderForValue | PhraseSet.Builder |
Type | Description |
SpeechAdaptation.Builder |
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.v1.PhraseSet phrase_sets = 1;
Type | Description |
PhraseSet.Builder |
addPhraseSetsBuilder(int index)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
index | int |
Type | Description |
PhraseSet.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SpeechAdaptation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SpeechAdaptation.Builder |
build()
public SpeechAdaptation build()
Type | Description |
SpeechAdaptation |
buildPartial()
public SpeechAdaptation buildPartial()
Type | Description |
SpeechAdaptation |
clear()
public SpeechAdaptation.Builder clear()
Type | Description |
SpeechAdaptation.Builder |
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.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
Type | Description |
SpeechAdaptation.Builder |
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.v1.CustomClass custom_classes = 3;
Type | Description |
SpeechAdaptation.Builder |
clearField(Descriptors.FieldDescriptor field)
public SpeechAdaptation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SpeechAdaptation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SpeechAdaptation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SpeechAdaptation.Builder |
clearPhraseSetReferences()
public SpeechAdaptation.Builder clearPhraseSetReferences()
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
SpeechAdaptation.Builder | This builder for chaining. |
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.v1.PhraseSet phrase_sets = 1;
Type | Description |
SpeechAdaptation.Builder |
clone()
public SpeechAdaptation.Builder clone()
Type | Description |
SpeechAdaptation.Builder |
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.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
Type | Description |
SpeechAdaptation.ABNFGrammar | The abnfGrammar. |
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.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
Type | Description |
SpeechAdaptation.ABNFGrammar.Builder |
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.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
Type | Description |
SpeechAdaptation.ABNFGrammarOrBuilder |
getCustomClasses(int index)
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.v1.CustomClass custom_classes = 3;
Name | Description |
index | int |
Type | Description |
CustomClass |
getCustomClassesBuilder(int index)
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.v1.CustomClass custom_classes = 3;
Name | Description |
index | int |
Type | Description |
CustomClass.Builder |
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.v1.CustomClass custom_classes = 3;
Type | Description |
List<Builder> |
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.v1.CustomClass custom_classes = 3;
Type | Description |
int |
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.v1.CustomClass custom_classes = 3;
Type | Description |
List<CustomClass> |
getCustomClassesOrBuilder(int index)
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.v1.CustomClass custom_classes = 3;
Name | Description |
index | int |
Type | Description |
CustomClassOrBuilder |
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.v1.CustomClass custom_classes = 3;
Type | Description |
List<? extends com.google.cloud.speech.v1.CustomClassOrBuilder> |
getDefaultInstanceForType()
public SpeechAdaptation getDefaultInstanceForType()
Type | Description |
SpeechAdaptation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPhraseSetReferences(int index)
public String getPhraseSetReferences(int index)
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The phraseSetReferences at the given index. |
getPhraseSetReferencesBytes(int index)
public ByteString getPhraseSetReferencesBytes(int index)
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the phraseSetReferences at the given index. |
getPhraseSetReferencesCount()
public int getPhraseSetReferencesCount()
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
int | The count of phraseSetReferences. |
getPhraseSetReferencesList()
public ProtocolStringList getPhraseSetReferencesList()
A collection of phrase set resource names to use.
repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
ProtocolStringList | A list containing the phraseSetReferences. |
getPhraseSets(int index)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
index | int |
Type | Description |
PhraseSet |
getPhraseSetsBuilder(int index)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
index | int |
Type | Description |
PhraseSet.Builder |
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.v1.PhraseSet phrase_sets = 1;
Type | Description |
List<Builder> |
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.v1.PhraseSet phrase_sets = 1;
Type | Description |
int |
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.v1.PhraseSet phrase_sets = 1;
Type | Description |
List<PhraseSet> |
getPhraseSetsOrBuilder(int index)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
index | int |
Type | Description |
PhraseSetOrBuilder |
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.v1.PhraseSet phrase_sets = 1;
Type | Description |
List<? extends com.google.cloud.speech.v1.PhraseSetOrBuilder> |
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.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
Type | Description |
boolean | Whether the abnfGrammar field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAbnfGrammar(SpeechAdaptation.ABNFGrammar value)
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.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
Name | Description |
value | SpeechAdaptation.ABNFGrammar |
Type | Description |
SpeechAdaptation.Builder |
mergeFrom(SpeechAdaptation other)
public SpeechAdaptation.Builder mergeFrom(SpeechAdaptation other)
Name | Description |
other | SpeechAdaptation |
Type | Description |
SpeechAdaptation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SpeechAdaptation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SpeechAdaptation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SpeechAdaptation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SpeechAdaptation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpeechAdaptation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SpeechAdaptation.Builder |
removeCustomClasses(int index)
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.v1.CustomClass custom_classes = 3;
Name | Description |
index | int |
Type | Description |
SpeechAdaptation.Builder |
removePhraseSets(int index)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
index | int |
Type | Description |
SpeechAdaptation.Builder |
setAbnfGrammar(SpeechAdaptation.ABNFGrammar value)
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.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
Name | Description |
value | SpeechAdaptation.ABNFGrammar |
Type | Description |
SpeechAdaptation.Builder |
setAbnfGrammar(SpeechAdaptation.ABNFGrammar.Builder builderForValue)
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.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
Name | Description |
builderForValue | SpeechAdaptation.ABNFGrammar.Builder |
Type | Description |
SpeechAdaptation.Builder |
setCustomClasses(int index, CustomClass value)
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.v1.CustomClass custom_classes = 3;
Name | Description |
index | int |
value | CustomClass |
Type | Description |
SpeechAdaptation.Builder |
setCustomClasses(int index, CustomClass.Builder builderForValue)
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.v1.CustomClass custom_classes = 3;
Name | Description |
index | int |
builderForValue | CustomClass.Builder |
Type | Description |
SpeechAdaptation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SpeechAdaptation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SpeechAdaptation.Builder |
setPhraseSetReferences(int index, String value)
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) = { ... }
Name | Description |
index | int The index to set the value at. |
value | String The phraseSetReferences to set. |
Type | Description |
SpeechAdaptation.Builder | This builder for chaining. |
setPhraseSets(int index, PhraseSet value)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
index | int |
value | PhraseSet |
Type | Description |
SpeechAdaptation.Builder |
setPhraseSets(int index, PhraseSet.Builder builderForValue)
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.v1.PhraseSet phrase_sets = 1;
Name | Description |
index | int |
builderForValue | PhraseSet.Builder |
Type | Description |
SpeechAdaptation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SpeechAdaptation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SpeechAdaptation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SpeechAdaptation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SpeechAdaptation.Builder |