Interface CustomVoiceParamsOrBuilder (2.42.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
TypeDescription
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
TypeDescription
ByteString

The bytes for model.

getReportedUsage() (deprecated)

public abstract CustomVoiceParams.ReportedUsage getReportedUsage()

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

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

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

Returns
TypeDescription
CustomVoiceParams.ReportedUsage

The reportedUsage.

getReportedUsageValue() (deprecated)

public abstract int getReportedUsageValue()

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

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for reportedUsage.