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.v3beta1.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.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;
Parameter
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.v3beta1.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.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;
Parameter
Returns
getCasesBuilder(int index)
public Fulfillment.ConditionalCases.Case.Builder getCasesBuilder(int index)
A list of cascading if-else conditions.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;
Parameter
Returns
getCasesBuilderList()
public List<Fulfillment.ConditionalCases.Case.Builder> getCasesBuilderList()
A list of cascading if-else conditions.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;
Returns
getCasesCount()
public int getCasesCount()
A list of cascading if-else conditions.
repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;
Parameter
Returns
getCasesOrBuilderList()
public List<? extends Fulfillment.ConditionalCases.CaseOrBuilder> getCasesOrBuilderList()
A list of cascading if-else conditions.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;
Parameter
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.v3beta1.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.v3beta1.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