Google Cloud Contact Center Insights V1 Client - Class AnnotationBoundary (2.2.1)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class AnnotationBoundary.

A point in a conversation that marks the start or the end of an annotation.

Generated from protobuf message google.cloud.contactcenterinsights.v1.AnnotationBoundary

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ word_index int

The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.

↳ transcript_index int

The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.

getWordIndex

The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.

Returns
Type Description
int

hasWordIndex

setWordIndex

The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.

Parameter
Name Description
var int
Returns
Type Description
$this

getTranscriptIndex

The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.

Returns
Type Description
int

setTranscriptIndex

The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.

Parameter
Name Description
var int
Returns
Type Description
$this

getDetailedBoundary

Returns
Type Description
string