Interface StreamingDetectIntentResponseOrBuilder (0.14.7)

public interface StreamingDetectIntentResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetectIntentResponse()

public abstract DetectIntentResponse getDetectIntentResponse()

The response from detect intent.

.google.cloud.dialogflow.cx.v3.DetectIntentResponse detect_intent_response = 2;

Returns
Type Description
DetectIntentResponse

The detectIntentResponse.

getDetectIntentResponseOrBuilder()

public abstract DetectIntentResponseOrBuilder getDetectIntentResponseOrBuilder()

The response from detect intent.

.google.cloud.dialogflow.cx.v3.DetectIntentResponse detect_intent_response = 2;

Returns
Type Description
DetectIntentResponseOrBuilder

getRecognitionResult()

public abstract StreamingRecognitionResult getRecognitionResult()

The result of speech recognition.

.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
StreamingRecognitionResult

The recognitionResult.

getRecognitionResultOrBuilder()

public abstract StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()

The result of speech recognition.

.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
StreamingRecognitionResultOrBuilder

getResponseCase()

public abstract StreamingDetectIntentResponse.ResponseCase getResponseCase()
Returns
Type Description
StreamingDetectIntentResponse.ResponseCase

hasDetectIntentResponse()

public abstract boolean hasDetectIntentResponse()

The response from detect intent.

.google.cloud.dialogflow.cx.v3.DetectIntentResponse detect_intent_response = 2;

Returns
Type Description
boolean

Whether the detectIntentResponse field is set.

hasRecognitionResult()

public abstract boolean hasRecognitionResult()

The result of speech recognition.

.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
boolean

Whether the recognitionResult field is set.