Reference documentation and code samples for the Cloud Speech V1p1beta1 Client class SpeechEventType.
Indicates the type of speech event.
Protobuf type google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType
Methods
name
Parameter
Name
Description
value
mixed
value
Parameter
Name
Description
name
mixed
Constants
SPEECH_EVENT_UNSPECIFIED
Value: 0
No speech event specified.
Generated from protobuf enum SPEECH_EVENT_UNSPECIFIED = 0;
END_OF_SINGLE_UTTERANCE
Value: 1
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 (although it may subsequently return
additional results). The client should stop sending additional audio
data, half-close the gRPC connection, and wait for any additional results
until the server closes the gRPC connection. This event is only sent if
single_utterance was set to true, and is not used otherwise.
Generated from protobuf enum END_OF_SINGLE_UTTERANCE = 1;
[[["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 2024-12-19 UTC."],[],[]]