Interface TriggerAction.GenerativeAnswerOrBuilder (0.1.0)

public static interface TriggerAction.GenerativeAnswerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrompt()

public abstract String getPrompt()

Required. The prompt to use for the generative answer.

string prompt = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The prompt.

getPromptBytes()

public abstract ByteString getPromptBytes()

Required. The prompt to use for the generative answer.

string prompt = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for prompt.