Interface Handler.LifecycleHandlerOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Handler.LifecycleHandler, Handler.LifecycleHandler.Builder
Enclosing class:
Handler

public static interface Handler.LifecycleHandlerOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getLifecycleStage

      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:
      The lifecycleStage.
    • getLifecycleStageBytes

      com.google.protobuf.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:
      The bytes for lifecycleStage.
    • getCondition

      String getCondition()
       Optional. The condition that must be satisfied to trigger this handler.
       
      string condition = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The condition.
    • getConditionBytes

      com.google.protobuf.ByteString getConditionBytes()
       Optional. The condition that must be satisfied to trigger this handler.
       
      string condition = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for condition.
    • hasFulfillment

      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:
      Whether the fulfillment field is set.
    • getFulfillment

      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:
      The fulfillment.
    • getFulfillmentOrBuilder

      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];