Interface StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StreamingRecognitionFeatures.VoiceActivityTimeout, StreamingRecognitionFeatures.VoiceActivityTimeout.Builder
Enclosing class:
StreamingRecognitionFeatures

public static interface StreamingRecognitionFeatures.VoiceActivityTimeoutOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    Duration to timeout the stream after speech ends.
    com.google.protobuf.DurationOrBuilder
    Duration to timeout the stream after speech ends.
    com.google.protobuf.Duration
    Duration to timeout the stream if no speech begins.
    com.google.protobuf.DurationOrBuilder
    Duration to timeout the stream if no speech begins.
    boolean
    Duration to timeout the stream after speech ends.
    boolean
    Duration to timeout the stream if no speech begins.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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. 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;
      Returns:
      Whether the speechStartTimeout field is set.
    • getSpeechStartTimeout

      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;
      Returns:
      The speechStartTimeout.
    • getSpeechStartTimeoutOrBuilder

      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;
    • hasSpeechEndTimeout

      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;
      Returns:
      Whether the speechEndTimeout field is set.
    • getSpeechEndTimeout

      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;
      Returns:
      The speechEndTimeout.
    • getSpeechEndTimeoutOrBuilder

      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;