Class Fulfillment.ConditionalCases.Builder (0.11.5)

public static final class Fulfillment.ConditionalCases.Builder extends GeneratedMessageV3.Builder<Fulfillment.ConditionalCases.Builder> implements Fulfillment.ConditionalCasesOrBuilder

A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases

Static Methods

getDescriptor()

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

Methods

addAllCases(Iterable<? extends Fulfillment.ConditionalCases.Case> values)

public Fulfillment.ConditionalCases.Builder addAllCases(Iterable<? extends Fulfillment.ConditionalCases.Case> values)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case>
Returns
Type Description
Fulfillment.ConditionalCases.Builder

addCases(Fulfillment.ConditionalCases.Case value)

public Fulfillment.ConditionalCases.Builder addCases(Fulfillment.ConditionalCases.Case value)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
Name Description
value Fulfillment.ConditionalCases.Case
Returns
Type Description
Fulfillment.ConditionalCases.Builder

addCases(Fulfillment.ConditionalCases.Case.Builder builderForValue)

public Fulfillment.ConditionalCases.Builder addCases(Fulfillment.ConditionalCases.Case.Builder builderForValue)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
Name Description
builderForValue Fulfillment.ConditionalCases.Case.Builder
Returns
Type Description
Fulfillment.ConditionalCases.Builder

addCases(int index, Fulfillment.ConditionalCases.Case value)

public Fulfillment.ConditionalCases.Builder addCases(int index, Fulfillment.ConditionalCases.Case value)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameters
Name Description
index int
value Fulfillment.ConditionalCases.Case
Returns
Type Description
Fulfillment.ConditionalCases.Builder

addCases(int index, Fulfillment.ConditionalCases.Case.Builder builderForValue)

public Fulfillment.ConditionalCases.Builder addCases(int index, Fulfillment.ConditionalCases.Case.Builder builderForValue)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameters
Name Description
index int
builderForValue Fulfillment.ConditionalCases.Case.Builder
Returns
Type Description
Fulfillment.ConditionalCases.Builder

addCasesBuilder()

public Fulfillment.ConditionalCases.Case.Builder addCasesBuilder()

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

addCasesBuilder(int index)

public Fulfillment.ConditionalCases.Case.Builder addCasesBuilder(int index)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Fulfillment.ConditionalCases build()
Returns
Type Description
Fulfillment.ConditionalCases

buildPartial()

public Fulfillment.ConditionalCases buildPartial()
Returns
Type Description
Fulfillment.ConditionalCases

clear()

public Fulfillment.ConditionalCases.Builder clear()
Returns
Type Description
Fulfillment.ConditionalCases.Builder
Overrides

clearCases()

public Fulfillment.ConditionalCases.Builder clearCases()

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Returns
Type Description
Fulfillment.ConditionalCases.Builder

clearField(Descriptors.FieldDescriptor field)

public Fulfillment.ConditionalCases.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Fulfillment.ConditionalCases.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Fulfillment.ConditionalCases.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Fulfillment.ConditionalCases.Builder
Overrides

clone()

public Fulfillment.ConditionalCases.Builder clone()
Returns
Type Description
Fulfillment.ConditionalCases.Builder
Overrides

getCases(int index)

public Fulfillment.ConditionalCases.Case getCases(int index)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
Fulfillment.ConditionalCases.Case

getCasesBuilder(int index)

public Fulfillment.ConditionalCases.Case.Builder getCasesBuilder(int index)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

getCasesBuilderList()

public List<Fulfillment.ConditionalCases.Case.Builder> getCasesBuilderList()

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Returns
Type Description
List<Builder>

getCasesCount()

public int getCasesCount()

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Returns
Type Description
int

getCasesList()

public List<Fulfillment.ConditionalCases.Case> getCasesList()

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Returns
Type Description
List<Case>

getCasesOrBuilder(int index)

public Fulfillment.ConditionalCases.CaseOrBuilder getCasesOrBuilder(int index)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
Fulfillment.ConditionalCases.CaseOrBuilder

getCasesOrBuilderList()

public List<? extends Fulfillment.ConditionalCases.CaseOrBuilder> getCasesOrBuilderList()

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.CaseOrBuilder>

getDefaultInstanceForType()

public Fulfillment.ConditionalCases getDefaultInstanceForType()
Returns
Type Description
Fulfillment.ConditionalCases

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Fulfillment.ConditionalCases other)

public Fulfillment.ConditionalCases.Builder mergeFrom(Fulfillment.ConditionalCases other)
Parameter
Name Description
other Fulfillment.ConditionalCases
Returns
Type Description
Fulfillment.ConditionalCases.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Fulfillment.ConditionalCases.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Fulfillment.ConditionalCases.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Fulfillment.ConditionalCases.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Fulfillment.ConditionalCases.Builder
Overrides

removeCases(int index)

public Fulfillment.ConditionalCases.Builder removeCases(int index)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
Fulfillment.ConditionalCases.Builder

setCases(int index, Fulfillment.ConditionalCases.Case value)

public Fulfillment.ConditionalCases.Builder setCases(int index, Fulfillment.ConditionalCases.Case value)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameters
Name Description
index int
value Fulfillment.ConditionalCases.Case
Returns
Type Description
Fulfillment.ConditionalCases.Builder

setCases(int index, Fulfillment.ConditionalCases.Case.Builder builderForValue)

public Fulfillment.ConditionalCases.Builder setCases(int index, Fulfillment.ConditionalCases.Case.Builder builderForValue)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;

Parameters
Name Description
index int
builderForValue Fulfillment.ConditionalCases.Case.Builder
Returns
Type Description
Fulfillment.ConditionalCases.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Fulfillment.ConditionalCases.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Fulfillment.ConditionalCases.Builder
Overrides