Class Fulfillment.ConditionalCases.Builder (0.14.2)

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.v3.Fulfillment.ConditionalCases

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case>
Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
NameDescription
valueFulfillment.ConditionalCases.Case
Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
NameDescription
builderForValueFulfillment.ConditionalCases.Case.Builder
Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameters
NameDescription
indexint
valueFulfillment.ConditionalCases.Case
Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameters
NameDescription
indexint
builderForValueFulfillment.ConditionalCases.Case.Builder
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder

addCasesBuilder()

public Fulfillment.ConditionalCases.Case.Builder addCasesBuilder()

A list of cascading if-else conditions.

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

Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Fulfillment.ConditionalCases.Case.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Fulfillment.ConditionalCases.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder
Overrides

build()

public Fulfillment.ConditionalCases build()
Returns
TypeDescription
Fulfillment.ConditionalCases

buildPartial()

public Fulfillment.ConditionalCases buildPartial()
Returns
TypeDescription
Fulfillment.ConditionalCases

clear()

public Fulfillment.ConditionalCases.Builder clear()
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder
Overrides

clearCases()

public Fulfillment.ConditionalCases.Builder clearCases()

A list of cascading if-else conditions.

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

Returns
TypeDescription
Fulfillment.ConditionalCases.Builder

clearField(Descriptors.FieldDescriptor field)

public Fulfillment.ConditionalCases.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Fulfillment.ConditionalCases.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder
Overrides

clone()

public Fulfillment.ConditionalCases.Builder clone()
Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Fulfillment.ConditionalCases.Case.Builder

getCasesBuilderList()

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

A list of cascading if-else conditions.

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

Returns
TypeDescription
List<Builder>

getCasesCount()

public int getCasesCount()

A list of cascading if-else conditions.

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

Returns
TypeDescription
int

getCasesList()

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

A list of cascading if-else conditions.

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

Returns
TypeDescription
List<Case>

getCasesOrBuilder(int index)

public Fulfillment.ConditionalCases.CaseOrBuilder getCasesOrBuilder(int index)

A list of cascading if-else conditions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Fulfillment.ConditionalCases.CaseOrBuilder

getCasesOrBuilderList()

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

A list of cascading if-else conditions.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.CaseOrBuilder>

getDefaultInstanceForType()

public Fulfillment.ConditionalCases getDefaultInstanceForType()
Returns
TypeDescription
Fulfillment.ConditionalCases

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Fulfillment.ConditionalCases other)

public Fulfillment.ConditionalCases.Builder mergeFrom(Fulfillment.ConditionalCases other)
Parameter
NameDescription
otherFulfillment.ConditionalCases
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Fulfillment.ConditionalCases.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Fulfillment.ConditionalCases.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Fulfillment.ConditionalCases.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameters
NameDescription
indexint
valueFulfillment.ConditionalCases.Case
Returns
TypeDescription
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.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameters
NameDescription
indexint
builderForValueFulfillment.ConditionalCases.Case.Builder
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Fulfillment.ConditionalCases.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Fulfillment.ConditionalCases.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder
Overrides