Class Fulfillment.ConditionalCases.Case.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Fulfillment.ConditionalCases.Case.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.Builder
- All Implemented Interfaces:
Fulfillment.ConditionalCases.CaseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Fulfillment.ConditionalCases.Case
public static final class Fulfillment.ConditionalCases.Case.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllCaseContent(Iterable<? extends Fulfillment.ConditionalCases.Case.CaseContent> values) A list of case content.addCaseContent(int index, Fulfillment.ConditionalCases.Case.CaseContent value) A list of case content.addCaseContent(int index, Fulfillment.ConditionalCases.Case.CaseContent.Builder builderForValue) A list of case content.A list of case content.addCaseContent(Fulfillment.ConditionalCases.Case.CaseContent.Builder builderForValue) A list of case content.A list of case content.addCaseContentBuilder(int index) A list of case content.build()clear()A list of case content.The condition to activate and select this case.getCaseContent(int index) A list of case content.getCaseContentBuilder(int index) A list of case content.A list of case content.intA list of case content.A list of case content.getCaseContentOrBuilder(int index) A list of case content.A list of case content.The condition to activate and select this case.com.google.protobuf.ByteStringThe condition to activate and select this case.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeCaseContent(int index) A list of case content.setCaseContent(int index, Fulfillment.ConditionalCases.Case.CaseContent value) A list of case content.setCaseContent(int index, Fulfillment.ConditionalCases.Case.CaseContent.Builder builderForValue) A list of case content.setCondition(String value) The condition to activate and select this case.setConditionBytes(com.google.protobuf.ByteString value) The condition to activate and select this case.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Fulfillment.ConditionalCases.Case.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Fulfillment.ConditionalCases.Case.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Fulfillment.ConditionalCases.Case.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Fulfillment.ConditionalCases.Case.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Fulfillment.ConditionalCases.Case.Builder>
-
mergeFrom
public Fulfillment.ConditionalCases.Case.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Fulfillment.ConditionalCases.Case.Builder>- Throws:
IOException
-
getCondition
The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against [form parameters][Form.parameters] or [session parameters][SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string condition = 1;- Specified by:
getConditionin interfaceFulfillment.ConditionalCases.CaseOrBuilder- Returns:
- The condition.
-
getConditionBytes
public com.google.protobuf.ByteString getConditionBytes()The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against [form parameters][Form.parameters] or [session parameters][SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string condition = 1;- Specified by:
getConditionBytesin interfaceFulfillment.ConditionalCases.CaseOrBuilder- Returns:
- The bytes for condition.
-
setCondition
The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against [form parameters][Form.parameters] or [session parameters][SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string condition = 1;- Parameters:
value- The condition to set.- Returns:
- This builder for chaining.
-
clearCondition
The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against [form parameters][Form.parameters] or [session parameters][SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string condition = 1;- Returns:
- This builder for chaining.
-
setConditionBytes
public Fulfillment.ConditionalCases.Case.Builder setConditionBytes(com.google.protobuf.ByteString value) The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against [form parameters][Form.parameters] or [session parameters][SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string condition = 1;- Parameters:
value- The bytes for condition to set.- Returns:
- This builder for chaining.
-
getCaseContentList
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;- Specified by:
getCaseContentListin interfaceFulfillment.ConditionalCases.CaseOrBuilder
-
getCaseContentCount
public int getCaseContentCount()A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;- Specified by:
getCaseContentCountin interfaceFulfillment.ConditionalCases.CaseOrBuilder
-
getCaseContent
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;- Specified by:
getCaseContentin interfaceFulfillment.ConditionalCases.CaseOrBuilder
-
setCaseContent
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; -
setCaseContent
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; -
addCaseContent
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; -
addCaseContent
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; -
addCaseContent
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; -
addCaseContent
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; -
addAllCaseContent
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; -
clearCaseContent
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2; -
removeCaseContent
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2; -
getCaseContentBuilder
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2; -
getCaseContentOrBuilder
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;- Specified by:
getCaseContentOrBuilderin interfaceFulfillment.ConditionalCases.CaseOrBuilder
-
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;- Specified by:
getCaseContentOrBuilderListin interfaceFulfillment.ConditionalCases.CaseOrBuilder
-
addCaseContentBuilder
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2; -
addCaseContentBuilder
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2; -
getCaseContentBuilderList
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
-