StreamingDetectIntentResponse( mapping=None, *, ignore_unknown_fields=False, **kwargs )
The top-level message returned from the StreamingDetectIntent method.
Multiple response messages (N) can be returned in order.
The first (N-1) responses set either the
detect_intent_response field, depending on the request:
StreamingDetectIntentRequest.query_input.audiofield was set, and the
StreamingDetectIntentRequest.enable_partial_responsefield was false, the
recognition_resultfield is populated for each of the (N-1) responses. See the StreamingRecognitionResult message for details about the result message sequence.
StreamingDetectIntentRequest.enable_partial_responsefield was true, the
detect_intent_responsefield is populated for each of the (N-1) responses, where 1 <= N <= 4. These responses set the DetectIntentResponse.response_type field to
For the final Nth response message, the
is fully populated, and
is set to
This message has
oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
The result of speech recognition. This field is a member of `oneof`_ ``response``.
The response from detect intent. This field is a member of `oneof`_ ``response``.