- 0.94.0 (latest)
- 0.93.0
- 0.92.0
- 0.91.0
- 0.89.0
- 0.87.0
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class StreamingDetectIntentResponse.Builder extends GeneratedMessage.Builder<StreamingDetectIntentResponse.Builder> implements StreamingDetectIntentResponseOrBuilderThe top-level message returned from the StreamingDetectIntent method.
Multiple response messages can be returned in order:
If the
StreamingDetectIntentRequest.query_input.audiofield was set, the first M messages containrecognition_result. Eachrecognition_resultrepresents a more complete transcript of what the user said. The lastrecognition_resulthasis_finalset totrue.If the
StreamingDetectIntentRequest.enable_partial_responsefield was true, thedetect_intent_responsefield is populated for each of the following N responses, where 0 <= N <= 5. These responses set the DetectIntentResponse.response_type field toPARTIAL.For the last response message, the
detect_intent_responseis fully populated, and DetectIntentResponse.response_type is set toFINAL.
Protobuf type google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StreamingDetectIntentResponse.BuilderImplements
StreamingDetectIntentResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StreamingDetectIntentResponse build()| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse |
|
buildPartial()
public StreamingDetectIntentResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse |
|
clear()
public StreamingDetectIntentResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
clearDebuggingInfo()
public StreamingDetectIntentResponse.Builder clearDebuggingInfo() Debugging info that would get populated when
StreamingDetectIntentRequest.enable_debugging_info is set to true.
.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo debugging_info = 4;
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
clearDetectIntentResponse()
public StreamingDetectIntentResponse.Builder clearDetectIntentResponse()The response from detect intent.
.google.cloud.dialogflow.cx.v3.DetectIntentResponse detect_intent_response = 2;
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
clearRecognitionResult()
public StreamingDetectIntentResponse.Builder clearRecognitionResult()The result of speech recognition.
.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult recognition_result = 1;
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
clearResponse()
public StreamingDetectIntentResponse.Builder clearResponse()| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
getDebuggingInfo()
public CloudConversationDebuggingInfo getDebuggingInfo() Debugging info that would get populated when
StreamingDetectIntentRequest.enable_debugging_info is set to true.
.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo debugging_info = 4;
| Returns | |
|---|---|
| Type | Description |
CloudConversationDebuggingInfo |
The debuggingInfo. |
getDebuggingInfoBuilder()
public CloudConversationDebuggingInfo.Builder getDebuggingInfoBuilder() Debugging info that would get populated when
StreamingDetectIntentRequest.enable_debugging_info is set to true.
.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo debugging_info = 4;
| Returns | |
|---|---|
| Type | Description |
CloudConversationDebuggingInfo.Builder |
|
getDebuggingInfoOrBuilder()
public CloudConversationDebuggingInfoOrBuilder getDebuggingInfoOrBuilder() Debugging info that would get populated when
StreamingDetectIntentRequest.enable_debugging_info is set to true.
.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo debugging_info = 4;
| Returns | |
|---|---|
| Type | Description |
CloudConversationDebuggingInfoOrBuilder |
|
getDefaultInstanceForType()
public StreamingDetectIntentResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDetectIntentResponse()
public DetectIntentResponse getDetectIntentResponse()The response from detect intent.
.google.cloud.dialogflow.cx.v3.DetectIntentResponse detect_intent_response = 2;
| Returns | |
|---|---|
| Type | Description |
DetectIntentResponse |
The detectIntentResponse. |
getDetectIntentResponseBuilder()
public DetectIntentResponse.Builder getDetectIntentResponseBuilder()The response from detect intent.
.google.cloud.dialogflow.cx.v3.DetectIntentResponse detect_intent_response = 2;
| Returns | |
|---|---|
| Type | Description |
DetectIntentResponse.Builder |
|
getDetectIntentResponseOrBuilder()
public DetectIntentResponseOrBuilder getDetectIntentResponseOrBuilder()The response from detect intent.
.google.cloud.dialogflow.cx.v3.DetectIntentResponse detect_intent_response = 2;
| Returns | |
|---|---|
| Type | Description |
DetectIntentResponseOrBuilder |
|
getRecognitionResult()
public StreamingRecognitionResult getRecognitionResult()The result of speech recognition.
.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult recognition_result = 1;
| Returns | |
|---|---|
| Type | Description |
StreamingRecognitionResult |
The recognitionResult. |
getRecognitionResultBuilder()
public StreamingRecognitionResult.Builder getRecognitionResultBuilder()The result of speech recognition.
.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult recognition_result = 1;
| Returns | |
|---|---|
| Type | Description |
StreamingRecognitionResult.Builder |
|
getRecognitionResultOrBuilder()
public StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()The result of speech recognition.
.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult recognition_result = 1;
| Returns | |
|---|---|
| Type | Description |
StreamingRecognitionResultOrBuilder |
|
getResponseCase()
public StreamingDetectIntentResponse.ResponseCase getResponseCase()| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.ResponseCase |
|
hasDebuggingInfo()
public boolean hasDebuggingInfo() Debugging info that would get populated when
StreamingDetectIntentRequest.enable_debugging_info is set to true.
.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo debugging_info = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the debuggingInfo field is set. |
hasDetectIntentResponse()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDebuggingInfo(CloudConversationDebuggingInfo value)
public StreamingDetectIntentResponse.Builder mergeDebuggingInfo(CloudConversationDebuggingInfo value) Debugging info that would get populated when
StreamingDetectIntentRequest.enable_debugging_info is set to true.
.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo debugging_info = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudConversationDebuggingInfo |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
mergeDetectIntentResponse(DetectIntentResponse value)
public StreamingDetectIntentResponse.Builder mergeDetectIntentResponse(DetectIntentResponse value)The response from detect intent.
.google.cloud.dialogflow.cx.v3.DetectIntentResponse detect_intent_response = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DetectIntentResponse |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
mergeFrom(StreamingDetectIntentResponse other)
public StreamingDetectIntentResponse.Builder mergeFrom(StreamingDetectIntentResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamingDetectIntentResponse |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingDetectIntentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StreamingDetectIntentResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
mergeRecognitionResult(StreamingRecognitionResult value)
public StreamingDetectIntentResponse.Builder mergeRecognitionResult(StreamingRecognitionResult value)The result of speech recognition.
.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult recognition_result = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StreamingRecognitionResult |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
setDebuggingInfo(CloudConversationDebuggingInfo value)
public StreamingDetectIntentResponse.Builder setDebuggingInfo(CloudConversationDebuggingInfo value) Debugging info that would get populated when
StreamingDetectIntentRequest.enable_debugging_info is set to true.
.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo debugging_info = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudConversationDebuggingInfo |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
setDebuggingInfo(CloudConversationDebuggingInfo.Builder builderForValue)
public StreamingDetectIntentResponse.Builder setDebuggingInfo(CloudConversationDebuggingInfo.Builder builderForValue) Debugging info that would get populated when
StreamingDetectIntentRequest.enable_debugging_info is set to true.
.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo debugging_info = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CloudConversationDebuggingInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
setDetectIntentResponse(DetectIntentResponse value)
public StreamingDetectIntentResponse.Builder setDetectIntentResponse(DetectIntentResponse value)The response from detect intent.
.google.cloud.dialogflow.cx.v3.DetectIntentResponse detect_intent_response = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DetectIntentResponse |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
setDetectIntentResponse(DetectIntentResponse.Builder builderForValue)
public StreamingDetectIntentResponse.Builder setDetectIntentResponse(DetectIntentResponse.Builder builderForValue)The response from detect intent.
.google.cloud.dialogflow.cx.v3.DetectIntentResponse detect_intent_response = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DetectIntentResponse.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
setRecognitionResult(StreamingRecognitionResult value)
public StreamingDetectIntentResponse.Builder setRecognitionResult(StreamingRecognitionResult value)The result of speech recognition.
.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult recognition_result = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StreamingRecognitionResult |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|
setRecognitionResult(StreamingRecognitionResult.Builder builderForValue)
public StreamingDetectIntentResponse.Builder setRecognitionResult(StreamingRecognitionResult.Builder builderForValue)The result of speech recognition.
.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult recognition_result = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StreamingRecognitionResult.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamingDetectIntentResponse.Builder |
|