public static final class DetectIntentResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder> implements DetectIntentResponseOrBuilder
The message returned from the DetectIntent method.Protobuf type
google.cloud.dialogflow.v2beta1.DetectIntentResponse| Modifier and Type | Method and Description |
|---|---|
DetectIntentResponse.Builder |
addAllAlternativeQueryResults(Iterable<? extends QueryResult> values)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
DetectIntentResponse.Builder |
addAlternativeQueryResults(int index,
QueryResult.Builder builderForValue)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
DetectIntentResponse.Builder |
addAlternativeQueryResults(int index,
QueryResult value)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
DetectIntentResponse.Builder |
addAlternativeQueryResults(QueryResult.Builder builderForValue)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
DetectIntentResponse.Builder |
addAlternativeQueryResults(QueryResult value)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
QueryResult.Builder |
addAlternativeQueryResultsBuilder()
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
QueryResult.Builder |
addAlternativeQueryResultsBuilder(int index)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
DetectIntentResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DetectIntentResponse |
build() |
DetectIntentResponse |
buildPartial() |
DetectIntentResponse.Builder |
clear() |
DetectIntentResponse.Builder |
clearAlternativeQueryResults()
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
DetectIntentResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DetectIntentResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DetectIntentResponse.Builder |
clearOutputAudio()
The audio data bytes encoded as specified in the request.
|
DetectIntentResponse.Builder |
clearOutputAudioConfig()
Instructs the speech synthesizer how to generate the output audio.
|
DetectIntentResponse.Builder |
clearQueryResult()
The selected results of the conversational query or event processing.
|
DetectIntentResponse.Builder |
clearResponseId()
The unique identifier of the response.
|
DetectIntentResponse.Builder |
clearWebhookStatus()
Specifies the status of the webhook request.
|
DetectIntentResponse.Builder |
clone() |
QueryResult |
getAlternativeQueryResults(int index)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
QueryResult.Builder |
getAlternativeQueryResultsBuilder(int index)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
List<QueryResult.Builder> |
getAlternativeQueryResultsBuilderList()
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
int |
getAlternativeQueryResultsCount()
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
List<QueryResult> |
getAlternativeQueryResultsList()
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
QueryResultOrBuilder |
getAlternativeQueryResultsOrBuilder(int index)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
List<? extends QueryResultOrBuilder> |
getAlternativeQueryResultsOrBuilderList()
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
DetectIntentResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getOutputAudio()
The audio data bytes encoded as specified in the request.
|
OutputAudioConfig |
getOutputAudioConfig()
Instructs the speech synthesizer how to generate the output audio.
|
OutputAudioConfig.Builder |
getOutputAudioConfigBuilder()
Instructs the speech synthesizer how to generate the output audio.
|
OutputAudioConfigOrBuilder |
getOutputAudioConfigOrBuilder()
Instructs the speech synthesizer how to generate the output audio.
|
QueryResult |
getQueryResult()
The selected results of the conversational query or event processing.
|
QueryResult.Builder |
getQueryResultBuilder()
The selected results of the conversational query or event processing.
|
QueryResultOrBuilder |
getQueryResultOrBuilder()
The selected results of the conversational query or event processing.
|
String |
getResponseId()
The unique identifier of the response.
|
com.google.protobuf.ByteString |
getResponseIdBytes()
The unique identifier of the response.
|
com.google.rpc.Status |
getWebhookStatus()
Specifies the status of the webhook request.
|
com.google.rpc.Status.Builder |
getWebhookStatusBuilder()
Specifies the status of the webhook request.
|
com.google.rpc.StatusOrBuilder |
getWebhookStatusOrBuilder()
Specifies the status of the webhook request.
|
boolean |
hasOutputAudioConfig()
Instructs the speech synthesizer how to generate the output audio.
|
boolean |
hasQueryResult()
The selected results of the conversational query or event processing.
|
boolean |
hasWebhookStatus()
Specifies the status of the webhook request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DetectIntentResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DetectIntentResponse.Builder |
mergeFrom(DetectIntentResponse other) |
DetectIntentResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
DetectIntentResponse.Builder |
mergeOutputAudioConfig(OutputAudioConfig value)
Instructs the speech synthesizer how to generate the output audio.
|
DetectIntentResponse.Builder |
mergeQueryResult(QueryResult value)
The selected results of the conversational query or event processing.
|
DetectIntentResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DetectIntentResponse.Builder |
mergeWebhookStatus(com.google.rpc.Status value)
Specifies the status of the webhook request.
|
DetectIntentResponse.Builder |
removeAlternativeQueryResults(int index)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
DetectIntentResponse.Builder |
setAlternativeQueryResults(int index,
QueryResult.Builder builderForValue)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
DetectIntentResponse.Builder |
setAlternativeQueryResults(int index,
QueryResult value)
If Knowledge Connectors are enabled, there could be more than one result
returned for a given query or event, and this field will contain all
results except for the top one, which is captured in query_result.
|
DetectIntentResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DetectIntentResponse.Builder |
setOutputAudio(com.google.protobuf.ByteString value)
The audio data bytes encoded as specified in the request.
|
DetectIntentResponse.Builder |
setOutputAudioConfig(OutputAudioConfig.Builder builderForValue)
Instructs the speech synthesizer how to generate the output audio.
|
DetectIntentResponse.Builder |
setOutputAudioConfig(OutputAudioConfig value)
Instructs the speech synthesizer how to generate the output audio.
|
DetectIntentResponse.Builder |
setQueryResult(QueryResult.Builder builderForValue)
The selected results of the conversational query or event processing.
|
DetectIntentResponse.Builder |
setQueryResult(QueryResult value)
The selected results of the conversational query or event processing.
|
DetectIntentResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DetectIntentResponse.Builder |
setResponseId(String value)
The unique identifier of the response.
|
DetectIntentResponse.Builder |
setResponseIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the response.
|
DetectIntentResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DetectIntentResponse.Builder |
setWebhookStatus(com.google.rpc.Status.Builder builderForValue)
Specifies the status of the webhook request.
|
DetectIntentResponse.Builder |
setWebhookStatus(com.google.rpc.Status value)
Specifies the status of the webhook request.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public DetectIntentResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public DetectIntentResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DetectIntentResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DetectIntentResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DetectIntentResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public DetectIntentResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public DetectIntentResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public DetectIntentResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public DetectIntentResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public DetectIntentResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public DetectIntentResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DetectIntentResponse.Builder>public DetectIntentResponse.Builder mergeFrom(DetectIntentResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public DetectIntentResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DetectIntentResponse.Builder>IOExceptionpublic String getResponseId()
The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;getResponseId in interface DetectIntentResponseOrBuilderpublic com.google.protobuf.ByteString getResponseIdBytes()
The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;getResponseIdBytes in interface DetectIntentResponseOrBuilderpublic DetectIntentResponse.Builder setResponseId(String value)
The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;public DetectIntentResponse.Builder clearResponseId()
The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;public DetectIntentResponse.Builder setResponseIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;public boolean hasQueryResult()
The selected results of the conversational query or event processing. See `alternative_query_results` for additional potential results.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;hasQueryResult in interface DetectIntentResponseOrBuilderpublic QueryResult getQueryResult()
The selected results of the conversational query or event processing. See `alternative_query_results` for additional potential results.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;getQueryResult in interface DetectIntentResponseOrBuilderpublic DetectIntentResponse.Builder setQueryResult(QueryResult value)
The selected results of the conversational query or event processing. See `alternative_query_results` for additional potential results.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;public DetectIntentResponse.Builder setQueryResult(QueryResult.Builder builderForValue)
The selected results of the conversational query or event processing. See `alternative_query_results` for additional potential results.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;public DetectIntentResponse.Builder mergeQueryResult(QueryResult value)
The selected results of the conversational query or event processing. See `alternative_query_results` for additional potential results.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;public DetectIntentResponse.Builder clearQueryResult()
The selected results of the conversational query or event processing. See `alternative_query_results` for additional potential results.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;public QueryResult.Builder getQueryResultBuilder()
The selected results of the conversational query or event processing. See `alternative_query_results` for additional potential results.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;public QueryResultOrBuilder getQueryResultOrBuilder()
The selected results of the conversational query or event processing. See `alternative_query_results` for additional potential results.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;getQueryResultOrBuilder in interface DetectIntentResponseOrBuilderpublic List<QueryResult> getAlternativeQueryResultsList()
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
getAlternativeQueryResultsList in interface DetectIntentResponseOrBuilderpublic int getAlternativeQueryResultsCount()
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
getAlternativeQueryResultsCount in interface DetectIntentResponseOrBuilderpublic QueryResult getAlternativeQueryResults(int index)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
getAlternativeQueryResults in interface DetectIntentResponseOrBuilderpublic DetectIntentResponse.Builder setAlternativeQueryResults(int index, QueryResult value)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public DetectIntentResponse.Builder setAlternativeQueryResults(int index, QueryResult.Builder builderForValue)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public DetectIntentResponse.Builder addAlternativeQueryResults(QueryResult value)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public DetectIntentResponse.Builder addAlternativeQueryResults(int index, QueryResult value)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public DetectIntentResponse.Builder addAlternativeQueryResults(QueryResult.Builder builderForValue)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public DetectIntentResponse.Builder addAlternativeQueryResults(int index, QueryResult.Builder builderForValue)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public DetectIntentResponse.Builder addAllAlternativeQueryResults(Iterable<? extends QueryResult> values)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public DetectIntentResponse.Builder clearAlternativeQueryResults()
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public DetectIntentResponse.Builder removeAlternativeQueryResults(int index)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public QueryResult.Builder getAlternativeQueryResultsBuilder(int index)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public QueryResultOrBuilder getAlternativeQueryResultsOrBuilder(int index)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
getAlternativeQueryResultsOrBuilder in interface DetectIntentResponseOrBuilderpublic List<? extends QueryResultOrBuilder> getAlternativeQueryResultsOrBuilderList()
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
getAlternativeQueryResultsOrBuilderList in interface DetectIntentResponseOrBuilderpublic QueryResult.Builder addAlternativeQueryResultsBuilder()
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public QueryResult.Builder addAlternativeQueryResultsBuilder(int index)
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public List<QueryResult.Builder> getAlternativeQueryResultsBuilderList()
If Knowledge Connectors are enabled, there could be more than one result returned for a given query or event, and this field will contain all results except for the top one, which is captured in query_result. The alternative results are ordered by decreasing `QueryResult.intent_detection_confidence`. If Knowledge Connectors are disabled, this field will be empty until multiple responses for regular intents are supported, at which point those additional results will be surfaced here.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
public boolean hasWebhookStatus()
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;hasWebhookStatus in interface DetectIntentResponseOrBuilderpublic com.google.rpc.Status getWebhookStatus()
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;getWebhookStatus in interface DetectIntentResponseOrBuilderpublic DetectIntentResponse.Builder setWebhookStatus(com.google.rpc.Status value)
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;public DetectIntentResponse.Builder setWebhookStatus(com.google.rpc.Status.Builder builderForValue)
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;public DetectIntentResponse.Builder mergeWebhookStatus(com.google.rpc.Status value)
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;public DetectIntentResponse.Builder clearWebhookStatus()
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;public com.google.rpc.Status.Builder getWebhookStatusBuilder()
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;public com.google.rpc.StatusOrBuilder getWebhookStatusOrBuilder()
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;getWebhookStatusOrBuilder in interface DetectIntentResponseOrBuilderpublic com.google.protobuf.ByteString getOutputAudio()
The audio data bytes encoded as specified in the request.
bytes output_audio = 4;getOutputAudio in interface DetectIntentResponseOrBuilderpublic DetectIntentResponse.Builder setOutputAudio(com.google.protobuf.ByteString value)
The audio data bytes encoded as specified in the request.
bytes output_audio = 4;public DetectIntentResponse.Builder clearOutputAudio()
The audio data bytes encoded as specified in the request.
bytes output_audio = 4;public boolean hasOutputAudioConfig()
Instructs the speech synthesizer how to generate the output audio. This field is populated from the agent-level speech synthesizer configuration, if enabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig output_audio_config = 6;hasOutputAudioConfig in interface DetectIntentResponseOrBuilderpublic OutputAudioConfig getOutputAudioConfig()
Instructs the speech synthesizer how to generate the output audio. This field is populated from the agent-level speech synthesizer configuration, if enabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig output_audio_config = 6;getOutputAudioConfig in interface DetectIntentResponseOrBuilderpublic DetectIntentResponse.Builder setOutputAudioConfig(OutputAudioConfig value)
Instructs the speech synthesizer how to generate the output audio. This field is populated from the agent-level speech synthesizer configuration, if enabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig output_audio_config = 6;public DetectIntentResponse.Builder setOutputAudioConfig(OutputAudioConfig.Builder builderForValue)
Instructs the speech synthesizer how to generate the output audio. This field is populated from the agent-level speech synthesizer configuration, if enabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig output_audio_config = 6;public DetectIntentResponse.Builder mergeOutputAudioConfig(OutputAudioConfig value)
Instructs the speech synthesizer how to generate the output audio. This field is populated from the agent-level speech synthesizer configuration, if enabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig output_audio_config = 6;public DetectIntentResponse.Builder clearOutputAudioConfig()
Instructs the speech synthesizer how to generate the output audio. This field is populated from the agent-level speech synthesizer configuration, if enabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig output_audio_config = 6;public OutputAudioConfig.Builder getOutputAudioConfigBuilder()
Instructs the speech synthesizer how to generate the output audio. This field is populated from the agent-level speech synthesizer configuration, if enabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig output_audio_config = 6;public OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder()
Instructs the speech synthesizer how to generate the output audio. This field is populated from the agent-level speech synthesizer configuration, if enabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig output_audio_config = 6;getOutputAudioConfigOrBuilder in interface DetectIntentResponseOrBuilderpublic final DetectIntentResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>public final DetectIntentResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DetectIntentResponse.Builder>Copyright © 2019 Google LLC. All rights reserved.