Interface EventHandlerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EventHandler
,EventHandler.Builder
public interface EventHandlerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getEvent()
Required.com.google.protobuf.ByteString
getEventBytes()
Required.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.EventHandler.TargetCase
getTargetCase()
String
getTargetFlow()
The target flow to transition to.com.google.protobuf.ByteString
getTargetFlowBytes()
The target flow to transition to.String
getTargetPage()
The target page to transition to.com.google.protobuf.ByteString
getTargetPageBytes()
The target page to transition to.Fulfillment
getTriggerFulfillment()
The fulfillment to call when the event occurs.FulfillmentOrBuilder
getTriggerFulfillmentOrBuilder()
The fulfillment to call when the event occurs.boolean
hasTargetFlow()
The target flow to transition to.boolean
hasTargetPage()
The target page to transition to.boolean
hasTriggerFulfillment()
The fulfillment to call when the event occurs.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v3.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.v3.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.v3.Fulfillment trigger_fulfillment = 5;
-
hasTargetPage
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 = 2 [(.google.api.resource_reference) = { ... }
- Returns:
- Whether the targetPage field is set.
-
getTargetPage
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 = 2 [(.google.api.resource_reference) = { ... }
- Returns:
- The targetPage.
-
getTargetPageBytes
com.google.protobuf.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 = 2 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for targetPage.
-
hasTargetFlow
boolean hasTargetFlow()
The target flow to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string target_flow = 3 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for targetFlow.
-
getTargetCase
EventHandler.TargetCase getTargetCase()
-
-