Enum StreamingRecognitionResult.MessageType (4.7.4)

public enum StreamingRecognitionResult.MessageType extends Enum<StreamingRecognitionResult.MessageType> implements ProtocolMessageEnum

Type of the response message.

Protobuf enum google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.MessageType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DTMF_DIGITS

Message contains DTMF digits. When the client gets the message, it should stop sending additional data, half-close the gRPC connection, and wait for any additional results until the server closes the gRPC. connection.

DTMF_DIGITS = 3;

DTMF_DIGITS_VALUE

Message contains DTMF digits. When the client gets the message, it should stop sending additional data, half-close the gRPC connection, and wait for any additional results until the server closes the gRPC. connection.

DTMF_DIGITS = 3;

END_OF_SINGLE_UTTERANCE

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 message is only sent if single_utterance was set to true, and is not used otherwise.

END_OF_SINGLE_UTTERANCE = 2;

END_OF_SINGLE_UTTERANCE_VALUE

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 message is only sent if single_utterance was set to true, and is not used otherwise.

END_OF_SINGLE_UTTERANCE = 2;

MESSAGE_TYPE_UNSPECIFIED

Not specified. Should never be used.

MESSAGE_TYPE_UNSPECIFIED = 0;

MESSAGE_TYPE_UNSPECIFIED_VALUE

Not specified. Should never be used.

MESSAGE_TYPE_UNSPECIFIED = 0;

PARTIAL_DTMF_DIGITS

Message contains DTMF digits. Before a message with DTMF_DIGITS is sent, a message with PARTIAL_DTMF_DIGITS may be sent with DTMF digits collected up to the time of sending, which represents an intermediate result.

PARTIAL_DTMF_DIGITS = 4;

PARTIAL_DTMF_DIGITS_VALUE

Message contains DTMF digits. Before a message with DTMF_DIGITS is sent, a message with PARTIAL_DTMF_DIGITS may be sent with DTMF digits collected up to the time of sending, which represents an intermediate result.

PARTIAL_DTMF_DIGITS = 4;

TRANSCRIPT

Message contains a (possibly partial) transcript.

TRANSCRIPT = 1;

TRANSCRIPT_VALUE

Message contains a (possibly partial) transcript.

TRANSCRIPT = 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()