Enum StreamingRecognizeResponse.EndpointerType (4.8.0)

public enum StreamingRecognizeResponse.EndpointerType extends Enum<StreamingRecognizeResponse.EndpointerType> implements ProtocolMessageEnum

Indicates the type of endpointer event.

Protobuf enum google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ENDPOINTER_EVENT_UNSPECIFIED

No endpointer event specified.

ENDPOINTER_EVENT_UNSPECIFIED = 0;

ENDPOINTER_EVENT_UNSPECIFIED_VALUE

No endpointer event specified.

ENDPOINTER_EVENT_UNSPECIFIED = 0;

END_OF_AUDIO

This event is sent after the client has half-closed the input stream gRPC connection and the server has received all of the audio. (The server may still be processing the audio and may subsequently return additional results.)

END_OF_AUDIO = 3;

END_OF_AUDIO_VALUE

This event is sent after the client has half-closed the input stream gRPC connection and the server has received all of the audio. (The server may still be processing the audio and may subsequently return additional results.)

END_OF_AUDIO = 3;

END_OF_SPEECH

Speech has ceased to be detected in the audio stream. (For example, the user may have paused after speaking.) If single_utterance is false, the service will continue to process audio, and if subsequent speech is detected, will send another START_OF_SPEECH event.

END_OF_SPEECH = 2;

END_OF_SPEECH_VALUE

Speech has ceased to be detected in the audio stream. (For example, the user may have paused after speaking.) If single_utterance is false, the service will continue to process audio, and if subsequent speech is detected, will send another START_OF_SPEECH event.

END_OF_SPEECH = 2;

END_OF_UTTERANCE

This event is only sent when single_utterance is true. It 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.

END_OF_UTTERANCE = 4;

END_OF_UTTERANCE_VALUE

This event is only sent when single_utterance is true. It 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.

END_OF_UTTERANCE = 4;

START_OF_SPEECH

Speech has been detected in the audio stream, and the service is beginning to process it.

START_OF_SPEECH = 1;

START_OF_SPEECH_VALUE

Speech has been detected in the audio stream, and the service is beginning to process it.

START_OF_SPEECH = 1;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()