Package | Description |
---|---|
com.google.cloud.dialogflow.v2 |
A client to Dialogflow API
|
Modifier and Type | Method and Description |
---|---|
QueryResult.Builder |
QueryResult.Builder.addAllFulfillmentMessages(Iterable<? extends Intent.Message> values)
The collection of rich messages to present to the user.
|
QueryResult.Builder |
QueryResult.Builder.addAllOutputContexts(Iterable<? extends Context> values)
The collection of output contexts.
|
QueryResult.Builder |
QueryResult.Builder.addFulfillmentMessages(Intent.Message.Builder builderForValue)
The collection of rich messages to present to the user.
|
QueryResult.Builder |
QueryResult.Builder.addFulfillmentMessages(Intent.Message value)
The collection of rich messages to present to the user.
|
QueryResult.Builder |
QueryResult.Builder.addFulfillmentMessages(int index,
Intent.Message.Builder builderForValue)
The collection of rich messages to present to the user.
|
QueryResult.Builder |
QueryResult.Builder.addFulfillmentMessages(int index,
Intent.Message value)
The collection of rich messages to present to the user.
|
QueryResult.Builder |
QueryResult.Builder.addOutputContexts(Context.Builder builderForValue)
The collection of output contexts.
|
QueryResult.Builder |
QueryResult.Builder.addOutputContexts(Context value)
The collection of output contexts.
|
QueryResult.Builder |
QueryResult.Builder.addOutputContexts(int index,
Context.Builder builderForValue)
The collection of output contexts.
|
QueryResult.Builder |
QueryResult.Builder.addOutputContexts(int index,
Context value)
The collection of output contexts.
|
QueryResult.Builder |
QueryResult.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
QueryResult.Builder |
QueryResult.Builder.clear() |
QueryResult.Builder |
QueryResult.Builder.clearAction()
The action name from the matched intent.
|
QueryResult.Builder |
QueryResult.Builder.clearAllRequiredParamsPresent()
This field is set to:
- `false` if the matched intent has required parameters and not all of
the required parameter values have been collected.
|
QueryResult.Builder |
QueryResult.Builder.clearCancelsSlotFilling()
Indicates whether the conversational query triggers a cancellation for slot
filling.
|
QueryResult.Builder |
QueryResult.Builder.clearDiagnosticInfo()
Free-form diagnostic information for the associated detect intent request.
|
QueryResult.Builder |
QueryResult.Builder.clearField(Descriptors.FieldDescriptor field) |
QueryResult.Builder |
QueryResult.Builder.clearFulfillmentMessages()
The collection of rich messages to present to the user.
|
QueryResult.Builder |
QueryResult.Builder.clearFulfillmentText()
The text to be pronounced to the user or shown on the screen.
|
QueryResult.Builder |
QueryResult.Builder.clearIntent()
The intent that matched the conversational query.
|
QueryResult.Builder |
QueryResult.Builder.clearIntentDetectionConfidence()
The intent detection confidence.
|
QueryResult.Builder |
QueryResult.Builder.clearLanguageCode()
The language that was triggered during intent detection.
|
QueryResult.Builder |
QueryResult.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
QueryResult.Builder |
QueryResult.Builder.clearOutputContexts()
The collection of output contexts.
|
QueryResult.Builder |
QueryResult.Builder.clearParameters()
The collection of extracted parameters.
|
QueryResult.Builder |
QueryResult.Builder.clearQueryText()
The original conversational query text:
- If natural language text was provided as input, `query_text` contains
a copy of the input.
|
QueryResult.Builder |
QueryResult.Builder.clearSentimentAnalysisResult()
The sentiment analysis result, which depends on the
`sentiment_analysis_request_config` specified in the request.
|
QueryResult.Builder |
QueryResult.Builder.clearSpeechRecognitionConfidence()
The Speech recognition confidence between 0.0 and 1.0.
|
QueryResult.Builder |
QueryResult.Builder.clearWebhookPayload()
If the query was fulfilled by a webhook call, this field is set to the
value of the `payload` field returned in the webhook response.
|
QueryResult.Builder |
QueryResult.Builder.clearWebhookSource()
If the query was fulfilled by a webhook call, this field is set to the
value of the `source` field returned in the webhook response.
|
QueryResult.Builder |
QueryResult.Builder.clone() |
QueryResult.Builder |
DetectIntentResponse.Builder.getQueryResultBuilder()
The selected results of the conversational query or event processing.
|
QueryResult.Builder |
StreamingDetectIntentResponse.Builder.getQueryResultBuilder()
The result of the conversational query or event processing.
|
QueryResult.Builder |
WebhookRequest.Builder.getQueryResultBuilder()
The result of the conversational query or event processing.
|
QueryResult.Builder |
QueryResult.Builder.mergeDiagnosticInfo(Struct value)
Free-form diagnostic information for the associated detect intent request.
|
QueryResult.Builder |
QueryResult.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
QueryResult.Builder |
QueryResult.Builder.mergeFrom(Message other) |
QueryResult.Builder |
QueryResult.Builder.mergeFrom(QueryResult other) |
QueryResult.Builder |
QueryResult.Builder.mergeIntent(Intent value)
The intent that matched the conversational query.
|
QueryResult.Builder |
QueryResult.Builder.mergeParameters(Struct value)
The collection of extracted parameters.
|
QueryResult.Builder |
QueryResult.Builder.mergeSentimentAnalysisResult(SentimentAnalysisResult value)
The sentiment analysis result, which depends on the
`sentiment_analysis_request_config` specified in the request.
|
QueryResult.Builder |
QueryResult.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
QueryResult.Builder |
QueryResult.Builder.mergeWebhookPayload(Struct value)
If the query was fulfilled by a webhook call, this field is set to the
value of the `payload` field returned in the webhook response.
|
static QueryResult.Builder |
QueryResult.newBuilder() |
static QueryResult.Builder |
QueryResult.newBuilder(QueryResult prototype) |
QueryResult.Builder |
QueryResult.newBuilderForType() |
protected QueryResult.Builder |
QueryResult.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
QueryResult.Builder |
QueryResult.Builder.removeFulfillmentMessages(int index)
The collection of rich messages to present to the user.
|
QueryResult.Builder |
QueryResult.Builder.removeOutputContexts(int index)
The collection of output contexts.
|
QueryResult.Builder |
QueryResult.Builder.setAction(String value)
The action name from the matched intent.
|
QueryResult.Builder |
QueryResult.Builder.setActionBytes(ByteString value)
The action name from the matched intent.
|
QueryResult.Builder |
QueryResult.Builder.setAllRequiredParamsPresent(boolean value)
This field is set to:
- `false` if the matched intent has required parameters and not all of
the required parameter values have been collected.
|
QueryResult.Builder |
QueryResult.Builder.setCancelsSlotFilling(boolean value)
Indicates whether the conversational query triggers a cancellation for slot
filling.
|
QueryResult.Builder |
QueryResult.Builder.setDiagnosticInfo(Struct.Builder builderForValue)
Free-form diagnostic information for the associated detect intent request.
|
QueryResult.Builder |
QueryResult.Builder.setDiagnosticInfo(Struct value)
Free-form diagnostic information for the associated detect intent request.
|
QueryResult.Builder |
QueryResult.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
QueryResult.Builder |
QueryResult.Builder.setFulfillmentMessages(int index,
Intent.Message.Builder builderForValue)
The collection of rich messages to present to the user.
|
QueryResult.Builder |
QueryResult.Builder.setFulfillmentMessages(int index,
Intent.Message value)
The collection of rich messages to present to the user.
|
QueryResult.Builder |
QueryResult.Builder.setFulfillmentText(String value)
The text to be pronounced to the user or shown on the screen.
|
QueryResult.Builder |
QueryResult.Builder.setFulfillmentTextBytes(ByteString value)
The text to be pronounced to the user or shown on the screen.
|
QueryResult.Builder |
QueryResult.Builder.setIntent(Intent.Builder builderForValue)
The intent that matched the conversational query.
|
QueryResult.Builder |
QueryResult.Builder.setIntent(Intent value)
The intent that matched the conversational query.
|
QueryResult.Builder |
QueryResult.Builder.setIntentDetectionConfidence(float value)
The intent detection confidence.
|
QueryResult.Builder |
QueryResult.Builder.setLanguageCode(String value)
The language that was triggered during intent detection.
|
QueryResult.Builder |
QueryResult.Builder.setLanguageCodeBytes(ByteString value)
The language that was triggered during intent detection.
|
QueryResult.Builder |
QueryResult.Builder.setOutputContexts(int index,
Context.Builder builderForValue)
The collection of output contexts.
|
QueryResult.Builder |
QueryResult.Builder.setOutputContexts(int index,
Context value)
The collection of output contexts.
|
QueryResult.Builder |
QueryResult.Builder.setParameters(Struct.Builder builderForValue)
The collection of extracted parameters.
|
QueryResult.Builder |
QueryResult.Builder.setParameters(Struct value)
The collection of extracted parameters.
|
QueryResult.Builder |
QueryResult.Builder.setQueryText(String value)
The original conversational query text:
- If natural language text was provided as input, `query_text` contains
a copy of the input.
|
QueryResult.Builder |
QueryResult.Builder.setQueryTextBytes(ByteString value)
The original conversational query text:
- If natural language text was provided as input, `query_text` contains
a copy of the input.
|
QueryResult.Builder |
QueryResult.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
QueryResult.Builder |
QueryResult.Builder.setSentimentAnalysisResult(SentimentAnalysisResult.Builder builderForValue)
The sentiment analysis result, which depends on the
`sentiment_analysis_request_config` specified in the request.
|
QueryResult.Builder |
QueryResult.Builder.setSentimentAnalysisResult(SentimentAnalysisResult value)
The sentiment analysis result, which depends on the
`sentiment_analysis_request_config` specified in the request.
|
QueryResult.Builder |
QueryResult.Builder.setSpeechRecognitionConfidence(float value)
The Speech recognition confidence between 0.0 and 1.0.
|
QueryResult.Builder |
QueryResult.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
QueryResult.Builder |
QueryResult.Builder.setWebhookPayload(Struct.Builder builderForValue)
If the query was fulfilled by a webhook call, this field is set to the
value of the `payload` field returned in the webhook response.
|
QueryResult.Builder |
QueryResult.Builder.setWebhookPayload(Struct value)
If the query was fulfilled by a webhook call, this field is set to the
value of the `payload` field returned in the webhook response.
|
QueryResult.Builder |
QueryResult.Builder.setWebhookSource(String value)
If the query was fulfilled by a webhook call, this field is set to the
value of the `source` field returned in the webhook response.
|
QueryResult.Builder |
QueryResult.Builder.setWebhookSourceBytes(ByteString value)
If the query was fulfilled by a webhook call, this field is set to the
value of the `source` field returned in the webhook response.
|
QueryResult.Builder |
QueryResult.toBuilder() |
Modifier and Type | Method and Description |
---|---|
DetectIntentResponse.Builder |
DetectIntentResponse.Builder.setQueryResult(QueryResult.Builder builderForValue)
The selected results of the conversational query or event processing.
|
StreamingDetectIntentResponse.Builder |
StreamingDetectIntentResponse.Builder.setQueryResult(QueryResult.Builder builderForValue)
The result of the conversational query or event processing.
|
WebhookRequest.Builder |
WebhookRequest.Builder.setQueryResult(QueryResult.Builder builderForValue)
The result of the conversational query or event processing.
|
Copyright © 2022 Google LLC. All rights reserved.