Class Action.IntentMatch.Builder (0.89.0)

public static final class Action.IntentMatch.Builder extends GeneratedMessageV3.Builder<Action.IntentMatch.Builder> implements Action.IntentMatchOrBuilder

Stores metadata of the intent match action.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMatchedIntents(Iterable<? extends Action.IntentMatch.MatchedIntent> values)

public Action.IntentMatch.Builder addAllMatchedIntents(Iterable<? extends Action.IntentMatch.MatchedIntent> values)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent>
Returns
Type Description
Action.IntentMatch.Builder

addMatchedIntents(Action.IntentMatch.MatchedIntent value)

public Action.IntentMatch.Builder addMatchedIntents(Action.IntentMatch.MatchedIntent value)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameter
Name Description
value Action.IntentMatch.MatchedIntent
Returns
Type Description
Action.IntentMatch.Builder

addMatchedIntents(Action.IntentMatch.MatchedIntent.Builder builderForValue)

public Action.IntentMatch.Builder addMatchedIntents(Action.IntentMatch.MatchedIntent.Builder builderForValue)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameter
Name Description
builderForValue Action.IntentMatch.MatchedIntent.Builder
Returns
Type Description
Action.IntentMatch.Builder

addMatchedIntents(int index, Action.IntentMatch.MatchedIntent value)

public Action.IntentMatch.Builder addMatchedIntents(int index, Action.IntentMatch.MatchedIntent value)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameters
Name Description
index int
value Action.IntentMatch.MatchedIntent
Returns
Type Description
Action.IntentMatch.Builder

addMatchedIntents(int index, Action.IntentMatch.MatchedIntent.Builder builderForValue)

public Action.IntentMatch.Builder addMatchedIntents(int index, Action.IntentMatch.MatchedIntent.Builder builderForValue)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameters
Name Description
index int
builderForValue Action.IntentMatch.MatchedIntent.Builder
Returns
Type Description
Action.IntentMatch.Builder

addMatchedIntentsBuilder()

public Action.IntentMatch.MatchedIntent.Builder addMatchedIntentsBuilder()

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Returns
Type Description
Action.IntentMatch.MatchedIntent.Builder

addMatchedIntentsBuilder(int index)

public Action.IntentMatch.MatchedIntent.Builder addMatchedIntentsBuilder(int index)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameter
Name Description
index int
Returns
Type Description
Action.IntentMatch.MatchedIntent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Action.IntentMatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.IntentMatch.Builder
Overrides

build()

public Action.IntentMatch build()
Returns
Type Description
Action.IntentMatch

buildPartial()

public Action.IntentMatch buildPartial()
Returns
Type Description
Action.IntentMatch

clear()

public Action.IntentMatch.Builder clear()
Returns
Type Description
Action.IntentMatch.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Action.IntentMatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Action.IntentMatch.Builder
Overrides

clearMatchedIntents()

public Action.IntentMatch.Builder clearMatchedIntents()

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Returns
Type Description
Action.IntentMatch.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Action.IntentMatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Action.IntentMatch.Builder
Overrides

clone()

public Action.IntentMatch.Builder clone()
Returns
Type Description
Action.IntentMatch.Builder
Overrides

getDefaultInstanceForType()

public Action.IntentMatch getDefaultInstanceForType()
Returns
Type Description
Action.IntentMatch

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMatchedIntents(int index)

public Action.IntentMatch.MatchedIntent getMatchedIntents(int index)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameter
Name Description
index int
Returns
Type Description
Action.IntentMatch.MatchedIntent

getMatchedIntentsBuilder(int index)

public Action.IntentMatch.MatchedIntent.Builder getMatchedIntentsBuilder(int index)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameter
Name Description
index int
Returns
Type Description
Action.IntentMatch.MatchedIntent.Builder

getMatchedIntentsBuilderList()

public List<Action.IntentMatch.MatchedIntent.Builder> getMatchedIntentsBuilderList()

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Returns
Type Description
List<Builder>

getMatchedIntentsCount()

public int getMatchedIntentsCount()

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Returns
Type Description
int

getMatchedIntentsList()

public List<Action.IntentMatch.MatchedIntent> getMatchedIntentsList()

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Returns
Type Description
List<MatchedIntent>

getMatchedIntentsOrBuilder(int index)

public Action.IntentMatch.MatchedIntentOrBuilder getMatchedIntentsOrBuilder(int index)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameter
Name Description
index int
Returns
Type Description
Action.IntentMatch.MatchedIntentOrBuilder

getMatchedIntentsOrBuilderList()

public List<? extends Action.IntentMatch.MatchedIntentOrBuilder> getMatchedIntentsOrBuilderList()

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntentOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Action.IntentMatch other)

public Action.IntentMatch.Builder mergeFrom(Action.IntentMatch other)
Parameter
Name Description
other Action.IntentMatch
Returns
Type Description
Action.IntentMatch.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Action.IntentMatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.IntentMatch.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Action.IntentMatch.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Action.IntentMatch.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Action.IntentMatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.IntentMatch.Builder
Overrides

removeMatchedIntents(int index)

public Action.IntentMatch.Builder removeMatchedIntents(int index)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameter
Name Description
index int
Returns
Type Description
Action.IntentMatch.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Action.IntentMatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.IntentMatch.Builder
Overrides

setMatchedIntents(int index, Action.IntentMatch.MatchedIntent value)

public Action.IntentMatch.Builder setMatchedIntents(int index, Action.IntentMatch.MatchedIntent value)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameters
Name Description
index int
value Action.IntentMatch.MatchedIntent
Returns
Type Description
Action.IntentMatch.Builder

setMatchedIntents(int index, Action.IntentMatch.MatchedIntent.Builder builderForValue)

public Action.IntentMatch.Builder setMatchedIntents(int index, Action.IntentMatch.MatchedIntent.Builder builderForValue)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameters
Name Description
index int
builderForValue Action.IntentMatch.MatchedIntent.Builder
Returns
Type Description
Action.IntentMatch.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Action.IntentMatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Action.IntentMatch.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Action.IntentMatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.IntentMatch.Builder
Overrides