Class MatchIntentResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
- com.google.cloud.dialogflow.cx.v3.MatchIntentResponse.Builder
-
- All Implemented Interfaces:
MatchIntentResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MatchIntentResponse
public static final class MatchIntentResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder> implements MatchIntentResponseOrBuilder
Response of [MatchIntent][].
Protobuf typegoogle.cloud.dialogflow.cx.v3.MatchIntentResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchIntentResponse.BuilderaddAllMatches(Iterable<? extends Match> values)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.BuilderaddMatches(int index, Match value)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.BuilderaddMatches(int index, Match.Builder builderForValue)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.BuilderaddMatches(Match value)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.BuilderaddMatches(Match.Builder builderForValue)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.Match.BuilderaddMatchesBuilder()Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.Match.BuilderaddMatchesBuilder(int index)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MatchIntentResponsebuild()MatchIntentResponsebuildPartial()MatchIntentResponse.Builderclear()MatchIntentResponse.BuilderclearCurrentPage()The current [Page][google.cloud.dialogflow.cx.v3.Page].MatchIntentResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MatchIntentResponse.BuilderclearMatches()Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MatchIntentResponse.BuilderclearQuery()MatchIntentResponse.BuilderclearText()If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.MatchIntentResponse.BuilderclearTranscript()If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.MatchIntentResponse.BuilderclearTriggerEvent()If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain a copy of the event name.MatchIntentResponse.BuilderclearTriggerIntent()If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier.MatchIntentResponse.Builderclone()PagegetCurrentPage()The current [Page][google.cloud.dialogflow.cx.v3.Page].Page.BuildergetCurrentPageBuilder()The current [Page][google.cloud.dialogflow.cx.v3.Page].PageOrBuildergetCurrentPageOrBuilder()The current [Page][google.cloud.dialogflow.cx.v3.Page].MatchIntentResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MatchgetMatches(int index)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.Match.BuildergetMatchesBuilder(int index)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.List<Match.Builder>getMatchesBuilderList()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.v3.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.v3.TextInput] was provided as input, this field will contain a copy of the text.StringgetTranscript()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.ByteStringgetTranscriptBytes()If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.StringgetTriggerEvent()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.ByteStringgetTriggerEventBytes()If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain a copy of the event name.StringgetTriggerIntent()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.ByteStringgetTriggerIntentBytes()If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier.booleanhasCurrentPage()The current [Page][google.cloud.dialogflow.cx.v3.Page].booleanhasText()If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.booleanhasTranscript()If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.booleanhasTriggerEvent()If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain a copy of the event name.booleanhasTriggerIntent()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MatchIntentResponse.BuildermergeCurrentPage(Page value)The current [Page][google.cloud.dialogflow.cx.v3.Page].MatchIntentResponse.BuildermergeFrom(MatchIntentResponse other)MatchIntentResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MatchIntentResponse.BuildermergeFrom(com.google.protobuf.Message other)MatchIntentResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MatchIntentResponse.BuilderremoveMatches(int index)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.BuildersetCurrentPage(Page value)The current [Page][google.cloud.dialogflow.cx.v3.Page].MatchIntentResponse.BuildersetCurrentPage(Page.Builder builderForValue)The current [Page][google.cloud.dialogflow.cx.v3.Page].MatchIntentResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MatchIntentResponse.BuildersetMatches(int index, Match value)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.BuildersetMatches(int index, Match.Builder builderForValue)Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MatchIntentResponse.BuildersetText(String value)If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.MatchIntentResponse.BuildersetTextBytes(com.google.protobuf.ByteString value)If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.MatchIntentResponse.BuildersetTranscript(String value)If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.MatchIntentResponse.BuildersetTranscriptBytes(com.google.protobuf.ByteString value)If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.MatchIntentResponse.BuildersetTriggerEvent(String value)If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain a copy of the event name.MatchIntentResponse.BuildersetTriggerEventBytes(com.google.protobuf.ByteString value)If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain a copy of the event name.MatchIntentResponse.BuildersetTriggerIntent(String value)If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier.MatchIntentResponse.BuildersetTriggerIntentBytes(com.google.protobuf.ByteString value)If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier.MatchIntentResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
clear
public MatchIntentResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
getDefaultInstanceForType
public MatchIntentResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MatchIntentResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MatchIntentResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MatchIntentResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
setField
public MatchIntentResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
clearField
public MatchIntentResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
clearOneof
public MatchIntentResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
setRepeatedField
public MatchIntentResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
addRepeatedField
public MatchIntentResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
mergeFrom
public MatchIntentResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MatchIntentResponse.Builder>
-
mergeFrom
public MatchIntentResponse.Builder mergeFrom(MatchIntentResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
mergeFrom
public MatchIntentResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MatchIntentResponse.Builder>- Throws:
IOException
-
getQueryCase
public MatchIntentResponse.QueryCase getQueryCase()
- Specified by:
getQueryCasein interfaceMatchIntentResponseOrBuilder
-
clearQuery
public MatchIntentResponse.Builder clearQuery()
-
hasText
public 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;- Specified by:
hasTextin interfaceMatchIntentResponseOrBuilder- Returns:
- Whether the text field is set.
-
getText
public 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;- Specified by:
getTextin interfaceMatchIntentResponseOrBuilder- Returns:
- The text.
-
getTextBytes
public 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;- Specified by:
getTextBytesin interfaceMatchIntentResponseOrBuilder- Returns:
- The bytes for text.
-
setText
public MatchIntentResponse.Builder setText(String value)
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;- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
public MatchIntentResponse.Builder clearText()
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;- Returns:
- This builder for chaining.
-
setTextBytes
public MatchIntentResponse.Builder setTextBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-
hasTriggerIntent
public 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) = { ... }- Specified by:
hasTriggerIntentin interfaceMatchIntentResponseOrBuilder- Returns:
- Whether the triggerIntent field is set.
-
getTriggerIntent
public 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) = { ... }- Specified by:
getTriggerIntentin interfaceMatchIntentResponseOrBuilder- Returns:
- The triggerIntent.
-
getTriggerIntentBytes
public 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) = { ... }- Specified by:
getTriggerIntentBytesin interfaceMatchIntentResponseOrBuilder- Returns:
- The bytes for triggerIntent.
-
setTriggerIntent
public MatchIntentResponse.Builder setTriggerIntent(String value)
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) = { ... }- Parameters:
value- The triggerIntent to set.- Returns:
- This builder for chaining.
-
clearTriggerIntent
public MatchIntentResponse.Builder clearTriggerIntent()
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) = { ... }- Returns:
- This builder for chaining.
-
setTriggerIntentBytes
public MatchIntentResponse.Builder setTriggerIntentBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for triggerIntent to set.- Returns:
- This builder for chaining.
-
hasTranscript
public 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;- Specified by:
hasTranscriptin interfaceMatchIntentResponseOrBuilder- Returns:
- Whether the transcript field is set.
-
getTranscript
public 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;- Specified by:
getTranscriptin interfaceMatchIntentResponseOrBuilder- Returns:
- The transcript.
-
getTranscriptBytes
public 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;- Specified by:
getTranscriptBytesin interfaceMatchIntentResponseOrBuilder- Returns:
- The bytes for transcript.
-
setTranscript
public MatchIntentResponse.Builder setTranscript(String value)
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;- Parameters:
value- The transcript to set.- Returns:
- This builder for chaining.
-
clearTranscript
public MatchIntentResponse.Builder clearTranscript()
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;- Returns:
- This builder for chaining.
-
setTranscriptBytes
public MatchIntentResponse.Builder setTranscriptBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for transcript to set.- Returns:
- This builder for chaining.
-
hasTriggerEvent
public 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;- Specified by:
hasTriggerEventin interfaceMatchIntentResponseOrBuilder- Returns:
- Whether the triggerEvent field is set.
-
getTriggerEvent
public 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;- Specified by:
getTriggerEventin interfaceMatchIntentResponseOrBuilder- Returns:
- The triggerEvent.
-
getTriggerEventBytes
public 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;- Specified by:
getTriggerEventBytesin interfaceMatchIntentResponseOrBuilder- Returns:
- The bytes for triggerEvent.
-
setTriggerEvent
public MatchIntentResponse.Builder setTriggerEvent(String value)
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;- Parameters:
value- The triggerEvent to set.- Returns:
- This builder for chaining.
-
clearTriggerEvent
public MatchIntentResponse.Builder clearTriggerEvent()
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;- Returns:
- This builder for chaining.
-
setTriggerEventBytes
public MatchIntentResponse.Builder setTriggerEventBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for triggerEvent to set.- Returns:
- This builder for chaining.
-
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.v3.Match matches = 4;- Specified by:
getMatchesListin interfaceMatchIntentResponseOrBuilder
-
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.v3.Match matches = 4;- Specified by:
getMatchesCountin interfaceMatchIntentResponseOrBuilder
-
getMatches
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.v3.Match matches = 4;- Specified by:
getMatchesin interfaceMatchIntentResponseOrBuilder
-
setMatches
public MatchIntentResponse.Builder setMatches(int index, Match value)
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;
-
setMatches
public MatchIntentResponse.Builder setMatches(int index, Match.Builder builderForValue)
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;
-
addMatches
public MatchIntentResponse.Builder addMatches(Match value)
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;
-
addMatches
public MatchIntentResponse.Builder addMatches(int index, Match value)
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;
-
addMatches
public MatchIntentResponse.Builder addMatches(Match.Builder builderForValue)
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;
-
addMatches
public MatchIntentResponse.Builder addMatches(int index, Match.Builder builderForValue)
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;
-
addAllMatches
public MatchIntentResponse.Builder addAllMatches(Iterable<? extends Match> values)
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;
-
clearMatches
public MatchIntentResponse.Builder clearMatches()
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;
-
removeMatches
public MatchIntentResponse.Builder removeMatches(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;
-
getMatchesBuilder
public Match.Builder getMatchesBuilder(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
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.v3.Match matches = 4;- Specified by:
getMatchesOrBuilderin interfaceMatchIntentResponseOrBuilder
-
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.v3.Match matches = 4;- Specified by:
getMatchesOrBuilderListin interfaceMatchIntentResponseOrBuilder
-
addMatchesBuilder
public Match.Builder addMatchesBuilder()
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;
-
addMatchesBuilder
public Match.Builder addMatchesBuilder(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;
-
getMatchesBuilderList
public List<Match.Builder> getMatchesBuilderList()
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;
-
hasCurrentPage
public 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;- Specified by:
hasCurrentPagein interfaceMatchIntentResponseOrBuilder- Returns:
- Whether the currentPage field is set.
-
getCurrentPage
public 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;- Specified by:
getCurrentPagein interfaceMatchIntentResponseOrBuilder- Returns:
- The currentPage.
-
setCurrentPage
public MatchIntentResponse.Builder setCurrentPage(Page value)
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;
-
setCurrentPage
public MatchIntentResponse.Builder setCurrentPage(Page.Builder builderForValue)
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;
-
mergeCurrentPage
public MatchIntentResponse.Builder mergeCurrentPage(Page value)
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;
-
clearCurrentPage
public MatchIntentResponse.Builder clearCurrentPage()
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;
-
getCurrentPageBuilder
public Page.Builder getCurrentPageBuilder()
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
public 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;- Specified by:
getCurrentPageOrBuilderin interfaceMatchIntentResponseOrBuilder
-
setUnknownFields
public final MatchIntentResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
mergeUnknownFields
public final MatchIntentResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
-