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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
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>
|
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;
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;
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;
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment.ConditionalCases.Case.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Fulfillment.ConditionalCases.Case build()
buildPartial()
public Fulfillment.ConditionalCases.Case buildPartial()
clear()
public Fulfillment.ConditionalCases.Case.Builder clear()
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;
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;
clearField(Descriptors.FieldDescriptor field)
public Fulfillment.ConditionalCases.Case.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Fulfillment.ConditionalCases.Case.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Fulfillment.ConditionalCases.Case.Builder clone()
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
|
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
|
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;
getCaseContentCount()
public int getCaseContentCount()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Returns |
Type |
Description |
int |
|
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Fulfillment.ConditionalCases.Case other)
public Fulfillment.ConditionalCases.Case.Builder mergeFrom(Fulfillment.ConditionalCases.Case other)
public Fulfillment.ConditionalCases.Case.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Fulfillment.ConditionalCases.Case.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment.ConditionalCases.Case.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment.ConditionalCases.Case.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Fulfillment.ConditionalCases.Case.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment.ConditionalCases.Case.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides