Class VoiceConfig.Builder (3.56.0)

public static final class VoiceConfig.Builder extends GeneratedMessageV3.Builder<VoiceConfig.Builder> implements VoiceConfigOrBuilder

The configuration for the voice to use.

Protobuf type google.cloud.aiplatform.v1beta1.VoiceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VoiceConfig build()
Returns
Type Description
VoiceConfig

buildPartial()

public VoiceConfig buildPartial()
Returns
Type Description
VoiceConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrebuiltVoiceConfig()

public VoiceConfig.Builder clearPrebuiltVoiceConfig()

The configuration for the prebuilt voice to use.

.google.cloud.aiplatform.v1beta1.PrebuiltVoiceConfig prebuilt_voice_config = 1;

Returns
Type Description
VoiceConfig.Builder

clearVoiceConfig()

public VoiceConfig.Builder clearVoiceConfig()
Returns
Type Description
VoiceConfig.Builder

clone()

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

getDefaultInstanceForType()

public VoiceConfig getDefaultInstanceForType()
Returns
Type Description
VoiceConfig

getDescriptorForType()

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

getPrebuiltVoiceConfig()

public PrebuiltVoiceConfig getPrebuiltVoiceConfig()

The configuration for the prebuilt voice to use.

.google.cloud.aiplatform.v1beta1.PrebuiltVoiceConfig prebuilt_voice_config = 1;

Returns
Type Description
PrebuiltVoiceConfig

The prebuiltVoiceConfig.

getPrebuiltVoiceConfigBuilder()

public PrebuiltVoiceConfig.Builder getPrebuiltVoiceConfigBuilder()

The configuration for the prebuilt voice to use.

.google.cloud.aiplatform.v1beta1.PrebuiltVoiceConfig prebuilt_voice_config = 1;

Returns
Type Description
PrebuiltVoiceConfig.Builder

getPrebuiltVoiceConfigOrBuilder()

public PrebuiltVoiceConfigOrBuilder getPrebuiltVoiceConfigOrBuilder()

The configuration for the prebuilt voice to use.

.google.cloud.aiplatform.v1beta1.PrebuiltVoiceConfig prebuilt_voice_config = 1;

Returns
Type Description
PrebuiltVoiceConfigOrBuilder

getVoiceConfigCase()

public VoiceConfig.VoiceConfigCase getVoiceConfigCase()
Returns
Type Description
VoiceConfig.VoiceConfigCase

hasPrebuiltVoiceConfig()

public boolean hasPrebuiltVoiceConfig()

The configuration for the prebuilt voice to use.

.google.cloud.aiplatform.v1beta1.PrebuiltVoiceConfig prebuilt_voice_config = 1;

Returns
Type Description
boolean

Whether the prebuiltVoiceConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VoiceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePrebuiltVoiceConfig(PrebuiltVoiceConfig value)

public VoiceConfig.Builder mergePrebuiltVoiceConfig(PrebuiltVoiceConfig value)

The configuration for the prebuilt voice to use.

.google.cloud.aiplatform.v1beta1.PrebuiltVoiceConfig prebuilt_voice_config = 1;

Parameter
Name Description
value PrebuiltVoiceConfig
Returns
Type Description
VoiceConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPrebuiltVoiceConfig(PrebuiltVoiceConfig value)

public VoiceConfig.Builder setPrebuiltVoiceConfig(PrebuiltVoiceConfig value)

The configuration for the prebuilt voice to use.

.google.cloud.aiplatform.v1beta1.PrebuiltVoiceConfig prebuilt_voice_config = 1;

Parameter
Name Description
value PrebuiltVoiceConfig
Returns
Type Description
VoiceConfig.Builder

setPrebuiltVoiceConfig(PrebuiltVoiceConfig.Builder builderForValue)

public VoiceConfig.Builder setPrebuiltVoiceConfig(PrebuiltVoiceConfig.Builder builderForValue)

The configuration for the prebuilt voice to use.

.google.cloud.aiplatform.v1beta1.PrebuiltVoiceConfig prebuilt_voice_config = 1;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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