Interface TransitionRouteOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransitionRoute,TransitionRoute.Builder
public interface TransitionRouteOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCondition()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.ByteStringgetConditionBytes()The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.StringgetIntent()The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent].com.google.protobuf.ByteStringgetIntentBytes()The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The unique identifier of this transition route.
string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The unique identifier of this transition route.
string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getDescription
String getDescription()
Optional. The description of the transition route. The maximum length is 500 characters.
string description = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
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];- Returns:
- The bytes for description.
-
getIntent
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) = { ... }- Returns:
- The intent.
-
getIntentBytes
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) = { ... }- Returns:
- The bytes for intent.
-
getCondition
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;- Returns:
- The condition.
-
getConditionBytes
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;- Returns:
- The bytes for condition.
-
hasTriggerFulfillment
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;- Returns:
- Whether the triggerFulfillment field is set.
-
getTriggerFulfillment
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;- Returns:
- The triggerFulfillment.
-
getTriggerFulfillmentOrBuilder
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;
-
hasTargetPage
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) = { ... }- Returns:
- Whether the targetPage field is set.
-
getTargetPage
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) = { ... }- Returns:
- The targetPage.
-
getTargetPageBytes
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) = { ... }- Returns:
- The bytes for targetPage.
-
hasTargetFlow
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) = { ... }- Returns:
- Whether the targetFlow field is set.
-
getTargetFlow
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) = { ... }- Returns:
- The targetFlow.
-
getTargetFlowBytes
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) = { ... }- Returns:
- The bytes for targetFlow.
-
getTargetCase
TransitionRoute.TargetCase getTargetCase()
-
-