public static final class Handler.EventHandler.Builder extends GeneratedMessage.Builder<Handler.EventHandler.Builder> implements Handler.EventHandlerOrBuilderA handler that is triggered by the specified event.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Handler.EventHandler
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Handler.EventHandler.BuilderImplements
Handler.EventHandlerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Handler.EventHandler build()| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler |
|
buildPartial()
public Handler.EventHandler buildPartial()| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler |
|
clear()
public Handler.EventHandler.Builder clear()| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
|
clearCondition()
public Handler.EventHandler.Builder clearCondition()Optional. The condition that must be satisfied to trigger this handler.
string condition = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
This builder for chaining. |
clearEvent()
public Handler.EventHandler.Builder clearEvent()Required. The name of the event that triggers this handler.
string event = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
This builder for chaining. |
clearFulfillment()
public Handler.EventHandler.Builder clearFulfillment()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 |
Handler.EventHandler.Builder |
|
getCondition()
public 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 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. |
getDefaultInstanceForType()
public Handler.EventHandler getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEvent()
public 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 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 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. |
getFulfillmentBuilder()
public Fulfillment.Builder getFulfillmentBuilder()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.Builder |
|
getFulfillmentOrBuilder()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Handler.EventHandler other)
public Handler.EventHandler.Builder mergeFrom(Handler.EventHandler other)| Parameter | |
|---|---|
| Name | Description |
other |
Handler.EventHandler |
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Handler.EventHandler.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Handler.EventHandler.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
|
mergeFulfillment(Fulfillment value)
public Handler.EventHandler.Builder mergeFulfillment(Fulfillment value)Required. The fulfillment to call when the event occurs.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Fulfillment |
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
|
setCondition(String value)
public Handler.EventHandler.Builder setCondition(String value)Optional. The condition that must be satisfied to trigger this handler.
string condition = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe condition to set. |
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
This builder for chaining. |
setConditionBytes(ByteString value)
public Handler.EventHandler.Builder setConditionBytes(ByteString value)Optional. The condition that must be satisfied to trigger this handler.
string condition = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for condition to set. |
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
This builder for chaining. |
setEvent(String value)
public Handler.EventHandler.Builder setEvent(String value)Required. The name of the event that triggers this handler.
string event = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe event to set. |
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
This builder for chaining. |
setEventBytes(ByteString value)
public Handler.EventHandler.Builder setEventBytes(ByteString value)Required. The name of the event that triggers this handler.
string event = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for event to set. |
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
This builder for chaining. |
setFulfillment(Fulfillment value)
public Handler.EventHandler.Builder setFulfillment(Fulfillment value)Required. The fulfillment to call when the event occurs.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Fulfillment |
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
|
setFulfillment(Fulfillment.Builder builderForValue)
public Handler.EventHandler.Builder setFulfillment(Fulfillment.Builder builderForValue)Required. The fulfillment to call when the event occurs.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Fulfillment.Builder |
| Returns | |
|---|---|
| Type | Description |
Handler.EventHandler.Builder |
|