Interface StreamingRecognitionConfig.VoiceActivityTimeoutOrBuilder (4.50.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
Type Description
Duration

The speechEndTimeout.

getSpeechEndTimeoutOrBuilder()

public abstract DurationOrBuilder getSpeechEndTimeoutOrBuilder()

Duration to timeout the stream after speech ends.

.google.protobuf.Duration speech_end_timeout = 2;

Returns
Type Description
DurationOrBuilder

getSpeechStartTimeout()

public abstract Duration getSpeechStartTimeout()

Duration to timeout the stream if no speech begins.

.google.protobuf.Duration speech_start_timeout = 1;

Returns
Type Description
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
Type Description
DurationOrBuilder

hasSpeechEndTimeout()

public abstract 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 abstract 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.