public final class MatchIntentResponse extends com.google.protobuf.GeneratedMessageV3 implements MatchIntentResponseOrBuilder
Response of [MatchIntent][].Protobuf type
google.cloud.dialogflow.cx.v3.MatchIntentResponse| Modifier and Type | Class and Description |
|---|---|
static class |
MatchIntentResponse.Builder
Response of [MatchIntent][].
|
static class |
MatchIntentResponse.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 |
MATCHES_FIELD_NUMBER |
static int |
TEXT_FIELD_NUMBER |
static int |
TRANSCRIPT_FIELD_NUMBER |
static int |
TRIGGER_EVENT_FIELD_NUMBER |
static int |
TRIGGER_INTENT_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 MatchIntentResponse |
getDefaultInstance() |
MatchIntentResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Match |
getMatches(int index)
Match results, if more than one, ordered descendingly by the confidence
we have that the particular intent matches the query.
|
int |
getMatchesCount()
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.
|
MatchOrBuilder |
getMatchesOrBuilder(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.
|
com.google.protobuf.Parser<MatchIntentResponse> |
getParserForType() |
MatchIntentResponse.QueryCase |
getQueryCase() |
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 a copy of the event name.
|
com.google.protobuf.ByteString |
getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
contain a copy of the event name.
|
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() |
boolean |
hasCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3.Page].
|
int |
hashCode() |
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 a copy of the event name.
|
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 MatchIntentResponse.Builder |
newBuilder() |
static MatchIntentResponse.Builder |
newBuilder(MatchIntentResponse prototype) |
MatchIntentResponse.Builder |
newBuilderForType() |
protected MatchIntentResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MatchIntentResponse |
parseDelimitedFrom(InputStream input) |
static MatchIntentResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchIntentResponse |
parseFrom(byte[] data) |
static MatchIntentResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchIntentResponse |
parseFrom(ByteBuffer data) |
static MatchIntentResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchIntentResponse |
parseFrom(com.google.protobuf.ByteString data) |
static MatchIntentResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchIntentResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MatchIntentResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchIntentResponse |
parseFrom(InputStream input) |
static MatchIntentResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MatchIntentResponse> |
parser() |
MatchIntentResponse.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 MATCHES_FIELD_NUMBER
public static final int CURRENT_PAGE_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 MatchIntentResponse.QueryCase getQueryCase()
getQueryCase in interface MatchIntentResponseOrBuilderpublic 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 MatchIntentResponseOrBuilderpublic 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 MatchIntentResponseOrBuilderpublic 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 MatchIntentResponseOrBuilderpublic 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 = 2 [(.google.api.resource_reference) = { ... }hasTriggerIntent in interface MatchIntentResponseOrBuilderpublic 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 = 2 [(.google.api.resource_reference) = { ... }getTriggerIntent in interface MatchIntentResponseOrBuilderpublic 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 = 2 [(.google.api.resource_reference) = { ... }getTriggerIntentBytes in interface MatchIntentResponseOrBuilderpublic 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 = 3;hasTranscript in interface MatchIntentResponseOrBuilderpublic 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 = 3;getTranscript in interface MatchIntentResponseOrBuilderpublic 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 = 3;getTranscriptBytes in interface MatchIntentResponseOrBuilderpublic boolean hasTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain a copy of the event name.
string trigger_event = 6;hasTriggerEvent in interface MatchIntentResponseOrBuilderpublic String getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain a copy of the event name.
string trigger_event = 6;getTriggerEvent in interface MatchIntentResponseOrBuilderpublic com.google.protobuf.ByteString getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain a copy of the event name.
string trigger_event = 6;getTriggerEventBytes in interface MatchIntentResponseOrBuilderpublic 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;getMatchesList in interface MatchIntentResponseOrBuilderpublic 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;getMatchesOrBuilderList in interface MatchIntentResponseOrBuilderpublic 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;getMatchesCount in interface MatchIntentResponseOrBuilderpublic 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;getMatches in interface MatchIntentResponseOrBuilderpublic 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;getMatchesOrBuilder in interface MatchIntentResponseOrBuilderpublic 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 = 5;hasCurrentPage in interface MatchIntentResponseOrBuilderpublic 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 = 5;getCurrentPage in interface MatchIntentResponseOrBuilderpublic 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 = 5;getCurrentPageOrBuilder in interface MatchIntentResponseOrBuilderpublic 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 MatchIntentResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchIntentResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchIntentResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchIntentResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchIntentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchIntentResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchIntentResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static MatchIntentResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MatchIntentResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MatchIntentResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MatchIntentResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MatchIntentResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MatchIntentResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MatchIntentResponse.Builder newBuilder()
public static MatchIntentResponse.Builder newBuilder(MatchIntentResponse prototype)
public MatchIntentResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MatchIntentResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MatchIntentResponse getDefaultInstance()
public static com.google.protobuf.Parser<MatchIntentResponse> parser()
public com.google.protobuf.Parser<MatchIntentResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MatchIntentResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.