Send feedback
Class StreamingRecognitionConfig.VoiceActivityTimeout.Builder (4.35.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.35.0 keyboard_arrow_down
public static final class StreamingRecognitionConfig . VoiceActivityTimeout . Builder extends GeneratedMessageV3 . Builder<StreamingRecognitionConfig . VoiceActivityTimeout . Builder > implements StreamingRecognitionConfig . VoiceActivityTimeoutOrBuilder
Events that a timeout can be set on for voice activity.
Protobuf type google.cloud.speech.v1.StreamingRecognitionConfig.VoiceActivityTimeout
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public StreamingRecognitionConfig . VoiceActivityTimeout build ()
buildPartial()
public StreamingRecognitionConfig . VoiceActivityTimeout buildPartial ()
clear()
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSpeechEndTimeout()
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder clearSpeechEndTimeout ()
Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;
clearSpeechStartTimeout()
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder clearSpeechStartTimeout ()
Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1;
clone()
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder clone ()
Overrides
getDefaultInstanceForType()
public StreamingRecognitionConfig . VoiceActivityTimeout getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getSpeechEndTimeout()
public Duration getSpeechEndTimeout ()
Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;
Returns Type Description Duration
The speechEndTimeout.
getSpeechEndTimeoutBuilder()
public Duration . Builder getSpeechEndTimeoutBuilder ()
Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;
getSpeechEndTimeoutOrBuilder()
public DurationOrBuilder getSpeechEndTimeoutOrBuilder ()
Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;
getSpeechStartTimeout()
public Duration getSpeechStartTimeout ()
Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1;
Returns Type Description Duration
The speechStartTimeout.
getSpeechStartTimeoutBuilder()
public Duration . Builder getSpeechStartTimeoutBuilder ()
Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1;
getSpeechStartTimeoutOrBuilder()
public DurationOrBuilder getSpeechStartTimeoutOrBuilder ()
Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1;
hasSpeechEndTimeout()
public boolean hasSpeechEndTimeout ()
Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;
Returns Type Description boolean
Whether the speechEndTimeout field is set.
hasSpeechStartTimeout()
public boolean hasSpeechStartTimeout ()
Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1;
Returns Type Description boolean
Whether the speechStartTimeout field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(StreamingRecognitionConfig.VoiceActivityTimeout other)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder mergeFrom ( StreamingRecognitionConfig . VoiceActivityTimeout other )
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeSpeechEndTimeout(Duration value)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder mergeSpeechEndTimeout ( Duration value )
Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;
mergeSpeechStartTimeout(Duration value)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder mergeSpeechStartTimeout ( Duration value )
Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingRecognitionConfig . VoiceActivityTimeout . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSpeechEndTimeout(Duration value)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder setSpeechEndTimeout ( Duration value )
Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;
setSpeechEndTimeout(Duration.Builder builderForValue)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder setSpeechEndTimeout ( Duration . Builder builderForValue )
Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;
Parameter Name Description builderForValue
Builder
setSpeechStartTimeout(Duration value)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder setSpeechStartTimeout ( Duration value )
Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1;
setSpeechStartTimeout(Duration.Builder builderForValue)
public StreamingRecognitionConfig . VoiceActivityTimeout . Builder setSpeechStartTimeout ( Duration . Builder builderForValue )
Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1;
Parameter Name Description builderForValue
Builder
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingRecognitionConfig . VoiceActivityTimeout . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]