public final class MatchIntentResponse extends GeneratedMessageV3 implements MatchIntentResponseOrBuilder
Response of [MatchIntent][].
Protobuf type google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
CURRENT_PAGE_FIELD_NUMBER
public static final int CURRENT_PAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MATCHES_FIELD_NUMBER
public static final int MATCHES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRANSCRIPT_FIELD_NUMBER
public static final int TRANSCRIPT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRIGGER_EVENT_FIELD_NUMBER
public static final int TRIGGER_EVENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRIGGER_INTENT_FIELD_NUMBER
public static final int TRIGGER_INTENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MatchIntentResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MatchIntentResponse.Builder newBuilder()
newBuilder(MatchIntentResponse prototype)
public static MatchIntentResponse.Builder newBuilder(MatchIntentResponse prototype)
public static MatchIntentResponse parseDelimitedFrom(InputStream input)
public static MatchIntentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MatchIntentResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MatchIntentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MatchIntentResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MatchIntentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MatchIntentResponse parseFrom(CodedInputStream input)
public static MatchIntentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MatchIntentResponse parseFrom(InputStream input)
public static MatchIntentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MatchIntentResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MatchIntentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MatchIntentResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCurrentPage()
public 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 |
Type |
Description |
Page |
The currentPage.
|
getCurrentPageOrBuilder()
public 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;
getDefaultInstanceForType()
public MatchIntentResponse getDefaultInstanceForType()
getMatches(int index)
public 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 |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Match |
|
getMatchesCount()
public 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 |
Type |
Description |
int |
|
getMatchesList()
public 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;
getMatchesOrBuilder(int index)
public 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 |
Name |
Description |
index |
int
|
getMatchesOrBuilderList()
public 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 |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.MatchOrBuilder> |
|
getParserForType()
public Parser<MatchIntentResponse> getParserForType()
Overrides
getQueryCase()
public MatchIntentResponse.QueryCase getQueryCase()
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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 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 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 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 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 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 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 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 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 |
Type |
Description |
boolean |
Whether the currentPage field is set.
|
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 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 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 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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MatchIntentResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MatchIntentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MatchIntentResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides