Interface StreamingRecognitionConfig.VoiceActivityTimeoutOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
      • 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 Detail

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