Interface WordInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WordInfo,WordInfo.Builder
public interface WordInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.DurationgetEndTime()Output only.com.google.protobuf.DurationOrBuildergetEndTimeOrBuilder()Output only.com.google.protobuf.DurationgetStartTime()Output only.com.google.protobuf.DurationOrBuildergetStartTimeOrBuilder()Output only.StringgetWord()Output only.com.google.protobuf.ByteStringgetWordBytes()Output only.booleanhasEndTime()Output only.booleanhasStartTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-