Interface WordInfoOrBuilder

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

@Generated public interface WordInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    Output only.
    com.google.protobuf.DurationOrBuilder
    Output only.
    com.google.protobuf.Duration
    Output only.
    com.google.protobuf.DurationOrBuilder
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Output only.
    boolean
    Output only.

    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 Details

    • hasStartTime

      boolean hasStartTime()
       Output only. Time offset relative to the beginning of the audio, and
       corresponding to the start of the spoken word. This field is only set if
       `enable_word_time_offsets=true` and only in the top hypothesis. This is an
       experimental feature and the accuracy of the time offset can vary.
       
      .google.protobuf.Duration start_time = 1;
      Returns:
      Whether the startTime field is set.
    • getStartTime

      com.google.protobuf.Duration getStartTime()
       Output only. Time offset relative to the beginning of the audio, and
       corresponding to the start of the spoken word. This field is only set if
       `enable_word_time_offsets=true` and only in the top hypothesis. This is an
       experimental feature and the accuracy of the time offset can vary.
       
      .google.protobuf.Duration start_time = 1;
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder()
       Output only. Time offset relative to the beginning of the audio, and
       corresponding to the start of the spoken word. This field is only set if
       `enable_word_time_offsets=true` and only in the top hypothesis. This is an
       experimental feature and the accuracy of the time offset can vary.
       
      .google.protobuf.Duration start_time = 1;
    • hasEndTime

      boolean hasEndTime()
       Output only. Time offset relative to the beginning of the audio, and
       corresponding to the end of the spoken word. This field is only set if
       `enable_word_time_offsets=true` and only in the top hypothesis. This is an
       experimental feature and the accuracy of the time offset can vary.
       
      .google.protobuf.Duration end_time = 2;
      Returns:
      Whether the endTime field is set.
    • getEndTime

      com.google.protobuf.Duration getEndTime()
       Output only. Time offset relative to the beginning of the audio, and
       corresponding to the end of the spoken word. This field is only set if
       `enable_word_time_offsets=true` and only in the top hypothesis. This is an
       experimental feature and the accuracy of the time offset can vary.
       
      .google.protobuf.Duration end_time = 2;
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder()
       Output only. Time offset relative to the beginning of the audio, and
       corresponding to the end of the spoken word. This field is only set if
       `enable_word_time_offsets=true` and only in the top hypothesis. This is an
       experimental feature and the accuracy of the time offset can vary.
       
      .google.protobuf.Duration end_time = 2;
    • getWord

      String getWord()
       Output only. The word corresponding to this set of information.
       
      string word = 3;
      Returns:
      The word.
    • getWordBytes

      com.google.protobuf.ByteString getWordBytes()
       Output only. The word corresponding to this set of information.
       
      string word = 3;
      Returns:
      The bytes for word.