Class QueryResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.QueryResult
- All Implemented Interfaces:
QueryResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class QueryResult
extends com.google.protobuf.GeneratedMessage
implements QueryResultOrBuilder
Represents the result of a conversational query.Protobuf type
google.cloud.dialogflow.cx.v3beta1.QueryResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents the result of a conversational query.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns 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.static QueryResultstatic final com.google.protobuf.Descriptors.Descriptorcom.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].com.google.protobuf.Parser<QueryResult>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.intgetText()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.com.google.protobuf.ProtocolStringListThe 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.com.google.protobuf.ProtocolStringListThe 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.com.google.protobuf.ProtocolStringListThe 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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic QueryResult.Builderstatic QueryResult.BuildernewBuilder(QueryResult prototype) protected QueryResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static QueryResultparseDelimitedFrom(InputStream input) static QueryResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryResultparseFrom(byte[] data) static QueryResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryResultparseFrom(com.google.protobuf.ByteString data) static QueryResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryResultparseFrom(com.google.protobuf.CodedInputStream input) static QueryResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryResultparseFrom(InputStream input) static QueryResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryResultparseFrom(ByteBuffer data) static QueryResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<QueryResult>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER- See Also:
-
TRIGGER_INTENT_FIELD_NUMBER
public static final int TRIGGER_INTENT_FIELD_NUMBER- See Also:
-
TRANSCRIPT_FIELD_NUMBER
public static final int TRANSCRIPT_FIELD_NUMBER- See Also:
-
TRIGGER_EVENT_FIELD_NUMBER
public static final int TRIGGER_EVENT_FIELD_NUMBER- See Also:
-
DTMF_FIELD_NUMBER
public static final int DTMF_FIELD_NUMBER- See Also:
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
RESPONSE_MESSAGES_FIELD_NUMBER
public static final int RESPONSE_MESSAGES_FIELD_NUMBER- See Also:
-
WEBHOOK_IDS_FIELD_NUMBER
public static final int WEBHOOK_IDS_FIELD_NUMBER- See Also:
-
WEBHOOK_DISPLAY_NAMES_FIELD_NUMBER
public static final int WEBHOOK_DISPLAY_NAMES_FIELD_NUMBER- See Also:
-
WEBHOOK_LATENCIES_FIELD_NUMBER
public static final int WEBHOOK_LATENCIES_FIELD_NUMBER- See Also:
-
WEBHOOK_TAGS_FIELD_NUMBER
public static final int WEBHOOK_TAGS_FIELD_NUMBER- See Also:
-
WEBHOOK_STATUSES_FIELD_NUMBER
public static final int WEBHOOK_STATUSES_FIELD_NUMBER- See Also:
-
WEBHOOK_PAYLOADS_FIELD_NUMBER
public static final int WEBHOOK_PAYLOADS_FIELD_NUMBER- See Also:
-
CURRENT_PAGE_FIELD_NUMBER
public static final int CURRENT_PAGE_FIELD_NUMBER- See Also:
-
CURRENT_FLOW_FIELD_NUMBER
public static final int CURRENT_FLOW_FIELD_NUMBER- See Also:
-
INTENT_FIELD_NUMBER
public static final int INTENT_FIELD_NUMBER- See Also:
-
INTENT_DETECTION_CONFIDENCE_FIELD_NUMBER
public static final int INTENT_DETECTION_CONFIDENCE_FIELD_NUMBER- See Also:
-
MATCH_FIELD_NUMBER
public static final int MATCH_FIELD_NUMBER- See Also:
-
DIAGNOSTIC_INFO_FIELD_NUMBER
public static final int DIAGNOSTIC_INFO_FIELD_NUMBER- See Also:
-
GENERATIVE_INFO_FIELD_NUMBER
public static final int GENERATIVE_INFO_FIELD_NUMBER- See Also:
-
SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER
public static final int SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER- See Also:
-
ADVANCED_SETTINGS_FIELD_NUMBER
public static final int ADVANCED_SETTINGS_FIELD_NUMBER- See Also:
-
ALLOW_ANSWER_FEEDBACK_FIELD_NUMBER
public static final int ALLOW_ANSWER_FEEDBACK_FIELD_NUMBER- See Also:
-
DATA_STORE_CONNECTION_SIGNALS_FIELD_NUMBER
public static final int DATA_STORE_CONNECTION_SIGNALS_FIELD_NUMBER- See Also:
-
TRACE_BLOCKS_FIELD_NUMBER
public static final int TRACE_BLOCKS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getQueryCase
- Specified by:
getQueryCasein interfaceQueryResultOrBuilder
-
hasText
public 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;- Specified by:
hasTextin interfaceQueryResultOrBuilder- Returns:
- Whether the text field is set.
-
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;- Specified by:
getTextin interfaceQueryResultOrBuilder- Returns:
- The text.
-
getTextBytes
public 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;- Specified by:
getTextBytesin interfaceQueryResultOrBuilder- Returns:
- The bytes for text.
-
hasTriggerIntent
public 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) = { ... }- Specified by:
hasTriggerIntentin interfaceQueryResultOrBuilder- Returns:
- Whether the triggerIntent field is set.
-
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) = { ... }- Specified by:
getTriggerIntentin interfaceQueryResultOrBuilder- Returns:
- The triggerIntent.
-
getTriggerIntentBytes
public 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) = { ... }- Specified by:
getTriggerIntentBytesin interfaceQueryResultOrBuilder- Returns:
- The bytes for triggerIntent.
-
hasTranscript
public 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;- Specified by:
hasTranscriptin interfaceQueryResultOrBuilder- Returns:
- Whether the transcript field is set.
-
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;- Specified by:
getTranscriptin interfaceQueryResultOrBuilder- Returns:
- The transcript.
-
getTranscriptBytes
public 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;- Specified by:
getTranscriptBytesin interfaceQueryResultOrBuilder- Returns:
- The bytes for transcript.
-
hasTriggerEvent
public 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;- Specified by:
hasTriggerEventin interfaceQueryResultOrBuilder- Returns:
- Whether the triggerEvent field is set.
-
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;- Specified by:
getTriggerEventin interfaceQueryResultOrBuilder- Returns:
- The triggerEvent.
-
getTriggerEventBytes
public 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;- Specified by:
getTriggerEventBytesin interfaceQueryResultOrBuilder- Returns:
- The bytes for triggerEvent.
-
hasDtmf
public 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;- Specified by:
hasDtmfin interfaceQueryResultOrBuilder- Returns:
- Whether the dtmf field is set.
-
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;- Specified by:
getDtmfin interfaceQueryResultOrBuilder- Returns:
- The dtmf.
-
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;- Specified by:
getDtmfOrBuilderin interfaceQueryResultOrBuilder
-
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;- Specified by:
getLanguageCodein interfaceQueryResultOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public 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;- Specified by:
getLanguageCodeBytesin interfaceQueryResultOrBuilder- Returns:
- The bytes for languageCode.
-
hasParameters
public 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;- Specified by:
hasParametersin interfaceQueryResultOrBuilder- Returns:
- Whether the parameters field is set.
-
getParameters
public 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;- Specified by:
getParametersin interfaceQueryResultOrBuilder- Returns:
- The parameters.
-
getParametersOrBuilder
public 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;- Specified by:
getParametersOrBuilderin interfaceQueryResultOrBuilder
-
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;- Specified by:
getResponseMessagesListin interfaceQueryResultOrBuilder
-
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;- Specified by:
getResponseMessagesOrBuilderListin interfaceQueryResultOrBuilder
-
getResponseMessagesCount
public 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;- Specified by:
getResponseMessagesCountin interfaceQueryResultOrBuilder
-
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;- Specified by:
getResponseMessagesin interfaceQueryResultOrBuilder
-
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;- Specified by:
getResponseMessagesOrBuilderin interfaceQueryResultOrBuilder
-
getWebhookIdsList
public com.google.protobuf.ProtocolStringList getWebhookIdsList()The list of webhook ids in the order of call sequence.
repeated string webhook_ids = 25;- Specified by:
getWebhookIdsListin interfaceQueryResultOrBuilder- Returns:
- A list containing the webhookIds.
-
getWebhookIdsCount
public int getWebhookIdsCount()The list of webhook ids in the order of call sequence.
repeated string webhook_ids = 25;- Specified by:
getWebhookIdsCountin interfaceQueryResultOrBuilder- Returns:
- The count of webhookIds.
-
getWebhookIds
The list of webhook ids in the order of call sequence.
repeated string webhook_ids = 25;- Specified by:
getWebhookIdsin interfaceQueryResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The webhookIds at the given index.
-
getWebhookIdsBytes
public com.google.protobuf.ByteString getWebhookIdsBytes(int index) The list of webhook ids in the order of call sequence.
repeated string webhook_ids = 25;- Specified by:
getWebhookIdsBytesin interfaceQueryResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the webhookIds at the given index.
-
getWebhookDisplayNamesList
public com.google.protobuf.ProtocolStringList getWebhookDisplayNamesList()The list of webhook display names in the order of call sequence.
repeated string webhook_display_names = 26;- Specified by:
getWebhookDisplayNamesListin interfaceQueryResultOrBuilder- Returns:
- A list containing the webhookDisplayNames.
-
getWebhookDisplayNamesCount
public int getWebhookDisplayNamesCount()The list of webhook display names in the order of call sequence.
repeated string webhook_display_names = 26;- Specified by:
getWebhookDisplayNamesCountin interfaceQueryResultOrBuilder- Returns:
- The count of webhookDisplayNames.
-
getWebhookDisplayNames
The list of webhook display names in the order of call sequence.
repeated string webhook_display_names = 26;- Specified by:
getWebhookDisplayNamesin interfaceQueryResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The webhookDisplayNames at the given index.
-
getWebhookDisplayNamesBytes
public 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;- Specified by:
getWebhookDisplayNamesBytesin interfaceQueryResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the webhookDisplayNames at the given index.
-
getWebhookLatenciesList
The list of webhook latencies in the order of call sequence.
repeated .google.protobuf.Duration webhook_latencies = 27;- Specified by:
getWebhookLatenciesListin interfaceQueryResultOrBuilder
-
getWebhookLatenciesOrBuilderList
The list of webhook latencies in the order of call sequence.
repeated .google.protobuf.Duration webhook_latencies = 27;- Specified by:
getWebhookLatenciesOrBuilderListin interfaceQueryResultOrBuilder
-
getWebhookLatenciesCount
public int getWebhookLatenciesCount()The list of webhook latencies in the order of call sequence.
repeated .google.protobuf.Duration webhook_latencies = 27;- Specified by:
getWebhookLatenciesCountin interfaceQueryResultOrBuilder
-
getWebhookLatencies
public 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;- Specified by:
getWebhookLatenciesin interfaceQueryResultOrBuilder
-
getWebhookLatenciesOrBuilder
public 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;- Specified by:
getWebhookLatenciesOrBuilderin interfaceQueryResultOrBuilder
-
getWebhookTagsList
public com.google.protobuf.ProtocolStringList getWebhookTagsList()The list of webhook tags in the order of call sequence.
repeated string webhook_tags = 29;- Specified by:
getWebhookTagsListin interfaceQueryResultOrBuilder- Returns:
- A list containing the webhookTags.
-
getWebhookTagsCount
public int getWebhookTagsCount()The list of webhook tags in the order of call sequence.
repeated string webhook_tags = 29;- Specified by:
getWebhookTagsCountin interfaceQueryResultOrBuilder- Returns:
- The count of webhookTags.
-
getWebhookTags
The list of webhook tags in the order of call sequence.
repeated string webhook_tags = 29;- Specified by:
getWebhookTagsin interfaceQueryResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The webhookTags at the given index.
-
getWebhookTagsBytes
public com.google.protobuf.ByteString getWebhookTagsBytes(int index) The list of webhook tags in the order of call sequence.
repeated string webhook_tags = 29;- Specified by:
getWebhookTagsBytesin interfaceQueryResultOrBuilder- 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;- Specified by:
getWebhookStatusesListin interfaceQueryResultOrBuilder
-
getWebhookStatusesOrBuilderList
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;- Specified by:
getWebhookStatusesOrBuilderListin interfaceQueryResultOrBuilder
-
getWebhookStatusesCount
public int getWebhookStatusesCount()The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;- Specified by:
getWebhookStatusesCountin interfaceQueryResultOrBuilder
-
getWebhookStatuses
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;- Specified by:
getWebhookStatusesin interfaceQueryResultOrBuilder
-
getWebhookStatusesOrBuilder
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;- Specified by:
getWebhookStatusesOrBuilderin interfaceQueryResultOrBuilder
-
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;- Specified by:
getWebhookPayloadsListin interfaceQueryResultOrBuilder
-
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;- Specified by:
getWebhookPayloadsOrBuilderListin interfaceQueryResultOrBuilder
-
getWebhookPayloadsCount
public 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;- Specified by:
getWebhookPayloadsCountin interfaceQueryResultOrBuilder
-
getWebhookPayloads
public 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;- Specified by:
getWebhookPayloadsin interfaceQueryResultOrBuilder
-
getWebhookPayloadsOrBuilder
public 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;- Specified by:
getWebhookPayloadsOrBuilderin interfaceQueryResultOrBuilder
-
hasCurrentPage
public 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;- Specified by:
hasCurrentPagein interfaceQueryResultOrBuilder- Returns:
- Whether the currentPage field is set.
-
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;- Specified by:
getCurrentPagein interfaceQueryResultOrBuilder- Returns:
- The currentPage.
-
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;- Specified by:
getCurrentPageOrBuilderin interfaceQueryResultOrBuilder
-
hasCurrentFlow
public 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;- Specified by:
hasCurrentFlowin interfaceQueryResultOrBuilder- Returns:
- Whether the currentFlow field is set.
-
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;- Specified by:
getCurrentFlowin interfaceQueryResultOrBuilder- Returns:
- The currentFlow.
-
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;- Specified by:
getCurrentFlowOrBuilderin interfaceQueryResultOrBuilder
-
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];- Specified by:
hasIntentin interfaceQueryResultOrBuilder- 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];- Specified by:
getIntentin interfaceQueryResultOrBuilder- 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];- Specified by:
getIntentOrBuilderin interfaceQueryResultOrBuilder
-
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];- Specified by:
getIntentDetectionConfidencein interfaceQueryResultOrBuilder- Returns:
- The intentDetectionConfidence.
-
hasMatch
public boolean hasMatch()Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;- Specified by:
hasMatchin interfaceQueryResultOrBuilder- Returns:
- Whether the match field is set.
-
getMatch
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;- Specified by:
getMatchin interfaceQueryResultOrBuilder- Returns:
- The match.
-
getMatchOrBuilder
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;- Specified by:
getMatchOrBuilderin interfaceQueryResultOrBuilder
-
hasDiagnosticInfo
public 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;- Specified by:
hasDiagnosticInfoin interfaceQueryResultOrBuilder- Returns:
- Whether the diagnosticInfo field is set.
-
getDiagnosticInfo
public 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;- Specified by:
getDiagnosticInfoin interfaceQueryResultOrBuilder- Returns:
- The diagnosticInfo.
-
getDiagnosticInfoOrBuilder
public 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;- Specified by:
getDiagnosticInfoOrBuilderin interfaceQueryResultOrBuilder
-
hasGenerativeInfo
public boolean hasGenerativeInfo()The information of a query if handled by generative agent resources.
.google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;- Specified by:
hasGenerativeInfoin interfaceQueryResultOrBuilder- Returns:
- Whether the generativeInfo field is set.
-
getGenerativeInfo
The information of a query if handled by generative agent resources.
.google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;- Specified by:
getGenerativeInfoin interfaceQueryResultOrBuilder- Returns:
- The generativeInfo.
-
getGenerativeInfoOrBuilder
The information of a query if handled by generative agent resources.
.google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;- Specified by:
getGenerativeInfoOrBuilderin interfaceQueryResultOrBuilder
-
hasSentimentAnalysisResult
public 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;- Specified by:
hasSentimentAnalysisResultin interfaceQueryResultOrBuilder- Returns:
- Whether the sentimentAnalysisResult field is set.
-
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;- Specified by:
getSentimentAnalysisResultin interfaceQueryResultOrBuilder- Returns:
- The sentimentAnalysisResult.
-
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;- Specified by:
getSentimentAnalysisResultOrBuilderin interfaceQueryResultOrBuilder
-
hasAdvancedSettings
public 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;- Specified by:
hasAdvancedSettingsin interfaceQueryResultOrBuilder- Returns:
- Whether the advancedSettings field is set.
-
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;- Specified by:
getAdvancedSettingsin interfaceQueryResultOrBuilder- Returns:
- The advancedSettings.
-
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;- Specified by:
getAdvancedSettingsOrBuilderin interfaceQueryResultOrBuilder
-
getAllowAnswerFeedback
public 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;- Specified by:
getAllowAnswerFeedbackin interfaceQueryResultOrBuilder- Returns:
- The allowAnswerFeedback.
-
hasDataStoreConnectionSignals
public 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];- Specified by:
hasDataStoreConnectionSignalsin interfaceQueryResultOrBuilder- Returns:
- Whether the dataStoreConnectionSignals field is set.
-
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];- Specified by:
getDataStoreConnectionSignalsin interfaceQueryResultOrBuilder- Returns:
- The dataStoreConnectionSignals.
-
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];- Specified by:
getDataStoreConnectionSignalsOrBuilderin interfaceQueryResultOrBuilder
-
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];- Specified by:
getTraceBlocksListin interfaceQueryResultOrBuilder
-
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];- Specified by:
getTraceBlocksOrBuilderListin interfaceQueryResultOrBuilder
-
getTraceBlocksCount
public 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];- Specified by:
getTraceBlocksCountin interfaceQueryResultOrBuilder
-
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];- Specified by:
getTraceBlocksin interfaceQueryResultOrBuilder
-
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];- Specified by:
getTraceBlocksOrBuilderin interfaceQueryResultOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static QueryResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueryResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static QueryResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueryResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QueryResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-