Interface CompileSuggestionResponseOrBuilder (4.6.0)

public interface CompileSuggestionResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContextSize()

public abstract int getContextSize()

Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the CompileSuggestionRequest.context_size field in the request if there aren't that many messages in the conversation.

int32 context_size = 3;

Returns
TypeDescription
int

The contextSize.

getLatestMessage()

public abstract String getLatestMessage()

The name of the latest conversation message used to compile suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 2;

Returns
TypeDescription
String

The latestMessage.

getLatestMessageBytes()

public abstract ByteString getLatestMessageBytes()

The name of the latest conversation message used to compile suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 2;

Returns
TypeDescription
ByteString

The bytes for latestMessage.

getSuggestion()

public abstract Suggestion getSuggestion()

The compiled suggestion.

.google.cloud.dialogflow.v2beta1.Suggestion suggestion = 1;

Returns
TypeDescription
Suggestion

The suggestion.

getSuggestionOrBuilder()

public abstract SuggestionOrBuilder getSuggestionOrBuilder()

The compiled suggestion.

.google.cloud.dialogflow.v2beta1.Suggestion suggestion = 1;

Returns
TypeDescription
SuggestionOrBuilder

hasSuggestion()

public abstract boolean hasSuggestion()

The compiled suggestion.

.google.cloud.dialogflow.v2beta1.Suggestion suggestion = 1;

Returns
TypeDescription
boolean

Whether the suggestion field is set.