public static interface StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Duration |
getSpeechEndTimeout()
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.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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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;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;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;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;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;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;Copyright © 2023 Google LLC. All rights reserved.