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.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.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.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.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.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.Match.Builder
addMatchesBuilder()
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.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.MatchIntentResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MatchIntentResponse
build()
MatchIntentResponse
buildPartial()
MatchIntentResponse.Builder
clear()
MatchIntentResponse.Builder
clearCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3.Page].MatchIntentResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MatchIntentResponse.Builder
clearMatches()
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.MatchIntentResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MatchIntentResponse.Builder
clearQuery()
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.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.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.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.MatchIntentResponse.Builder
clone()
Page
getCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3.Page].Page.Builder
getCurrentPageBuilder()
The current [Page][google.cloud.dialogflow.cx.v3.Page].PageOrBuilder
getCurrentPageOrBuilder()
The current [Page][google.cloud.dialogflow.cx.v3.Page].MatchIntentResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Match
getMatches(int index)
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.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.List<Match.Builder>
getMatchesBuilderList()
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.MatchIntentResponse.QueryCase
getQueryCase()
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.boolean
hasCurrentPage()
The current [Page][google.cloud.dialogflow.cx.v3.Page].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()
MatchIntentResponse.Builder
mergeCurrentPage(Page value)
The current [Page][google.cloud.dialogflow.cx.v3.Page].MatchIntentResponse.Builder
mergeFrom(MatchIntentResponse other)
MatchIntentResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MatchIntentResponse.Builder
mergeFrom(com.google.protobuf.Message other)
MatchIntentResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.MatchIntentResponse.Builder
setCurrentPage(Page value)
The current [Page][google.cloud.dialogflow.cx.v3.Page].MatchIntentResponse.Builder
setCurrentPage(Page.Builder builderForValue)
The current [Page][google.cloud.dialogflow.cx.v3.Page].MatchIntentResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.MatchIntentResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.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.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.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.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.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.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.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.MatchIntentResponse.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
clear
public MatchIntentResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
getDefaultInstanceForType
public MatchIntentResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MatchIntentResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MatchIntentResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MatchIntentResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
setField
public MatchIntentResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
clearField
public MatchIntentResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
clearOneof
public MatchIntentResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
setRepeatedField
public MatchIntentResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
addRepeatedField
public MatchIntentResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
mergeFrom
public MatchIntentResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MatchIntentResponse.Builder>
-
mergeFrom
public MatchIntentResponse.Builder mergeFrom(MatchIntentResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MatchIntentResponse.Builder>
- Throws:
IOException
-
getQueryCase
public MatchIntentResponse.QueryCase getQueryCase()
- Specified by:
getQueryCase
in 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:
hasText
in 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:
getText
in 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:
getTextBytes
in 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:
hasTriggerIntent
in 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:
getTriggerIntent
in 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:
getTriggerIntentBytes
in 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:
hasTranscript
in 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:
getTranscript
in 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:
getTranscriptBytes
in 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:
hasTriggerEvent
in 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:
getTriggerEvent
in 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:
getTriggerEventBytes
in 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:
getMatchesList
in 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:
getMatchesCount
in 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:
getMatches
in 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:
getMatchesOrBuilder
in 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:
getMatchesOrBuilderList
in 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:
hasCurrentPage
in 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:
getCurrentPage
in 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:
getCurrentPageOrBuilder
in interfaceMatchIntentResponseOrBuilder
-
setUnknownFields
public final MatchIntentResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
mergeUnknownFields
public final MatchIntentResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MatchIntentResponse.Builder>
-
-