Class SpeechConfig.Builder (3.56.0)

public static final class SpeechConfig.Builder extends GeneratedMessageV3.Builder<SpeechConfig.Builder> implements SpeechConfigOrBuilder

The speech generation config.

Protobuf type google.cloud.aiplatform.v1beta1.SpeechConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SpeechConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SpeechConfig.Builder
Overrides

build()

public SpeechConfig build()
Returns
Type Description
SpeechConfig

buildPartial()

public SpeechConfig buildPartial()
Returns
Type Description
SpeechConfig

clear()

public SpeechConfig.Builder clear()
Returns
Type Description
SpeechConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SpeechConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SpeechConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SpeechConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SpeechConfig.Builder
Overrides

clearVoiceConfig()

public SpeechConfig.Builder clearVoiceConfig()

The configuration for the speaker to use.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 1;

Returns
Type Description
SpeechConfig.Builder

clone()

public SpeechConfig.Builder clone()
Returns
Type Description
SpeechConfig.Builder
Overrides

getDefaultInstanceForType()

public SpeechConfig getDefaultInstanceForType()
Returns
Type Description
SpeechConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVoiceConfig()

public VoiceConfig getVoiceConfig()

The configuration for the speaker to use.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 1;

Returns
Type Description
VoiceConfig

The voiceConfig.

getVoiceConfigBuilder()

public VoiceConfig.Builder getVoiceConfigBuilder()

The configuration for the speaker to use.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 1;

Returns
Type Description
VoiceConfig.Builder

getVoiceConfigOrBuilder()

public VoiceConfigOrBuilder getVoiceConfigOrBuilder()

The configuration for the speaker to use.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 1;

Returns
Type Description
VoiceConfigOrBuilder

hasVoiceConfig()

public boolean hasVoiceConfig()

The configuration for the speaker to use.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 1;

Returns
Type Description
boolean

Whether the voiceConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SpeechConfig other)

public SpeechConfig.Builder mergeFrom(SpeechConfig other)
Parameter
Name Description
other SpeechConfig
Returns
Type Description
SpeechConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SpeechConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpeechConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SpeechConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SpeechConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpeechConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SpeechConfig.Builder
Overrides

mergeVoiceConfig(VoiceConfig value)

public SpeechConfig.Builder mergeVoiceConfig(VoiceConfig value)

The configuration for the speaker to use.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 1;

Parameter
Name Description
value VoiceConfig
Returns
Type Description
SpeechConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SpeechConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SpeechConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SpeechConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SpeechConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SpeechConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SpeechConfig.Builder
Overrides

setVoiceConfig(VoiceConfig value)

public SpeechConfig.Builder setVoiceConfig(VoiceConfig value)

The configuration for the speaker to use.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 1;

Parameter
Name Description
value VoiceConfig
Returns
Type Description
SpeechConfig.Builder

setVoiceConfig(VoiceConfig.Builder builderForValue)

public SpeechConfig.Builder setVoiceConfig(VoiceConfig.Builder builderForValue)

The configuration for the speaker to use.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 1;

Parameter
Name Description
builderForValue VoiceConfig.Builder
Returns
Type Description
SpeechConfig.Builder