Interface FulfillmentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Fulfillment,Fulfillment.Builder
@Generated
public interface FulfillmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionHierarchical advanced settings for this fulfillment.Hierarchical advanced settings for this fulfillment.getConditionalCases(int index) 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.booleanIf 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.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.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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMessagesList
List<ResponseMessage> getMessagesList()The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
getMessages
The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
getMessagesCount
int getMessagesCount()The list of rich message responses to present to the user.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 1; -
getMessagesOrBuilderList
List<? extends ResponseMessageOrBuilder> getMessagesOrBuilderList()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; -
getWebhook
String getWebhook()The webhook to call. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
string webhook = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The webhook.
-
getWebhookBytes
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) = { ... }- Returns:
- The bytes for webhook.
-
getReturnPartialResponses
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;- Returns:
- The returnPartialResponses.
-
getTag
String 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;- Returns:
- The tag.
-
getTagBytes
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;- Returns:
- The bytes for tag.
-
getSetParameterActionsList
List<Fulfillment.SetParameterAction> getSetParameterActionsList()Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
getSetParameterActions
Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
getSetParameterActionsCount
int getSetParameterActionsCount()Set parameter values before executing the webhook.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction set_parameter_actions = 4; -
getSetParameterActionsOrBuilderList
List<? extends Fulfillment.SetParameterActionOrBuilder> getSetParameterActionsOrBuilderList()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; -
getConditionalCasesList
List<Fulfillment.ConditionalCases> getConditionalCasesList()Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
getConditionalCases
Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
getConditionalCasesCount
int getConditionalCasesCount()Conditional cases for this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases conditional_cases = 5; -
getConditionalCasesOrBuilderList
List<? extends Fulfillment.ConditionalCasesOrBuilder> getConditionalCasesOrBuilderList()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; -
hasAdvancedSettings
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;- Returns:
- Whether the advancedSettings field is set.
-
getAdvancedSettings
AdvancedSettings 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;- Returns:
- The advancedSettings.
-
getAdvancedSettingsOrBuilder
AdvancedSettingsOrBuilder 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; -
getEnableGenerativeFallback
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;- Returns:
- The enableGenerativeFallback.
-
getGeneratorsList
List<Fulfillment.GeneratorSettings> getGeneratorsList()A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
getGenerators
A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
getGeneratorsCount
int getGeneratorsCount()A list of Generators to be called during this fulfillment.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings generators = 13; -
getGeneratorsOrBuilderList
List<? extends Fulfillment.GeneratorSettingsOrBuilder> getGeneratorsOrBuilderList()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;
-