public static final class Fulfillment.Builder extends com.google.protobuf.GeneratedMessageV3.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.v3.Page] or [Form][google.cloud.dialogflow.cx.v3.Form] lifecycle. For example, when a [DetectIntentRequest][google.cloud.dialogflow.cx.v3.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.v3.QueryResult] in the returning [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse], call the webhook (for example, to load user data from a database), or both.Protobuf type
google.cloud.dialogflow.cx.v3.Fulfillment| Modifier and Type | Method and Description |
|---|---|
Fulfillment.Builder |
addAllConditionalCases(Iterable<? extends Fulfillment.ConditionalCases> values)
Conditional cases for this fulfillment.
|
Fulfillment.Builder |
addAllMessages(Iterable<? extends ResponseMessage> values)
The list of rich message responses to present to the user.
|
Fulfillment.Builder |
addAllSetParameterActions(Iterable<? extends Fulfillment.SetParameterAction> values)
Set parameter values before executing the webhook.
|
Fulfillment.Builder |
addConditionalCases(Fulfillment.ConditionalCases.Builder builderForValue)
Conditional cases for this fulfillment.
|
Fulfillment.Builder |
addConditionalCases(Fulfillment.ConditionalCases value)
Conditional cases for this fulfillment.
|
Fulfillment.Builder |
addConditionalCases(int index,
Fulfillment.ConditionalCases.Builder builderForValue)
Conditional cases for this fulfillment.
|
Fulfillment.Builder |
addConditionalCases(int index,
Fulfillment.ConditionalCases value)
Conditional cases for this fulfillment.
|
Fulfillment.ConditionalCases.Builder |
addConditionalCasesBuilder()
Conditional cases for this fulfillment.
|
Fulfillment.ConditionalCases.Builder |
addConditionalCasesBuilder(int index)
Conditional cases for this fulfillment.
|
Fulfillment.Builder |
addMessages(int index,
ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.
|
Fulfillment.Builder |
addMessages(int index,
ResponseMessage value)
The list of rich message responses to present to the user.
|
Fulfillment.Builder |
addMessages(ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.
|
Fulfillment.Builder |
addMessages(ResponseMessage value)
The list of rich message responses to present to the user.
|
ResponseMessage.Builder |
addMessagesBuilder()
The list of rich message responses to present to the user.
|
ResponseMessage.Builder |
addMessagesBuilder(int index)
The list of rich message responses to present to the user.
|
Fulfillment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Fulfillment.Builder |
addSetParameterActions(Fulfillment.SetParameterAction.Builder builderForValue)
Set parameter values before executing the webhook.
|
Fulfillment.Builder |
addSetParameterActions(Fulfillment.SetParameterAction value)
Set parameter values before executing the webhook.
|
Fulfillment.Builder |
addSetParameterActions(int index,
Fulfillment.SetParameterAction.Builder builderForValue)
Set parameter values before executing the webhook.
|
Fulfillment.Builder |
addSetParameterActions(int index,
Fulfillment.SetParameterAction value)
Set parameter values before executing the webhook.
|
Fulfillment.SetParameterAction.Builder |
addSetParameterActionsBuilder()
Set parameter values before executing the webhook.
|
Fulfillment.SetParameterAction.Builder |
addSetParameterActionsBuilder(int index)
Set parameter values before executing the webhook.
|
Fulfillment |
build() |
Fulfillment |
buildPartial() |
Fulfillment.Builder |
clear() |
Fulfillment.Builder |
clearConditionalCases()
Conditional cases for this fulfillment.
|
Fulfillment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Fulfillment.Builder |
clearMessages()
The list of rich message responses to present to the user.
|
Fulfillment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Fulfillment.Builder |
clearReturnPartialResponses()
Whether Dialogflow should return currently queued fulfillment response
messages in streaming APIs.
|
Fulfillment.Builder |
clearSetParameterActions()
Set parameter values before executing the webhook.
|
Fulfillment.Builder |
clearTag()
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]
`fulfillmentInfo.tag` field by Dialogflow when the associated webhook is
called.
|
Fulfillment.Builder |
clearWebhook()
The webhook to call.
|
Fulfillment.Builder |
clone() |
Fulfillment.ConditionalCases |
getConditionalCases(int index)
Conditional cases for this fulfillment.
|
Fulfillment.ConditionalCases.Builder |
getConditionalCasesBuilder(int index)
Conditional cases for this fulfillment.
|
List<Fulfillment.ConditionalCases.Builder> |
getConditionalCasesBuilderList()
Conditional cases for this fulfillment.
|
int |
getConditionalCasesCount()
Conditional cases for this fulfillment.
|
List<Fulfillment.ConditionalCases> |
getConditionalCasesList()
Conditional cases for this fulfillment.
|
Fulfillment.ConditionalCasesOrBuilder |
getConditionalCasesOrBuilder(int index)
Conditional cases for this fulfillment.
|
List<? extends Fulfillment.ConditionalCasesOrBuilder> |
getConditionalCasesOrBuilderList()
Conditional cases for this fulfillment.
|
Fulfillment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ResponseMessage |
getMessages(int index)
The list of rich message responses to present to the user.
|
ResponseMessage.Builder |
getMessagesBuilder(int index)
The list of rich message responses to present to the user.
|
List<ResponseMessage.Builder> |
getMessagesBuilderList()
The list of rich message responses to present to the user.
|
int |
getMessagesCount()
The list of rich message responses to present to the user.
|
List<ResponseMessage> |
getMessagesList()
The list of rich message responses to present to the user.
|
ResponseMessageOrBuilder |
getMessagesOrBuilder(int index)
The list of rich message responses to present to the user.
|
List<? extends ResponseMessageOrBuilder> |
getMessagesOrBuilderList()
The list of rich message responses to present to the user.
|
boolean |
getReturnPartialResponses()
Whether Dialogflow should return currently queued fulfillment response
messages in streaming APIs.
|
Fulfillment.SetParameterAction |
getSetParameterActions(int index)
Set parameter values before executing the webhook.
|
Fulfillment.SetParameterAction.Builder |
getSetParameterActionsBuilder(int index)
Set parameter values before executing the webhook.
|
List<Fulfillment.SetParameterAction.Builder> |
getSetParameterActionsBuilderList()
Set parameter values before executing the webhook.
|
int |
getSetParameterActionsCount()
Set parameter values before executing the webhook.
|
List<Fulfillment.SetParameterAction> |
getSetParameterActionsList()
Set parameter values before executing the webhook.
|
Fulfillment.SetParameterActionOrBuilder |
getSetParameterActionsOrBuilder(int index)
Set parameter values before executing the webhook.
|
List<? extends Fulfillment.SetParameterActionOrBuilder> |
getSetParameterActionsOrBuilderList()
Set parameter values before executing the webhook.
|
String |
getTag()
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]
`fulfillmentInfo.tag` field by Dialogflow when the associated webhook is
called.
|
com.google.protobuf.ByteString |
getTagBytes()
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]
`fulfillmentInfo.tag` field by Dialogflow when the associated webhook is
called.
|
String |
getWebhook()
The webhook to call.
|
com.google.protobuf.ByteString |
getWebhookBytes()
The webhook to call.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Fulfillment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Fulfillment.Builder |
mergeFrom(Fulfillment other) |
Fulfillment.Builder |
mergeFrom(com.google.protobuf.Message other) |
Fulfillment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Fulfillment.Builder |
removeConditionalCases(int index)
Conditional cases for this fulfillment.
|
Fulfillment.Builder |
removeMessages(int index)
The list of rich message responses to present to the user.
|
Fulfillment.Builder |
removeSetParameterActions(int index)
Set parameter values before executing the webhook.
|
Fulfillment.Builder |
setConditionalCases(int index,
Fulfillment.ConditionalCases.Builder builderForValue)
Conditional cases for this fulfillment.
|
Fulfillment.Builder |
setConditionalCases(int index,
Fulfillment.ConditionalCases value)
Conditional cases for this fulfillment.
|
Fulfillment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Fulfillment.Builder |
setMessages(int index,
ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.
|
Fulfillment.Builder |
setMessages(int index,
ResponseMessage value)
The list of rich message responses to present to the user.
|
Fulfillment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Fulfillment.Builder |
setReturnPartialResponses(boolean value)
Whether Dialogflow should return currently queued fulfillment response
messages in streaming APIs.
|
Fulfillment.Builder |
setSetParameterActions(int index,
Fulfillment.SetParameterAction.Builder builderForValue)
Set parameter values before executing the webhook.
|
Fulfillment.Builder |
setSetParameterActions(int index,
Fulfillment.SetParameterAction value)
Set parameter values before executing the webhook.
|
Fulfillment.Builder |
setTag(String value)
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]
`fulfillmentInfo.tag` field by Dialogflow when the associated webhook is
called.
|
Fulfillment.Builder |
setTagBytes(com.google.protobuf.ByteString value)
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]
`fulfillmentInfo.tag` field by Dialogflow when the associated webhook is
called.
|
Fulfillment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Fulfillment.Builder |
setWebhook(String value)
The webhook to call.
|
Fulfillment.Builder |
setWebhookBytes(com.google.protobuf.ByteString value)
The webhook to call.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public Fulfillment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public Fulfillment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Fulfillment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Fulfillment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Fulfillment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public Fulfillment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public Fulfillment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public Fulfillment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public Fulfillment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public Fulfillment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public Fulfillment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Fulfillment.Builder>public Fulfillment.Builder mergeFrom(Fulfillment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public Fulfillment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Fulfillment.Builder>IOExceptionpublic List<ResponseMessage> getMessagesList()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;getMessagesList in interface FulfillmentOrBuilderpublic int getMessagesCount()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;getMessagesCount in interface FulfillmentOrBuilderpublic ResponseMessage getMessages(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;getMessages in interface FulfillmentOrBuilderpublic Fulfillment.Builder setMessages(int index, ResponseMessage value)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public Fulfillment.Builder setMessages(int index, ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public Fulfillment.Builder addMessages(ResponseMessage value)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public Fulfillment.Builder addMessages(int index, ResponseMessage value)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public Fulfillment.Builder addMessages(ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public Fulfillment.Builder addMessages(int index, ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public Fulfillment.Builder addAllMessages(Iterable<? extends ResponseMessage> values)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public Fulfillment.Builder clearMessages()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public Fulfillment.Builder removeMessages(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public ResponseMessage.Builder getMessagesBuilder(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public ResponseMessageOrBuilder getMessagesOrBuilder(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;getMessagesOrBuilder in interface FulfillmentOrBuilderpublic List<? extends ResponseMessageOrBuilder> getMessagesOrBuilderList()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;getMessagesOrBuilderList in interface FulfillmentOrBuilderpublic ResponseMessage.Builder addMessagesBuilder()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public ResponseMessage.Builder addMessagesBuilder(int index)
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public List<ResponseMessage.Builder> getMessagesBuilderList()
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 1;public String getWebhook()
The webhook to call. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }getWebhook in interface FulfillmentOrBuilderpublic com.google.protobuf.ByteString getWebhookBytes()
The webhook to call. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }getWebhookBytes in interface FulfillmentOrBuilderpublic Fulfillment.Builder setWebhook(String value)
The webhook to call. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }value - The webhook to set.public Fulfillment.Builder clearWebhook()
The webhook to call. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }public Fulfillment.Builder setWebhookBytes(com.google.protobuf.ByteString value)
The webhook to call. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }value - The bytes for webhook to set.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;getReturnPartialResponses in interface FulfillmentOrBuilderpublic Fulfillment.Builder setReturnPartialResponses(boolean value)
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;value - The returnPartialResponses to set.public Fulfillment.Builder 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;public String getTag()
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3.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;getTag in interface FulfillmentOrBuilderpublic com.google.protobuf.ByteString getTagBytes()
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3.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;getTagBytes in interface FulfillmentOrBuilderpublic Fulfillment.Builder setTag(String value)
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3.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;value - The tag to set.public Fulfillment.Builder clearTag()
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3.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;public Fulfillment.Builder setTagBytes(com.google.protobuf.ByteString value)
The value of this field will be populated in the [WebhookRequest][google.cloud.dialogflow.cx.v3.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;value - The bytes for tag to set.public List<Fulfillment.SetParameterAction> getSetParameterActionsList()
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
getSetParameterActionsList in interface FulfillmentOrBuilderpublic int getSetParameterActionsCount()
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
getSetParameterActionsCount in interface FulfillmentOrBuilderpublic Fulfillment.SetParameterAction getSetParameterActions(int index)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
getSetParameterActions in interface FulfillmentOrBuilderpublic Fulfillment.Builder setSetParameterActions(int index, Fulfillment.SetParameterAction value)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.Builder setSetParameterActions(int index, Fulfillment.SetParameterAction.Builder builderForValue)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.Builder addSetParameterActions(Fulfillment.SetParameterAction value)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.Builder addSetParameterActions(int index, Fulfillment.SetParameterAction value)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.Builder addSetParameterActions(Fulfillment.SetParameterAction.Builder builderForValue)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.Builder addSetParameterActions(int index, Fulfillment.SetParameterAction.Builder builderForValue)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.Builder addAllSetParameterActions(Iterable<? extends Fulfillment.SetParameterAction> values)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.Builder clearSetParameterActions()
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.Builder removeSetParameterActions(int index)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.SetParameterAction.Builder getSetParameterActionsBuilder(int index)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.SetParameterActionOrBuilder getSetParameterActionsOrBuilder(int index)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
getSetParameterActionsOrBuilder in interface FulfillmentOrBuilderpublic List<? extends Fulfillment.SetParameterActionOrBuilder> getSetParameterActionsOrBuilderList()
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
getSetParameterActionsOrBuilderList in interface FulfillmentOrBuilderpublic Fulfillment.SetParameterAction.Builder addSetParameterActionsBuilder()
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public Fulfillment.SetParameterAction.Builder addSetParameterActionsBuilder(int index)
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public List<Fulfillment.SetParameterAction.Builder> getSetParameterActionsBuilderList()
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction set_parameter_actions = 4;
public List<Fulfillment.ConditionalCases> getConditionalCasesList()
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
getConditionalCasesList in interface FulfillmentOrBuilderpublic int getConditionalCasesCount()
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
getConditionalCasesCount in interface FulfillmentOrBuilderpublic Fulfillment.ConditionalCases getConditionalCases(int index)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
getConditionalCases in interface FulfillmentOrBuilderpublic Fulfillment.Builder setConditionalCases(int index, Fulfillment.ConditionalCases value)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.Builder setConditionalCases(int index, Fulfillment.ConditionalCases.Builder builderForValue)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.Builder addConditionalCases(Fulfillment.ConditionalCases value)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.Builder addConditionalCases(int index, Fulfillment.ConditionalCases value)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.Builder addConditionalCases(Fulfillment.ConditionalCases.Builder builderForValue)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.Builder addConditionalCases(int index, Fulfillment.ConditionalCases.Builder builderForValue)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.Builder addAllConditionalCases(Iterable<? extends Fulfillment.ConditionalCases> values)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.Builder clearConditionalCases()
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.Builder removeConditionalCases(int index)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.ConditionalCases.Builder getConditionalCasesBuilder(int index)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.ConditionalCasesOrBuilder getConditionalCasesOrBuilder(int index)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
getConditionalCasesOrBuilder in interface FulfillmentOrBuilderpublic List<? extends Fulfillment.ConditionalCasesOrBuilder> getConditionalCasesOrBuilderList()
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
getConditionalCasesOrBuilderList in interface FulfillmentOrBuilderpublic Fulfillment.ConditionalCases.Builder addConditionalCasesBuilder()
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public Fulfillment.ConditionalCases.Builder addConditionalCasesBuilder(int index)
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public List<Fulfillment.ConditionalCases.Builder> getConditionalCasesBuilderList()
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases conditional_cases = 5;
public final Fulfillment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>public final Fulfillment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Fulfillment.Builder>Copyright © 2022 Google LLC. All rights reserved.