@Generated(value="OracleSDKGenerator", comments="API Version: 20220101") public final class TranscriptionTaskSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of the Transcription Task.
Note: Objects should always be created or deserialized using the TranscriptionTaskSummary.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 TranscriptionTaskSummary.Builder
, which maintain a
set of all explicitly set fields called TranscriptionTaskSummary.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 |
TranscriptionTaskSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
TranscriptionTaskSummary(String id,
String displayName,
Integer percentComplete,
Integer fileSizeInBytes,
Integer fileDurationInSeconds,
Integer processingDurationInSeconds,
Date timeStarted,
Date timeFinished,
TranscriptionTask.LifecycleState lifecycleState,
String lifecycleDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TranscriptionTaskSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
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.
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
TranscriptionTask.LifecycleState |
getLifecycleState()
The current state of the Speech Job.
|
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()
Job finished time
|
Date |
getTimeStarted()
Task started time
|
int |
hashCode() |
TranscriptionTaskSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static TranscriptionTaskSummary.Builder builder()
Create a new builder.
public TranscriptionTaskSummary.Builder toBuilder()
public String getDisplayName()
A user-friendly display name for the task.
public Integer getPercentComplete()
How much progress the operation has made, vs the total amount of work that must be performed.
public Integer getFileSizeInBytes()
Size of input file in Bytes.
public Integer getFileDurationInSeconds()
Duration of input file in Seconds.
public Integer getProcessingDurationInSeconds()
Task proccessing duration, which excludes waiting time in the system.
public Date getTimeStarted()
Task started time
public Date getTimeFinished()
Job finished time
public TranscriptionTask.LifecycleState getLifecycleState()
The current state of the Speech Job.
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.
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.