Interface CompileSuggestionRequestOrBuilder (4.23.0)

public interface CompileSuggestionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContextSize()

public abstract int getContextSize()

Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. If zero or less than zero, 20 is used.

int32 context_size = 3;

Returns
Type Description
int

The contextSize.

getLatestMessage()

public abstract String getLatestMessage()

Optional. The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 2;

Returns
Type Description
String

The latestMessage.

getLatestMessageBytes()

public abstract ByteString getLatestMessageBytes()

Optional. The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 2;

Returns
Type Description
ByteString

The bytes for latestMessage.

getParent()

public abstract String getParent()

Required. The name of the participant to fetch suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the participant to fetch suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.