Interface MatchIntentResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MatchIntentResponse,MatchIntentResponse.Builder
public interface MatchIntentResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PagegetCurrentPage()The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].PageOrBuildergetCurrentPageOrBuilder()The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].MatchgetMatches(int index)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.intgetMatchesCount()Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.List<Match>getMatchesList()Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchOrBuildergetMatchesOrBuilder(int index)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.List<? extends MatchOrBuilder>getMatchesOrBuilderList()Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.QueryCasegetQueryCase()StringgetText()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.ByteStringgetTextBytes()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.StringgetTranscript()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.ByteStringgetTranscriptBytes()If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.StringgetTriggerEvent()If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain a copy of the event name.com.google.protobuf.ByteStringgetTriggerEventBytes()If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain a copy of the event name.StringgetTriggerIntent()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.ByteStringgetTriggerIntentBytes()If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.booleanhasCurrentPage()The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].booleanhasText()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.booleanhasTranscript()If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.booleanhasTriggerEvent()If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain a copy of the event name.booleanhasTriggerIntent()If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasText
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;- Returns:
- Whether the text field is set.
-
getText
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;- Returns:
- The text.
-
getTextBytes
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;- Returns:
- The bytes for text.
-
hasTriggerIntent
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 = 2 [(.google.api.resource_reference) = { ... }- Returns:
- Whether the triggerIntent field is set.
-
getTriggerIntent
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 = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The triggerIntent.
-
getTriggerIntentBytes
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 = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for triggerIntent.
-
hasTranscript
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 = 3;- Returns:
- Whether the transcript field is set.
-
getTranscript
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 = 3;- Returns:
- The transcript.
-
getTranscriptBytes
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 = 3;- Returns:
- The bytes for transcript.
-
hasTriggerEvent
boolean hasTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain a copy of the event name.
string trigger_event = 6;- Returns:
- Whether the triggerEvent field is set.
-
getTriggerEvent
String getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain a copy of the event name.
string trigger_event = 6;- Returns:
- The triggerEvent.
-
getTriggerEventBytes
com.google.protobuf.ByteString getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain a copy of the event name.
string trigger_event = 6;- Returns:
- The bytes for triggerEvent.
-
getMatchesList
List<Match> getMatchesList()
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
-
getMatches
Match getMatches(int index)
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
-
getMatchesCount
int getMatchesCount()
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
-
getMatchesOrBuilderList
List<? extends MatchOrBuilder> getMatchesOrBuilderList()
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
-
getMatchesOrBuilder
MatchOrBuilder getMatchesOrBuilder(int index)
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
-
hasCurrentPage
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 = 5;- Returns:
- Whether the currentPage field is set.
-
getCurrentPage
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 = 5;- Returns:
- The currentPage.
-
getCurrentPageOrBuilder
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 = 5;
-
getQueryCase
MatchIntentResponse.QueryCase getQueryCase()
-
-