Interface AnnotationBoundaryOrBuilder (2.35.0)

public interface AnnotationBoundaryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetailedBoundaryCase()

public abstract AnnotationBoundary.DetailedBoundaryCase getDetailedBoundaryCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the wordIndex field is set.