Interface MatchIntentResponseOrBuilder (0.13.0)

public interface MatchIntentResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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 = 5;

Returns
TypeDescription
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 = 5;

Returns
TypeDescription
PageOrBuilder

getMatches(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
Match

getMatchesCount()

public abstract 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;

Returns
TypeDescription
int

getMatchesList()

public abstract 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;

Returns
TypeDescription
List<Match>

getMatchesOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
MatchOrBuilder

getMatchesOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.MatchOrBuilder>

getQueryCase()

public abstract MatchIntentResponse.QueryCase getQueryCase()
Returns
TypeDescription
MatchIntentResponse.QueryCase

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;

Returns
TypeDescription
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;

Returns
TypeDescription
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 = 3;

Returns
TypeDescription
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 = 3;

Returns
TypeDescription
ByteString

The bytes for transcript.

getTriggerEvent()

public abstract String getTriggerEvent()

If an event was provided as input, this field will contain a copy of the event name.

string trigger_event = 6;

Returns
TypeDescription
String

The triggerEvent.

getTriggerEventBytes()

public abstract ByteString getTriggerEventBytes()

If an event was provided as input, this field will contain a copy of the event name.

string trigger_event = 6;

Returns
TypeDescription
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 = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
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 = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for triggerIntent.

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 = 5;

Returns
TypeDescription
boolean

Whether the currentPage 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;

Returns
TypeDescription
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 = 3;

Returns
TypeDescription
boolean

Whether the transcript field is set.

hasTriggerEvent()

public abstract boolean hasTriggerEvent()

If an event was provided as input, this field will contain a copy of the event name.

string trigger_event = 6;

Returns
TypeDescription
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 = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the triggerIntent field is set.