public static interface UtteranceEvent.Builder extends SdkPojo, CopyableBuilder<UtteranceEvent.Builder,UtteranceEvent>
| Modifier and Type | Method and Description |
|---|---|
UtteranceEvent.Builder |
beginOffsetMillis(Long beginOffsetMillis)
The time, in milliseconds, from the beginning of the audio stream to the start of the
UtteranceEvent. |
UtteranceEvent.Builder |
endOffsetMillis(Long endOffsetMillis)
The time, in milliseconds, from the beginning of the audio stream to the start of the
UtteranceEvent. |
UtteranceEvent.Builder |
entities(CallAnalyticsEntity... entities)
Contains entities identified as personally identifiable information (PII) in your transcription output.
|
UtteranceEvent.Builder |
entities(Collection<CallAnalyticsEntity> entities)
Contains entities identified as personally identifiable information (PII) in your transcription output.
|
UtteranceEvent.Builder |
entities(Consumer<CallAnalyticsEntity.Builder>... entities)
Contains entities identified as personally identifiable information (PII) in your transcription output.
|
UtteranceEvent.Builder |
isPartial(Boolean isPartial)
Indicates whether the segment in the
UtteranceEvent is complete (FALSE) or partial
(TRUE). |
UtteranceEvent.Builder |
issuesDetected(Collection<IssueDetected> issuesDetected)
Provides the issue that was detected in the specified segment.
|
UtteranceEvent.Builder |
issuesDetected(Consumer<IssueDetected.Builder>... issuesDetected)
Provides the issue that was detected in the specified segment.
|
UtteranceEvent.Builder |
issuesDetected(IssueDetected... issuesDetected)
Provides the issue that was detected in the specified segment.
|
UtteranceEvent.Builder |
items(CallAnalyticsItem... items)
Contains words, phrases, or punctuation marks that are associated with the specified
UtteranceEvent. |
UtteranceEvent.Builder |
items(Collection<CallAnalyticsItem> items)
Contains words, phrases, or punctuation marks that are associated with the specified
UtteranceEvent. |
UtteranceEvent.Builder |
items(Consumer<CallAnalyticsItem.Builder>... items)
Contains words, phrases, or punctuation marks that are associated with the specified
UtteranceEvent. |
UtteranceEvent.Builder |
participantRole(ParticipantRole participantRole)
Provides the role of the speaker for each audio channel, either
CUSTOMER or AGENT. |
UtteranceEvent.Builder |
participantRole(String participantRole)
Provides the role of the speaker for each audio channel, either
CUSTOMER or AGENT. |
UtteranceEvent.Builder |
sentiment(Sentiment sentiment)
Provides the sentiment that was detected in the specified segment.
|
UtteranceEvent.Builder |
sentiment(String sentiment)
Provides the sentiment that was detected in the specified segment.
|
UtteranceEvent.Builder |
transcript(String transcript)
Contains transcribed text.
|
UtteranceEvent.Builder |
utteranceId(String utteranceId)
The unique identifier that is associated with the specified
UtteranceEvent. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUtteranceEvent.Builder utteranceId(String utteranceId)
The unique identifier that is associated with the specified UtteranceEvent.
utteranceId - The unique identifier that is associated with the specified UtteranceEvent.UtteranceEvent.Builder isPartial(Boolean isPartial)
Indicates whether the segment in the UtteranceEvent is complete (FALSE) or partial
(TRUE).
isPartial - Indicates whether the segment in the UtteranceEvent is complete (FALSE) or
partial (TRUE).UtteranceEvent.Builder participantRole(String participantRole)
Provides the role of the speaker for each audio channel, either CUSTOMER or AGENT.
participantRole - Provides the role of the speaker for each audio channel, either CUSTOMER or
AGENT.ParticipantRole,
ParticipantRoleUtteranceEvent.Builder participantRole(ParticipantRole participantRole)
Provides the role of the speaker for each audio channel, either CUSTOMER or AGENT.
participantRole - Provides the role of the speaker for each audio channel, either CUSTOMER or
AGENT.ParticipantRole,
ParticipantRoleUtteranceEvent.Builder beginOffsetMillis(Long beginOffsetMillis)
The time, in milliseconds, from the beginning of the audio stream to the start of the
UtteranceEvent.
beginOffsetMillis - The time, in milliseconds, from the beginning of the audio stream to the start of the
UtteranceEvent.UtteranceEvent.Builder endOffsetMillis(Long endOffsetMillis)
The time, in milliseconds, from the beginning of the audio stream to the start of the
UtteranceEvent.
endOffsetMillis - The time, in milliseconds, from the beginning of the audio stream to the start of the
UtteranceEvent.UtteranceEvent.Builder transcript(String transcript)
Contains transcribed text.
transcript - Contains transcribed text.UtteranceEvent.Builder items(Collection<CallAnalyticsItem> items)
Contains words, phrases, or punctuation marks that are associated with the specified
UtteranceEvent.
items - Contains words, phrases, or punctuation marks that are associated with the specified
UtteranceEvent.UtteranceEvent.Builder items(CallAnalyticsItem... items)
Contains words, phrases, or punctuation marks that are associated with the specified
UtteranceEvent.
items - Contains words, phrases, or punctuation marks that are associated with the specified
UtteranceEvent.UtteranceEvent.Builder items(Consumer<CallAnalyticsItem.Builder>... items)
Contains words, phrases, or punctuation marks that are associated with the specified
UtteranceEvent.
CallAnalyticsItem.Builder avoiding the need
to create one manually via
CallAnalyticsItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #items(List.
items - a consumer that will call methods on
CallAnalyticsItem.Builder#items(java.util.Collection) UtteranceEvent.Builder entities(Collection<CallAnalyticsEntity> entities)
Contains entities identified as personally identifiable information (PII) in your transcription output.
entities - Contains entities identified as personally identifiable information (PII) in your transcription
output.UtteranceEvent.Builder entities(CallAnalyticsEntity... entities)
Contains entities identified as personally identifiable information (PII) in your transcription output.
entities - Contains entities identified as personally identifiable information (PII) in your transcription
output.UtteranceEvent.Builder entities(Consumer<CallAnalyticsEntity.Builder>... entities)
Contains entities identified as personally identifiable information (PII) in your transcription output.
This is a convenience method that creates an instance of theCallAnalyticsEntity.Builder avoiding the
need to create one manually via
CallAnalyticsEntity.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #entities(List.
entities - a consumer that will call methods on
CallAnalyticsEntity.Builder#entities(java.util.Collection) UtteranceEvent.Builder sentiment(String sentiment)
Provides the sentiment that was detected in the specified segment.
UtteranceEvent.Builder sentiment(Sentiment sentiment)
Provides the sentiment that was detected in the specified segment.
UtteranceEvent.Builder issuesDetected(Collection<IssueDetected> issuesDetected)
Provides the issue that was detected in the specified segment.
issuesDetected - Provides the issue that was detected in the specified segment.UtteranceEvent.Builder issuesDetected(IssueDetected... issuesDetected)
Provides the issue that was detected in the specified segment.
issuesDetected - Provides the issue that was detected in the specified segment.UtteranceEvent.Builder issuesDetected(Consumer<IssueDetected.Builder>... issuesDetected)
Provides the issue that was detected in the specified segment.
This is a convenience method that creates an instance of theIssueDetected.Builder avoiding the need to
create one manually via
IssueDetected.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #issuesDetected(List.
issuesDetected - a consumer that will call methods on
IssueDetected.Builder#issuesDetected(java.util.Collection) Copyright © 2023. All rights reserved.