Interface GenerateStatelessSummaryRequestOrBuilder (4.25.0)

public interface GenerateStatelessSummaryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConversationProfile()

public abstract ConversationProfile getConversationProfile()

Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationProfile

The conversationProfile.

getConversationProfileOrBuilder()

public abstract ConversationProfileOrBuilder getConversationProfileOrBuilder()

Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationProfileOrBuilder

getLatestMessage()

public abstract String getLatestMessage()

The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.

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

Returns
Type Description
String

The latestMessage.

getLatestMessageBytes()

public abstract ByteString getLatestMessageBytes()

The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.

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

Returns
Type Description
ByteString

The bytes for latestMessage.

getMaxContextSize()

public abstract int getMaxContextSize()

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 max_context_size = 4;

Returns
Type Description
int

The maxContextSize.

getStatelessConversation()

public abstract GenerateStatelessSummaryRequest.MinimalConversation getStatelessConversation()

Required. The conversation to suggest a summary for.

.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation

The statelessConversation.

getStatelessConversationOrBuilder()

public abstract GenerateStatelessSummaryRequest.MinimalConversationOrBuilder getStatelessConversationOrBuilder()

Required. The conversation to suggest a summary for.

.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversationOrBuilder

hasConversationProfile()

public abstract boolean hasConversationProfile()

Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the conversationProfile field is set.

hasStatelessConversation()

public abstract boolean hasStatelessConversation()

Required. The conversation to suggest a summary for.

.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the statelessConversation field is set.