Interface StreamingRecognitionFeaturesOrBuilder

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

@Generated public interface StreamingRecognitionFeaturesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getEnableVoiceActivityEvents

      boolean getEnableVoiceActivityEvents()
       If `true`, responses with voice activity speech events will be returned as
       they are detected.
       
      bool enable_voice_activity_events = 1;
      Returns:
      The enableVoiceActivityEvents.
    • getInterimResults

      boolean getInterimResults()
       Whether or not to stream interim results to the client. If set to true,
       interim results will be streamed to the client. Otherwise, only the final
       response will be streamed back.
       
      bool interim_results = 2;
      Returns:
      The interimResults.
    • hasVoiceActivityTimeout

      boolean hasVoiceActivityTimeout()
       If set, the server will automatically close the stream after the specified
       duration has elapsed after the last VOICE_ACTIVITY speech event has been
       sent. The field `voice_activity_events` must also be set to true.
       
      .google.cloud.speech.v2.StreamingRecognitionFeatures.VoiceActivityTimeout voice_activity_timeout = 3;
      Returns:
      Whether the voiceActivityTimeout field is set.
    • getVoiceActivityTimeout

       If set, the server will automatically close the stream after the specified
       duration has elapsed after the last VOICE_ACTIVITY speech event has been
       sent. The field `voice_activity_events` must also be set to true.
       
      .google.cloud.speech.v2.StreamingRecognitionFeatures.VoiceActivityTimeout voice_activity_timeout = 3;
      Returns:
      The voiceActivityTimeout.
    • getVoiceActivityTimeoutOrBuilder

       If set, the server will automatically close the stream after the specified
       duration has elapsed after the last VOICE_ACTIVITY speech event has been
       sent. The field `voice_activity_events` must also be set to true.
       
      .google.cloud.speech.v2.StreamingRecognitionFeatures.VoiceActivityTimeout voice_activity_timeout = 3;
    • getEndpointingSensitivityValue

      int getEndpointingSensitivityValue()
       Optional. Endpointing sensitivity for this stream.
       
      .google.cloud.speech.v2.StreamingRecognitionFeatures.EndpointingSensitivity endpointing_sensitivity = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for endpointingSensitivity.
    • getEndpointingSensitivity

       Optional. Endpointing sensitivity for this stream.
       
      .google.cloud.speech.v2.StreamingRecognitionFeatures.EndpointingSensitivity endpointing_sensitivity = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The endpointingSensitivity.