Interface CustomVoiceParamsOrBuilder (2.16.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()

public abstract CustomVoiceParams.ReportedUsage getReportedUsage()

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

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

Returns
TypeDescription
CustomVoiceParams.ReportedUsage

The reportedUsage.

getReportedUsageValue()

public abstract int getReportedUsageValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for reportedUsage.