Class TransitionRoute.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
- com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute.Builder
-
- All Implemented Interfaces:
TransitionRouteOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TransitionRoute
public static final class TransitionRoute.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder> implements TransitionRouteOrBuilder
A transition route specifies a [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment] associated with the transition, it will be called. * If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page] associated with the transition, the session will transition into the specified page. * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow] associated with the transition, the session will transition into the specified flow.
Protobuf typegoogle.cloud.dialogflow.cx.v3beta1.TransitionRoute
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransitionRoute.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TransitionRoutebuild()TransitionRoutebuildPartial()TransitionRoute.Builderclear()TransitionRoute.BuilderclearCondition()The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].TransitionRoute.BuilderclearDescription()Optional.TransitionRoute.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TransitionRoute.BuilderclearIntent()The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].TransitionRoute.BuilderclearName()Output only.TransitionRoute.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TransitionRoute.BuilderclearTarget()TransitionRoute.BuilderclearTargetFlow()The target flow to transition to.TransitionRoute.BuilderclearTargetPage()The target page to transition to.TransitionRoute.BuilderclearTriggerFulfillment()The fulfillment to call when the condition is satisfied.TransitionRoute.Builderclone()StringgetCondition()The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].com.google.protobuf.ByteStringgetConditionBytes()The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].TransitionRoutegetDefaultInstanceForType()StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetIntent()The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].com.google.protobuf.ByteStringgetIntentBytes()The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.TransitionRoute.TargetCasegetTargetCase()StringgetTargetFlow()The target flow to transition to.com.google.protobuf.ByteStringgetTargetFlowBytes()The target flow to transition to.StringgetTargetPage()The target page to transition to.com.google.protobuf.ByteStringgetTargetPageBytes()The target page to transition to.FulfillmentgetTriggerFulfillment()The fulfillment to call when the condition is satisfied.Fulfillment.BuildergetTriggerFulfillmentBuilder()The fulfillment to call when the condition is satisfied.FulfillmentOrBuildergetTriggerFulfillmentOrBuilder()The fulfillment to call when the condition is satisfied.booleanhasTargetFlow()The target flow to transition to.booleanhasTargetPage()The target page to transition to.booleanhasTriggerFulfillment()The fulfillment to call when the condition is satisfied.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TransitionRoute.BuildermergeFrom(TransitionRoute other)TransitionRoute.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TransitionRoute.BuildermergeFrom(com.google.protobuf.Message other)TransitionRoute.BuildermergeTriggerFulfillment(Fulfillment value)The fulfillment to call when the condition is satisfied.TransitionRoute.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TransitionRoute.BuildersetCondition(String value)The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].TransitionRoute.BuildersetConditionBytes(com.google.protobuf.ByteString value)The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].TransitionRoute.BuildersetDescription(String value)Optional.TransitionRoute.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Optional.TransitionRoute.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TransitionRoute.BuildersetIntent(String value)The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].TransitionRoute.BuildersetIntentBytes(com.google.protobuf.ByteString value)The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].TransitionRoute.BuildersetName(String value)Output only.TransitionRoute.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.TransitionRoute.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TransitionRoute.BuildersetTargetFlow(String value)The target flow to transition to.TransitionRoute.BuildersetTargetFlowBytes(com.google.protobuf.ByteString value)The target flow to transition to.TransitionRoute.BuildersetTargetPage(String value)The target page to transition to.TransitionRoute.BuildersetTargetPageBytes(com.google.protobuf.ByteString value)The target page to transition to.TransitionRoute.BuildersetTriggerFulfillment(Fulfillment value)The fulfillment to call when the condition is satisfied.TransitionRoute.BuildersetTriggerFulfillment(Fulfillment.Builder builderForValue)The fulfillment to call when the condition is satisfied.TransitionRoute.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
clear
public TransitionRoute.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.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.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
getDefaultInstanceForType
public TransitionRoute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransitionRoute build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransitionRoute buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransitionRoute.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
setField
public TransitionRoute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
clearField
public TransitionRoute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
clearOneof
public TransitionRoute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
setRepeatedField
public TransitionRoute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
addRepeatedField
public TransitionRoute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
mergeFrom
public TransitionRoute.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransitionRoute.Builder>
-
mergeFrom
public TransitionRoute.Builder mergeFrom(TransitionRoute other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
mergeFrom
public TransitionRoute.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<TransitionRoute.Builder>- Throws:
IOException
-
getTargetCase
public TransitionRoute.TargetCase getTargetCase()
- Specified by:
getTargetCasein interfaceTransitionRouteOrBuilder
-
clearTarget
public TransitionRoute.Builder clearTarget()
-
getName
public String getName()
Output only. The unique identifier of this transition route.
string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceTransitionRouteOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The unique identifier of this transition route.
string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceTransitionRouteOrBuilder- Returns:
- The bytes for name.
-
setName
public TransitionRoute.Builder setName(String value)
Output only. The unique identifier of this transition route.
string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public TransitionRoute.Builder clearName()
Output only. The unique identifier of this transition route.
string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public TransitionRoute.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The unique identifier of this transition route.
string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Optional. The description of the transition route. The maximum length is 500 characters.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceTransitionRouteOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. The description of the transition route. The maximum length is 500 characters.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceTransitionRouteOrBuilder- Returns:
- The bytes for description.
-
setDescription
public TransitionRoute.Builder setDescription(String value)
Optional. The description of the transition route. The maximum length is 500 characters.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public TransitionRoute.Builder clearDescription()
Optional. The description of the transition route. The maximum length is 500 characters.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
public TransitionRoute.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. The description of the transition route. The maximum length is 500 characters.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getIntent
public String getIntent()
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
string intent = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getIntentin interfaceTransitionRouteOrBuilder- Returns:
- The intent.
-
getIntentBytes
public com.google.protobuf.ByteString getIntentBytes()
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
string intent = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getIntentBytesin interfaceTransitionRouteOrBuilder- Returns:
- The bytes for intent.
-
setIntent
public TransitionRoute.Builder setIntent(String value)
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
string intent = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The intent to set.- Returns:
- This builder for chaining.
-
clearIntent
public TransitionRoute.Builder clearIntent()
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
string intent = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setIntentBytes
public TransitionRoute.Builder setIntentBytes(com.google.protobuf.ByteString value)
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
string intent = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for intent to set.- Returns:
- This builder for chaining.
-
getCondition
public String getCondition()
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
string condition = 2;- Specified by:
getConditionin interfaceTransitionRouteOrBuilder- Returns:
- The condition.
-
getConditionBytes
public com.google.protobuf.ByteString getConditionBytes()
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
string condition = 2;- Specified by:
getConditionBytesin interfaceTransitionRouteOrBuilder- Returns:
- The bytes for condition.
-
setCondition
public TransitionRoute.Builder setCondition(String value)
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
string condition = 2;- Parameters:
value- The condition to set.- Returns:
- This builder for chaining.
-
clearCondition
public TransitionRoute.Builder clearCondition()
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
string condition = 2;- Returns:
- This builder for chaining.
-
setConditionBytes
public TransitionRoute.Builder setConditionBytes(com.google.protobuf.ByteString value)
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
string condition = 2;- Parameters:
value- The bytes for condition to set.- Returns:
- This builder for chaining.
-
hasTriggerFulfillment
public boolean hasTriggerFulfillment()
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;- Specified by:
hasTriggerFulfillmentin interfaceTransitionRouteOrBuilder- Returns:
- Whether the triggerFulfillment field is set.
-
getTriggerFulfillment
public Fulfillment getTriggerFulfillment()
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;- Specified by:
getTriggerFulfillmentin interfaceTransitionRouteOrBuilder- Returns:
- The triggerFulfillment.
-
setTriggerFulfillment
public TransitionRoute.Builder setTriggerFulfillment(Fulfillment value)
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;
-
setTriggerFulfillment
public TransitionRoute.Builder setTriggerFulfillment(Fulfillment.Builder builderForValue)
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;
-
mergeTriggerFulfillment
public TransitionRoute.Builder mergeTriggerFulfillment(Fulfillment value)
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;
-
clearTriggerFulfillment
public TransitionRoute.Builder clearTriggerFulfillment()
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;
-
getTriggerFulfillmentBuilder
public Fulfillment.Builder getTriggerFulfillmentBuilder()
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;
-
getTriggerFulfillmentOrBuilder
public FulfillmentOrBuilder getTriggerFulfillmentOrBuilder()
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;- Specified by:
getTriggerFulfillmentOrBuilderin interfaceTransitionRouteOrBuilder
-
hasTargetPage
public boolean hasTargetPage()
The target page to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string target_page = 4 [(.google.api.resource_reference) = { ... }- Specified by:
hasTargetPagein interfaceTransitionRouteOrBuilder- Returns:
- Whether the targetPage field is set.
-
getTargetPage
public String getTargetPage()
The target page to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string target_page = 4 [(.google.api.resource_reference) = { ... }- Specified by:
getTargetPagein interfaceTransitionRouteOrBuilder- Returns:
- The targetPage.
-
getTargetPageBytes
public com.google.protobuf.ByteString getTargetPageBytes()
The target page to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string target_page = 4 [(.google.api.resource_reference) = { ... }- Specified by:
getTargetPageBytesin interfaceTransitionRouteOrBuilder- Returns:
- The bytes for targetPage.
-
setTargetPage
public TransitionRoute.Builder setTargetPage(String value)
The target page to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string target_page = 4 [(.google.api.resource_reference) = { ... }- Parameters:
value- The targetPage to set.- Returns:
- This builder for chaining.
-
clearTargetPage
public TransitionRoute.Builder clearTargetPage()
The target page to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string target_page = 4 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setTargetPageBytes
public TransitionRoute.Builder setTargetPageBytes(com.google.protobuf.ByteString value)
The target page to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string target_page = 4 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for targetPage to set.- Returns:
- This builder for chaining.
-
hasTargetFlow
public boolean hasTargetFlow()
The target flow to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string target_flow = 5 [(.google.api.resource_reference) = { ... }- Specified by:
hasTargetFlowin interfaceTransitionRouteOrBuilder- Returns:
- Whether the targetFlow field is set.
-
getTargetFlow
public String getTargetFlow()
The target flow to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string target_flow = 5 [(.google.api.resource_reference) = { ... }- Specified by:
getTargetFlowin interfaceTransitionRouteOrBuilder- Returns:
- The targetFlow.
-
getTargetFlowBytes
public com.google.protobuf.ByteString getTargetFlowBytes()
The target flow to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string target_flow = 5 [(.google.api.resource_reference) = { ... }- Specified by:
getTargetFlowBytesin interfaceTransitionRouteOrBuilder- Returns:
- The bytes for targetFlow.
-
setTargetFlow
public TransitionRoute.Builder setTargetFlow(String value)
The target flow to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string target_flow = 5 [(.google.api.resource_reference) = { ... }- Parameters:
value- The targetFlow to set.- Returns:
- This builder for chaining.
-
clearTargetFlow
public TransitionRoute.Builder clearTargetFlow()
The target flow to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string target_flow = 5 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setTargetFlowBytes
public TransitionRoute.Builder setTargetFlowBytes(com.google.protobuf.ByteString value)
The target flow to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string target_flow = 5 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for targetFlow to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransitionRoute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
mergeUnknownFields
public final TransitionRoute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
-