Send feedback
Class Fulfillment.ConditionalCases.Builder (0.11.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.11.5 keyboard_arrow_down
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
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
Name
Description
values
Iterable <? extends com.google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case >
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Name
Description
index
int
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment . ConditionalCases . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public Fulfillment . ConditionalCases build ()
Returns
buildPartial()
public Fulfillment . ConditionalCases buildPartial ()
Returns
clear()
public Fulfillment . ConditionalCases . Builder clear ()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public Fulfillment . ConditionalCases . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Fulfillment . ConditionalCases . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public Fulfillment . ConditionalCases . Builder clone ()
Returns
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
Name
Description
index
int
Returns
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
Name
Description
index
int
Returns
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
getCasesCount()
public int getCasesCount ()
A list of cascading if-else conditions.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case cases = 1;
Returns
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
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
Name
Description
index
int
Returns
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
Type
Description
List <? extends com.google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.CaseOrBuilder >
getDefaultInstanceForType()
public Fulfillment . ConditionalCases 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 other)
public Fulfillment . ConditionalCases . Builder mergeFrom ( Fulfillment . ConditionalCases other )
Parameter
Returns
public Fulfillment . ConditionalCases . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Fulfillment . ConditionalCases . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment . ConditionalCases . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Name
Description
index
int
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment . ConditionalCases . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Fulfillment . ConditionalCases . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment . ConditionalCases . 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."],[],[]]