Interface MedicalResult.Builder

    • Method Detail

      • resultId

        MedicalResult.Builder resultId​(String resultId)

        Provides a unique identifier for the Result.

        Parameters:
        resultId - Provides a unique identifier for the Result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        MedicalResult.Builder startTime​(Double startTime)

        The start time, in seconds, of the Result.

        Parameters:
        startTime - The start time, in seconds, of the Result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        MedicalResult.Builder endTime​(Double endTime)

        The end time, in seconds, of the Result.

        Parameters:
        endTime - The end time, in seconds, of the Result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isPartial

        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.

        Parameters:
        isPartial - Indicates if the segment is complete.

        If IsPartial is true, the segment is not complete. If IsPartial is false, the segment is complete.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • alternatives

        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.

        Parameters:
        alternatives - A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of Items, Entities, or Transcript.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • alternatives

        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.

        Parameters:
        alternatives - A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of Items, Entities, or Transcript.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channelId

        MedicalResult.Builder channelId​(String channelId)

        Indicates the channel identified for the Result.

        Parameters:
        channelId - Indicates the channel identified for the Result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.