Class QueryResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
- com.google.cloud.dialogflow.cx.v3beta1.QueryResult.Builder
-
- All Implemented Interfaces:
QueryResultOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- QueryResult
public static final class QueryResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder> implements QueryResultOrBuilder
Represents the result of a conversational query.
Protobuf typegoogle.cloud.dialogflow.cx.v3beta1.QueryResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description QueryResult.Builder
addAllResponseMessages(Iterable<? extends ResponseMessage> values)
The list of rich messages returned to the client.QueryResult.Builder
addAllWebhookPayloads(Iterable<? extends com.google.protobuf.Struct> values)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.QueryResult.Builder
addAllWebhookStatuses(Iterable<? extends com.google.rpc.Status> values)
The list of webhook call status in the order of call sequence.QueryResult.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
QueryResult.Builder
addResponseMessages(int index, ResponseMessage value)
The list of rich messages returned to the client.QueryResult.Builder
addResponseMessages(int index, ResponseMessage.Builder builderForValue)
The list of rich messages returned to the client.QueryResult.Builder
addResponseMessages(ResponseMessage value)
The list of rich messages returned to the client.QueryResult.Builder
addResponseMessages(ResponseMessage.Builder builderForValue)
The list of rich messages returned to the client.ResponseMessage.Builder
addResponseMessagesBuilder()
The list of rich messages returned to the client.ResponseMessage.Builder
addResponseMessagesBuilder(int index)
The list of rich messages returned to the client.QueryResult.Builder
addWebhookPayloads(int index, com.google.protobuf.Struct value)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.QueryResult.Builder
addWebhookPayloads(int index, com.google.protobuf.Struct.Builder builderForValue)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.QueryResult.Builder
addWebhookPayloads(com.google.protobuf.Struct value)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.QueryResult.Builder
addWebhookPayloads(com.google.protobuf.Struct.Builder builderForValue)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.com.google.protobuf.Struct.Builder
addWebhookPayloadsBuilder()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.com.google.protobuf.Struct.Builder
addWebhookPayloadsBuilder(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.QueryResult.Builder
addWebhookStatuses(int index, com.google.rpc.Status value)
The list of webhook call status in the order of call sequence.QueryResult.Builder
addWebhookStatuses(int index, com.google.rpc.Status.Builder builderForValue)
The list of webhook call status in the order of call sequence.QueryResult.Builder
addWebhookStatuses(com.google.rpc.Status value)
The list of webhook call status in the order of call sequence.QueryResult.Builder
addWebhookStatuses(com.google.rpc.Status.Builder builderForValue)
The list of webhook call status in the order of call sequence.com.google.rpc.Status.Builder
addWebhookStatusesBuilder()
The list of webhook call status in the order of call sequence.com.google.rpc.Status.Builder
addWebhookStatusesBuilder(int index)
The list of webhook call status in the order of call sequence.QueryResult
build()
QueryResult
buildPartial()
QueryResult.Builder
clear()
QueryResult.Builder
clearCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].QueryResult.Builder
clearDiagnosticInfo()
The free-form diagnostic info.QueryResult.Builder
clearDtmf()
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].QueryResult.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
QueryResult.Builder
clearIntent()
Deprecated.QueryResult.Builder
clearIntentDetectionConfidence()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated.QueryResult.Builder
clearLanguageCode()
The language that was triggered during intent detection.QueryResult.Builder
clearMatch()
Intent match result, could be an intent or an event.QueryResult.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
QueryResult.Builder
clearParameters()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].QueryResult.Builder
clearQuery()
QueryResult.Builder
clearResponseMessages()
The list of rich messages returned to the client.QueryResult.Builder
clearSentimentAnalysisResult()
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.QueryResult.Builder
clearText()
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.QueryResult.Builder
clearTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.QueryResult.Builder
clearTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.QueryResult.Builder
clearTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.QueryResult.Builder
clearWebhookPayloads()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.QueryResult.Builder
clearWebhookStatuses()
The list of webhook call status in the order of call sequence.QueryResult.Builder
clone()
Page
getCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].Page.Builder
getCurrentPageBuilder()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].PageOrBuilder
getCurrentPageOrBuilder()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].QueryResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Struct
getDiagnosticInfo()
The free-form diagnostic info.com.google.protobuf.Struct.Builder
getDiagnosticInfoBuilder()
The free-form diagnostic info.com.google.protobuf.StructOrBuilder
getDiagnosticInfoOrBuilder()
The free-form diagnostic info.DtmfInput
getDtmf()
If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain a copy of the [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].DtmfInput.Builder
getDtmfBuilder()
If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain a copy of the [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].DtmfInputOrBuilder
getDtmfOrBuilder()
If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain a copy of the [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].Intent
getIntent()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated.Intent.Builder
getIntentBuilder()
Deprecated.float
getIntentDetectionConfidence()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated.IntentOrBuilder
getIntentOrBuilder()
Deprecated.String
getLanguageCode()
The language that was triggered during intent detection.com.google.protobuf.ByteString
getLanguageCodeBytes()
The language that was triggered during intent detection.Match
getMatch()
Intent match result, could be an intent or an event.Match.Builder
getMatchBuilder()
Intent match result, could be an intent or an event.MatchOrBuilder
getMatchOrBuilder()
Intent match result, could be an intent or an event.com.google.protobuf.Struct
getParameters()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].com.google.protobuf.Struct.Builder
getParametersBuilder()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].com.google.protobuf.StructOrBuilder
getParametersOrBuilder()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].QueryResult.QueryCase
getQueryCase()
ResponseMessage
getResponseMessages(int index)
The list of rich messages returned to the client.ResponseMessage.Builder
getResponseMessagesBuilder(int index)
The list of rich messages returned to the client.List<ResponseMessage.Builder>
getResponseMessagesBuilderList()
The list of rich messages returned to the client.int
getResponseMessagesCount()
The list of rich messages returned to the client.List<ResponseMessage>
getResponseMessagesList()
The list of rich messages returned to the client.ResponseMessageOrBuilder
getResponseMessagesOrBuilder(int index)
The list of rich messages returned to the client.List<? extends ResponseMessageOrBuilder>
getResponseMessagesOrBuilderList()
The list of rich messages returned to the client.SentimentAnalysisResult
getSentimentAnalysisResult()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.SentimentAnalysisResult.Builder
getSentimentAnalysisResultBuilder()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.SentimentAnalysisResultOrBuilder
getSentimentAnalysisResultOrBuilder()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.String
getText()
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.com.google.protobuf.ByteString
getTextBytes()
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.String
getTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.com.google.protobuf.ByteString
getTranscriptBytes()
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.String
getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.com.google.protobuf.ByteString
getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.String
getTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.com.google.protobuf.ByteString
getTriggerIntentBytes()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.com.google.protobuf.Struct
getWebhookPayloads(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.com.google.protobuf.Struct.Builder
getWebhookPayloadsBuilder(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.List<com.google.protobuf.Struct.Builder>
getWebhookPayloadsBuilderList()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.int
getWebhookPayloadsCount()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.List<com.google.protobuf.Struct>
getWebhookPayloadsList()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.com.google.protobuf.StructOrBuilder
getWebhookPayloadsOrBuilder(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.List<? extends com.google.protobuf.StructOrBuilder>
getWebhookPayloadsOrBuilderList()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.com.google.rpc.Status
getWebhookStatuses(int index)
The list of webhook call status in the order of call sequence.com.google.rpc.Status.Builder
getWebhookStatusesBuilder(int index)
The list of webhook call status in the order of call sequence.List<com.google.rpc.Status.Builder>
getWebhookStatusesBuilderList()
The list of webhook call status in the order of call sequence.int
getWebhookStatusesCount()
The list of webhook call status in the order of call sequence.List<com.google.rpc.Status>
getWebhookStatusesList()
The list of webhook call status in the order of call sequence.com.google.rpc.StatusOrBuilder
getWebhookStatusesOrBuilder(int index)
The list of webhook call status in the order of call sequence.List<? extends com.google.rpc.StatusOrBuilder>
getWebhookStatusesOrBuilderList()
The list of webhook call status in the order of call sequence.boolean
hasCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].boolean
hasDiagnosticInfo()
The free-form diagnostic info.boolean
hasDtmf()
If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain a copy of the [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].boolean
hasIntent()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated.boolean
hasMatch()
Intent match result, could be an intent or an event.boolean
hasParameters()
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].boolean
hasSentimentAnalysisResult()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request.boolean
hasText()
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.boolean
hasTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.boolean
hasTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.boolean
hasTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
QueryResult.Builder
mergeCurrentPage(Page value)
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].QueryResult.Builder
mergeDiagnosticInfo(com.google.protobuf.Struct value)
The free-form diagnostic info.QueryResult.Builder
mergeDtmf(DtmfInput value)
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].QueryResult.Builder
mergeFrom(QueryResult other)
QueryResult.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
QueryResult.Builder
mergeFrom(com.google.protobuf.Message other)
QueryResult.Builder
mergeIntent(Intent value)
Deprecated.QueryResult.Builder
mergeMatch(Match value)
Intent match result, could be an intent or an event.QueryResult.Builder
mergeParameters(com.google.protobuf.Struct value)
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].QueryResult.Builder
mergeSentimentAnalysisResult(SentimentAnalysisResult value)
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.QueryResult.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
QueryResult.Builder
removeResponseMessages(int index)
The list of rich messages returned to the client.QueryResult.Builder
removeWebhookPayloads(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.QueryResult.Builder
removeWebhookStatuses(int index)
The list of webhook call status in the order of call sequence.QueryResult.Builder
setCurrentPage(Page value)
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].QueryResult.Builder
setCurrentPage(Page.Builder builderForValue)
The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].QueryResult.Builder
setDiagnosticInfo(com.google.protobuf.Struct value)
The free-form diagnostic info.QueryResult.Builder
setDiagnosticInfo(com.google.protobuf.Struct.Builder builderForValue)
The free-form diagnostic info.QueryResult.Builder
setDtmf(DtmfInput value)
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].QueryResult.Builder
setDtmf(DtmfInput.Builder builderForValue)
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].QueryResult.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
QueryResult.Builder
setIntent(Intent value)
Deprecated.QueryResult.Builder
setIntent(Intent.Builder builderForValue)
Deprecated.QueryResult.Builder
setIntentDetectionConfidence(float value)
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated.QueryResult.Builder
setLanguageCode(String value)
The language that was triggered during intent detection.QueryResult.Builder
setLanguageCodeBytes(com.google.protobuf.ByteString value)
The language that was triggered during intent detection.QueryResult.Builder
setMatch(Match value)
Intent match result, could be an intent or an event.QueryResult.Builder
setMatch(Match.Builder builderForValue)
Intent match result, could be an intent or an event.QueryResult.Builder
setParameters(com.google.protobuf.Struct value)
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].QueryResult.Builder
setParameters(com.google.protobuf.Struct.Builder builderForValue)
The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].QueryResult.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
QueryResult.Builder
setResponseMessages(int index, ResponseMessage value)
The list of rich messages returned to the client.QueryResult.Builder
setResponseMessages(int index, ResponseMessage.Builder builderForValue)
The list of rich messages returned to the client.QueryResult.Builder
setSentimentAnalysisResult(SentimentAnalysisResult value)
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.QueryResult.Builder
setSentimentAnalysisResult(SentimentAnalysisResult.Builder builderForValue)
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.QueryResult.Builder
setText(String value)
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.QueryResult.Builder
setTextBytes(com.google.protobuf.ByteString value)
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.QueryResult.Builder
setTranscript(String value)
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.QueryResult.Builder
setTranscriptBytes(com.google.protobuf.ByteString value)
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.QueryResult.Builder
setTriggerEvent(String value)
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.QueryResult.Builder
setTriggerEventBytes(com.google.protobuf.ByteString value)
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.QueryResult.Builder
setTriggerIntent(String value)
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.QueryResult.Builder
setTriggerIntentBytes(com.google.protobuf.ByteString value)
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.QueryResult.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
QueryResult.Builder
setWebhookPayloads(int index, com.google.protobuf.Struct value)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.QueryResult.Builder
setWebhookPayloads(int index, com.google.protobuf.Struct.Builder builderForValue)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in the order of call sequence.QueryResult.Builder
setWebhookStatuses(int index, com.google.rpc.Status value)
The list of webhook call status in the order of call sequence.QueryResult.Builder
setWebhookStatuses(int index, com.google.rpc.Status.Builder builderForValue)
The list of webhook call status in the order of call sequence.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
clear
public QueryResult.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
getDefaultInstanceForType
public QueryResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public QueryResult build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public QueryResult buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public QueryResult.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
setField
public QueryResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
clearField
public QueryResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
clearOneof
public QueryResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
setRepeatedField
public QueryResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
addRepeatedField
public QueryResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
mergeFrom
public QueryResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<QueryResult.Builder>
-
mergeFrom
public QueryResult.Builder mergeFrom(QueryResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
mergeFrom
public QueryResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<QueryResult.Builder>
- Throws:
IOException
-
getQueryCase
public QueryResult.QueryCase getQueryCase()
- Specified by:
getQueryCase
in interfaceQueryResultOrBuilder
-
clearQuery
public QueryResult.Builder clearQuery()
-
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:
hasText
in interfaceQueryResultOrBuilder
- Returns:
- Whether the text field is set.
-
getText
public 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;
- Specified by:
getText
in 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:
getTextBytes
in interfaceQueryResultOrBuilder
- Returns:
- The bytes for text.
-
setText
public QueryResult.Builder setText(String value)
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;
- Parameters:
value
- The text to set.- Returns:
- This builder for chaining.
-
clearText
public QueryResult.Builder clearText()
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:
- This builder for chaining.
-
setTextBytes
public QueryResult.Builder setTextBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for text to set.- Returns:
- This builder for chaining.
-
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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
- Specified by:
hasTriggerIntent
in interfaceQueryResultOrBuilder
- Returns:
- Whether the triggerIntent field is set.
-
getTriggerIntent
public String getTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
- Specified by:
getTriggerIntent
in 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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
- Specified by:
getTriggerIntentBytes
in interfaceQueryResultOrBuilder
- Returns:
- The bytes for triggerIntent.
-
setTriggerIntent
public QueryResult.Builder setTriggerIntent(String value)
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The triggerIntent to set.- Returns:
- This builder for chaining.
-
clearTriggerIntent
public QueryResult.Builder clearTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setTriggerIntentBytes
public QueryResult.Builder setTriggerIntentBytes(com.google.protobuf.ByteString value)
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for triggerIntent to set.- Returns:
- This builder for chaining.
-
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:
hasTranscript
in interfaceQueryResultOrBuilder
- Returns:
- Whether the transcript field is set.
-
getTranscript
public 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;
- Specified by:
getTranscript
in 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:
getTranscriptBytes
in interfaceQueryResultOrBuilder
- Returns:
- The bytes for transcript.
-
setTranscript
public QueryResult.Builder setTranscript(String value)
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;
- Parameters:
value
- The transcript to set.- Returns:
- This builder for chaining.
-
clearTranscript
public QueryResult.Builder clearTranscript()
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:
- This builder for chaining.
-
setTranscriptBytes
public QueryResult.Builder setTranscriptBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for transcript to set.- Returns:
- This builder for chaining.
-
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:
hasTriggerEvent
in interfaceQueryResultOrBuilder
- Returns:
- Whether the triggerEvent field is set.
-
getTriggerEvent
public 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;
- Specified by:
getTriggerEvent
in 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:
getTriggerEventBytes
in interfaceQueryResultOrBuilder
- Returns:
- The bytes for triggerEvent.
-
setTriggerEvent
public QueryResult.Builder setTriggerEvent(String value)
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;
- Parameters:
value
- The triggerEvent to set.- Returns:
- This builder for chaining.
-
clearTriggerEvent
public QueryResult.Builder clearTriggerEvent()
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:
- This builder for chaining.
-
setTriggerEventBytes
public QueryResult.Builder setTriggerEventBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for triggerEvent to set.- Returns:
- This builder for chaining.
-
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:
hasDtmf
in interfaceQueryResultOrBuilder
- Returns:
- Whether the dtmf field is set.
-
getDtmf
public 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;
- Specified by:
getDtmf
in interfaceQueryResultOrBuilder
- Returns:
- The dtmf.
-
setDtmf
public QueryResult.Builder setDtmf(DtmfInput value)
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;
-
setDtmf
public QueryResult.Builder setDtmf(DtmfInput.Builder builderForValue)
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;
-
mergeDtmf
public QueryResult.Builder mergeDtmf(DtmfInput value)
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;
-
clearDtmf
public QueryResult.Builder clearDtmf()
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;
-
getDtmfBuilder
public DtmfInput.Builder getDtmfBuilder()
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;
-
getDtmfOrBuilder
public 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;
- Specified by:
getDtmfOrBuilder
in interfaceQueryResultOrBuilder
-
getLanguageCode
public 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;
- Specified by:
getLanguageCode
in 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:
getLanguageCodeBytes
in interfaceQueryResultOrBuilder
- Returns:
- The bytes for languageCode.
-
setLanguageCode
public QueryResult.Builder setLanguageCode(String value)
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;
- Parameters:
value
- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
public QueryResult.Builder clearLanguageCode()
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:
- This builder for chaining.
-
setLanguageCodeBytes
public QueryResult.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
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:
hasParameters
in 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:
getParameters
in interfaceQueryResultOrBuilder
- Returns:
- The parameters.
-
setParameters
public QueryResult.Builder setParameters(com.google.protobuf.Struct value)
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;
-
setParameters
public QueryResult.Builder setParameters(com.google.protobuf.Struct.Builder builderForValue)
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;
-
mergeParameters
public QueryResult.Builder mergeParameters(com.google.protobuf.Struct value)
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;
-
clearParameters
public QueryResult.Builder clearParameters()
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;
-
getParametersBuilder
public com.google.protobuf.Struct.Builder getParametersBuilder()
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;
-
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:
getParametersOrBuilder
in interfaceQueryResultOrBuilder
-
getResponseMessagesList
public 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;
- Specified by:
getResponseMessagesList
in 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:
getResponseMessagesCount
in interfaceQueryResultOrBuilder
-
getResponseMessages
public ResponseMessage getResponseMessages(int index)
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
- Specified by:
getResponseMessages
in interfaceQueryResultOrBuilder
-
setResponseMessages
public QueryResult.Builder setResponseMessages(int index, ResponseMessage value)
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;
-
setResponseMessages
public QueryResult.Builder setResponseMessages(int index, ResponseMessage.Builder builderForValue)
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;
-
addResponseMessages
public QueryResult.Builder addResponseMessages(ResponseMessage value)
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;
-
addResponseMessages
public QueryResult.Builder addResponseMessages(int index, ResponseMessage value)
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;
-
addResponseMessages
public QueryResult.Builder addResponseMessages(ResponseMessage.Builder builderForValue)
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;
-
addResponseMessages
public QueryResult.Builder addResponseMessages(int index, ResponseMessage.Builder builderForValue)
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;
-
addAllResponseMessages
public QueryResult.Builder addAllResponseMessages(Iterable<? extends ResponseMessage> values)
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;
-
clearResponseMessages
public QueryResult.Builder clearResponseMessages()
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;
-
removeResponseMessages
public QueryResult.Builder removeResponseMessages(int index)
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
-
getResponseMessagesBuilder
public ResponseMessage.Builder getResponseMessagesBuilder(int index)
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
-
getResponseMessagesOrBuilder
public ResponseMessageOrBuilder getResponseMessagesOrBuilder(int index)
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
- Specified by:
getResponseMessagesOrBuilder
in interfaceQueryResultOrBuilder
-
getResponseMessagesOrBuilderList
public 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;
- Specified by:
getResponseMessagesOrBuilderList
in interfaceQueryResultOrBuilder
-
addResponseMessagesBuilder
public ResponseMessage.Builder addResponseMessagesBuilder()
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;
-
addResponseMessagesBuilder
public ResponseMessage.Builder addResponseMessagesBuilder(int index)
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
-
getResponseMessagesBuilderList
public List<ResponseMessage.Builder> getResponseMessagesBuilderList()
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
-
getWebhookStatusesList
public List<com.google.rpc.Status> getWebhookStatusesList()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
- Specified by:
getWebhookStatusesList
in 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:
getWebhookStatusesCount
in interfaceQueryResultOrBuilder
-
getWebhookStatuses
public com.google.rpc.Status getWebhookStatuses(int index)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
- Specified by:
getWebhookStatuses
in interfaceQueryResultOrBuilder
-
setWebhookStatuses
public QueryResult.Builder setWebhookStatuses(int index, com.google.rpc.Status value)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
setWebhookStatuses
public QueryResult.Builder setWebhookStatuses(int index, com.google.rpc.Status.Builder builderForValue)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
addWebhookStatuses
public QueryResult.Builder addWebhookStatuses(com.google.rpc.Status value)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
addWebhookStatuses
public QueryResult.Builder addWebhookStatuses(int index, com.google.rpc.Status value)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
addWebhookStatuses
public QueryResult.Builder addWebhookStatuses(com.google.rpc.Status.Builder builderForValue)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
addWebhookStatuses
public QueryResult.Builder addWebhookStatuses(int index, com.google.rpc.Status.Builder builderForValue)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
addAllWebhookStatuses
public QueryResult.Builder addAllWebhookStatuses(Iterable<? extends com.google.rpc.Status> values)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
clearWebhookStatuses
public QueryResult.Builder clearWebhookStatuses()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
removeWebhookStatuses
public QueryResult.Builder removeWebhookStatuses(int index)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
getWebhookStatusesBuilder
public com.google.rpc.Status.Builder getWebhookStatusesBuilder(int index)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
getWebhookStatusesOrBuilder
public com.google.rpc.StatusOrBuilder getWebhookStatusesOrBuilder(int index)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
- Specified by:
getWebhookStatusesOrBuilder
in interfaceQueryResultOrBuilder
-
getWebhookStatusesOrBuilderList
public List<? extends com.google.rpc.StatusOrBuilder> getWebhookStatusesOrBuilderList()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
- Specified by:
getWebhookStatusesOrBuilderList
in interfaceQueryResultOrBuilder
-
addWebhookStatusesBuilder
public com.google.rpc.Status.Builder addWebhookStatusesBuilder()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
addWebhookStatusesBuilder
public com.google.rpc.Status.Builder addWebhookStatusesBuilder(int index)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
getWebhookStatusesBuilderList
public List<com.google.rpc.Status.Builder> getWebhookStatusesBuilderList()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
-
getWebhookPayloadsList
public 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;
- Specified by:
getWebhookPayloadsList
in 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:
getWebhookPayloadsCount
in 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:
getWebhookPayloads
in interfaceQueryResultOrBuilder
-
setWebhookPayloads
public QueryResult.Builder setWebhookPayloads(int index, com.google.protobuf.Struct value)
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;
-
setWebhookPayloads
public QueryResult.Builder setWebhookPayloads(int index, com.google.protobuf.Struct.Builder builderForValue)
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;
-
addWebhookPayloads
public QueryResult.Builder addWebhookPayloads(com.google.protobuf.Struct value)
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;
-
addWebhookPayloads
public QueryResult.Builder addWebhookPayloads(int index, com.google.protobuf.Struct value)
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;
-
addWebhookPayloads
public QueryResult.Builder addWebhookPayloads(com.google.protobuf.Struct.Builder builderForValue)
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;
-
addWebhookPayloads
public QueryResult.Builder addWebhookPayloads(int index, com.google.protobuf.Struct.Builder builderForValue)
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;
-
addAllWebhookPayloads
public QueryResult.Builder addAllWebhookPayloads(Iterable<? extends com.google.protobuf.Struct> values)
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;
-
clearWebhookPayloads
public QueryResult.Builder clearWebhookPayloads()
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;
-
removeWebhookPayloads
public QueryResult.Builder removeWebhookPayloads(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;
-
getWebhookPayloadsBuilder
public com.google.protobuf.Struct.Builder getWebhookPayloadsBuilder(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;
-
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:
getWebhookPayloadsOrBuilder
in interfaceQueryResultOrBuilder
-
getWebhookPayloadsOrBuilderList
public 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;
- Specified by:
getWebhookPayloadsOrBuilderList
in interfaceQueryResultOrBuilder
-
addWebhookPayloadsBuilder
public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder()
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;
-
addWebhookPayloadsBuilder
public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder(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;
-
getWebhookPayloadsBuilderList
public List<com.google.protobuf.Struct.Builder> getWebhookPayloadsBuilderList()
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
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:
hasCurrentPage
in interfaceQueryResultOrBuilder
- Returns:
- Whether the currentPage field is set.
-
getCurrentPage
public 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;
- Specified by:
getCurrentPage
in interfaceQueryResultOrBuilder
- Returns:
- The currentPage.
-
setCurrentPage
public QueryResult.Builder setCurrentPage(Page value)
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;
-
setCurrentPage
public QueryResult.Builder setCurrentPage(Page.Builder builderForValue)
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;
-
mergeCurrentPage
public QueryResult.Builder mergeCurrentPage(Page value)
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;
-
clearCurrentPage
public QueryResult.Builder clearCurrentPage()
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;
-
getCurrentPageBuilder
public Page.Builder getCurrentPageBuilder()
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;
-
getCurrentPageOrBuilder
public 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;
- Specified by:
getCurrentPageOrBuilder
in interfaceQueryResultOrBuilder
-
hasIntent
@Deprecated public boolean hasIntent()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=728The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
- Specified by:
hasIntent
in interfaceQueryResultOrBuilder
- Returns:
- Whether the intent field is set.
-
getIntent
@Deprecated public Intent getIntent()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=728The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
- Specified by:
getIntent
in interfaceQueryResultOrBuilder
- Returns:
- The intent.
-
setIntent
@Deprecated public QueryResult.Builder setIntent(Intent value)
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];
-
setIntent
@Deprecated public QueryResult.Builder setIntent(Intent.Builder builderForValue)
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];
-
mergeIntent
@Deprecated public QueryResult.Builder mergeIntent(Intent value)
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];
-
clearIntent
@Deprecated public QueryResult.Builder clearIntent()
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];
-
getIntentBuilder
@Deprecated public Intent.Builder getIntentBuilder()
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];
-
getIntentOrBuilder
@Deprecated public IntentOrBuilder getIntentOrBuilder()
Deprecated.The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
- Specified by:
getIntentOrBuilder
in interfaceQueryResultOrBuilder
-
getIntentDetectionConfidence
@Deprecated public float getIntentDetectionConfidence()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=739The intent detection confidence. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation. This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
float intent_detection_confidence = 9 [deprecated = true];
- Specified by:
getIntentDetectionConfidence
in interfaceQueryResultOrBuilder
- Returns:
- The intentDetectionConfidence.
-
setIntentDetectionConfidence
@Deprecated public QueryResult.Builder setIntentDetectionConfidence(float value)
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=739The intent detection confidence. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation. This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
float intent_detection_confidence = 9 [deprecated = true];
- Parameters:
value
- The intentDetectionConfidence to set.- Returns:
- This builder for chaining.
-
clearIntentDetectionConfidence
@Deprecated public QueryResult.Builder clearIntentDetectionConfidence()
Deprecated.google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=739The intent detection confidence. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation. This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead.
float intent_detection_confidence = 9 [deprecated = true];
- Returns:
- This builder for chaining.
-
hasMatch
public boolean hasMatch()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
- Specified by:
hasMatch
in interfaceQueryResultOrBuilder
- Returns:
- Whether the match field is set.
-
getMatch
public Match getMatch()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
- Specified by:
getMatch
in interfaceQueryResultOrBuilder
- Returns:
- The match.
-
setMatch
public QueryResult.Builder setMatch(Match value)
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
-
setMatch
public QueryResult.Builder setMatch(Match.Builder builderForValue)
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
-
mergeMatch
public QueryResult.Builder mergeMatch(Match value)
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
-
clearMatch
public QueryResult.Builder clearMatch()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
-
getMatchBuilder
public Match.Builder getMatchBuilder()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
-
getMatchOrBuilder
public MatchOrBuilder getMatchOrBuilder()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
- Specified by:
getMatchOrBuilder
in 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:
hasDiagnosticInfo
in 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:
getDiagnosticInfo
in interfaceQueryResultOrBuilder
- Returns:
- The diagnosticInfo.
-
setDiagnosticInfo
public QueryResult.Builder setDiagnosticInfo(com.google.protobuf.Struct value)
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;
-
setDiagnosticInfo
public QueryResult.Builder setDiagnosticInfo(com.google.protobuf.Struct.Builder builderForValue)
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;
-
mergeDiagnosticInfo
public QueryResult.Builder mergeDiagnosticInfo(com.google.protobuf.Struct value)
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;
-
clearDiagnosticInfo
public QueryResult.Builder clearDiagnosticInfo()
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;
-
getDiagnosticInfoBuilder
public com.google.protobuf.Struct.Builder getDiagnosticInfoBuilder()
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;
-
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:
getDiagnosticInfoOrBuilder
in 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:
hasSentimentAnalysisResult
in interfaceQueryResultOrBuilder
- Returns:
- Whether the sentimentAnalysisResult field is set.
-
getSentimentAnalysisResult
public 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;
- Specified by:
getSentimentAnalysisResult
in interfaceQueryResultOrBuilder
- Returns:
- The sentimentAnalysisResult.
-
setSentimentAnalysisResult
public QueryResult.Builder setSentimentAnalysisResult(SentimentAnalysisResult value)
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;
-
setSentimentAnalysisResult
public QueryResult.Builder setSentimentAnalysisResult(SentimentAnalysisResult.Builder builderForValue)
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;
-
mergeSentimentAnalysisResult
public QueryResult.Builder mergeSentimentAnalysisResult(SentimentAnalysisResult value)
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;
-
clearSentimentAnalysisResult
public QueryResult.Builder clearSentimentAnalysisResult()
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;
-
getSentimentAnalysisResultBuilder
public SentimentAnalysisResult.Builder getSentimentAnalysisResultBuilder()
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;
-
getSentimentAnalysisResultOrBuilder
public 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;
- Specified by:
getSentimentAnalysisResultOrBuilder
in interfaceQueryResultOrBuilder
-
setUnknownFields
public final QueryResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
mergeUnknownFields
public final QueryResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResult.Builder>
-
-