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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SpeechToTextSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SpeechToTextSettings build()
buildPartial()
public SpeechToTextSettings buildPartial()
clear()
public SpeechToTextSettings.Builder clear()
Overrides
clearEnableSpeechAdaptation()
public SpeechToTextSettings.Builder clearEnableSpeechAdaptation()
Whether to use speech adaptation for speech recognition.
bool enable_speech_adaptation = 1;
clearField(Descriptors.FieldDescriptor field)
public SpeechToTextSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SpeechToTextSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SpeechToTextSettings.Builder clone()
Overrides
getDefaultInstanceForType()
public SpeechToTextSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SpeechToTextSettings other)
public SpeechToTextSettings.Builder mergeFrom(SpeechToTextSettings other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SpeechToTextSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SpeechToTextSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpeechToTextSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SpeechToTextSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SpeechToTextSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SpeechToTextSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides