Send feedback
Class Fulfillment.ConditionalCases.Case.Builder (0.13.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.13.1 keyboard_arrow_down
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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment . ConditionalCases . Case . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public Fulfillment . ConditionalCases . Case build ()
Returns
buildPartial()
public Fulfillment . ConditionalCases . Case buildPartial ()
Returns
clear()
public Fulfillment . ConditionalCases . Case . Builder clear ()
Returns
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
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
clearField(Descriptors.FieldDescriptor field)
public Fulfillment . ConditionalCases . Case . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Fulfillment . ConditionalCases . Case . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public Fulfillment . ConditionalCases . Case . Builder clone ()
Returns
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
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
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
getCaseContentCount()
public int getCaseContentCount ()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Returns
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
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
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
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Fulfillment.ConditionalCases.Case other)
public Fulfillment . ConditionalCases . Case . Builder mergeFrom ( Fulfillment . ConditionalCases . Case other )
Parameter
Returns
public Fulfillment . ConditionalCases . Case . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Fulfillment . ConditionalCases . Case . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment . ConditionalCases . Case . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
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
Returns
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
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment . ConditionalCases . Case . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Fulfillment . ConditionalCases . Case . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment . ConditionalCases . Case . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]