- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class MatchIntentResponse.Builder extends GeneratedMessageV3.Builder<MatchIntentResponse.Builder> implements MatchIntentResponseOrBuilder
Response of [MatchIntent][].
Protobuf type google.cloud.dialogflow.cx.v3.MatchIntentResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MatchIntentResponse.BuilderImplements
MatchIntentResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllMatches(Iterable<? extends Match> values)
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.Match> |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
addMatches(Match value)
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;
Parameter | |
---|---|
Name | Description |
value |
Match |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
addMatches(Match.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Match.Builder |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
addMatches(int index, Match value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Match |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
addMatches(int index, Match.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Match.Builder |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
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;
Returns | |
---|---|
Type | Description |
Match.Builder |
addMatchesBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Match.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MatchIntentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
build()
public MatchIntentResponse build()
Returns | |
---|---|
Type | Description |
MatchIntentResponse |
buildPartial()
public MatchIntentResponse buildPartial()
Returns | |
---|---|
Type | Description |
MatchIntentResponse |
clear()
public MatchIntentResponse.Builder clear()
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
clearCurrentPage()
public MatchIntentResponse.Builder clearCurrentPage()
The current Page. Some, not all
fields are filled in this message, including but not limited to name
and
display_name
.
.google.cloud.dialogflow.cx.v3.Page current_page = 5;
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public MatchIntentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
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;
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MatchIntentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
clearQuery()
public MatchIntentResponse.Builder clearQuery()
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
clearText()
public MatchIntentResponse.Builder clearText()
If natural language text was provided as input, this field will contain a copy of the text.
string text = 1;
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
clearTranscript()
public MatchIntentResponse.Builder clearTranscript()
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 3;
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
clearTriggerEvent()
public MatchIntentResponse.Builder clearTriggerEvent()
If an event was provided as input, this field will contain a copy of the event name.
string trigger_event = 6;
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
clearTriggerIntent()
public MatchIntentResponse.Builder clearTriggerIntent()
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 |
MatchIntentResponse.Builder |
This builder for chaining. |
clone()
public MatchIntentResponse.Builder clone()
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
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.v3.Page current_page = 5;
Returns | |
---|---|
Type | Description |
Page |
The currentPage. |
getCurrentPageBuilder()
public Page.Builder getCurrentPageBuilder()
The current Page. Some, not all
fields are filled in this message, including but not limited to name
and
display_name
.
.google.cloud.dialogflow.cx.v3.Page current_page = 5;
Returns | |
---|---|
Type | Description |
Page.Builder |
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.v3.Page current_page = 5;
Returns | |
---|---|
Type | Description |
PageOrBuilder |
getDefaultInstanceForType()
public MatchIntentResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MatchIntentResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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.v3.Match matches = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Match |
getMatchesBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Match.Builder |
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
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.v3.Match matches = 4;
Returns | |
---|---|
Type | Description |
List<Match> |
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.v3.Match matches = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MatchOrBuilder |
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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.MatchOrBuilder> |
getQueryCase()
public MatchIntentResponse.QueryCase getQueryCase()
Returns | |
---|---|
Type | Description |
MatchIntentResponse.QueryCase |
getText()
public String getText()
If natural language text was provided as input, this field will contain a copy of the text.
string text = 1;
Returns | |
---|---|
Type | Description |
String |
The text. |
getTextBytes()
public 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.v3.Page current_page = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the currentPage field is set. |
hasText()
public boolean hasText()
If natural language text was provided as input, this field will contain a copy of the text.
string text = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the text field is set. |
hasTranscript()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCurrentPage(Page value)
public MatchIntentResponse.Builder mergeCurrentPage(Page value)
The current Page. Some, not all
fields are filled in this message, including but not limited to name
and
display_name
.
.google.cloud.dialogflow.cx.v3.Page current_page = 5;
Parameter | |
---|---|
Name | Description |
value |
Page |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
mergeFrom(MatchIntentResponse other)
public MatchIntentResponse.Builder mergeFrom(MatchIntentResponse other)
Parameter | |
---|---|
Name | Description |
other |
MatchIntentResponse |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MatchIntentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MatchIntentResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MatchIntentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
removeMatches(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
setCurrentPage(Page value)
public MatchIntentResponse.Builder setCurrentPage(Page value)
The current Page. Some, not all
fields are filled in this message, including but not limited to name
and
display_name
.
.google.cloud.dialogflow.cx.v3.Page current_page = 5;
Parameter | |
---|---|
Name | Description |
value |
Page |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
setCurrentPage(Page.Builder builderForValue)
public MatchIntentResponse.Builder setCurrentPage(Page.Builder builderForValue)
The current Page. Some, not all
fields are filled in this message, including but not limited to name
and
display_name
.
.google.cloud.dialogflow.cx.v3.Page current_page = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Page.Builder |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MatchIntentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
setMatches(int index, Match value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Match |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
setMatches(int index, Match.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Match.Builder |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MatchIntentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
setText(String value)
public MatchIntentResponse.Builder setText(String value)
If natural language text was provided as input, this field will contain a copy of the text.
string text = 1;
Parameter | |
---|---|
Name | Description |
value |
String The text to set. |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
setTextBytes(ByteString value)
public MatchIntentResponse.Builder setTextBytes(ByteString value)
If natural language text was provided as input, this field will contain a copy of the text.
string text = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for text to set. |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
setTranscript(String value)
public MatchIntentResponse.Builder setTranscript(String value)
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 3;
Parameter | |
---|---|
Name | Description |
value |
String The transcript to set. |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
setTranscriptBytes(ByteString value)
public MatchIntentResponse.Builder setTranscriptBytes(ByteString value)
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for transcript to set. |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
setTriggerEvent(String value)
public MatchIntentResponse.Builder setTriggerEvent(String value)
If an event was provided as input, this field will contain a copy of the event name.
string trigger_event = 6;
Parameter | |
---|---|
Name | Description |
value |
String The triggerEvent to set. |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
setTriggerEventBytes(ByteString value)
public MatchIntentResponse.Builder setTriggerEventBytes(ByteString value)
If an event was provided as input, this field will contain a copy of the event name.
string trigger_event = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for triggerEvent to set. |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
setTriggerIntent(String value)
public MatchIntentResponse.Builder setTriggerIntent(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The triggerIntent to set. |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
setTriggerIntentBytes(ByteString value)
public MatchIntentResponse.Builder setTriggerIntentBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for triggerIntent to set. |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MatchIntentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MatchIntentResponse.Builder |