Interface QueryResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryResult,QueryResult.Builder
@Generated
public interface QueryResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current advanced settings including IVR settings.Returns the current advanced settings including IVR settings.booleanIndicates whether the Thumbs up/Thumbs down rating controls are need to be shown for the response in the Dialogflow Messenger widget.The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].Optional.Optional.com.google.protobuf.StructThe free-form diagnostic info.com.google.protobuf.StructOrBuilderThe free-form diagnostic info.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].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].The information of a query if handled by generative agent resources.The information of a query if handled by generative agent resources.Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated.floatDeprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated.Deprecated.The language that was triggered during intent detection.com.google.protobuf.ByteStringThe language that was triggered during intent detection.getMatch()Intent match result, could be an intent or an event.Intent match result, could be an intent or an event.com.google.protobuf.StructThe collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].com.google.protobuf.StructOrBuilderThe collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].getResponseMessages(int index) The list of rich messages returned to the client.intThe list of rich messages returned to the client.The list of rich messages returned to the client.getResponseMessagesOrBuilder(int index) The list of rich messages returned to the client.List<? extends ResponseMessageOrBuilder>The list of rich messages returned to the client.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.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.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.ByteStringIf [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.getTraceBlocks(int index) Optional.intOptional.Optional.getTraceBlocksOrBuilder(int index) Optional.List<? extends TraceBlockOrBuilder>Optional.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.ByteStringIf [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.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.ByteStringIf an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.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.ByteStringIf an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.getWebhookDisplayNames(int index) The list of webhook display names in the order of call sequence.com.google.protobuf.ByteStringgetWebhookDisplayNamesBytes(int index) The list of webhook display names in the order of call sequence.intThe list of webhook display names in the order of call sequence.The list of webhook display names in the order of call sequence.getWebhookIds(int index) The list of webhook ids in the order of call sequence.com.google.protobuf.ByteStringgetWebhookIdsBytes(int index) The list of webhook ids in the order of call sequence.intThe list of webhook ids in the order of call sequence.The list of webhook ids in the order of call sequence.com.google.protobuf.DurationgetWebhookLatencies(int index) The list of webhook latencies in the order of call sequence.intThe list of webhook latencies in the order of call sequence.List<com.google.protobuf.Duration>The list of webhook latencies in the order of call sequence.com.google.protobuf.DurationOrBuildergetWebhookLatenciesOrBuilder(int index) The list of webhook latencies in the order of call sequence.List<? extends com.google.protobuf.DurationOrBuilder>The list of webhook latencies in the order of call sequence.com.google.protobuf.StructgetWebhookPayloads(int index) The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.intThe 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>The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.com.google.protobuf.StructOrBuildergetWebhookPayloadsOrBuilder(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>The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.getWebhookStatuses(int index) The list of webhook call status in the order of call sequence.intThe list of webhook call status in the order of call sequence.The list of webhook call status in the order of call sequence.getWebhookStatusesOrBuilder(int index) The list of webhook call status in the order of call sequence.List<? extends StatusOrBuilder>The list of webhook call status in the order of call sequence.getWebhookTags(int index) The list of webhook tags in the order of call sequence.com.google.protobuf.ByteStringgetWebhookTagsBytes(int index) The list of webhook tags in the order of call sequence.intThe list of webhook tags in the order of call sequence.The list of webhook tags in the order of call sequence.booleanReturns the current advanced settings including IVR settings.booleanThe current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].booleanThe current [Page][google.cloud.dialogflow.cx.v3beta1.Page].booleanOptional.booleanThe free-form diagnostic info.booleanhasDtmf()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].booleanThe information of a query if handled by generative agent resources.booleanDeprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated.booleanhasMatch()Intent match result, could be an intent or an event.booleanThe collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].booleanThe sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.booleanhasText()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.booleanIf [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.booleanIf an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.booleanIf 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.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
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
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
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; -
getWebhookIdsList
The list of webhook ids in the order of call sequence.
repeated string webhook_ids = 25;- Returns:
- A list containing the webhookIds.
-
getWebhookIdsCount
int getWebhookIdsCount()The list of webhook ids in the order of call sequence.
repeated string webhook_ids = 25;- Returns:
- The count of webhookIds.
-
getWebhookIds
The list of webhook ids in the order of call sequence.
repeated string webhook_ids = 25;- Parameters:
index- The index of the element to return.- Returns:
- The webhookIds at the given index.
-
getWebhookIdsBytes
com.google.protobuf.ByteString getWebhookIdsBytes(int index) The list of webhook ids in the order of call sequence.
repeated string webhook_ids = 25;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the webhookIds at the given index.
-
getWebhookDisplayNamesList
The list of webhook display names in the order of call sequence.
repeated string webhook_display_names = 26;- Returns:
- A list containing the webhookDisplayNames.
-
getWebhookDisplayNamesCount
int getWebhookDisplayNamesCount()The list of webhook display names in the order of call sequence.
repeated string webhook_display_names = 26;- Returns:
- The count of webhookDisplayNames.
-
getWebhookDisplayNames
The list of webhook display names in the order of call sequence.
repeated string webhook_display_names = 26;- Parameters:
index- The index of the element to return.- Returns:
- The webhookDisplayNames at the given index.
-
getWebhookDisplayNamesBytes
com.google.protobuf.ByteString getWebhookDisplayNamesBytes(int index) The list of webhook display names in the order of call sequence.
repeated string webhook_display_names = 26;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the webhookDisplayNames at the given index.
-
getWebhookLatenciesList
List<com.google.protobuf.Duration> getWebhookLatenciesList()The list of webhook latencies in the order of call sequence.
repeated .google.protobuf.Duration webhook_latencies = 27; -
getWebhookLatencies
com.google.protobuf.Duration getWebhookLatencies(int index) The list of webhook latencies in the order of call sequence.
repeated .google.protobuf.Duration webhook_latencies = 27; -
getWebhookLatenciesCount
int getWebhookLatenciesCount()The list of webhook latencies in the order of call sequence.
repeated .google.protobuf.Duration webhook_latencies = 27; -
getWebhookLatenciesOrBuilderList
List<? extends com.google.protobuf.DurationOrBuilder> getWebhookLatenciesOrBuilderList()The list of webhook latencies in the order of call sequence.
repeated .google.protobuf.Duration webhook_latencies = 27; -
getWebhookLatenciesOrBuilder
com.google.protobuf.DurationOrBuilder getWebhookLatenciesOrBuilder(int index) The list of webhook latencies in the order of call sequence.
repeated .google.protobuf.Duration webhook_latencies = 27; -
getWebhookTagsList
The list of webhook tags in the order of call sequence.
repeated string webhook_tags = 29;- Returns:
- A list containing the webhookTags.
-
getWebhookTagsCount
int getWebhookTagsCount()The list of webhook tags in the order of call sequence.
repeated string webhook_tags = 29;- Returns:
- The count of webhookTags.
-
getWebhookTags
The list of webhook tags in the order of call sequence.
repeated string webhook_tags = 29;- Parameters:
index- The index of the element to return.- Returns:
- The webhookTags at the given index.
-
getWebhookTagsBytes
com.google.protobuf.ByteString getWebhookTagsBytes(int index) The list of webhook tags in the order of call sequence.
repeated string webhook_tags = 29;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the webhookTags at the given index.
-
getWebhookStatusesList
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13; -
getWebhookStatuses
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 StatusOrBuilder> getWebhookStatusesOrBuilderList()The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13; -
getWebhookStatusesOrBuilder
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; -
hasCurrentFlow
boolean hasCurrentFlow()The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.
.google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31;- Returns:
- Whether the currentFlow field is set.
-
getCurrentFlow
Flow getCurrentFlow()The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.
.google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31;- Returns:
- The currentFlow.
-
getCurrentFlowOrBuilder
FlowOrBuilder getCurrentFlowOrBuilder()The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.
.google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31; -
hasIntent
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1111The [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.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1111The [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.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.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1122The 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; -
hasGenerativeInfo
boolean hasGenerativeInfo()The information of a query if handled by generative agent resources.
.google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;- Returns:
- Whether the generativeInfo field is set.
-
getGenerativeInfo
GenerativeInfo getGenerativeInfo()The information of a query if handled by generative agent resources.
.google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;- Returns:
- The generativeInfo.
-
getGenerativeInfoOrBuilder
GenerativeInfoOrBuilder getGenerativeInfoOrBuilder()The information of a query if handled by generative agent resources.
.google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33; -
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; -
hasAdvancedSettings
boolean hasAdvancedSettings()Returns the current advanced settings including IVR settings. Even though the operations configured by these settings are performed by Dialogflow, the client may need to perform special logic at the moment. For example, if Dialogflow exports audio to Google Cloud Storage, then the client may need to wait for the resulting object to appear in the bucket before proceeding.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21;- Returns:
- Whether the advancedSettings field is set.
-
getAdvancedSettings
AdvancedSettings getAdvancedSettings()Returns the current advanced settings including IVR settings. Even though the operations configured by these settings are performed by Dialogflow, the client may need to perform special logic at the moment. For example, if Dialogflow exports audio to Google Cloud Storage, then the client may need to wait for the resulting object to appear in the bucket before proceeding.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21;- Returns:
- The advancedSettings.
-
getAdvancedSettingsOrBuilder
AdvancedSettingsOrBuilder getAdvancedSettingsOrBuilder()Returns the current advanced settings including IVR settings. Even though the operations configured by these settings are performed by Dialogflow, the client may need to perform special logic at the moment. For example, if Dialogflow exports audio to Google Cloud Storage, then the client may need to wait for the resulting object to appear in the bucket before proceeding.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21; -
getAllowAnswerFeedback
boolean getAllowAnswerFeedback()Indicates whether the Thumbs up/Thumbs down rating controls are need to be shown for the response in the Dialogflow Messenger widget.
bool allow_answer_feedback = 32;- Returns:
- The allowAnswerFeedback.
-
hasDataStoreConnectionSignals
boolean hasDataStoreConnectionSignals()Optional. Data store connection feature output signals. Filled only when data stores are involved in serving the query.
.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the dataStoreConnectionSignals field is set.
-
getDataStoreConnectionSignals
DataStoreConnectionSignals getDataStoreConnectionSignals()Optional. Data store connection feature output signals. Filled only when data stores are involved in serving the query.
.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The dataStoreConnectionSignals.
-
getDataStoreConnectionSignalsOrBuilder
DataStoreConnectionSignalsOrBuilder getDataStoreConnectionSignalsOrBuilder()Optional. Data store connection feature output signals. Filled only when data stores are involved in serving the query.
.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL]; -
getTraceBlocksList
List<TraceBlock> getTraceBlocksList()Optional. Contains the sequence of trace blocks from the current conversation turn. Trace blocks are ordered chronologically and contain detailed traces of runtime behavior such as tool calls, LLM calls, flow and playbook invocations, agent utterances and user utterances.
repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL]; -
getTraceBlocks
Optional. Contains the sequence of trace blocks from the current conversation turn. Trace blocks are ordered chronologically and contain detailed traces of runtime behavior such as tool calls, LLM calls, flow and playbook invocations, agent utterances and user utterances.
repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL]; -
getTraceBlocksCount
int getTraceBlocksCount()Optional. Contains the sequence of trace blocks from the current conversation turn. Trace blocks are ordered chronologically and contain detailed traces of runtime behavior such as tool calls, LLM calls, flow and playbook invocations, agent utterances and user utterances.
repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL]; -
getTraceBlocksOrBuilderList
List<? extends TraceBlockOrBuilder> getTraceBlocksOrBuilderList()Optional. Contains the sequence of trace blocks from the current conversation turn. Trace blocks are ordered chronologically and contain detailed traces of runtime behavior such as tool calls, LLM calls, flow and playbook invocations, agent utterances and user utterances.
repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL]; -
getTraceBlocksOrBuilder
Optional. Contains the sequence of trace blocks from the current conversation turn. Trace blocks are ordered chronologically and contain detailed traces of runtime behavior such as tool calls, LLM calls, flow and playbook invocations, agent utterances and user utterances.
repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL]; -
getQueryCase
QueryResult.QueryCase getQueryCase()
-