Interface GoogleSearchTool.PromptConfigOrBuilder (0.1.0)

public static interface GoogleSearchTool.PromptConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTextPrompt()

public abstract String getTextPrompt()

Optional. Defines the prompt used for the system instructions when interacting with the agent in chat conversations. If not set, default prompt will be used.

string text_prompt = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The textPrompt.

getTextPromptBytes()

public abstract ByteString getTextPromptBytes()

Optional. Defines the prompt used for the system instructions when interacting with the agent in chat conversations. If not set, default prompt will be used.

string text_prompt = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for textPrompt.

getVoicePrompt()

public abstract String getVoicePrompt()

Optional. Defines the prompt used for the system instructions when interacting with the agent in voice conversations. If not set, default prompt will be used.

string voice_prompt = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The voicePrompt.

getVoicePromptBytes()

public abstract ByteString getVoicePromptBytes()

Optional. Defines the prompt used for the system instructions when interacting with the agent in voice conversations. If not set, default prompt will be used.

string voice_prompt = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for voicePrompt.