Interface MatchIntentResponseOrBuilder (0.23.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.v3.Page current_page = 5;

Returns
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.v3.Page current_page = 5;

Returns
Type Description
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.v3.Match matches = 4;

Parameter
Name Description
index int
Returns
Type Description
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.v3.Match matches = 4;

Returns
Type Description
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.v3.Match matches = 4;

Returns
Type Description
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.v3.Match matches = 4;

Parameter
Name Description
index int
Returns
Type Description
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.v3.Match matches = 4;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.MatchOrBuilder>

getQueryCase()

public abstract MatchIntentResponse.QueryCase getQueryCase()
Returns
Type Description
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
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;

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

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

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

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

Returns
Type Description
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.v3.Page current_page = 5;

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

Returns
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 a copy of the event name.

string trigger_event = 6;

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

Returns
Type Description
boolean

Whether the triggerIntent field is set.