Class Fulfillment.ConditionalCases.Case.Builder (0.60.0)

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

Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.

Protobuf type google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case

Static Methods

getDescriptor()

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

Methods

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

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

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

addCaseContent(Fulfillment.ConditionalCases.Case.CaseContent value)

public Fulfillment.ConditionalCases.Case.Builder addCaseContent(Fulfillment.ConditionalCases.Case.CaseContent value)

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

addCaseContent(Fulfillment.ConditionalCases.Case.CaseContent.Builder builderForValue)

public Fulfillment.ConditionalCases.Case.Builder addCaseContent(Fulfillment.ConditionalCases.Case.CaseContent.Builder builderForValue)

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

addCaseContent(int index, Fulfillment.ConditionalCases.Case.CaseContent value)

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

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

addCaseContent(int index, Fulfillment.ConditionalCases.Case.CaseContent.Builder builderForValue)

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

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

addCaseContentBuilder()

public Fulfillment.ConditionalCases.Case.CaseContent.Builder addCaseContentBuilder()

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Returns
Type Description
Fulfillment.ConditionalCases.Case.CaseContent.Builder

addCaseContentBuilder(int index)

public Fulfillment.ConditionalCases.Case.CaseContent.Builder addCaseContentBuilder(int index)

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearCaseContent()

public Fulfillment.ConditionalCases.Case.Builder clearCaseContent()

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

clearCondition()

public Fulfillment.ConditionalCases.Case.Builder clearCondition()

The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters.

See the conditions reference.

string condition = 1;

Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCaseContent(int index)

public Fulfillment.ConditionalCases.Case.CaseContent getCaseContent(int index)

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

getCaseContentBuilder(int index)

public Fulfillment.ConditionalCases.Case.CaseContent.Builder getCaseContentBuilder(int index)

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

getCaseContentBuilderList()

public List<Fulfillment.ConditionalCases.Case.CaseContent.Builder> getCaseContentBuilderList()

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Returns
Type Description
List<Builder>

getCaseContentCount()

public int getCaseContentCount()

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Returns
Type Description
int

getCaseContentList()

public List<Fulfillment.ConditionalCases.Case.CaseContent> getCaseContentList()

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Returns
Type Description
List<CaseContent>

getCaseContentOrBuilder(int index)

public Fulfillment.ConditionalCases.Case.CaseContentOrBuilder getCaseContentOrBuilder(int index)

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

getCaseContentOrBuilderList()

public List<? extends Fulfillment.ConditionalCases.Case.CaseContentOrBuilder> getCaseContentOrBuilderList()

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContentOrBuilder>

getCondition()

public String getCondition()

The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters.

See the conditions reference.

string condition = 1;

Returns
Type Description
String

The condition.

getConditionBytes()

public ByteString getConditionBytes()

The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters.

See the conditions reference.

string condition = 1;

Returns
Type Description
ByteString

The bytes for condition.

getDefaultInstanceForType()

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

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.Case other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCaseContent(int index)

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

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

setCaseContent(int index, Fulfillment.ConditionalCases.Case.CaseContent value)

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

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

setCaseContent(int index, Fulfillment.ConditionalCases.Case.CaseContent.Builder builderForValue)

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

A list of case content.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

setCondition(String value)

public Fulfillment.ConditionalCases.Case.Builder setCondition(String value)

The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters.

See the conditions reference.

string condition = 1;

Parameter
Name Description
value String

The condition to set.

Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

This builder for chaining.

setConditionBytes(ByteString value)

public Fulfillment.ConditionalCases.Case.Builder setConditionBytes(ByteString value)

The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters.

See the conditions reference.

string condition = 1;

Parameter
Name Description
value ByteString

The bytes for condition to set.

Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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