public static final class WordInfo.Builder extends GeneratedMessageV3.Builder<WordInfo.Builder> implements WordInfoOrBuilder
Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.Protobuf type
google.cloud.speech.v1.WordInfo| Modifier and Type | Method and Description | 
|---|---|
| WordInfo.Builder | addRepeatedField(Descriptors.FieldDescriptor field,
                java.lang.Object value) | 
| WordInfo | build() | 
| WordInfo | buildPartial() | 
| WordInfo.Builder | clear() | 
| WordInfo.Builder | clearEndTime()
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the end of the spoken word. | 
| WordInfo.Builder | clearField(Descriptors.FieldDescriptor field) | 
| WordInfo.Builder | clearOneof(Descriptors.OneofDescriptor oneof) | 
| WordInfo.Builder | clearStartTime()
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the start of the spoken word. | 
| WordInfo.Builder | clearWord()
 *Output-only* The word corresponding to this set of information. | 
| WordInfo.Builder | clone() | 
| WordInfo | getDefaultInstanceForType() | 
| static Descriptors.Descriptor | getDescriptor() | 
| Descriptors.Descriptor | getDescriptorForType() | 
| Duration | getEndTime()
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the end of the spoken word. | 
| Duration.Builder | getEndTimeBuilder()
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the end of the spoken word. | 
| DurationOrBuilder | getEndTimeOrBuilder()
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the end of the spoken word. | 
| Duration | getStartTime()
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the start of the spoken word. | 
| Duration.Builder | getStartTimeBuilder()
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the start of the spoken word. | 
| DurationOrBuilder | getStartTimeOrBuilder()
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the start of the spoken word. | 
| java.lang.String | getWord()
 *Output-only* The word corresponding to this set of information. | 
| ByteString | getWordBytes()
 *Output-only* The word corresponding to this set of information. | 
| boolean | hasEndTime()
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the end of the spoken word. | 
| boolean | hasStartTime()
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the start of the spoken word. | 
| protected GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| boolean | isInitialized() | 
| WordInfo.Builder | mergeEndTime(Duration value)
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the end of the spoken word. | 
| WordInfo.Builder | mergeFrom(CodedInputStream input,
         ExtensionRegistryLite extensionRegistry) | 
| WordInfo.Builder | mergeFrom(Message other) | 
| WordInfo.Builder | mergeFrom(WordInfo other) | 
| WordInfo.Builder | mergeStartTime(Duration value)
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the start of the spoken word. | 
| WordInfo.Builder | mergeUnknownFields(UnknownFieldSet unknownFields) | 
| WordInfo.Builder | setEndTime(Duration.Builder builderForValue)
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the end of the spoken word. | 
| WordInfo.Builder | setEndTime(Duration value)
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the end of the spoken word. | 
| WordInfo.Builder | setField(Descriptors.FieldDescriptor field,
        java.lang.Object value) | 
| WordInfo.Builder | setRepeatedField(Descriptors.FieldDescriptor field,
                int index,
                java.lang.Object value) | 
| WordInfo.Builder | setStartTime(Duration.Builder builderForValue)
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the start of the spoken word. | 
| WordInfo.Builder | setStartTime(Duration value)
 *Output-only* Time offset relative to the beginning of the audio,
 and corresponding to the start of the spoken word. | 
| WordInfo.Builder | setUnknownFields(UnknownFieldSet unknownFields) | 
| WordInfo.Builder | setWord(java.lang.String value)
 *Output-only* The word corresponding to this set of information. | 
| WordInfo.Builder | setWordBytes(ByteString value)
 *Output-only* The word corresponding to this set of information. | 
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<WordInfo.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic WordInfo build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic WordInfo buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic WordInfo.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<WordInfo.Builder>public WordInfo.Builder mergeFrom(WordInfo other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<WordInfo.Builder>public WordInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<WordInfo.Builder>java.io.IOExceptionpublic 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;hasStartTime in interface WordInfoOrBuilderpublic 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;getStartTime in interface WordInfoOrBuilderpublic WordInfo.Builder setStartTime(Duration value)
*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;public WordInfo.Builder setStartTime(Duration.Builder builderForValue)
*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;public WordInfo.Builder mergeStartTime(Duration value)
*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;public WordInfo.Builder clearStartTime()
*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;public Duration.Builder getStartTimeBuilder()
*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;public 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;getStartTimeOrBuilder in interface WordInfoOrBuilderpublic 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;hasEndTime in interface WordInfoOrBuilderpublic 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;getEndTime in interface WordInfoOrBuilderpublic WordInfo.Builder setEndTime(Duration value)
*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;public WordInfo.Builder setEndTime(Duration.Builder builderForValue)
*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;public WordInfo.Builder mergeEndTime(Duration value)
*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;public WordInfo.Builder clearEndTime()
*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;public Duration.Builder getEndTimeBuilder()
*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;public 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;getEndTimeOrBuilder in interface WordInfoOrBuilderpublic java.lang.String getWord()
*Output-only* The word corresponding to this set of information.
string word = 3;getWord in interface WordInfoOrBuilderpublic ByteString getWordBytes()
*Output-only* The word corresponding to this set of information.
string word = 3;getWordBytes in interface WordInfoOrBuilderpublic WordInfo.Builder setWord(java.lang.String value)
*Output-only* The word corresponding to this set of information.
string word = 3;public WordInfo.Builder clearWord()
*Output-only* The word corresponding to this set of information.
string word = 3;public WordInfo.Builder setWordBytes(ByteString value)
*Output-only* The word corresponding to this set of information.
string word = 3;public final WordInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<WordInfo.Builder>public final WordInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<WordInfo.Builder>