Interface CallAnalyticsEntity.Builder

    • Method Detail

      • beginOffsetMillis

        CallAnalyticsEntity.Builder beginOffsetMillis​(Long beginOffsetMillis)

        The time, in milliseconds, from the beginning of the audio stream to the start of the identified entity.

        Parameters:
        beginOffsetMillis - The time, in milliseconds, from the beginning of the audio stream to the start of the identified entity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endOffsetMillis

        CallAnalyticsEntity.Builder endOffsetMillis​(Long endOffsetMillis)

        The time, in milliseconds, from the beginning of the audio stream to the end of the identified entity.

        Parameters:
        endOffsetMillis - The time, in milliseconds, from the beginning of the audio stream to the end of the identified entity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • category

        CallAnalyticsEntity.Builder category​(String category)

        The category of information identified. For example, PII.

        Parameters:
        category - The category of information identified. For example, PII.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        CallAnalyticsEntity.Builder type​(String type)

        The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER.

        Parameters:
        type - The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        CallAnalyticsEntity.Builder content​(String content)

        The word or words that represent the identified entity.

        Parameters:
        content - The word or words that represent the identified entity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • confidence

        CallAnalyticsEntity.Builder confidence​(Double confidence)

        The confidence score associated with the identification of an entity in your transcript.

        Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified entity correctly matches the entity spoken in your media.

        Parameters:
        confidence - The confidence score associated with the identification of an entity in your transcript.

        Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified entity correctly matches the entity spoken in your media.

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