Send feedback
Class SpeechEventType (2.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
Indicates the type of speech event.
Enums
Name
Description
SPEECH_EVENT_TYPE_UNSPECIFIED
No speech event specified.
END_OF_SINGLE_UTTERANCE
This event indicates that the server has detected the end of the user's speech utterance and expects no additional speech. Therefore, the server will not process additional audio and will close the gRPC bidirectional stream. This event is only sent if there was a force cutoff due to silence being detected early. This event is only available through the `latest_short` model .
SPEECH_ACTIVITY_BEGIN
This event indicates that the server has detected the beginning of human voice activity in the stream. This event can be returned multiple times if speech starts and stops repeatedly throughout the stream. This event is only sent if `voice_activity_events` is set to true.
SPEECH_ACTIVITY_END
This event indicates that the server has detected the end of human voice activity in the stream. This event can be returned multiple times if speech starts and stops repeatedly throughout the stream. This event is only sent if `voice_activity_events` is set to true.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class SpeechEventType (2.33.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.33.0 (latest)](/python/docs/reference/speech/latest/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.32.0](/python/docs/reference/speech/2.32.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.31.0](/python/docs/reference/speech/2.31.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.30.0](/python/docs/reference/speech/2.30.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.29.0](/python/docs/reference/speech/2.29.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.28.1](/python/docs/reference/speech/2.28.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.27.0](/python/docs/reference/speech/2.27.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.26.1](/python/docs/reference/speech/2.26.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.25.1](/python/docs/reference/speech/2.25.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.24.1](/python/docs/reference/speech/2.24.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.23.0](/python/docs/reference/speech/2.23.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.22.0](/python/docs/reference/speech/2.22.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.21.1](/python/docs/reference/speech/2.21.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.20.1](/python/docs/reference/speech/2.20.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.19.0](/python/docs/reference/speech/2.19.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.18.0](/python/docs/reference/speech/2.18.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.17.3](/python/docs/reference/speech/2.17.3/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.16.2](/python/docs/reference/speech/2.16.2/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.15.1](/python/docs/reference/speech/2.15.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.14.1](/python/docs/reference/speech/2.14.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.13.1](/python/docs/reference/speech/2.13.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.12.0](/python/docs/reference/speech/2.12.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.11.1](/python/docs/reference/speech/2.11.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.10.0](/python/docs/reference/speech/2.10.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.9.3](/python/docs/reference/speech/2.9.3/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.8.0](/python/docs/reference/speech/2.8.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.7.0](/python/docs/reference/speech/2.7.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.6.0](/python/docs/reference/speech/2.6.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.5.1](/python/docs/reference/speech/2.5.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.4.1](/python/docs/reference/speech/2.4.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.3.0](/python/docs/reference/speech/2.3.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.2.1](/python/docs/reference/speech/2.2.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.1.0](/python/docs/reference/speech/2.1.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [2.0.1](/python/docs/reference/speech/2.0.1/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [1.3.4](/python/docs/reference/speech/1.3.4/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [1.2.0](/python/docs/reference/speech/1.2.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)\n- [1.1.0](/python/docs/reference/speech/1.1.0/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType) \n\n SpeechEventType(value)\n\nIndicates the type of speech event."]]