Interface QueryResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryResult
,QueryResult.Builder
public interface QueryResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Page
getCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].PageOrBuilder
getCurrentPageOrBuilder()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].com.google.protobuf.Struct
getDiagnosticInfo()
The free-form diagnostic info.com.google.protobuf.StructOrBuilder
getDiagnosticInfoOrBuilder()
The free-form diagnostic info.DtmfInput
getDtmf()
If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain a copy of the [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].DtmfInputOrBuilder
getDtmfOrBuilder()
If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain a copy of the [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].Intent
getIntent()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated.float
getIntentDetectionConfidence()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated.IntentOrBuilder
getIntentOrBuilder()
Deprecated.String
getLanguageCode()
The language that was triggered during intent detection.com.google.protobuf.ByteString
getLanguageCodeBytes()
The language that was triggered during intent detection.Match
getMatch()
Intent match result, could be an intent or an event.MatchOrBuilder
getMatchOrBuilder()
Intent match result, could be an intent or an event.com.google.protobuf.Struct
getParameters()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].com.google.protobuf.StructOrBuilder
getParametersOrBuilder()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].QueryResult.QueryCase
getQueryCase()
ResponseMessage
getResponseMessages(int index)
The list of rich messages returned to the client.int
getResponseMessagesCount()
The list of rich messages returned to the client.List<ResponseMessage>
getResponseMessagesList()
The list of rich messages returned to the client.ResponseMessageOrBuilder
getResponseMessagesOrBuilder(int index)
The list of rich messages returned to the client.List<? extends ResponseMessageOrBuilder>
getResponseMessagesOrBuilderList()
The list of rich messages returned to the client.SentimentAnalysisResult
getSentimentAnalysisResult()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.SentimentAnalysisResultOrBuilder
getSentimentAnalysisResultOrBuilder()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.String
getText()
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.com.google.protobuf.ByteString
getTextBytes()
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.String
getTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.com.google.protobuf.ByteString
getTranscriptBytes()
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.String
getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.com.google.protobuf.ByteString
getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.String
getTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.com.google.protobuf.ByteString
getTriggerIntentBytes()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.com.google.protobuf.Struct
getWebhookPayloads(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.int
getWebhookPayloadsCount()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.List<com.google.protobuf.Struct>
getWebhookPayloadsList()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.com.google.protobuf.StructOrBuilder
getWebhookPayloadsOrBuilder(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.List<? extends com.google.protobuf.StructOrBuilder>
getWebhookPayloadsOrBuilderList()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.com.google.rpc.Status
getWebhookStatuses(int index)
The list of webhook call status in the order of call sequence.int
getWebhookStatusesCount()
The list of webhook call status in the order of call sequence.List<com.google.rpc.Status>
getWebhookStatusesList()
The list of webhook call status in the order of call sequence.com.google.rpc.StatusOrBuilder
getWebhookStatusesOrBuilder(int index)
The list of webhook call status in the order of call sequence.List<? extends com.google.rpc.StatusOrBuilder>
getWebhookStatusesOrBuilderList()
The list of webhook call status in the order of call sequence.boolean
hasCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].boolean
hasDiagnosticInfo()
The free-form diagnostic info.boolean
hasDtmf()
If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain a copy of the [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].boolean
hasIntent()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated.boolean
hasMatch()
Intent match result, could be an intent or an event.boolean
hasParameters()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].boolean
hasSentimentAnalysisResult()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.boolean
hasText()
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.boolean
hasTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.boolean
hasTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.boolean
hasTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasText
boolean hasText()
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
string text = 1;
- Returns:
- Whether the text field is set.
-
getText
String getText()
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
string text = 1;
- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
string text = 1;
- Returns:
- The bytes for text.
-
hasTriggerIntent
boolean hasTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
- Returns:
- Whether the triggerIntent field is set.
-
getTriggerIntent
String getTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
- Returns:
- The triggerIntent.
-
getTriggerIntentBytes
com.google.protobuf.ByteString getTriggerIntentBytes()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for triggerIntent.
-
hasTranscript
boolean hasTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
- Returns:
- Whether the transcript field is set.
-
getTranscript
String getTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
- Returns:
- The transcript.
-
getTranscriptBytes
com.google.protobuf.ByteString getTranscriptBytes()
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
- Returns:
- The bytes for transcript.
-
hasTriggerEvent
boolean hasTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;
- Returns:
- Whether the triggerEvent field is set.
-
getTriggerEvent
String getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;
- Returns:
- The triggerEvent.
-
getTriggerEventBytes
com.google.protobuf.ByteString getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;
- Returns:
- The bytes for triggerEvent.
-
hasDtmf
boolean hasDtmf()
If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain a copy of the [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
.google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
- Returns:
- Whether the dtmf field is set.
-
getDtmf
DtmfInput getDtmf()
If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain a copy of the [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
.google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
- Returns:
- The dtmf.
-
getDtmfOrBuilder
DtmfInputOrBuilder getDtmfOrBuilder()
If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain a copy of the [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
.google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
-
getLanguageCode
String getLanguageCode()
The language that was triggered during intent detection. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes.
string language_code = 2;
- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()
The language that was triggered during intent detection. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes.
string language_code = 2;
- Returns:
- The bytes for languageCode.
-
hasParameters
boolean hasParameters()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 3;
- Returns:
- Whether the parameters field is set.
-
getParameters
com.google.protobuf.Struct getParameters()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 3;
- Returns:
- The parameters.
-
getParametersOrBuilder
com.google.protobuf.StructOrBuilder getParametersOrBuilder()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 3;
-
getResponseMessagesList
List<ResponseMessage> getResponseMessagesList()
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
-
getResponseMessages
ResponseMessage getResponseMessages(int index)
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
-
getResponseMessagesCount
int getResponseMessagesCount()
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
-
getResponseMessagesOrBuilderList
List<? extends ResponseMessageOrBuilder> getResponseMessagesOrBuilderList()
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
-
getResponseMessagesOrBuilder
ResponseMessageOrBuilder getResponseMessagesOrBuilder(int index)
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
-
getWebhookStatusesList
List<com.google.rpc.Status> getWebhookStatusesList()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
getWebhookStatuses
com.google.rpc.Status getWebhookStatuses(int index)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
getWebhookStatusesCount
int getWebhookStatusesCount()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
getWebhookStatusesOrBuilderList
List<? extends com.google.rpc.StatusOrBuilder> getWebhookStatusesOrBuilderList()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
getWebhookStatusesOrBuilder
com.google.rpc.StatusOrBuilder getWebhookStatusesOrBuilder(int index)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
getWebhookPayloadsList
List<com.google.protobuf.Struct> getWebhookPayloadsList()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence. If some webhook call fails or doesn't return any payload, an empty `Struct` would be used instead.
repeated .google.protobuf.Struct webhook_payloads = 6;
-
getWebhookPayloads
com.google.protobuf.Struct getWebhookPayloads(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence. If some webhook call fails or doesn't return any payload, an empty `Struct` would be used instead.
repeated .google.protobuf.Struct webhook_payloads = 6;
-
getWebhookPayloadsCount
int getWebhookPayloadsCount()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence. If some webhook call fails or doesn't return any payload, an empty `Struct` would be used instead.
repeated .google.protobuf.Struct webhook_payloads = 6;
-
getWebhookPayloadsOrBuilderList
List<? extends com.google.protobuf.StructOrBuilder> getWebhookPayloadsOrBuilderList()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence. If some webhook call fails or doesn't return any payload, an empty `Struct` would be used instead.
repeated .google.protobuf.Struct webhook_payloads = 6;
-
getWebhookPayloadsOrBuilder
com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence. If some webhook call fails or doesn't return any payload, an empty `Struct` would be used instead.
repeated .google.protobuf.Struct webhook_payloads = 6;
-
hasCurrentPage
boolean hasCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.
.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
- Returns:
- Whether the currentPage field is set.
-
getCurrentPage
Page getCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.
.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
- Returns:
- The currentPage.
-
getCurrentPageOrBuilder
PageOrBuilder getCurrentPageOrBuilder()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.
.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
-
hasIntent
@Deprecated boolean hasIntent()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=728The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
- Returns:
- Whether the intent field is set.
-
getIntent
@Deprecated Intent getIntent()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=728The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
- Returns:
- The intent.
-
getIntentOrBuilder
@Deprecated IntentOrBuilder getIntentOrBuilder()
Deprecated.The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
-
getIntentDetectionConfidence
@Deprecated float getIntentDetectionConfidence()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=739The intent detection confidence. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation. This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
float intent_detection_confidence = 9 [deprecated = true];
- Returns:
- The intentDetectionConfidence.
-
hasMatch
boolean hasMatch()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
- Returns:
- Whether the match field is set.
-
getMatch
Match getMatch()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
- Returns:
- The match.
-
getMatchOrBuilder
MatchOrBuilder getMatchOrBuilder()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
-
hasDiagnosticInfo
boolean hasDiagnosticInfo()
The free-form diagnostic info. For example, this field could contain webhook call latency. The fields of this data can change without notice, so you should not write code that depends on its structure. One of the fields is called "Alternative Matched Intents", which may aid with debugging. The following describes these intent results: - The list is empty if no intent was matched to end-user input. - Only intents that are referenced in the currently active flow are included. - The matched intent is included. - Other intents that could have matched end-user input, but did not match because they are referenced by intent routes that are out of [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope), are included. - Other intents referenced by intent routes in scope that matched end-user input, but had a lower confidence score.
.google.protobuf.Struct diagnostic_info = 10;
- Returns:
- Whether the diagnosticInfo field is set.
-
getDiagnosticInfo
com.google.protobuf.Struct getDiagnosticInfo()
The free-form diagnostic info. For example, this field could contain webhook call latency. The fields of this data can change without notice, so you should not write code that depends on its structure. One of the fields is called "Alternative Matched Intents", which may aid with debugging. The following describes these intent results: - The list is empty if no intent was matched to end-user input. - Only intents that are referenced in the currently active flow are included. - The matched intent is included. - Other intents that could have matched end-user input, but did not match because they are referenced by intent routes that are out of [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope), are included. - Other intents referenced by intent routes in scope that matched end-user input, but had a lower confidence score.
.google.protobuf.Struct diagnostic_info = 10;
- Returns:
- The diagnosticInfo.
-
getDiagnosticInfoOrBuilder
com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder()
The free-form diagnostic info. For example, this field could contain webhook call latency. The fields of this data can change without notice, so you should not write code that depends on its structure. One of the fields is called "Alternative Matched Intents", which may aid with debugging. The following describes these intent results: - The list is empty if no intent was matched to end-user input. - Only intents that are referenced in the currently active flow are included. - The matched intent is included. - Other intents that could have matched end-user input, but did not match because they are referenced by intent routes that are out of [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope), are included. - Other intents referenced by intent routes in scope that matched end-user input, but had a lower confidence score.
.google.protobuf.Struct diagnostic_info = 10;
-
hasSentimentAnalysisResult
boolean hasSentimentAnalysisResult()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
- Returns:
- Whether the sentimentAnalysisResult field is set.
-
getSentimentAnalysisResult
SentimentAnalysisResult getSentimentAnalysisResult()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
- Returns:
- The sentimentAnalysisResult.
-
getSentimentAnalysisResultOrBuilder
SentimentAnalysisResultOrBuilder getSentimentAnalysisResultOrBuilder()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.
.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
-
getQueryCase
QueryResult.QueryCase getQueryCase()
-
-