- 4.49.0 (latest)
- 4.48.0
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
public enum StreamingRecognizeResponse.SpeechEventType extends Enum<StreamingRecognizeResponse.SpeechEventType> implements ProtocolMessageEnum
Indicates the type of speech event.
Protobuf enum google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType
Implements
ProtocolMessageEnumStatic Fields
Name | Description |
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 (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
|
END_OF_SINGLE_UTTERANCE_VALUE | 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
|
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 |
SPEECH_ACTIVITY_BEGIN_VALUE | 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 |
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 |
SPEECH_ACTIVITY_END_VALUE | 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 |
SPEECH_ACTIVITY_TIMEOUT | This event indicates that the user-set timeout for speech activity begin or end has exceeded. Upon receiving this event, the client is expected to send a half close. Further audio will not be processed. |
SPEECH_ACTIVITY_TIMEOUT_VALUE | This event indicates that the user-set timeout for speech activity begin or end has exceeded. Upon receiving this event, the client is expected to send a half close. Further audio will not be processed. |
SPEECH_EVENT_UNSPECIFIED | No speech event specified. |
SPEECH_EVENT_UNSPECIFIED_VALUE | No speech event specified. |
UNRECOGNIZED |
Static Methods
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |