Class StreamingDetectIntentResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamingDetectIntentResponse.Builder>
com.google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentResponse.Builder
All Implemented Interfaces:
StreamingDetectIntentResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StreamingDetectIntentResponse

public static final class StreamingDetectIntentResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<StreamingDetectIntentResponse.Builder> implements StreamingDetectIntentResponseOrBuilder
 The top-level message returned from the
 [StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent]
 method.

 Multiple response messages can be returned in order:

 *   If the `StreamingDetectIntentRequest.query_input.audio` field was
 set, the first M messages contain `recognition_result`.
 Each `recognition_result` represents a more complete transcript of what
 the user said. The last `recognition_result` has `is_final` set to
 `true`.

 *   If the `StreamingDetectIntentRequest.enable_partial_response` field was
 true, the `detect_intent_response` field is populated for each
 of the following N responses, where 0 <= N <= 5.
 These responses set the
 [DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.response_type]
 field to `PARTIAL`.

 For the last response message, the `detect_intent_response` is fully
 populated, and
 [DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.response_type]
 is set to `FINAL`.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentResponse