- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public interface QueryResultOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCurrentPage()
public abstract Page getCurrentPage()
The current 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;
Type | Description |
Page | The currentPage. |
getCurrentPageOrBuilder()
public abstract PageOrBuilder getCurrentPageOrBuilder()
The current 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;
Type | Description |
PageOrBuilder |
getDiagnosticInfo()
public abstract Struct getDiagnosticInfo()
The free-form diagnostic info. For example, this field could contain webhook call latency. The string keys of the Struct's fields map can change without notice.
.google.protobuf.Struct diagnostic_info = 10;
Type | Description |
Struct | The diagnosticInfo. |
getDiagnosticInfoOrBuilder()
public abstract StructOrBuilder getDiagnosticInfoOrBuilder()
The free-form diagnostic info. For example, this field could contain webhook call latency. The string keys of the Struct's fields map can change without notice.
.google.protobuf.Struct diagnostic_info = 10;
Type | Description |
StructOrBuilder |
getDtmf()
public abstract DtmfInput getDtmf()
If a DTMF was provided as input, this field will contain a copy of the [DTMFInput][].
.google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
Type | Description |
DtmfInput | The dtmf. |
getDtmfOrBuilder()
public abstract DtmfInputOrBuilder getDtmfOrBuilder()
If a DTMF was provided as input, this field will contain a copy of the [DTMFInput][].
.google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
Type | Description |
DtmfInputOrBuilder |
getIntent()
public abstract Intent getIntent()
The 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 instead.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
Type | Description |
Intent | The intent. |
getIntentDetectionConfidence()
public abstract float getIntentDetectionConfidence()
The 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 instead.
float intent_detection_confidence = 9 [deprecated = true];
Type | Description |
float | The intentDetectionConfidence. |
getIntentOrBuilder()
public abstract IntentOrBuilder getIntentOrBuilder()
The 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 instead.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
Type | Description |
IntentOrBuilder |
getLanguageCode()
public abstract String getLanguageCode()
The language that was triggered during intent detection. See Language Support for a list of the currently supported language codes.
string language_code = 2;
Type | Description |
String | The languageCode. |
getLanguageCodeBytes()
public abstract ByteString getLanguageCodeBytes()
The language that was triggered during intent detection. See Language Support for a list of the currently supported language codes.
string language_code = 2;
Type | Description |
ByteString | The bytes for languageCode. |
getMatch()
public abstract Match getMatch()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
Type | Description |
Match | The match. |
getMatchOrBuilder()
public abstract MatchOrBuilder getMatchOrBuilder()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
Type | Description |
MatchOrBuilder |
getParameters()
public abstract Struct getParameters()
The collected session 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: map
- Else: depending on parameter value type, could be one of string, number, boolean, null, list or map
- MapValue value:
- If parameter's entity type is a composite entity: map from composite entity property names to property values
- Else: parameter value
.google.protobuf.Struct parameters = 3;
Type | Description |
Struct | The parameters. |
getParametersOrBuilder()
public abstract StructOrBuilder getParametersOrBuilder()
The collected session 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: map
- Else: depending on parameter value type, could be one of string, number, boolean, null, list or map
- MapValue value:
- If parameter's entity type is a composite entity: map from composite entity property names to property values
- Else: parameter value
.google.protobuf.Struct parameters = 3;
Type | Description |
StructOrBuilder |
getQueryCase()
public abstract QueryResult.QueryCase getQueryCase()
Type | Description |
QueryResult.QueryCase |
getResponseMessages(int index)
public abstract 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;
Name | Description |
index | int |
Type | Description |
ResponseMessage |
getResponseMessagesCount()
public abstract 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;
Type | Description |
int |
getResponseMessagesList()
public abstract 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;
Type | Description |
List<ResponseMessage> |
getResponseMessagesOrBuilder(int index)
public abstract 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;
Name | Description |
index | int |
Type | Description |
ResponseMessageOrBuilder |
getResponseMessagesOrBuilderList()
public abstract 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;
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder> |
getSentimentAnalysisResult()
public abstract 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;
Type | Description |
SentimentAnalysisResult | The sentimentAnalysisResult. |
getSentimentAnalysisResultOrBuilder()
public abstract 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;
Type | Description |
SentimentAnalysisResultOrBuilder |
getText()
public abstract String getText()
If natural language text was provided as input, this field will contain a copy of the text.
string text = 1;
Type | Description |
String | The text. |
getTextBytes()
public abstract ByteString getTextBytes()
If natural language text was provided as input, this field will contain a copy of the text.
string text = 1;
Type | Description |
ByteString | The bytes for text. |
getTranscript()
public abstract String getTranscript()
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
Type | Description |
String | The transcript. |
getTranscriptBytes()
public abstract ByteString getTranscriptBytes()
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
Type | Description |
ByteString | The bytes for transcript. |
getTriggerEvent()
public abstract String getTriggerEvent()
If an event was provided as input, this field will contain the name of the event.
string trigger_event = 14;
Type | Description |
String | The triggerEvent. |
getTriggerEventBytes()
public abstract ByteString getTriggerEventBytes()
If an event was provided as input, this field will contain the name of the event.
string trigger_event = 14;
Type | Description |
ByteString | The bytes for triggerEvent. |
getTriggerIntent()
public abstract String getTriggerIntent()
If an intent 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) = { ... }
Type | Description |
String | The triggerIntent. |
getTriggerIntentBytes()
public abstract ByteString getTriggerIntentBytes()
If an intent 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) = { ... }
Type | Description |
ByteString | The bytes for triggerIntent. |
getWebhookPayloads(int index)
public abstract Struct getWebhookPayloads(int index)
The list of webhook payload in 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;
Name | Description |
index | int |
Type | Description |
Struct |
getWebhookPayloadsCount()
public abstract int getWebhookPayloadsCount()
The list of webhook payload in 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;
Type | Description |
int |
getWebhookPayloadsList()
public abstract List<Struct> getWebhookPayloadsList()
The list of webhook payload in 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;
Type | Description |
List<Struct> |
getWebhookPayloadsOrBuilder(int index)
public abstract StructOrBuilder getWebhookPayloadsOrBuilder(int index)
The list of webhook payload in 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;
Name | Description |
index | int |
Type | Description |
StructOrBuilder |
getWebhookPayloadsOrBuilderList()
public abstract List<? extends StructOrBuilder> getWebhookPayloadsOrBuilderList()
The list of webhook payload in 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;
Type | Description |
List<? extends com.google.protobuf.StructOrBuilder> |
getWebhookStatuses(int index)
public abstract Status getWebhookStatuses(int index)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
Name | Description |
index | int |
Type | Description |
com.google.rpc.Status |
getWebhookStatusesCount()
public abstract int getWebhookStatusesCount()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
Type | Description |
int |
getWebhookStatusesList()
public abstract List<Status> getWebhookStatusesList()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
Type | Description |
List<com.google.rpc.Status> |
getWebhookStatusesOrBuilder(int index)
public abstract StatusOrBuilder getWebhookStatusesOrBuilder(int index)
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
Name | Description |
index | int |
Type | Description |
com.google.rpc.StatusOrBuilder |
getWebhookStatusesOrBuilderList()
public abstract List<? extends StatusOrBuilder> getWebhookStatusesOrBuilderList()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;
Type | Description |
List<? extends com.google.rpc.StatusOrBuilder> |
hasCurrentPage()
public abstract boolean hasCurrentPage()
The current 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;
Type | Description |
boolean | Whether the currentPage field is set. |
hasDiagnosticInfo()
public abstract boolean hasDiagnosticInfo()
The free-form diagnostic info. For example, this field could contain webhook call latency. The string keys of the Struct's fields map can change without notice.
.google.protobuf.Struct diagnostic_info = 10;
Type | Description |
boolean | Whether the diagnosticInfo field is set. |
hasDtmf()
public abstract boolean hasDtmf()
If a DTMF was provided as input, this field will contain a copy of the [DTMFInput][].
.google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
Type | Description |
boolean | Whether the dtmf field is set. |
hasIntent()
public abstract boolean hasIntent()
The 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 instead.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
Type | Description |
boolean | Whether the intent field is set. |
hasMatch()
public abstract boolean hasMatch()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3beta1.Match match = 15;
Type | Description |
boolean | Whether the match field is set. |
hasParameters()
public abstract boolean hasParameters()
The collected session 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: map
- Else: depending on parameter value type, could be one of string, number, boolean, null, list or map
- MapValue value:
- If parameter's entity type is a composite entity: map from composite entity property names to property values
- Else: parameter value
.google.protobuf.Struct parameters = 3;
Type | Description |
boolean | Whether the parameters field is set. |
hasSentimentAnalysisResult()
public abstract 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;
Type | Description |
boolean | Whether the sentimentAnalysisResult field is set. |
hasText()
public abstract boolean hasText()
If natural language text was provided as input, this field will contain a copy of the text.
string text = 1;
Type | Description |
boolean | Whether the text field is set. |
hasTranscript()
public abstract boolean hasTranscript()
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
Type | Description |
boolean | Whether the transcript field is set. |
hasTriggerEvent()
public abstract boolean hasTriggerEvent()
If an event was provided as input, this field will contain the name of the event.
string trigger_event = 14;
Type | Description |
boolean | Whether the triggerEvent field is set. |
hasTriggerIntent()
public abstract boolean hasTriggerIntent()
If an intent 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) = { ... }
Type | Description |
boolean | Whether the triggerIntent field is set. |