Package com.dropbox.core.v2.riviera
Class ApiTranscriptSegment
java.lang.Object
com.dropbox.core.v2.riviera.ApiTranscriptSegment
Transcript segment for APIv2
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTranscript segment for APIv2ApiTranscriptSegment(String text, double startTime, double endTime) Transcript segment for APIv2 -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubledoublegetText()inthashCode()static ApiTranscriptSegment.BuilderReturns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
text
-
startTime
protected final double startTime -
endTime
protected final double endTime
-
-
Constructor Details
-
ApiTranscriptSegment
Transcript segment for APIv2Use
newBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
text- Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
ApiTranscriptSegment
public ApiTranscriptSegment()Transcript segment for APIv2The default values for unset fields will be used.
-
-
Method Details
-
getText
- Returns:
- value for this field, or
nullif not present. Defaults to "".
-
getStartTime
public double getStartTime()- Returns:
- value for this field, or
nullif not present. Defaults to 0.0.
-
getEndTime
public double getEndTime()- Returns:
- value for this field, or
nullif not present. Defaults to 0.0.
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-