Class Fulfillment.ConditionalCases.Case.Builder (0.14.2)

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.v3beta1.Fulfillment.ConditionalCases.Case

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent>
Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Parameter
NameDescription
valueFulfillment.ConditionalCases.Case.CaseContent
Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Parameter
NameDescription
builderForValueFulfillment.ConditionalCases.Case.CaseContent.Builder
Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Parameters
NameDescription
indexint
valueFulfillment.ConditionalCases.Case.CaseContent
Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

addCaseContentBuilder()

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

A list of case content.

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

Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearCaseContent()

public Fulfillment.ConditionalCases.Case.Builder clearCaseContent()

A list of case content.

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

Returns
TypeDescription
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
TypeDescription
Fulfillment.ConditionalCases.Case.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Fulfillment.ConditionalCases.Case.Builder clone()
Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

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

getCaseContentBuilderList()

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

A list of case content.

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

Returns
TypeDescription
List<Builder>

getCaseContentCount()

public int getCaseContentCount()

A list of case content.

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

Returns
TypeDescription
int

getCaseContentList()

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

A list of case content.

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

Returns
TypeDescription
List<CaseContent>

getCaseContentOrBuilder(int index)

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

A list of case content.

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

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

getCaseContentOrBuilderList()

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

A list of case content.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.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
TypeDescription
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
TypeDescription
ByteString

The bytes for condition.

getDefaultInstanceForType()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Fulfillment.ConditionalCases.Case.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Parameters
NameDescription
indexint
valueFulfillment.ConditionalCases.Case.CaseContent
Returns
TypeDescription
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Parameters
NameDescription
indexint
builderForValueFulfillment.ConditionalCases.Case.CaseContent.Builder
Returns
TypeDescription
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
NameDescription
valueString

The condition to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for condition to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Fulfillment.ConditionalCases.Case.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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