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.ExplicitlySetBmcModelDescription 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 classTranscriptionTask.Builderstatic classTranscriptionTask.LifecycleStateThe 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.Builderbuilder()Create a new builder.booleanequals(Object o)AudioFormatDetailsgetAudioFormatDetails()StringgetDisplayName()A user-friendly display name for the task.IntegergetFileDurationInSeconds()Duration of input file in Seconds.IntegergetFileSizeInBytes()Size of input file in Bytes.StringgetId()The OCID of the task.ObjectLocationgetInputLocation()StringgetLifecycleDetails()A message describing the current state in more detail.TranscriptionTask.LifecycleStategetLifecycleState()The current state of the Task.TranscriptionModelDetailsgetModelDetails()ObjectLocationgetOutputLocation()IntegergetPercentComplete()How much progress the operation has made, vs the total amount of work that must be performed.IntegergetProcessingDurationInSeconds()Task proccessing duration, which excludes waiting time in the system.DategetTimeFinished()Task finished time.DategetTimeStarted()Task started time.IntegergetTtlInDays()Time to live duration in days for tasks.inthashCode()TranscriptionTask.BuildertoBuilder()StringtoString()StringtoString(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:
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
-
-