public static final class SpeechToTextSettings.Builder extends GeneratedMessageV3.Builder<SpeechToTextSettings.Builder> implements SpeechToTextSettingsOrBuilder
Settings related to speech recognition.
Protobuf type google.cloud.dialogflow.cx.v3.SpeechToTextSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SpeechToTextSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SpeechToTextSettings build()
Returns
buildPartial()
public SpeechToTextSettings buildPartial()
Returns
clear()
public SpeechToTextSettings.Builder clear()
Returns
Overrides
clearEnableSpeechAdaptation()
public SpeechToTextSettings.Builder clearEnableSpeechAdaptation()
Whether to use speech adaptation for speech recognition.
bool enable_speech_adaptation = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public SpeechToTextSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SpeechToTextSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SpeechToTextSettings.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SpeechToTextSettings getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnableSpeechAdaptation()
public boolean getEnableSpeechAdaptation()
Whether to use speech adaptation for speech recognition.
bool enable_speech_adaptation = 1;
Returns
Type |
Description |
boolean |
The enableSpeechAdaptation.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SpeechToTextSettings other)
public SpeechToTextSettings.Builder mergeFrom(SpeechToTextSettings other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SpeechToTextSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SpeechToTextSettings.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpeechToTextSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEnableSpeechAdaptation(boolean value)
public SpeechToTextSettings.Builder setEnableSpeechAdaptation(boolean value)
Whether to use speech adaptation for speech recognition.
bool enable_speech_adaptation = 1;
Parameter
Name |
Description |
value |
boolean
The enableSpeechAdaptation to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SpeechToTextSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SpeechToTextSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SpeechToTextSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides