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 TypeMethodDescriptioncom.google.protobuf.DurationOutput only.com.google.protobuf.DurationOrBuilderOutput only.com.google.protobuf.DurationOutput only.com.google.protobuf.DurationOrBuilderOutput only.getWord()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.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
-
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.
-