Package com.google.cloud.speech.v1
Interface StreamingRecognitionConfig.VoiceActivityTimeoutOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamingRecognitionConfig.VoiceActivityTimeout,StreamingRecognitionConfig.VoiceActivityTimeout.Builder
- Enclosing class:
- StreamingRecognitionConfig
public static interface StreamingRecognitionConfig.VoiceActivityTimeoutOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationDuration to timeout the stream after speech ends.com.google.protobuf.DurationOrBuilderDuration to timeout the stream after speech ends.com.google.protobuf.DurationDuration to timeout the stream if no speech begins.com.google.protobuf.DurationOrBuilderDuration to timeout the stream if no speech begins.booleanDuration to timeout the stream after speech ends.booleanDuration to timeout the stream if no speech begins.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
-
hasSpeechStartTimeout
boolean hasSpeechStartTimeout()Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1;- Returns:
- Whether the speechStartTimeout field is set.
-
getSpeechStartTimeout
com.google.protobuf.Duration getSpeechStartTimeout()Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1;- Returns:
- The speechStartTimeout.
-
getSpeechStartTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getSpeechStartTimeoutOrBuilder()Duration to timeout the stream if no speech begins.
.google.protobuf.Duration speech_start_timeout = 1; -
hasSpeechEndTimeout
boolean hasSpeechEndTimeout()Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;- Returns:
- Whether the speechEndTimeout field is set.
-
getSpeechEndTimeout
com.google.protobuf.Duration getSpeechEndTimeout()Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;- Returns:
- The speechEndTimeout.
-
getSpeechEndTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getSpeechEndTimeoutOrBuilder()Duration to timeout the stream after speech ends.
.google.protobuf.Duration speech_end_timeout = 2;
-