@Generated(value="OracleSDKGenerator", comments="API Version: 20220101") public final class TranscriptionModelDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Model details.
Note: Objects should always be created or deserialized using the TranscriptionModelDetails.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 the TranscriptionModelDetails.Builder
, which maintain a
set of all explicitly set fields called TranscriptionModelDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
TranscriptionModelDetails.Builder |
static class |
TranscriptionModelDetails.Domain
Domain for input files.
|
static class |
TranscriptionModelDetails.LanguageCode
Oracle supported language codes are (Oracle models are locale specific).
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
TranscriptionModelDetails(String modelType,
TranscriptionModelDetails.Domain domain,
TranscriptionModelDetails.LanguageCode languageCode,
TranscriptionSettings transcriptionSettings)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TranscriptionModelDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
TranscriptionModelDetails.Domain |
getDomain()
Domain for input files.
|
TranscriptionModelDetails.LanguageCode |
getLanguageCode()
Oracle supported language codes are (Oracle models are locale specific).
|
String |
getModelType()
Select a model to use for generating transcriptions.
|
TranscriptionSettings |
getTranscriptionSettings() |
int |
hashCode() |
TranscriptionModelDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"modelType","domain","languageCode","transcriptionSettings"}) public TranscriptionModelDetails(String modelType, TranscriptionModelDetails.Domain domain, TranscriptionModelDetails.LanguageCode languageCode, TranscriptionSettings transcriptionSettings)
public static TranscriptionModelDetails.Builder builder()
Create a new builder.
public TranscriptionModelDetails.Builder toBuilder()
public String getModelType()
Select a model to use for generating transcriptions. Currently supported models are: - ORACLE
public TranscriptionModelDetails.Domain getDomain()
Domain for input files.
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
Whisper supported language codes are (Whisper models are locale agnostic). - 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
public TranscriptionSettings getTranscriptionSettings()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.