Interface GenerativeSettings.FallbackSettingsOrBuilder (0.53.0)

public static interface GenerativeSettings.FallbackSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPromptTemplates(int index)

public abstract GenerativeSettings.FallbackSettings.PromptTemplate getPromptTemplates(int index)

Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user defined ones.

repeated .google.cloud.dialogflow.cx.v3.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;

Parameter
Name Description
index int
Returns
Type Description
GenerativeSettings.FallbackSettings.PromptTemplate

getPromptTemplatesCount()

public abstract int getPromptTemplatesCount()

Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user defined ones.

repeated .google.cloud.dialogflow.cx.v3.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;

Returns
Type Description
int

getPromptTemplatesList()

public abstract List<GenerativeSettings.FallbackSettings.PromptTemplate> getPromptTemplatesList()

Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user defined ones.

repeated .google.cloud.dialogflow.cx.v3.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;

Returns
Type Description
List<PromptTemplate>

getPromptTemplatesOrBuilder(int index)

public abstract GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder getPromptTemplatesOrBuilder(int index)

Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user defined ones.

repeated .google.cloud.dialogflow.cx.v3.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;

Parameter
Name Description
index int
Returns
Type Description
GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder

getPromptTemplatesOrBuilderList()

public abstract List<? extends GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder> getPromptTemplatesOrBuilderList()

Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user defined ones.

repeated .google.cloud.dialogflow.cx.v3.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder>

getSelectedPrompt()

public abstract String getSelectedPrompt()

Display name of the selected prompt.

string selected_prompt = 3;

Returns
Type Description
String

The selectedPrompt.

getSelectedPromptBytes()

public abstract ByteString getSelectedPromptBytes()

Display name of the selected prompt.

string selected_prompt = 3;

Returns
Type Description
ByteString

The bytes for selectedPrompt.