- 0.63.0 (latest)
- 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.v3beta1.MatchIntentResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MatchIntentResponse.BuilderImplements
MatchIntentResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v3beta1.Match matches = 4;
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Match> |
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.v3beta1.Match matches = 4;
Name | Description |
value |
Match |
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.v3beta1.Match matches = 4;
Name | Description |
builderForValue |
Match.Builder |
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.v3beta1.Match matches = 4;
Name | Description |
index |
int |
value |
Match |
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.v3beta1.Match matches = 4;
Name | Description |
index |
int |
builderForValue |
Match.Builder |
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.v3beta1.Match matches = 4;
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.v3beta1.Match matches = 4;
Name | Description |
index |
int |
Type | Description |
Match.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MatchIntentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
MatchIntentResponse.Builder |
build()
public MatchIntentResponse build()
Type | Description |
MatchIntentResponse |
buildPartial()
public MatchIntentResponse buildPartial()
Type | Description |
MatchIntentResponse |
clear()
public MatchIntentResponse.Builder clear()
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.v3beta1.Page current_page = 5;
Type | Description |
MatchIntentResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public MatchIntentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
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.v3beta1.Match matches = 4;
Type | Description |
MatchIntentResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MatchIntentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
MatchIntentResponse.Builder |
clearQuery()
public MatchIntentResponse.Builder clearQuery()
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;
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;
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;
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) = { ... }
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
clone()
public MatchIntentResponse.Builder clone()
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.v3beta1.Page current_page = 5;
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.v3beta1.Page current_page = 5;
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.v3beta1.Page current_page = 5;
Type | Description |
PageOrBuilder |
getDefaultInstanceForType()
public MatchIntentResponse getDefaultInstanceForType()
Type | Description |
MatchIntentResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v3beta1.Match matches = 4;
Name | Description |
index |
int |
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.v3beta1.Match matches = 4;
Name | Description |
index |
int |
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.v3beta1.Match matches = 4;
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.v3beta1.Match matches = 4;
Type | Description |
int |
getMatchesList()
public List<Match> getMatchesList()
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
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.v3beta1.Match matches = 4;
Name | Description |
index |
int |
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.v3beta1.Match matches = 4;
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.MatchOrBuilder> |
getQueryCase()
public MatchIntentResponse.QueryCase getQueryCase()
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;
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;
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;
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;
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;
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;
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) = { ... }
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) = { ... }
Type | Description |
ByteString |
The bytes for triggerIntent. |
hasCurrentPage()
public boolean hasCurrentPage()
The current Page. Some, not all
fields are filled in this message, including but not limited to name
and
display_name
.
.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
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;
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;
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;
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) = { ... }
Type | Description |
boolean |
Whether the triggerIntent field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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.v3beta1.Page current_page = 5;
Name | Description |
value |
Page |
Type | Description |
MatchIntentResponse.Builder |
mergeFrom(MatchIntentResponse other)
public MatchIntentResponse.Builder mergeFrom(MatchIntentResponse other)
Name | Description |
other |
MatchIntentResponse |
Type | Description |
MatchIntentResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MatchIntentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
MatchIntentResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MatchIntentResponse.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
MatchIntentResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MatchIntentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
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.v3beta1.Match matches = 4;
Name | Description |
index |
int |
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.v3beta1.Page current_page = 5;
Name | Description |
value |
Page |
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.v3beta1.Page current_page = 5;
Name | Description |
builderForValue |
Page.Builder |
Type | Description |
MatchIntentResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MatchIntentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
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.v3beta1.Match matches = 4;
Name | Description |
index |
int |
value |
Match |
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.v3beta1.Match matches = 4;
Name | Description |
index |
int |
builderForValue |
Match.Builder |
Type | Description |
MatchIntentResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MatchIntentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
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;
Name | Description |
value |
String The text to set. |
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;
Name | Description |
value |
ByteString The bytes for text to set. |
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;
Name | Description |
value |
String The transcript to set. |
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;
Name | Description |
value |
ByteString The bytes for transcript to set. |
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;
Name | Description |
value |
String The triggerEvent to set. |
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;
Name | Description |
value |
ByteString The bytes for triggerEvent to set. |
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) = { ... }
Name | Description |
value |
String The triggerIntent to set. |
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) = { ... }
Name | Description |
value |
ByteString The bytes for triggerIntent to set. |
Type | Description |
MatchIntentResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MatchIntentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
MatchIntentResponse.Builder |