public interface CompileSuggestionResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
ByteString | The bytes for latestMessage. |
getSuggestion()
public abstract Suggestion getSuggestion()
The compiled suggestion.
.google.cloud.dialogflow.v2beta1.Suggestion suggestion = 1;
Type | Description |
Suggestion | The suggestion. |
getSuggestionOrBuilder()
public abstract SuggestionOrBuilder getSuggestionOrBuilder()
The compiled suggestion.
.google.cloud.dialogflow.v2beta1.Suggestion suggestion = 1;
Type | Description |
SuggestionOrBuilder |
hasSuggestion()
public abstract boolean hasSuggestion()
The compiled suggestion.
.google.cloud.dialogflow.v2beta1.Suggestion suggestion = 1;
Type | Description |
boolean | Whether the suggestion field is set. |