Interface AnnotationBoundaryOrBuilder (2.46.0)

public interface AnnotationBoundaryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetailedBoundaryCase()

public abstract AnnotationBoundary.DetailedBoundaryCase getDetailedBoundaryCase()
Returns
Type Description
AnnotationBoundary.DetailedBoundaryCase

getTranscriptIndex()

public abstract int getTranscriptIndex()

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

int32 transcript_index = 1;

Returns
Type Description
int

The transcriptIndex.

getWordIndex()

public abstract int getWordIndex()

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

int32 word_index = 3;

Returns
Type Description
int

The wordIndex.

hasWordIndex()

public abstract boolean hasWordIndex()

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

int32 word_index = 3;

Returns
Type Description
boolean

Whether the wordIndex field is set.