public static final class Handler.LifecycleHandler.Builder extends GeneratedMessageV3.Builder<Handler.LifecycleHandler.Builder> implements Handler.LifecycleHandlerOrBuilder
A handler that is triggered on the specific
lifecycle_stage
of the playbook execution.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Handler.LifecycleHandler
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Handler.LifecycleHandler.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Handler.LifecycleHandler build()
buildPartial()
public Handler.LifecycleHandler buildPartial()
clear()
public Handler.LifecycleHandler.Builder clear()
Overrides
clearCondition()
public Handler.LifecycleHandler.Builder clearCondition()
Optional. The condition that must be satisfied to trigger this handler.
string condition = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public Handler.LifecycleHandler.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFulfillment()
public Handler.LifecycleHandler.Builder clearFulfillment()
Required. The fulfillment to call when this handler is triggered.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 3 [(.google.api.field_behavior) = REQUIRED];
clearLifecycleStage()
public Handler.LifecycleHandler.Builder clearLifecycleStage()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public Handler.LifecycleHandler.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Handler.LifecycleHandler.Builder clone()
Overrides
getCondition()
public String getCondition()
Optional. The condition that must be satisfied to trigger this handler.
string condition = 2 [(.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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for condition.
|
getDefaultInstanceForType()
public Handler.LifecycleHandler getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFulfillment()
public 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];
getFulfillmentBuilder()
public Fulfillment.Builder getFulfillmentBuilder()
Required. The fulfillment to call when this handler is triggered.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 3 [(.google.api.field_behavior) = REQUIRED];
getFulfillmentOrBuilder()
public 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];
getLifecycleStage()
public 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 |
Type |
Description |
String |
The lifecycleStage.
|
getLifecycleStageBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for lifecycleStage.
|
hasFulfillment()
public 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 |
Type |
Description |
boolean |
Whether the fulfillment field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Handler.LifecycleHandler other)
public Handler.LifecycleHandler.Builder mergeFrom(Handler.LifecycleHandler other)
public Handler.LifecycleHandler.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Handler.LifecycleHandler.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFulfillment(Fulfillment value)
public Handler.LifecycleHandler.Builder mergeFulfillment(Fulfillment value)
Required. The fulfillment to call when this handler is triggered.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Handler.LifecycleHandler.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCondition(String value)
public Handler.LifecycleHandler.Builder setCondition(String value)
Optional. The condition that must be satisfied to trigger this handler.
string condition = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The condition to set.
|
setConditionBytes(ByteString value)
public Handler.LifecycleHandler.Builder setConditionBytes(ByteString value)
Optional. The condition that must be satisfied to trigger this handler.
string condition = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for condition to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Handler.LifecycleHandler.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFulfillment(Fulfillment value)
public Handler.LifecycleHandler.Builder setFulfillment(Fulfillment value)
Required. The fulfillment to call when this handler is triggered.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 3 [(.google.api.field_behavior) = REQUIRED];
setFulfillment(Fulfillment.Builder builderForValue)
public Handler.LifecycleHandler.Builder setFulfillment(Fulfillment.Builder builderForValue)
Required. The fulfillment to call when this handler is triggered.
.google.cloud.dialogflow.cx.v3beta1.Fulfillment fulfillment = 3 [(.google.api.field_behavior) = REQUIRED];
setLifecycleStage(String value)
public Handler.LifecycleHandler.Builder setLifecycleStage(String value)
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];
Parameter |
Name |
Description |
value |
String
The lifecycleStage to set.
|
setLifecycleStageBytes(ByteString value)
public Handler.LifecycleHandler.Builder setLifecycleStageBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for lifecycleStage to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Handler.LifecycleHandler.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Handler.LifecycleHandler.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides