Interface CustomVoiceParamsOrBuilder (2.56.0)

public interface CustomVoiceParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModel()

public abstract String getModel()

Required. The name of the AutoML model that synthesizes the custom voice.

string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The model.

getModelBytes()

public abstract ByteString getModelBytes()

Required. The name of the AutoML model that synthesizes the custom voice.

string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for model.

getReportedUsage() (deprecated)

public abstract CustomVoiceParams.ReportedUsage getReportedUsage()

Deprecated. google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=397

Optional. Deprecated. The usage of the synthesized audio to be reported.

.google.cloud.texttospeech.v1beta1.CustomVoiceParams.ReportedUsage reported_usage = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomVoiceParams.ReportedUsage

The reportedUsage.

getReportedUsageValue() (deprecated)

public abstract int getReportedUsageValue()

Deprecated. google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=397

Optional. Deprecated. The usage of the synthesized audio to be reported.

.google.cloud.texttospeech.v1beta1.CustomVoiceParams.ReportedUsage reported_usage = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for reportedUsage.