Interface StreamingDetectIntentResponseOrBuilder (0.17.0)

public interface StreamingDetectIntentResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetectIntentResponse()

public abstract DetectIntentResponse getDetectIntentResponse()

The response from detect intent.

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

Returns
TypeDescription
DetectIntentResponse

The detectIntentResponse.

getDetectIntentResponseOrBuilder()

public abstract DetectIntentResponseOrBuilder getDetectIntentResponseOrBuilder()

The response from detect intent.

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

Returns
TypeDescription
DetectIntentResponseOrBuilder

getRecognitionResult()

public abstract StreamingRecognitionResult getRecognitionResult()

The result of speech recognition.

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

Returns
TypeDescription
StreamingRecognitionResult

The recognitionResult.

getRecognitionResultOrBuilder()

public abstract StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()

The result of speech recognition.

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

Returns
TypeDescription
StreamingRecognitionResultOrBuilder

getResponseCase()

public abstract StreamingDetectIntentResponse.ResponseCase getResponseCase()
Returns
TypeDescription
StreamingDetectIntentResponse.ResponseCase

hasDetectIntentResponse()

public abstract boolean hasDetectIntentResponse()

The response from detect intent.

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

Returns
TypeDescription
boolean

Whether the detectIntentResponse field is set.

hasRecognitionResult()

public abstract boolean hasRecognitionResult()

The result of speech recognition.

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

Returns
TypeDescription
boolean

Whether the recognitionResult field is set.