Interface Handler.EventHandlerOrBuilder (0.70.0)

public static interface Handler.EventHandlerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCondition()

public abstract String getCondition()

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

string condition = 3 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for condition.

getEvent()

public abstract String getEvent()

Required. The name of the event that triggers this handler.

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

Returns
Type Description
String

The event.

getEventBytes()

public abstract ByteString getEventBytes()

Required. The name of the event that triggers this handler.

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

Returns
Type Description
ByteString

The bytes for event.

getFulfillment()

public abstract Fulfillment getFulfillment()

Required. The fulfillment to call when the event occurs.

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

Returns
Type Description
Fulfillment

The fulfillment.

getFulfillmentOrBuilder()

public abstract FulfillmentOrBuilder getFulfillmentOrBuilder()

Required. The fulfillment to call when the event occurs.

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

Returns
Type Description
FulfillmentOrBuilder

hasFulfillment()

public abstract boolean hasFulfillment()

Required. The fulfillment to call when the event occurs.

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

Returns
Type Description
boolean

Whether the fulfillment field is set.