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.v3beta1.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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Parameter
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.v3beta1.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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Parameter
Returns
getCaseContentBuilder(int index)
public Fulfillment.ConditionalCases.Case.CaseContent.Builder getCaseContentBuilder(int index)
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Parameter
Returns
getCaseContentBuilderList()
public List<Fulfillment.ConditionalCases.Case.CaseContent.Builder> getCaseContentBuilderList()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Returns
getCaseContentCount()
public int getCaseContentCount()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Parameter
Returns
getCaseContentOrBuilderList()
public List<? extends Fulfillment.ConditionalCases.Case.CaseContentOrBuilder> getCaseContentOrBuilderList()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.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
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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Parameter
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.v3beta1.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.v3beta1.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