Class TranscriptionRetrieveResponse.Builder
-
- All Implemented Interfaces:
public final class TranscriptionRetrieveResponse.BuilderA builder for TranscriptionRetrieveResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final TranscriptionRetrieveResponse.Builder id(String id)
Unique transcription job ID
-
id
final TranscriptionRetrieveResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final TranscriptionRetrieveResponse.Builder status(TranscriptionRetrieveResponse.Status status)
Current status of the transcription job
-
status
final TranscriptionRetrieveResponse.Builder status(JsonField<TranscriptionRetrieveResponse.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
audioDuration
final TranscriptionRetrieveResponse.Builder audioDuration(Double audioDuration)
Duration of the audio file in seconds
-
audioDuration
final TranscriptionRetrieveResponse.Builder audioDuration(JsonField<Double> audioDuration)
Sets Builder.audioDuration to an arbitrary JSON value.
You should usually call Builder.audioDuration with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
confidence
final TranscriptionRetrieveResponse.Builder confidence(Double confidence)
Overall confidence score (0-100)
-
confidence
final TranscriptionRetrieveResponse.Builder confidence(JsonField<Double> confidence)
Sets Builder.confidence to an arbitrary JSON value.
You should usually call Builder.confidence with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
error
final TranscriptionRetrieveResponse.Builder error(String error)
Error message (only present when status is failed)
-
error
final TranscriptionRetrieveResponse.Builder error(JsonField<String> error)
Sets Builder.error to an arbitrary JSON value.
You should usually call Builder.error with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
resultObjectId
final TranscriptionRetrieveResponse.Builder resultObjectId(String resultObjectId)
Result transcript object ID (vault-based jobs, when completed)
-
resultObjectId
final TranscriptionRetrieveResponse.Builder resultObjectId(JsonField<String> resultObjectId)
Sets Builder.resultObjectId to an arbitrary JSON value.
You should usually call Builder.resultObjectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sourceObjectId
final TranscriptionRetrieveResponse.Builder sourceObjectId(String sourceObjectId)
Source audio object ID (vault-based jobs only)
-
sourceObjectId
final TranscriptionRetrieveResponse.Builder sourceObjectId(JsonField<String> sourceObjectId)
Sets Builder.sourceObjectId to an arbitrary JSON value.
You should usually call Builder.sourceObjectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
text
final TranscriptionRetrieveResponse.Builder text(String text)
Full transcription text (legacy direct URL jobs only)
-
text
final TranscriptionRetrieveResponse.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
vaultId
final TranscriptionRetrieveResponse.Builder vaultId(String vaultId)
Vault ID (vault-based jobs only)
-
vaultId
final TranscriptionRetrieveResponse.Builder vaultId(JsonField<String> vaultId)
Sets Builder.vaultId to an arbitrary JSON value.
You should usually call Builder.vaultId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
wordCount
final TranscriptionRetrieveResponse.Builder wordCount(Long wordCount)
Number of words in the transcript
-
wordCount
final TranscriptionRetrieveResponse.Builder wordCount(JsonField<Long> wordCount)
Sets Builder.wordCount to an arbitrary JSON value.
You should usually call Builder.wordCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
words
final TranscriptionRetrieveResponse.Builder words(List<JsonValue> words)
Word-level timestamps (legacy direct URL jobs only)
-
words
final TranscriptionRetrieveResponse.Builder words(JsonField<List<JsonValue>> words)
Sets Builder.words to an arbitrary JSON value.
You should usually call Builder.words with a well-typed
List<JsonValue>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addWord
final TranscriptionRetrieveResponse.Builder addWord(JsonValue word)
-
additionalProperties
final TranscriptionRetrieveResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TranscriptionRetrieveResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TranscriptionRetrieveResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TranscriptionRetrieveResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TranscriptionRetrieveResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TranscriptionRetrieveResponse build()
Returns an immutable instance of TranscriptionRetrieveResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .status()
-
-
-
-