Interface EventHandlerOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
EventHandler, EventHandler.Builder

@Generated public interface EventHandlerOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Output only. The unique identifier of this event handler.
       
      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 event handler.
       
      string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for name.
    • getEvent

      String getEvent()
       Required. The name of the event to handle.
       
      string event = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The event.
    • getEventBytes

      com.google.protobuf.ByteString getEventBytes()
       Required. The name of the event to handle.
       
      string event = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for event.
    • hasTriggerFulfillment

      boolean hasTriggerFulfillment()
       The fulfillment to call when the event occurs.
       Handling webhook errors with a fulfillment enabled with webhook could
       cause infinite loop. It is invalid to specify such fulfillment for a
       handler handling webhooks.
       
      .google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 5;
      Returns:
      Whether the triggerFulfillment field is set.
    • getTriggerFulfillment

      Fulfillment getTriggerFulfillment()
       The fulfillment to call when the event occurs.
       Handling webhook errors with a fulfillment enabled with webhook could
       cause infinite loop. It is invalid to specify such fulfillment for a
       handler handling webhooks.
       
      .google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 5;
      Returns:
      The triggerFulfillment.
    • getTriggerFulfillmentOrBuilder

      FulfillmentOrBuilder getTriggerFulfillmentOrBuilder()
       The fulfillment to call when the event occurs.
       Handling webhook errors with a fulfillment enabled with webhook could
       cause infinite loop. It is invalid to specify such fulfillment for a
       handler handling webhooks.
       
      .google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 5;
    • hasTargetPage

      boolean hasTargetPage()
       The target page to transition to.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
       
      string target_page = 2 [(.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 = 2 [(.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 = 2 [(.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 = 3 [(.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 = 3 [(.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 = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for targetFlow.
    • hasTargetPlaybook

      boolean hasTargetPlaybook()
       The target playbook to transition to.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string target_playbook = 7 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the targetPlaybook field is set.
    • getTargetPlaybook

      String getTargetPlaybook()
       The target playbook to transition to.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string target_playbook = 7 [(.google.api.resource_reference) = { ... }
      Returns:
      The targetPlaybook.
    • getTargetPlaybookBytes

      com.google.protobuf.ByteString getTargetPlaybookBytes()
       The target playbook to transition to.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
       
      string target_playbook = 7 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for targetPlaybook.
    • getTargetCase

      EventHandler.TargetCase getTargetCase()