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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment.ConditionalCases.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Fulfillment.ConditionalCases build()
buildPartial()
public Fulfillment.ConditionalCases buildPartial()
clear()
public Fulfillment.ConditionalCases.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public Fulfillment.ConditionalCases.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Fulfillment.ConditionalCases.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Fulfillment.ConditionalCases.Builder clone()
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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;
getCasesCount()
public int getCasesCount()
A list of cascading if-else conditions.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case cases = 1;
Returns |
Type |
Description |
int |
|
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;
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 |
Name |
Description |
index |
int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Fulfillment.ConditionalCases other)
public Fulfillment.ConditionalCases.Builder mergeFrom(Fulfillment.ConditionalCases other)
public Fulfillment.ConditionalCases.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Fulfillment.ConditionalCases.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment.ConditionalCases.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment.ConditionalCases.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Fulfillment.ConditionalCases.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment.ConditionalCases.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides