Class VoiceEnrollmentParam
java.lang.Object
com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
com.alibaba.dashscope.legacy_2x.audio.ttsv2.enrollment.VoiceEnrollmentParam
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classVoiceEnrollmentParam.VoiceEnrollmentParamBuilder<C extends VoiceEnrollmentParam,B extends VoiceEnrollmentParam.VoiceEnrollmentParamBuilder<C, B>> Deprecated.Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
HalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C extends HalfDuplexServiceParam,B extends HalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C, B>> Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C extends HalfDuplexParamBase,B extends HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C, B>> -
Field Summary
Fields inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
headers, parameters -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated.protectedDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic VoiceEnrollmentParam.VoiceEnrollmentParamBuilder<?,?> builder()Deprecated.protected booleanDeprecated.booleanDeprecated.getAudio()Deprecated.Deprecated.Get the binary data, only websocket, if no binary data, return null.com.google.gson.JsonObjectDeprecated.Get the batch request data.com.google.gson.JsonObjectgetInput()Deprecated.Get the request input data.Deprecated.floatDeprecated.Maximum length of prompt audio in seconds.Deprecated.intDeprecated.intDeprecated.Deprecated.Deprecated.getUrl()Deprecated.Deprecated.inthashCode()Deprecated.voidDeprecated.voidsetLanguageHints(List<String> languageHints) Deprecated.voidsetMaxPromptAudioLength(float maxPromptAudioLength) Deprecated.Maximum length of prompt audio in seconds.voidsetOperationType(VoiceEnrollmentOperationType operationType) Deprecated.voidsetPageIndex(int pageIndex) Deprecated.voidsetPageSize(int pageSize) Deprecated.voidDeprecated.voidsetTargetModel(String targetModel) Deprecated.voidDeprecated.voidsetVoiceId(String voiceId) Deprecated.toString()Deprecated.voidvalidate()Deprecated.Validate the input and parameters.Methods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
getHeaders, getModel, getParameters, getResources, putHeaderMethods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
getApiKey, getEnableEncrypt, getWorkspace, isSecurityCheck, setApiKey, setEnableEncrypt, setHeaders, setParameters, setSecurityCheck, setWorkspace, shouldSerializeExplicitNulls
-
Constructor Details
-
VoiceEnrollmentParam
Deprecated. -
VoiceEnrollmentParam
Deprecated.
-
-
Method Details
-
getHttpBody
public com.google.gson.JsonObject getHttpBody()Deprecated.Description copied from class:HalfDuplexParamBaseGet the batch request data. Http body include {"model": "model_name", "input": "input data", "parameters": "The request parameters"}- Specified by:
getHttpBodyin classHalfDuplexParamBase- Returns:
- The http request body
-
getInput
public com.google.gson.JsonObject getInput()Deprecated.Description copied from class:HalfDuplexParamBaseGet the request input data.- Specified by:
getInputin classHalfDuplexParamBase- Returns:
- The input data object.
-
getBinaryData
Deprecated.Description copied from class:HalfDuplexParamBaseGet the binary data, only websocket, if no binary data, return null.- Specified by:
getBinaryDatain classHalfDuplexParamBase- Returns:
- The binary data
-
validate
Deprecated.Description copied from class:HalfDuplexParamBaseValidate the input and parameters.- Specified by:
validatein classHalfDuplexParamBase- Throws:
InputRequiredException- Missing input fields.
-
builder
Deprecated. -
equals
Deprecated.- Overrides:
equalsin classHalfDuplexServiceParam
-
canEqual
Deprecated.- Overrides:
canEqualin classHalfDuplexServiceParam
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classHalfDuplexServiceParam
-
getPrefix
Deprecated. -
getTargetModel
Deprecated. -
getOperationType
Deprecated. -
getUrl
Deprecated. -
getAudio
Deprecated. -
getVoiceId
Deprecated. -
getLanguageHints
Deprecated. -
getPageIndex
public int getPageIndex()Deprecated. -
getPageSize
public int getPageSize()Deprecated. -
getMaxPromptAudioLength
public float getMaxPromptAudioLength()Deprecated.Maximum length of prompt audio in seconds. -
setPrefix
Deprecated. -
setTargetModel
Deprecated. -
setOperationType
Deprecated. -
setUrl
Deprecated. -
setAudio
Deprecated. -
setVoiceId
Deprecated. -
setLanguageHints
Deprecated. -
setPageIndex
public void setPageIndex(int pageIndex) Deprecated. -
setPageSize
public void setPageSize(int pageSize) Deprecated. -
setMaxPromptAudioLength
public void setMaxPromptAudioLength(float maxPromptAudioLength) Deprecated.Maximum length of prompt audio in seconds. -
toString
Deprecated.- Overrides:
toStringin classHalfDuplexParamBase
-