Class Fulfillment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Fulfillment.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.Builder
- All Implemented Interfaces:
FulfillmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Fulfillment
public static final class Fulfillment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Fulfillment.Builder>
implements FulfillmentOrBuilder
A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the [Page][google.cloud.dialogflow.cx.v3beta1.Page] or [Form][google.cloud.dialogflow.cx.v3beta1.Form] lifecycle. For example, when a [DetectIntentRequest][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest] drives a session to enter a new page, the page's entry fulfillment can add a static response to the [QueryResult][google.cloud.dialogflow.cx.v3beta1.QueryResult] in the returning [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse], call the webhook (for example, to load user data from a database), or both.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Fulfillment-
Method Summary
Modifier and TypeMethodDescriptionaddAllConditionalCases(Iterable<? extends Fulfillment.ConditionalCases> values) Conditional cases for this fulfillment.addAllGenerators(Iterable<? extends Fulfillment.GeneratorSettings> values) A list of Generators to be called during this fulfillment.addAllMessages(Iterable<? extends ResponseMessage> values) The list of rich message responses to present to the user.addAllSetParameterActions(Iterable<? extends Fulfillment.SetParameterAction> values) Set parameter values before executing the webhook.addConditionalCases(int index, Fulfillment.ConditionalCases value) Conditional cases for this fulfillment.addConditionalCases(int index, Fulfillment.ConditionalCases.Builder builderForValue) Conditional cases for this fulfillment.Conditional cases for this fulfillment.addConditionalCases(Fulfillment.ConditionalCases.Builder builderForValue) Conditional cases for this fulfillment.Conditional cases for this fulfillment.addConditionalCasesBuilder(int index) Conditional cases for this fulfillment.addGenerators(int index, Fulfillment.GeneratorSettings value) A list of Generators to be called during this fulfillment.addGenerators(int index, Fulfillment.GeneratorSettings.Builder builderForValue) A list of Generators to be called during this fulfillment.A list of Generators to be called during this fulfillment.addGenerators(Fulfillment.GeneratorSettings.Builder builderForValue) A list of Generators to be called during this fulfillment.A list of Generators to be called during this fulfillment.addGeneratorsBuilder(int index) A list of Generators to be called during this fulfillment.addMessages(int index, ResponseMessage value) The list of rich message responses to present to the user.addMessages(int index, ResponseMessage.Builder builderForValue) The list of rich message responses to present to the user.addMessages(ResponseMessage value) The list of rich message responses to present to the user.addMessages(ResponseMessage.Builder builderForValue) The list of rich message responses to present to the user.The list of rich message responses to present to the user.addMessagesBuilder(int index) The list of rich message responses to present to the user.addSetParameterActions(int index, Fulfillment.SetParameterAction value) Set parameter values before executing the webhook.addSetParameterActions(int index, Fulfillment.SetParameterAction.Builder builderForValue) Set parameter values before executing the webhook.Set parameter values before executing the webhook.addSetParameterActions(Fulfillment.SetParameterAction.Builder builderForValue) Set parameter values before executing the webhook.Set parameter values before executing the webhook.addSetParameterActionsBuilder(int index) Set parameter values before executing the webhook.build()clear()Hierarchical advanced settings for this fulfillment.Conditional cases for this fulfillment.If the flag is true, the agent will utilize LLM to generate a text response.A list of Generators to be called during this fulfillment.The list of rich message responses to present to the user.Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs.Set parameter values before executing the webhook.clearTag()The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called.The webhook to call.Hierarchical advanced settings for this fulfillment.Hierarchical advanced settings for this fulfillment.Hierarchical advanced settings for this fulfillment.getConditionalCases(int index) Conditional cases for this fulfillment.getConditionalCasesBuilder(int index) Conditional cases for this fulfillment.Conditional cases for this fulfillment.intConditional cases for this fulfillment.Conditional cases for this fulfillment.getConditionalCasesOrBuilder(int index) Conditional cases for this fulfillment.List<? extends Fulfillment.ConditionalCasesOrBuilder>Conditional cases for this fulfillment.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf the flag is true, the agent will utilize LLM to generate a text response.getGenerators(int index) A list of Generators to be called during this fulfillment.getGeneratorsBuilder(int index) A list of Generators to be called during this fulfillment.A list of Generators to be called during this fulfillment.intA list of Generators to be called during this fulfillment.A list of Generators to be called during this fulfillment.getGeneratorsOrBuilder(int index) A list of Generators to be called during this fulfillment.List<? extends Fulfillment.GeneratorSettingsOrBuilder>A list of Generators to be called during this fulfillment.getMessages(int index) The list of rich message responses to present to the user.getMessagesBuilder(int index) The list of rich message responses to present to the user.The list of rich message responses to present to the user.intThe list of rich message responses to present to the user.The list of rich message responses to present to the user.getMessagesOrBuilder(int index) The list of rich message responses to present to the user.List<? extends ResponseMessageOrBuilder>The list of rich message responses to present to the user.booleanWhether Dialogflow should return currently queued fulfillment response messages in streaming APIs.getSetParameterActions(int index) Set parameter values before executing the webhook.getSetParameterActionsBuilder(int index) Set parameter values before executing the webhook.Set parameter values before executing the webhook.intSet parameter values before executing the webhook.Set parameter values before executing the webhook.getSetParameterActionsOrBuilder(int index) Set parameter values before executing the webhook.List<? extends Fulfillment.SetParameterActionOrBuilder>Set parameter values before executing the webhook.getTag()The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called.com.google.protobuf.ByteStringThe value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called.The webhook to call.com.google.protobuf.ByteStringThe webhook to call.booleanHierarchical advanced settings for this fulfillment.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanHierarchical advanced settings for this fulfillment.mergeFrom(Fulfillment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeConditionalCases(int index) Conditional cases for this fulfillment.removeGenerators(int index) A list of Generators to be called during this fulfillment.removeMessages(int index) The list of rich message responses to present to the user.removeSetParameterActions(int index) Set parameter values before executing the webhook.Hierarchical advanced settings for this fulfillment.setAdvancedSettings(AdvancedSettings.Builder builderForValue) Hierarchical advanced settings for this fulfillment.setConditionalCases(int index, Fulfillment.ConditionalCases value) Conditional cases for this fulfillment.setConditionalCases(int index, Fulfillment.ConditionalCases.Builder builderForValue) Conditional cases for this fulfillment.setEnableGenerativeFallback(boolean value) If the flag is true, the agent will utilize LLM to generate a text response.setGenerators(int index, Fulfillment.GeneratorSettings value) A list of Generators to be called during this fulfillment.setGenerators(int index, Fulfillment.GeneratorSettings.Builder builderForValue) A list of Generators to be called during this fulfillment.setMessages(int index, ResponseMessage value) The list of rich message responses to present to the user.setMessages(int index, ResponseMessage.Builder builderForValue) The list of rich message responses to present to the user.setReturnPartialResponses(boolean value) Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs.setSetParameterActions(int index, Fulfillment.SetParameterAction value) Set parameter values before executing the webhook.setSetParameterActions(int index, Fulfillment.SetParameterAction.Builder builderForValue) Set parameter values before executing the webhook.The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called.setTagBytes(com.google.protobuf.ByteString value) The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called.setWebhook(String value) The webhook to call.setWebhookBytes(com.google.protobuf.ByteString value) The webhook to call.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Fulfillment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Fulfillment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Fulfillment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Fulfillment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Fulfillment.Builder>
-
mergeFrom
public Fulfillment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Fulfillment.Builder>- Throws:
IOException
-
getMessagesList
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;- Specified by:
getMessagesListin interfaceFulfillmentOrBuilder
-
getMessagesCount
public int getMessagesCount()The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;- Specified by:
getMessagesCountin interfaceFulfillmentOrBuilder
-
getMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;- Specified by:
getMessagesin interfaceFulfillmentOrBuilder
-
setMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
setMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
addMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
addMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
addMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
addMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
addAllMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
clearMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
removeMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
getMessagesBuilder
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
getMessagesOrBuilder
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;- Specified by:
getMessagesOrBuilderin interfaceFulfillmentOrBuilder
-
getMessagesOrBuilderList
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1;- Specified by:
getMessagesOrBuilderListin interfaceFulfillmentOrBuilder
-
addMessagesBuilder
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
addMessagesBuilder
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
getMessagesBuilderList
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
getWebhook
The webhook to call. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getWebhookin interfaceFulfillmentOrBuilder- Returns:
- The webhook.
-
getWebhookBytes
public com.google.protobuf.ByteString getWebhookBytes()The webhook to call. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getWebhookBytesin interfaceFulfillmentOrBuilder- Returns:
- The bytes for webhook.
-
setWebhook
The webhook to call. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The webhook to set.- Returns:
- This builder for chaining.
-
clearWebhook
The webhook to call. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setWebhookBytes
The webhook to call. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for webhook to set.- Returns:
- This builder for chaining.
-
getReturnPartialResponses
public boolean getReturnPartialResponses()Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
bool return_partial_responses = 8;- Specified by:
getReturnPartialResponsesin interfaceFulfillmentOrBuilder- Returns:
- The returnPartialResponses.
-
setReturnPartialResponses
Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
bool return_partial_responses = 8;- Parameters:
value- The returnPartialResponses to set.- Returns:
- This builder for chaining.
-
clearReturnPartialResponses
Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
bool return_partial_responses = 8;- Returns:
- This builder for chaining.
-
getTag
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes. This field is required if `webhook` is specified.
string tag = 3;- Specified by:
getTagin interfaceFulfillmentOrBuilder- Returns:
- The tag.
-
getTagBytes
public com.google.protobuf.ByteString getTagBytes()The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes. This field is required if `webhook` is specified.
string tag = 3;- Specified by:
getTagBytesin interfaceFulfillmentOrBuilder- Returns:
- The bytes for tag.
-
setTag
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes. This field is required if `webhook` is specified.
string tag = 3;- Parameters:
value- The tag to set.- Returns:
- This builder for chaining.
-
clearTag
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes. This field is required if `webhook` is specified.
string tag = 3;- Returns:
- This builder for chaining.
-
setTagBytes
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes. This field is required if `webhook` is specified.
string tag = 3;- Parameters:
value- The bytes for tag to set.- Returns:
- This builder for chaining.
-
getSetParameterActionsList
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4;- Specified by:
getSetParameterActionsListin interfaceFulfillmentOrBuilder
-
getSetParameterActionsCount
public int getSetParameterActionsCount()Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4;- Specified by:
getSetParameterActionsCountin interfaceFulfillmentOrBuilder
-
getSetParameterActions
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4;- Specified by:
getSetParameterActionsin interfaceFulfillmentOrBuilder
-
setSetParameterActions
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
setSetParameterActions
public Fulfillment.Builder setSetParameterActions(int index, Fulfillment.SetParameterAction.Builder builderForValue) Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
addSetParameterActions
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
addSetParameterActions
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
addSetParameterActions
public Fulfillment.Builder addSetParameterActions(Fulfillment.SetParameterAction.Builder builderForValue) Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
addSetParameterActions
public Fulfillment.Builder addSetParameterActions(int index, Fulfillment.SetParameterAction.Builder builderForValue) Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
addAllSetParameterActions
public Fulfillment.Builder addAllSetParameterActions(Iterable<? extends Fulfillment.SetParameterAction> values) Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
clearSetParameterActions
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
removeSetParameterActions
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
getSetParameterActionsBuilder
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
getSetParameterActionsOrBuilder
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4;- Specified by:
getSetParameterActionsOrBuilderin interfaceFulfillmentOrBuilder
-
getSetParameterActionsOrBuilderList
public List<? extends Fulfillment.SetParameterActionOrBuilder> getSetParameterActionsOrBuilderList()Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4;- Specified by:
getSetParameterActionsOrBuilderListin interfaceFulfillmentOrBuilder
-
addSetParameterActionsBuilder
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
addSetParameterActionsBuilder
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
getSetParameterActionsBuilderList
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
getConditionalCasesList
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5;- Specified by:
getConditionalCasesListin interfaceFulfillmentOrBuilder
-
getConditionalCasesCount
public int getConditionalCasesCount()Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5;- Specified by:
getConditionalCasesCountin interfaceFulfillmentOrBuilder
-
getConditionalCases
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5;- Specified by:
getConditionalCasesin interfaceFulfillmentOrBuilder
-
setConditionalCases
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
setConditionalCases
public Fulfillment.Builder setConditionalCases(int index, Fulfillment.ConditionalCases.Builder builderForValue) Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
addConditionalCases
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
addConditionalCases
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
addConditionalCases
public Fulfillment.Builder addConditionalCases(Fulfillment.ConditionalCases.Builder builderForValue) Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
addConditionalCases
public Fulfillment.Builder addConditionalCases(int index, Fulfillment.ConditionalCases.Builder builderForValue) Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
addAllConditionalCases
public Fulfillment.Builder addAllConditionalCases(Iterable<? extends Fulfillment.ConditionalCases> values) Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
clearConditionalCases
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
removeConditionalCases
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
getConditionalCasesBuilder
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
getConditionalCasesOrBuilder
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5;- Specified by:
getConditionalCasesOrBuilderin interfaceFulfillmentOrBuilder
-
getConditionalCasesOrBuilderList
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5;- Specified by:
getConditionalCasesOrBuilderListin interfaceFulfillmentOrBuilder
-
addConditionalCasesBuilder
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
addConditionalCasesBuilder
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
getConditionalCasesBuilderList
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
hasAdvancedSettings
public boolean hasAdvancedSettings()Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 7;- Specified by:
hasAdvancedSettingsin interfaceFulfillmentOrBuilder- Returns:
- Whether the advancedSettings field is set.
-
getAdvancedSettings
Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 7;- Specified by:
getAdvancedSettingsin interfaceFulfillmentOrBuilder- Returns:
- The advancedSettings.
-
setAdvancedSettings
Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 7; -
setAdvancedSettings
Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 7; -
mergeAdvancedSettings
Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 7; -
clearAdvancedSettings
Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 7; -
getAdvancedSettingsBuilder
Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 7; -
getAdvancedSettingsOrBuilder
Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 7;- Specified by:
getAdvancedSettingsOrBuilderin interfaceFulfillmentOrBuilder
-
getEnableGenerativeFallback
public boolean getEnableGenerativeFallback()If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined [responses][google.cloud.dialogflow.cx.v3beta1.Fulfillment.messages] in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.
bool enable_generative_fallback = 12;- Specified by:
getEnableGenerativeFallbackin interfaceFulfillmentOrBuilder- Returns:
- The enableGenerativeFallback.
-
setEnableGenerativeFallback
If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined [responses][google.cloud.dialogflow.cx.v3beta1.Fulfillment.messages] in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.
bool enable_generative_fallback = 12;- Parameters:
value- The enableGenerativeFallback to set.- Returns:
- This builder for chaining.
-
clearEnableGenerativeFallback
If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined [responses][google.cloud.dialogflow.cx.v3beta1.Fulfillment.messages] in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.
bool enable_generative_fallback = 12;- Returns:
- This builder for chaining.
-
getGeneratorsList
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13;- Specified by:
getGeneratorsListin interfaceFulfillmentOrBuilder
-
getGeneratorsCount
public int getGeneratorsCount()A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13;- Specified by:
getGeneratorsCountin interfaceFulfillmentOrBuilder
-
getGenerators
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13;- Specified by:
getGeneratorsin interfaceFulfillmentOrBuilder
-
setGenerators
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
setGenerators
public Fulfillment.Builder setGenerators(int index, Fulfillment.GeneratorSettings.Builder builderForValue) A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
addGenerators
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
addGenerators
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
addGenerators
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
addGenerators
public Fulfillment.Builder addGenerators(int index, Fulfillment.GeneratorSettings.Builder builderForValue) A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
addAllGenerators
public Fulfillment.Builder addAllGenerators(Iterable<? extends Fulfillment.GeneratorSettings> values) A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
clearGenerators
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
removeGenerators
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
getGeneratorsBuilder
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
getGeneratorsOrBuilder
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13;- Specified by:
getGeneratorsOrBuilderin interfaceFulfillmentOrBuilder
-
getGeneratorsOrBuilderList
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13;- Specified by:
getGeneratorsOrBuilderListin interfaceFulfillmentOrBuilder
-
addGeneratorsBuilder
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
addGeneratorsBuilder
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
getGeneratorsBuilderList
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13;
-