Interface StreamingRecognizeResponseOrBuilder

    • Method Detail

      • getResultsList

        List<StreamingRecognitionResult> getResultsList()
         This repeated list contains zero or more results that
         correspond to consecutive portions of the audio currently being processed.
         It contains zero or one
         [is_final][google.cloud.speech.v2.StreamingRecognitionResult.is_final]=`true`
         result (the newly settled portion), followed by zero or more
         [is_final][google.cloud.speech.v2.StreamingRecognitionResult.is_final]=`false`
         results (the interim results).
         
        repeated .google.cloud.speech.v2.StreamingRecognitionResult results = 6;
      • getResults

        StreamingRecognitionResult getResults​(int index)
         This repeated list contains zero or more results that
         correspond to consecutive portions of the audio currently being processed.
         It contains zero or one
         [is_final][google.cloud.speech.v2.StreamingRecognitionResult.is_final]=`true`
         result (the newly settled portion), followed by zero or more
         [is_final][google.cloud.speech.v2.StreamingRecognitionResult.is_final]=`false`
         results (the interim results).
         
        repeated .google.cloud.speech.v2.StreamingRecognitionResult results = 6;
      • getResultsCount

        int getResultsCount()
         This repeated list contains zero or more results that
         correspond to consecutive portions of the audio currently being processed.
         It contains zero or one
         [is_final][google.cloud.speech.v2.StreamingRecognitionResult.is_final]=`true`
         result (the newly settled portion), followed by zero or more
         [is_final][google.cloud.speech.v2.StreamingRecognitionResult.is_final]=`false`
         results (the interim results).
         
        repeated .google.cloud.speech.v2.StreamingRecognitionResult results = 6;
      • getResultsOrBuilderList

        List<? extends StreamingRecognitionResultOrBuilder> getResultsOrBuilderList()
         This repeated list contains zero or more results that
         correspond to consecutive portions of the audio currently being processed.
         It contains zero or one
         [is_final][google.cloud.speech.v2.StreamingRecognitionResult.is_final]=`true`
         result (the newly settled portion), followed by zero or more
         [is_final][google.cloud.speech.v2.StreamingRecognitionResult.is_final]=`false`
         results (the interim results).
         
        repeated .google.cloud.speech.v2.StreamingRecognitionResult results = 6;
      • getResultsOrBuilder

        StreamingRecognitionResultOrBuilder getResultsOrBuilder​(int index)
         This repeated list contains zero or more results that
         correspond to consecutive portions of the audio currently being processed.
         It contains zero or one
         [is_final][google.cloud.speech.v2.StreamingRecognitionResult.is_final]=`true`
         result (the newly settled portion), followed by zero or more
         [is_final][google.cloud.speech.v2.StreamingRecognitionResult.is_final]=`false`
         results (the interim results).
         
        repeated .google.cloud.speech.v2.StreamingRecognitionResult results = 6;
      • getSpeechEventTypeValue

        int getSpeechEventTypeValue()
         Indicates the type of speech event.
         
        .google.cloud.speech.v2.StreamingRecognizeResponse.SpeechEventType speech_event_type = 3;
        Returns:
        The enum numeric value on the wire for speechEventType.
      • getSpeechEventType

        StreamingRecognizeResponse.SpeechEventType getSpeechEventType()
         Indicates the type of speech event.
         
        .google.cloud.speech.v2.StreamingRecognizeResponse.SpeechEventType speech_event_type = 3;
        Returns:
        The speechEventType.
      • hasSpeechEventOffset

        boolean hasSpeechEventOffset()
         Time offset between the beginning of the audio and event emission.
         
        .google.protobuf.Duration speech_event_offset = 7;
        Returns:
        Whether the speechEventOffset field is set.
      • getSpeechEventOffset

        com.google.protobuf.Duration getSpeechEventOffset()
         Time offset between the beginning of the audio and event emission.
         
        .google.protobuf.Duration speech_event_offset = 7;
        Returns:
        The speechEventOffset.
      • getSpeechEventOffsetOrBuilder

        com.google.protobuf.DurationOrBuilder getSpeechEventOffsetOrBuilder()
         Time offset between the beginning of the audio and event emission.
         
        .google.protobuf.Duration speech_event_offset = 7;
      • hasMetadata

        boolean hasMetadata()
         Metadata about the recognition.
         
        .google.cloud.speech.v2.RecognitionResponseMetadata metadata = 5;
        Returns:
        Whether the metadata field is set.
      • getMetadata

        RecognitionResponseMetadata getMetadata()
         Metadata about the recognition.
         
        .google.cloud.speech.v2.RecognitionResponseMetadata metadata = 5;
        Returns:
        The metadata.
      • getMetadataOrBuilder

        RecognitionResponseMetadataOrBuilder getMetadataOrBuilder()
         Metadata about the recognition.
         
        .google.cloud.speech.v2.RecognitionResponseMetadata metadata = 5;