public static interface MedicalResult.Builder extends SdkPojo, CopyableBuilder<MedicalResult.Builder,MedicalResult>
| Modifier and Type | Method and Description |
|---|---|
MedicalResult.Builder |
alternatives(Collection<MedicalAlternative> alternatives)
A list of possible alternative transcriptions for the input audio.
|
MedicalResult.Builder |
alternatives(Consumer<MedicalAlternative.Builder>... alternatives)
A list of possible alternative transcriptions for the input audio.
|
MedicalResult.Builder |
alternatives(MedicalAlternative... alternatives)
A list of possible alternative transcriptions for the input audio.
|
MedicalResult.Builder |
channelId(String channelId)
Indicates the channel identified for the
Result. |
MedicalResult.Builder |
endTime(Double endTime)
The end time, in milliseconds, of the
Result. |
MedicalResult.Builder |
isPartial(Boolean isPartial)
Indicates if the segment is complete.
|
MedicalResult.Builder |
resultId(String resultId)
Provides a unique identifier for the
Result. |
MedicalResult.Builder |
startTime(Double startTime)
The start time, in milliseconds, of the
Result. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMedicalResult.Builder resultId(String resultId)
Provides a unique identifier for the Result.
resultId - Provides a unique identifier for the Result.MedicalResult.Builder startTime(Double startTime)
The start time, in milliseconds, of the Result.
startTime - The start time, in milliseconds, of the Result.MedicalResult.Builder endTime(Double endTime)
The end time, in milliseconds, of the Result.
endTime - The end time, in milliseconds, of the Result.MedicalResult.Builder isPartial(Boolean isPartial)
Indicates if the segment is complete.
If IsPartial is true, the segment is not complete. If IsPartial is
false, the segment is complete.
isPartial - Indicates if the segment is complete.
If IsPartial is true, the segment is not complete. If IsPartial
is false, the segment is complete.
MedicalResult.Builder alternatives(Collection<MedicalAlternative> alternatives)
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more
of Items, Entities, or Transcript.
alternatives - A list of possible alternative transcriptions for the input audio. Each alternative may contain one or
more of Items, Entities, or Transcript.MedicalResult.Builder alternatives(MedicalAlternative... alternatives)
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more
of Items, Entities, or Transcript.
alternatives - A list of possible alternative transcriptions for the input audio. Each alternative may contain one or
more of Items, Entities, or Transcript.MedicalResult.Builder alternatives(Consumer<MedicalAlternative.Builder>... alternatives)
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more
of Items, Entities, or Transcript.
MedicalAlternative.Builder avoiding the
need to create one manually via
MedicalAlternative.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #alternatives(List.
alternatives - a consumer that will call methods on
MedicalAlternative.Builder#alternatives(java.util.Collection) MedicalResult.Builder channelId(String channelId)
Indicates the channel identified for the Result.
channelId - Indicates the channel identified for the Result.Copyright © 2023. All rights reserved.