Package com.oracle.bmc.aispeech.model
Class TranscriptionTaskSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.aispeech.model.TranscriptionTaskSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220101") public final class TranscriptionTaskSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of the Transcription Task.
Note: Objects should always be created or deserialized using theTranscriptionTaskSummary.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 theTranscriptionTaskSummary.Builder, which maintain a set of all explicitly set fields calledTranscriptionTaskSummary.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 classTranscriptionTaskSummary.Builder
-
Constructor Summary
Constructors Constructor Description TranscriptionTaskSummary(String id, String displayName, Integer percentComplete, Integer fileSizeInBytes, Integer fileDurationInSeconds, Integer processingDurationInSeconds, Date timeStarted, Date timeFinished, TranscriptionTask.LifecycleState lifecycleState, String lifecycleDetails)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TranscriptionTaskSummary.Builderbuilder()Create a new builder.booleanequals(Object o)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.StringgetLifecycleDetails()A message describing the current state in more detail.TranscriptionTask.LifecycleStategetLifecycleState()The current state of the Speech Job.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()Job finished timeDategetTimeStarted()Task started timeinthashCode()TranscriptionTaskSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
TranscriptionTaskSummary
@Deprecated @ConstructorProperties({"id","displayName","percentComplete","fileSizeInBytes","fileDurationInSeconds","processingDurationInSeconds","timeStarted","timeFinished","lifecycleState","lifecycleDetails"}) public TranscriptionTaskSummary(String id, String displayName, Integer percentComplete, Integer fileSizeInBytes, Integer fileDurationInSeconds, Integer processingDurationInSeconds, Date timeStarted, Date timeFinished, TranscriptionTask.LifecycleState lifecycleState, String lifecycleDetails)
Deprecated.
-
-
Method Detail
-
builder
public static TranscriptionTaskSummary.Builder builder()
Create a new builder.
-
toBuilder
public TranscriptionTaskSummary.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
A user-friendly display name for the task.- 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
-
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
-
getTimeStarted
public Date getTimeStarted()
Task started time- Returns:
- the value
-
getTimeFinished
public Date getTimeFinished()
Job finished time- Returns:
- the value
-
getLifecycleState
public TranscriptionTask.LifecycleState getLifecycleState()
The current state of the Speech Job.- 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
-
-