public static final class StreamingRecognitionFeatures.VoiceActivityTimeout.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder> implements StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilder
Events that a timeout can be set on for voice activity.Protobuf type
google.cloud.speech.v2.StreamingRecognitionFeatures.VoiceActivityTimeout| Modifier and Type | Method and Description |
|---|---|
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamingRecognitionFeatures.VoiceActivityTimeout |
build() |
StreamingRecognitionFeatures.VoiceActivityTimeout |
buildPartial() |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
clear() |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
clearSpeechEndTimeout()
Duration to timeout the stream after speech ends.
|
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
clearSpeechStartTimeout()
Duration to timeout the stream if no speech begins.
|
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
clone() |
StreamingRecognitionFeatures.VoiceActivityTimeout |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getSpeechEndTimeout()
Duration to timeout the stream after speech ends.
|
com.google.protobuf.Duration.Builder |
getSpeechEndTimeoutBuilder()
Duration to timeout the stream after speech ends.
|
com.google.protobuf.DurationOrBuilder |
getSpeechEndTimeoutOrBuilder()
Duration to timeout the stream after speech ends.
|
com.google.protobuf.Duration |
getSpeechStartTimeout()
Duration to timeout the stream if no speech begins.
|
com.google.protobuf.Duration.Builder |
getSpeechStartTimeoutBuilder()
Duration to timeout the stream if no speech begins.
|
com.google.protobuf.DurationOrBuilder |
getSpeechStartTimeoutOrBuilder()
Duration to timeout the stream if no speech begins.
|
boolean |
hasSpeechEndTimeout()
Duration to timeout the stream after speech ends.
|
boolean |
hasSpeechStartTimeout()
Duration to timeout the stream if no speech begins.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
mergeFrom(com.google.protobuf.Message other) |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
mergeFrom(StreamingRecognitionFeatures.VoiceActivityTimeout other) |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
mergeSpeechEndTimeout(com.google.protobuf.Duration value)
Duration to timeout the stream after speech ends.
|
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
mergeSpeechStartTimeout(com.google.protobuf.Duration value)
Duration to timeout the stream if no speech begins.
|
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
setSpeechEndTimeout(com.google.protobuf.Duration.Builder builderForValue)
Duration to timeout the stream after speech ends.
|
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
setSpeechEndTimeout(com.google.protobuf.Duration value)
Duration to timeout the stream after speech ends.
|
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
setSpeechStartTimeout(com.google.protobuf.Duration.Builder builderForValue)
Duration to timeout the stream if no speech begins.
|
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
setSpeechStartTimeout(com.google.protobuf.Duration value)
Duration to timeout the stream if no speech begins.
|
StreamingRecognitionFeatures.VoiceActivityTimeout.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public StreamingRecognitionFeatures.VoiceActivityTimeout getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamingRecognitionFeatures.VoiceActivityTimeout build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamingRecognitionFeatures.VoiceActivityTimeout buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamingRecognitionFeatures.VoiceActivityTimeout.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder mergeFrom(StreamingRecognitionFeatures.VoiceActivityTimeout other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>IOExceptionpublic boolean hasSpeechStartTimeout()
Duration to timeout the stream if no speech begins. If this is set and no speech is detected in this duration at the start of the stream, the server will close the stream.
.google.protobuf.Duration speech_start_timeout = 1;hasSpeechStartTimeout in interface StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilderpublic com.google.protobuf.Duration getSpeechStartTimeout()
Duration to timeout the stream if no speech begins. If this is set and no speech is detected in this duration at the start of the stream, the server will close the stream.
.google.protobuf.Duration speech_start_timeout = 1;getSpeechStartTimeout in interface StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilderpublic StreamingRecognitionFeatures.VoiceActivityTimeout.Builder setSpeechStartTimeout(com.google.protobuf.Duration value)
Duration to timeout the stream if no speech begins. If this is set and no speech is detected in this duration at the start of the stream, the server will close the stream.
.google.protobuf.Duration speech_start_timeout = 1;public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder setSpeechStartTimeout(com.google.protobuf.Duration.Builder builderForValue)
Duration to timeout the stream if no speech begins. If this is set and no speech is detected in this duration at the start of the stream, the server will close the stream.
.google.protobuf.Duration speech_start_timeout = 1;public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder mergeSpeechStartTimeout(com.google.protobuf.Duration value)
Duration to timeout the stream if no speech begins. If this is set and no speech is detected in this duration at the start of the stream, the server will close the stream.
.google.protobuf.Duration speech_start_timeout = 1;public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder clearSpeechStartTimeout()
Duration to timeout the stream if no speech begins. If this is set and no speech is detected in this duration at the start of the stream, the server will close the stream.
.google.protobuf.Duration speech_start_timeout = 1;public com.google.protobuf.Duration.Builder getSpeechStartTimeoutBuilder()
Duration to timeout the stream if no speech begins. If this is set and no speech is detected in this duration at the start of the stream, the server will close the stream.
.google.protobuf.Duration speech_start_timeout = 1;public com.google.protobuf.DurationOrBuilder getSpeechStartTimeoutOrBuilder()
Duration to timeout the stream if no speech begins. If this is set and no speech is detected in this duration at the start of the stream, the server will close the stream.
.google.protobuf.Duration speech_start_timeout = 1;getSpeechStartTimeoutOrBuilder in interface StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilderpublic boolean hasSpeechEndTimeout()
Duration to timeout the stream after speech ends. If this is set and no speech is detected in this duration after speech was detected, the server will close the stream.
.google.protobuf.Duration speech_end_timeout = 2;hasSpeechEndTimeout in interface StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilderpublic com.google.protobuf.Duration getSpeechEndTimeout()
Duration to timeout the stream after speech ends. If this is set and no speech is detected in this duration after speech was detected, the server will close the stream.
.google.protobuf.Duration speech_end_timeout = 2;getSpeechEndTimeout in interface StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilderpublic StreamingRecognitionFeatures.VoiceActivityTimeout.Builder setSpeechEndTimeout(com.google.protobuf.Duration value)
Duration to timeout the stream after speech ends. If this is set and no speech is detected in this duration after speech was detected, the server will close the stream.
.google.protobuf.Duration speech_end_timeout = 2;public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder setSpeechEndTimeout(com.google.protobuf.Duration.Builder builderForValue)
Duration to timeout the stream after speech ends. If this is set and no speech is detected in this duration after speech was detected, the server will close the stream.
.google.protobuf.Duration speech_end_timeout = 2;public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder mergeSpeechEndTimeout(com.google.protobuf.Duration value)
Duration to timeout the stream after speech ends. If this is set and no speech is detected in this duration after speech was detected, the server will close the stream.
.google.protobuf.Duration speech_end_timeout = 2;public StreamingRecognitionFeatures.VoiceActivityTimeout.Builder clearSpeechEndTimeout()
Duration to timeout the stream after speech ends. If this is set and no speech is detected in this duration after speech was detected, the server will close the stream.
.google.protobuf.Duration speech_end_timeout = 2;public com.google.protobuf.Duration.Builder getSpeechEndTimeoutBuilder()
Duration to timeout the stream after speech ends. If this is set and no speech is detected in this duration after speech was detected, the server will close the stream.
.google.protobuf.Duration speech_end_timeout = 2;public com.google.protobuf.DurationOrBuilder getSpeechEndTimeoutOrBuilder()
Duration to timeout the stream after speech ends. If this is set and no speech is detected in this duration after speech was detected, the server will close the stream.
.google.protobuf.Duration speech_end_timeout = 2;getSpeechEndTimeoutOrBuilder in interface StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilderpublic final StreamingRecognitionFeatures.VoiceActivityTimeout.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>public final StreamingRecognitionFeatures.VoiceActivityTimeout.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingRecognitionFeatures.VoiceActivityTimeout.Builder>Copyright © 2024 Google LLC. All rights reserved.