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.v3.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.v3.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.v3.TransitionRoute.trigger_fulfillment] associated with the transition, it will be called. * If there is a [`target_page`][google.cloud.dialogflow.cx.v3.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.v3.TransitionRoute.target_flow] associated with the transition, the session will transition into the specified flow.
Protobuf typegoogle.cloud.dialogflow.cx.v3.TransitionRoute
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransitionRoute.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TransitionRoute
build()
TransitionRoute
buildPartial()
TransitionRoute.Builder
clear()
TransitionRoute.Builder
clearCondition()
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].TransitionRoute.Builder
clearDescription()
Optional.TransitionRoute.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TransitionRoute.Builder
clearIntent()
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent].TransitionRoute.Builder
clearName()
Output only.TransitionRoute.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TransitionRoute.Builder
clearTarget()
TransitionRoute.Builder
clearTargetFlow()
The target flow to transition to.TransitionRoute.Builder
clearTargetPage()
The target page to transition to.TransitionRoute.Builder
clearTriggerFulfillment()
The fulfillment to call when the condition is satisfied.TransitionRoute.Builder
clone()
String
getCondition()
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].com.google.protobuf.ByteString
getConditionBytes()
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].TransitionRoute
getDefaultInstanceForType()
String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getIntent()
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent].com.google.protobuf.ByteString
getIntentBytes()
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent].String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.TransitionRoute.TargetCase
getTargetCase()
String
getTargetFlow()
The target flow to transition to.com.google.protobuf.ByteString
getTargetFlowBytes()
The target flow to transition to.String
getTargetPage()
The target page to transition to.com.google.protobuf.ByteString
getTargetPageBytes()
The target page to transition to.Fulfillment
getTriggerFulfillment()
The fulfillment to call when the condition is satisfied.Fulfillment.Builder
getTriggerFulfillmentBuilder()
The fulfillment to call when the condition is satisfied.FulfillmentOrBuilder
getTriggerFulfillmentOrBuilder()
The fulfillment to call when the condition is satisfied.boolean
hasTargetFlow()
The target flow to transition to.boolean
hasTargetPage()
The target page to transition to.boolean
hasTriggerFulfillment()
The fulfillment to call when the condition is satisfied.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TransitionRoute.Builder
mergeFrom(TransitionRoute other)
TransitionRoute.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TransitionRoute.Builder
mergeFrom(com.google.protobuf.Message other)
TransitionRoute.Builder
mergeTriggerFulfillment(Fulfillment value)
The fulfillment to call when the condition is satisfied.TransitionRoute.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransitionRoute.Builder
setCondition(String value)
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].TransitionRoute.Builder
setConditionBytes(com.google.protobuf.ByteString value)
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].TransitionRoute.Builder
setDescription(String value)
Optional.TransitionRoute.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.TransitionRoute.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TransitionRoute.Builder
setIntent(String value)
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent].TransitionRoute.Builder
setIntentBytes(com.google.protobuf.ByteString value)
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent].TransitionRoute.Builder
setName(String value)
Output only.TransitionRoute.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.TransitionRoute.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TransitionRoute.Builder
setTargetFlow(String value)
The target flow to transition to.TransitionRoute.Builder
setTargetFlowBytes(com.google.protobuf.ByteString value)
The target flow to transition to.TransitionRoute.Builder
setTargetPage(String value)
The target page to transition to.TransitionRoute.Builder
setTargetPageBytes(com.google.protobuf.ByteString value)
The target page to transition to.TransitionRoute.Builder
setTriggerFulfillment(Fulfillment value)
The fulfillment to call when the condition is satisfied.TransitionRoute.Builder
setTriggerFulfillment(Fulfillment.Builder builderForValue)
The fulfillment to call when the condition is satisfied.TransitionRoute.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
clear
public TransitionRoute.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
getDefaultInstanceForType
public TransitionRoute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransitionRoute build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransitionRoute buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransitionRoute.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
setField
public TransitionRoute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
clearField
public TransitionRoute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
clearOneof
public TransitionRoute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
setRepeatedField
public TransitionRoute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
addRepeatedField
public TransitionRoute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
mergeFrom
public TransitionRoute.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransitionRoute.Builder>
-
mergeFrom
public TransitionRoute.Builder mergeFrom(TransitionRoute other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransitionRoute.Builder>
- Throws:
IOException
-
getTargetCase
public TransitionRoute.TargetCase getTargetCase()
- Specified by:
getTargetCase
in 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:
getName
in 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:
getNameBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in 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.v3.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:
getIntent
in interfaceTransitionRouteOrBuilder
- Returns:
- The intent.
-
getIntentBytes
public com.google.protobuf.ByteString getIntentBytes()
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.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:
getIntentBytes
in interfaceTransitionRouteOrBuilder
- Returns:
- The bytes for intent.
-
setIntent
public TransitionRoute.Builder setIntent(String value)
The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.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.v3.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.v3.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.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.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:
getCondition
in interfaceTransitionRouteOrBuilder
- Returns:
- The condition.
-
getConditionBytes
public com.google.protobuf.ByteString getConditionBytes()
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.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:
getConditionBytes
in interfaceTransitionRouteOrBuilder
- Returns:
- The bytes for condition.
-
setCondition
public TransitionRoute.Builder setCondition(String value)
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.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.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.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.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.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.v3.Fulfillment trigger_fulfillment = 3;
- Specified by:
hasTriggerFulfillment
in 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.v3.Fulfillment trigger_fulfillment = 3;
- Specified by:
getTriggerFulfillment
in 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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.Fulfillment trigger_fulfillment = 3;
- Specified by:
getTriggerFulfillmentOrBuilder
in 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:
hasTargetPage
in 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:
getTargetPage
in 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:
getTargetPageBytes
in 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:
hasTargetFlow
in 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:
getTargetFlow
in 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:
getTargetFlowBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
mergeUnknownFields
public final TransitionRoute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitionRoute.Builder>
-
-