Interface StreamingRecognitionConfig.VoiceActivityTimeoutOrBuilder (4.12.0)

public static interface StreamingRecognitionConfig.VoiceActivityTimeoutOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSpeechEndTimeout()

public abstract Duration getSpeechEndTimeout()

Duration to timeout the stream after speech ends.

.google.protobuf.Duration speech_end_timeout = 2;

Returns
TypeDescription
Duration

The speechEndTimeout.

getSpeechEndTimeoutOrBuilder()

public abstract DurationOrBuilder getSpeechEndTimeoutOrBuilder()

Duration to timeout the stream after speech ends.

.google.protobuf.Duration speech_end_timeout = 2;

Returns
TypeDescription
DurationOrBuilder

getSpeechStartTimeout()

public abstract Duration getSpeechStartTimeout()

Duration to timeout the stream if no speech begins.

.google.protobuf.Duration speech_start_timeout = 1;

Returns
TypeDescription
Duration

The speechStartTimeout.

getSpeechStartTimeoutOrBuilder()

public abstract DurationOrBuilder getSpeechStartTimeoutOrBuilder()

Duration to timeout the stream if no speech begins.

.google.protobuf.Duration speech_start_timeout = 1;

Returns
TypeDescription
DurationOrBuilder

hasSpeechEndTimeout()

public abstract boolean hasSpeechEndTimeout()

Duration to timeout the stream after speech ends.

.google.protobuf.Duration speech_end_timeout = 2;

Returns
TypeDescription
boolean

Whether the speechEndTimeout field is set.

hasSpeechStartTimeout()

public abstract boolean hasSpeechStartTimeout()

Duration to timeout the stream if no speech begins.

.google.protobuf.Duration speech_start_timeout = 1;

Returns
TypeDescription
boolean

Whether the speechStartTimeout field is set.