Package com.google.cloud.texttospeech.v1
Interface CustomVoiceParamsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomVoiceParams,CustomVoiceParams.Builder
public interface CustomVoiceParamsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetModel()Required.com.google.protobuf.ByteStringgetModelBytes()Required.CustomVoiceParams.ReportedUsagegetReportedUsage()Optional.intgetReportedUsageValue()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getModel
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:
- The model.
-
getModelBytes
com.google.protobuf.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:
- The bytes for model.
-
getReportedUsageValue
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:
- The enum numeric value on the wire for reportedUsage.
-
getReportedUsage
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:
- The reportedUsage.
-
-