Class TranscriptionModelDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.aispeech.model.TranscriptionModelDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220101") public final class TranscriptionModelDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelModel details.
Note: Objects should always be created or deserialized using theTranscriptionModelDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theTranscriptionModelDetails.Builder, which maintain a set of all explicitly set fields calledTranscriptionModelDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTranscriptionModelDetails.Builderstatic classTranscriptionModelDetails.DomainDomain for input files.static classTranscriptionModelDetails.LanguageCodeOracle supported language codes are (Oracle models are locale specific).
-
Constructor Summary
Constructors Constructor Description TranscriptionModelDetails(String modelType, TranscriptionModelDetails.Domain domain, TranscriptionModelDetails.LanguageCode languageCode, TranscriptionSettings transcriptionSettings)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TranscriptionModelDetails.Builderbuilder()Create a new builder.booleanequals(Object o)TranscriptionModelDetails.DomaingetDomain()Domain for input files.TranscriptionModelDetails.LanguageCodegetLanguageCode()Oracle supported language codes are (Oracle models are locale specific).StringgetModelType()Select a model to use for generating transcriptions.TranscriptionSettingsgetTranscriptionSettings()inthashCode()TranscriptionModelDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
TranscriptionModelDetails
@Deprecated @ConstructorProperties({"modelType","domain","languageCode","transcriptionSettings"}) public TranscriptionModelDetails(String modelType, TranscriptionModelDetails.Domain domain, TranscriptionModelDetails.LanguageCode languageCode, TranscriptionSettings transcriptionSettings)
Deprecated.
-
-
Method Detail
-
builder
public static TranscriptionModelDetails.Builder builder()
Create a new builder.
-
toBuilder
public TranscriptionModelDetails.Builder toBuilder()
-
getModelType
public String getModelType()
Select a model to use for generating transcriptions.Currently supported models are: - ORACLE
- WHISPER_MEDIUM - WHISPER_LARGE_V2 (upon service request)
- Returns:
- the value
-
getDomain
public TranscriptionModelDetails.Domain getDomain()
Domain for input files.- Returns:
- the value
-
getLanguageCode
public TranscriptionModelDetails.LanguageCode getLanguageCode()
Oracle supported language codes are (Oracle models are locale specific).- en-US: English - United States (default) - es-ES: Spanish - Spain - pt-BR: Portuguese - Brazil - en-GB: English - Great Britain - en-AU: English - Australia - en-IN: English - India - hi-IN: Hindi
- India - fr-FR: French - France - de-DE: German - Germany - it-IT: Italian - Italy
Whisper supported language codes are (Whisper models are locale agnostic). - auto: Auto-detect language - af: Afrikaans - ar: Arabic - az: Azerbaijani - be: Belarusian - bg: Bulgarian - bs: Bosnian - ca: Catalan - cs: Czech - cy: Welsh - da: Danish - de: German - el: Greek - en: English (default) - es: Spanish - et: Estonian - fa: Persian - fi: Finnish - fr: French - gl: Galician - he: Hebrew - hi: Hindi - hr: Croatian - hu: Hungarian - hy: Armenian - id: Indonesian - is: Icelandic - it: Italian - ja: Japanese - kk: Kazakh - kn: Kannada - ko: Korean - lt: Lithuanian - lv: Latvian - mi: Maori - mk: Macedonian - mr: Marathi - ms: Malay - ne: Nepali - nl: Dutch - no: Norwegian - pl: Polish - pt: Portuguese - ro: Romanian - ru: Russian - sk: Slovak - sl: Slovenian - sr: Serbian - sv: Swedish - sw: Swahili - ta: Tamil - th: Thai - tl: Tagalog - tr: Turkish - uk: Ukrainian - ur: Urdu - vi: Vietnamese - zh: Chinese
- Returns:
- the value
-
getTranscriptionSettings
public TranscriptionSettings getTranscriptionSettings()
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-