Interface AnnotationBoundaryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnnotationBoundary,AnnotationBoundary.Builder
@Generated
public interface AnnotationBoundaryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe index in the sequence of transcribed pieces of the conversation where the boundary is located.intThe word index of this boundary with respect to the first word in the transcript piece.booleanThe word index of this boundary with respect to the first word in the transcript piece.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasWordIndex
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:
- Whether the wordIndex field is set.
-
getWordIndex
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:
- The wordIndex.
-
getTranscriptIndex
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:
- The transcriptIndex.
-
getDetailedBoundaryCase
AnnotationBoundary.DetailedBoundaryCase getDetailedBoundaryCase()
-