Interface AnnotationBoundaryOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AnnotationBoundary, AnnotationBoundary.Builder

    public interface AnnotationBoundaryOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      AnnotationBoundary.DetailedBoundaryCase getDetailedBoundaryCase()  
      int getTranscriptIndex()
      The index in the sequence of transcribed pieces of the conversation where the boundary is located.
      int getWordIndex()
      The word index of this boundary with respect to the first word in the transcript piece.
      boolean hasWordIndex()
      The word index of this boundary with respect to the first word in the transcript piece.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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.