Interface Handler.LifecycleHandlerOrBuilder (0.70.0)

public static interface Handler.LifecycleHandlerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCondition()

public abstract String getCondition()

Optional. The condition that must be satisfied to trigger this handler.

string condition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The condition.

getConditionBytes()

public abstract ByteString getConditionBytes()

Optional. The condition that must be satisfied to trigger this handler.

string condition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for condition.

getFulfillment()

public abstract Fulfillment getFulfillment()

Required. The fulfillment to call when this handler is triggered.

.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Fulfillment

The fulfillment.

getFulfillmentOrBuilder()

public abstract FulfillmentOrBuilder getFulfillmentOrBuilder()

Required. The fulfillment to call when this handler is triggered.

.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FulfillmentOrBuilder

getLifecycleStage()

public abstract String getLifecycleStage()

Required. The name of the lifecycle stage that triggers this handler. Supported values:

  • playbook-start
  • pre-action-selection
  • pre-action-execution

string lifecycle_stage = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The lifecycleStage.

getLifecycleStageBytes()

public abstract ByteString getLifecycleStageBytes()

Required. The name of the lifecycle stage that triggers this handler. Supported values:

  • playbook-start
  • pre-action-selection
  • pre-action-execution

string lifecycle_stage = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for lifecycleStage.

hasFulfillment()

public abstract boolean hasFulfillment()

Required. The fulfillment to call when this handler is triggered.

.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the fulfillment field is set.