Interface SuggestConversationSummaryRequestOrBuilder (4.61.0)

public interface SuggestConversationSummaryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssistQueryParams()

public abstract AssistQueryParameters getAssistQueryParams()

Optional. Parameters for a human assist query. Only used for POC/demo purpose.

.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssistQueryParameters

The assistQueryParams.

getAssistQueryParamsOrBuilder()

public abstract AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()

Optional. Parameters for a human assist query. Only used for POC/demo purpose.

.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssistQueryParametersOrBuilder

getContextSize()

public abstract int getContextSize()

Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.

int32 context_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The contextSize.

getConversation()

public abstract String getConversation()

Required. The conversation to fetch suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

string conversation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The conversation.

getConversationBytes()

public abstract ByteString getConversationBytes()

Required. The conversation to fetch suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

string conversation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for conversation.

getLatestMessage()

public abstract String getLatestMessage()

Optional. The name of the latest conversation message used as context for compiling suggestion. If empty, the latest message of the conversation will be used.

Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The latestMessage.

getLatestMessageBytes()

public abstract ByteString getLatestMessageBytes()

Optional. The name of the latest conversation message used as context for compiling suggestion. If empty, the latest message of the conversation will be used.

Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for latestMessage.

hasAssistQueryParams()

public abstract boolean hasAssistQueryParams()

Optional. Parameters for a human assist query. Only used for POC/demo purpose.

.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the assistQueryParams field is set.