Interface TransitionRouteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransitionRoute,TransitionRoute.Builder
@Generated
public interface TransitionRouteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.ByteStringThe condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].Optional.com.google.protobuf.ByteStringOptional.The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].com.google.protobuf.ByteStringThe unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].getName()Output only.com.google.protobuf.ByteStringOutput only.The target flow to transition to.com.google.protobuf.ByteStringThe target flow to transition to.The target page to transition to.com.google.protobuf.ByteStringThe target page to transition to.The fulfillment to call when the condition is satisfied.The fulfillment to call when the condition is satisfied.booleanThe target flow to transition to.booleanThe target page to transition to.booleanThe fulfillment to call when the condition is satisfied.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.v3beta1.Intent]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. 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.v3beta1.Intent]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. 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.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:
- The condition.
-
getConditionBytes
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;- 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.v3beta1.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.v3beta1.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.v3beta1.Fulfillment trigger_fulfillment = 3; -
hasTargetPage
boolean hasTargetPage()The target page to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
string target_page = 4 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for targetPage.
-
hasTargetFlow
boolean hasTargetFlow()The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string target_flow = 5 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for targetFlow.
-
getTargetCase
TransitionRoute.TargetCase getTargetCase()
-