Interface Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      float getConfidence()
      A confidence estimate between 0.0 and 1.0 of the fidelity of this word.
      com.google.protobuf.Duration getEndOffset()
      Time offset of the end of this word relative to the beginning of the total conversation.
      com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder()
      Time offset of the end of this word relative to the beginning of the total conversation.
      com.google.protobuf.Duration getStartOffset()
      Time offset of the start of this word relative to the beginning of the total conversation.
      com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder()
      Time offset of the start of this word relative to the beginning of the total conversation.
      String getWord()
      The word itself.
      com.google.protobuf.ByteString getWordBytes()
      The word itself.
      boolean hasEndOffset()
      Time offset of the end of this word relative to the beginning of the total conversation.
      boolean hasStartOffset()
      Time offset of the start of this word relative to the beginning of the total conversation.
      • 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

      • hasStartOffset

        boolean hasStartOffset()
         Time offset of the start of this word relative to the beginning of
         the total conversation.
         
        .google.protobuf.Duration start_offset = 1;
        Returns:
        Whether the startOffset field is set.
      • getStartOffset

        com.google.protobuf.Duration getStartOffset()
         Time offset of the start of this word relative to the beginning of
         the total conversation.
         
        .google.protobuf.Duration start_offset = 1;
        Returns:
        The startOffset.
      • getStartOffsetOrBuilder

        com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder()
         Time offset of the start of this word relative to the beginning of
         the total conversation.
         
        .google.protobuf.Duration start_offset = 1;
      • hasEndOffset

        boolean hasEndOffset()
         Time offset of the end of this word relative to the beginning of the
         total conversation.
         
        .google.protobuf.Duration end_offset = 2;
        Returns:
        Whether the endOffset field is set.
      • getEndOffset

        com.google.protobuf.Duration getEndOffset()
         Time offset of the end of this word relative to the beginning of the
         total conversation.
         
        .google.protobuf.Duration end_offset = 2;
        Returns:
        The endOffset.
      • getEndOffsetOrBuilder

        com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder()
         Time offset of the end of this word relative to the beginning of the
         total conversation.
         
        .google.protobuf.Duration end_offset = 2;
      • getWord

        String getWord()
         The word itself. Includes punctuation marks that surround the word.
         
        string word = 3;
        Returns:
        The word.
      • getWordBytes

        com.google.protobuf.ByteString getWordBytes()
         The word itself. Includes punctuation marks that surround the word.
         
        string word = 3;
        Returns:
        The bytes for word.
      • getConfidence

        float getConfidence()
         A confidence estimate between 0.0 and 1.0 of the fidelity of this
         word. A default value of 0.0 indicates that the value is unset.
         
        float confidence = 4;
        Returns:
        The confidence.