Interface TransitionRouteOrBuilder (0.64.0)

public interface TransitionRouteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCondition()

public abstract String getCondition()

The condition to evaluate against form parameters or session parameters.

See the conditions reference. 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
Type Description
String

The condition.

getConditionBytes()

public abstract ByteString getConditionBytes()

The condition to evaluate against form parameters or session parameters.

See the conditions reference. 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
Type Description
ByteString

The bytes for condition.

getDescription()

public abstract String getDescription()

Optional. The description of the transition route. The maximum length is 500 characters.

string description = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. The description of the transition route. The maximum length is 500 characters.

string description = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getIntent()

public abstract String getIntent()

The unique identifier of an 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
Type Description
String

The intent.

getIntentBytes()

public abstract ByteString getIntentBytes()

The unique identifier of an 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
Type Description
ByteString

The bytes for intent.

getName()

public abstract String getName()

Output only. The unique identifier of this transition route.

string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The unique identifier of this transition route.

string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getTargetCase()

public abstract TransitionRoute.TargetCase getTargetCase()
Returns
Type Description
TransitionRoute.TargetCase

getTargetFlow()

public abstract 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
Type Description
String

The targetFlow.

getTargetFlowBytes()

public abstract 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
Type Description
ByteString

The bytes for targetFlow.

getTargetPage()

public abstract 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
Type Description
String

The targetPage.

getTargetPageBytes()

public abstract 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
Type Description
ByteString

The bytes for targetPage.

getTriggerFulfillment()

public abstract 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
Type Description
Fulfillment

The triggerFulfillment.

getTriggerFulfillmentOrBuilder()

public abstract 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;

Returns
Type Description
FulfillmentOrBuilder

hasTargetFlow()

public abstract 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
Type Description
boolean

Whether the targetFlow field is set.

hasTargetPage()

public abstract 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
Type Description
boolean

Whether the targetPage field is set.

hasTriggerFulfillment()

public abstract 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
Type Description
boolean

Whether the triggerFulfillment field is set.