Package com.oracle.bmc.aispeech.model
Class TranscriptionTask
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.aispeech.model.TranscriptionTask
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220101") public final class TranscriptionTask extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Description of Transcription Task.
Note: Objects should always be created or deserialized using theTranscriptionTask.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 theTranscriptionTask.Builder
, which maintain a set of all explicitly set fields calledTranscriptionTask.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 class
TranscriptionTask.Builder
static class
TranscriptionTask.LifecycleState
The current state of the Task.
-
Constructor Summary
Constructors Constructor Description TranscriptionTask(String id, String displayName, Date timeStarted, Date timeFinished, Integer percentComplete, Integer ttlInDays, TranscriptionModelDetails modelDetails, AudioFormatDetails audioFormatDetails, Integer fileSizeInBytes, Integer fileDurationInSeconds, Integer processingDurationInSeconds, ObjectLocation inputLocation, ObjectLocation outputLocation, TranscriptionTask.LifecycleState lifecycleState, String lifecycleDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TranscriptionTask.Builder
builder()
Create a new builder.boolean
equals(Object o)
AudioFormatDetails
getAudioFormatDetails()
String
getDisplayName()
A user-friendly display name for the task.Integer
getFileDurationInSeconds()
Duration of input file in Seconds.Integer
getFileSizeInBytes()
Size of input file in Bytes.String
getId()
The OCID of the task.ObjectLocation
getInputLocation()
String
getLifecycleDetails()
A message describing the current state in more detail.TranscriptionTask.LifecycleState
getLifecycleState()
The current state of the Task.TranscriptionModelDetails
getModelDetails()
ObjectLocation
getOutputLocation()
Integer
getPercentComplete()
How much progress the operation has made, vs the total amount of work that must be performed.Integer
getProcessingDurationInSeconds()
Task proccessing duration, which excludes waiting time in the system.Date
getTimeFinished()
Task finished time.Date
getTimeStarted()
Task started time.Integer
getTtlInDays()
Time to live duration in days for tasks.int
hashCode()
TranscriptionTask.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
TranscriptionTask
@Deprecated @ConstructorProperties({"id","displayName","timeStarted","timeFinished","percentComplete","ttlInDays","modelDetails","audioFormatDetails","fileSizeInBytes","fileDurationInSeconds","processingDurationInSeconds","inputLocation","outputLocation","lifecycleState","lifecycleDetails"}) public TranscriptionTask(String id, String displayName, Date timeStarted, Date timeFinished, Integer percentComplete, Integer ttlInDays, TranscriptionModelDetails modelDetails, AudioFormatDetails audioFormatDetails, Integer fileSizeInBytes, Integer fileDurationInSeconds, Integer processingDurationInSeconds, ObjectLocation inputLocation, ObjectLocation outputLocation, TranscriptionTask.LifecycleState lifecycleState, String lifecycleDetails)
Deprecated.
-
-
Method Detail
-
builder
public static TranscriptionTask.Builder builder()
Create a new builder.
-
toBuilder
public TranscriptionTask.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
A user-friendly display name for the task.- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
Task started time.- Returns:
- the value
-
getTimeFinished
public Date getTimeFinished()
Task finished time.- Returns:
- the value
-
getPercentComplete
public Integer getPercentComplete()
How much progress the operation has made, vs the total amount of work that must be performed.- Returns:
- the value
-
getTtlInDays
public Integer getTtlInDays()
Time to live duration in days for tasks.Task will be available till max 90 days.
- Returns:
- the value
-
getModelDetails
public TranscriptionModelDetails getModelDetails()
-
getAudioFormatDetails
public AudioFormatDetails getAudioFormatDetails()
-
getFileSizeInBytes
public Integer getFileSizeInBytes()
Size of input file in Bytes.- Returns:
- the value
-
getFileDurationInSeconds
public Integer getFileDurationInSeconds()
Duration of input file in Seconds.- Returns:
- the value
-
getProcessingDurationInSeconds
public Integer getProcessingDurationInSeconds()
Task proccessing duration, which excludes waiting time in the system.- Returns:
- the value
-
getInputLocation
public ObjectLocation getInputLocation()
-
getOutputLocation
public ObjectLocation getOutputLocation()
-
getLifecycleState
public TranscriptionTask.LifecycleState getLifecycleState()
The current state of the Task.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-