public final class QueryResult extends com.google.protobuf.GeneratedMessageV3 implements QueryResultOrBuilder
Represents the result of a conversational query.Protobuf type
google.cloud.dialogflow.cx.v3.QueryResult| Modifier and Type | Class and Description |
|---|---|
static class |
QueryResult.Builder
Represents the result of a conversational query.
|
static class |
QueryResult.QueryCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CURRENT_PAGE_FIELD_NUMBER |
static int |
DIAGNOSTIC_INFO_FIELD_NUMBER |
static int |
DTMF_FIELD_NUMBER |
static int |
INTENT_DETECTION_CONFIDENCE_FIELD_NUMBER |
static int |
INTENT_FIELD_NUMBER |
static int |
LANGUAGE_CODE_FIELD_NUMBER |
static int |
MATCH_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
static int |
RESPONSE_MESSAGES_FIELD_NUMBER |
static int |
SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER |
static int |
TEXT_FIELD_NUMBER |
static int |
TRANSCRIPT_FIELD_NUMBER |
static int |
TRIGGER_EVENT_FIELD_NUMBER |
static int |
TRIGGER_INTENT_FIELD_NUMBER |
static int |
WEBHOOK_PAYLOADS_FIELD_NUMBER |
static int |
WEBHOOK_STATUSES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Page |
getCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3.Page].
|
PageOrBuilder |
getCurrentPageOrBuilder()
The current [Page][google.cloud.dialogflow.cx.v3.Page].
|
static QueryResult |
getDefaultInstance() |
QueryResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Struct |
getDiagnosticInfo()
The free-form diagnostic info.
|
com.google.protobuf.StructOrBuilder |
getDiagnosticInfoOrBuilder()
The free-form diagnostic info.
|
DtmfInput |
getDtmf()
If a [DTMF][DTMFInput] was provided as input, this field will contain
a copy of the [DTMFInput][].
|
DtmfInputOrBuilder |
getDtmfOrBuilder()
If a [DTMF][DTMFInput] was provided as input, this field will contain
a copy of the [DTMFInput][].
|
Intent |
getIntent()
Deprecated.
google.cloud.dialogflow.cx.v3.QueryResult.intent is deprecated. See
google/cloud/dialogflow/cx/v3/session.proto;l=604
|
float |
getIntentDetectionConfidence()
Deprecated.
google.cloud.dialogflow.cx.v3.QueryResult.intent_detection_confidence is
deprecated. See google/cloud/dialogflow/cx/v3/session.proto;l=613
|
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.
|
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.v3.SessionInfo.parameters].
|
com.google.protobuf.StructOrBuilder |
getParametersOrBuilder()
The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
|
com.google.protobuf.Parser<QueryResult> |
getParserForType() |
QueryResult.QueryCase |
getQueryCase() |
ResponseMessage |
getResponseMessages(int index)
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.v3.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.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
|
int |
getSerializedSize() |
String |
getText()
If [natural language text][google.cloud.dialogflow.cx.v3.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.v3.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.v3.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.v3.AudioInput] was provided as input,
this field will contain the transcript for the audio.
|
String |
getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.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.v3.EventInput] was provided as input, this field will contain
the name of the event.
|
String |
getTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.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.v3.IntentInput] was provided as input, this field will
contain a copy of the intent identifier.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Struct |
getWebhookPayloads(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in
the order of call sequence.
|
int |
getWebhookPayloadsCount()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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.v3.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.v3.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.v3.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.
|
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.v3.Page].
|
boolean |
hasDiagnosticInfo()
The free-form diagnostic info.
|
boolean |
hasDtmf()
If a [DTMF][DTMFInput] was provided as input, this field will contain
a copy of the [DTMFInput][].
|
int |
hashCode() |
boolean |
hasIntent()
Deprecated.
google.cloud.dialogflow.cx.v3.QueryResult.intent is deprecated. See
google/cloud/dialogflow/cx/v3/session.proto;l=604
|
boolean |
hasMatch()
Intent match result, could be an intent or an event.
|
boolean |
hasParameters()
The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
|
boolean |
hasSentimentAnalysisResult()
The sentiment analyss result, which depends on
[`analyze_query_text_sentiment`]
[google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
|
boolean |
hasText()
If [natural language text][google.cloud.dialogflow.cx.v3.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.v3.AudioInput] was provided as input,
this field will contain the transcript for the audio.
|
boolean |
hasTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
the name of the event.
|
boolean |
hasTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
contain a copy of the intent identifier.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QueryResult.Builder |
newBuilder() |
static QueryResult.Builder |
newBuilder(QueryResult prototype) |
QueryResult.Builder |
newBuilderForType() |
protected QueryResult.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static QueryResult |
parseDelimitedFrom(InputStream input) |
static QueryResult |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryResult |
parseFrom(byte[] data) |
static QueryResult |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryResult |
parseFrom(ByteBuffer data) |
static QueryResult |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryResult |
parseFrom(com.google.protobuf.ByteString data) |
static QueryResult |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryResult |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QueryResult |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryResult |
parseFrom(InputStream input) |
static QueryResult |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QueryResult> |
parser() |
QueryResult.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TEXT_FIELD_NUMBER
public static final int TRIGGER_INTENT_FIELD_NUMBER
public static final int TRANSCRIPT_FIELD_NUMBER
public static final int TRIGGER_EVENT_FIELD_NUMBER
public static final int DTMF_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final int RESPONSE_MESSAGES_FIELD_NUMBER
public static final int WEBHOOK_STATUSES_FIELD_NUMBER
public static final int WEBHOOK_PAYLOADS_FIELD_NUMBER
public static final int CURRENT_PAGE_FIELD_NUMBER
public static final int INTENT_FIELD_NUMBER
public static final int INTENT_DETECTION_CONFIDENCE_FIELD_NUMBER
public static final int MATCH_FIELD_NUMBER
public static final int DIAGNOSTIC_INFO_FIELD_NUMBER
public static final int SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public QueryResult.QueryCase getQueryCase()
getQueryCase in interface QueryResultOrBuilderpublic boolean hasText()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.
string text = 1;hasText in interface QueryResultOrBuilderpublic String getText()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.
string text = 1;getText in interface QueryResultOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.
string text = 1;getTextBytes in interface QueryResultOrBuilderpublic boolean hasTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.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) = { ... }hasTriggerIntent in interface QueryResultOrBuilderpublic String getTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.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) = { ... }getTriggerIntent in interface QueryResultOrBuilderpublic com.google.protobuf.ByteString getTriggerIntentBytes()
If an [intent][google.cloud.dialogflow.cx.v3.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) = { ... }getTriggerIntentBytes in interface QueryResultOrBuilderpublic boolean hasTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;hasTranscript in interface QueryResultOrBuilderpublic String getTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;getTranscript in interface QueryResultOrBuilderpublic com.google.protobuf.ByteString getTranscriptBytes()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;getTranscriptBytes in interface QueryResultOrBuilderpublic boolean hasTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;hasTriggerEvent in interface QueryResultOrBuilderpublic String getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;getTriggerEvent in interface QueryResultOrBuilderpublic com.google.protobuf.ByteString getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;getTriggerEventBytes in interface QueryResultOrBuilderpublic boolean hasDtmf()
If a [DTMF][DTMFInput] was provided as input, this field will contain a copy of the [DTMFInput][].
.google.cloud.dialogflow.cx.v3.DtmfInput dtmf = 23;hasDtmf in interface QueryResultOrBuilderpublic DtmfInput getDtmf()
If a [DTMF][DTMFInput] was provided as input, this field will contain a copy of the [DTMFInput][].
.google.cloud.dialogflow.cx.v3.DtmfInput dtmf = 23;getDtmf in interface QueryResultOrBuilderpublic DtmfInputOrBuilder getDtmfOrBuilder()
If a [DTMF][DTMFInput] was provided as input, this field will contain a copy of the [DTMFInput][].
.google.cloud.dialogflow.cx.v3.DtmfInput dtmf = 23;getDtmfOrBuilder in interface QueryResultOrBuilderpublic 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;getLanguageCode in interface QueryResultOrBuilderpublic 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;getLanguageCodeBytes in interface QueryResultOrBuilderpublic boolean hasParameters()
The collected [session parameters][google.cloud.dialogflow.cx.v3.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;hasParameters in interface QueryResultOrBuilderpublic com.google.protobuf.Struct getParameters()
The collected [session parameters][google.cloud.dialogflow.cx.v3.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;getParameters in interface QueryResultOrBuilderpublic com.google.protobuf.StructOrBuilder getParametersOrBuilder()
The collected [session parameters][google.cloud.dialogflow.cx.v3.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 in interface QueryResultOrBuilderpublic 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.v3.ResponseMessage response_messages = 4;getResponseMessagesList in interface QueryResultOrBuilderpublic 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.v3.ResponseMessage response_messages = 4;getResponseMessagesOrBuilderList in interface QueryResultOrBuilderpublic 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.v3.ResponseMessage response_messages = 4;getResponseMessagesCount in interface QueryResultOrBuilderpublic 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.v3.ResponseMessage response_messages = 4;getResponseMessages in interface QueryResultOrBuilderpublic 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.v3.ResponseMessage response_messages = 4;getResponseMessagesOrBuilder in interface QueryResultOrBuilderpublic 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;getWebhookStatusesList in interface QueryResultOrBuilderpublic 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;getWebhookStatusesOrBuilderList in interface QueryResultOrBuilderpublic int getWebhookStatusesCount()
The list of webhook call status in the order of call sequence.
repeated .google.rpc.Status webhook_statuses = 13;getWebhookStatusesCount in interface QueryResultOrBuilderpublic 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;getWebhookStatuses in interface QueryResultOrBuilderpublic 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;getWebhookStatusesOrBuilder in interface QueryResultOrBuilderpublic List<com.google.protobuf.Struct> getWebhookPayloadsList()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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;getWebhookPayloadsList in interface QueryResultOrBuilderpublic List<? extends com.google.protobuf.StructOrBuilder> getWebhookPayloadsOrBuilderList()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in the order of call sequence. If some webhook call fails or doesn't return any payload, an empty `Struct` would be used instead.
repeated .google.protobuf.Struct webhook_payloads = 6;getWebhookPayloadsOrBuilderList in interface QueryResultOrBuilderpublic int getWebhookPayloadsCount()
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in the order of call sequence. If some webhook call fails or doesn't return any payload, an empty `Struct` would be used instead.
repeated .google.protobuf.Struct webhook_payloads = 6;getWebhookPayloadsCount in interface QueryResultOrBuilderpublic com.google.protobuf.Struct getWebhookPayloads(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in the order of call sequence. If some webhook call fails or doesn't return any payload, an empty `Struct` would be used instead.
repeated .google.protobuf.Struct webhook_payloads = 6;getWebhookPayloads in interface QueryResultOrBuilderpublic com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index)
The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.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 in interface QueryResultOrBuilderpublic boolean hasCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.
.google.cloud.dialogflow.cx.v3.Page current_page = 7;hasCurrentPage in interface QueryResultOrBuilderpublic Page getCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.
.google.cloud.dialogflow.cx.v3.Page current_page = 7;getCurrentPage in interface QueryResultOrBuilderpublic PageOrBuilder getCurrentPageOrBuilder()
The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.
.google.cloud.dialogflow.cx.v3.Page current_page = 7;getCurrentPageOrBuilder in interface QueryResultOrBuilder@Deprecated public boolean hasIntent()
The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];hasIntent in interface QueryResultOrBuilder@Deprecated public Intent getIntent()
The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];getIntent in interface QueryResultOrBuilder@Deprecated public IntentOrBuilder getIntentOrBuilder()
The [Intent][google.cloud.dialogflow.cx.v3.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.v3.QueryResult.match] instead.
.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];getIntentOrBuilder in interface QueryResultOrBuilder@Deprecated public 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][google.cloud.dialogflow.cx.v3.QueryResult.match] instead.
float intent_detection_confidence = 9 [deprecated = true];getIntentDetectionConfidence in interface QueryResultOrBuilderpublic boolean hasMatch()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3.Match match = 15;hasMatch in interface QueryResultOrBuilderpublic Match getMatch()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3.Match match = 15;getMatch in interface QueryResultOrBuilderpublic MatchOrBuilder getMatchOrBuilder()
Intent match result, could be an intent or an event.
.google.cloud.dialogflow.cx.v3.Match match = 15;getMatchOrBuilder in interface QueryResultOrBuilderpublic 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;hasDiagnosticInfo in interface QueryResultOrBuilderpublic 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;getDiagnosticInfo in interface QueryResultOrBuilderpublic 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;getDiagnosticInfoOrBuilder in interface QueryResultOrBuilderpublic boolean hasSentimentAnalysisResult()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17;
hasSentimentAnalysisResult in interface QueryResultOrBuilderpublic SentimentAnalysisResult getSentimentAnalysisResult()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17;
getSentimentAnalysisResult in interface QueryResultOrBuilderpublic SentimentAnalysisResultOrBuilder getSentimentAnalysisResultOrBuilder()
The sentiment analyss result, which depends on [`analyze_query_text_sentiment`] [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17;
getSentimentAnalysisResultOrBuilder in interface QueryResultOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static QueryResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryResult parseFrom(InputStream input) throws IOException
IOExceptionpublic static QueryResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryResult parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static QueryResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static QueryResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic QueryResult.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static QueryResult.Builder newBuilder()
public static QueryResult.Builder newBuilder(QueryResult prototype)
public QueryResult.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected QueryResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static QueryResult getDefaultInstance()
public static com.google.protobuf.Parser<QueryResult> parser()
public com.google.protobuf.Parser<QueryResult> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public QueryResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.