Interface SuggestConversationSummaryRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SuggestConversationSummaryRequest
,SuggestConversationSummaryRequest.Builder
public interface SuggestConversationSummaryRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssistQueryParameters
getAssistQueryParams()
Parameters for a human assist query.AssistQueryParametersOrBuilder
getAssistQueryParamsOrBuilder()
Parameters for a human assist query.int
getContextSize()
Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion.String
getConversation()
Required.com.google.protobuf.ByteString
getConversationBytes()
Required.String
getLatestMessage()
The name of the latest conversation message used as context for compiling suggestion.com.google.protobuf.ByteString
getLatestMessageBytes()
The name of the latest conversation message used as context for compiling suggestion.boolean
hasAssistQueryParams()
Parameters for a human assist query.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getConversation
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:
- The conversation.
-
getConversationBytes
com.google.protobuf.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:
- The bytes for conversation.
-
getLatestMessage
String getLatestMessage()
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.resource_reference) = { ... }
- Returns:
- The latestMessage.
-
getLatestMessageBytes
com.google.protobuf.ByteString getLatestMessageBytes()
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.resource_reference) = { ... }
- Returns:
- The bytes for latestMessage.
-
getContextSize
int getContextSize()
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;
- Returns:
- The contextSize.
-
hasAssistQueryParams
boolean hasAssistQueryParams()
Parameters for a human assist query. Only used for POC/demo purpose.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 5;
- Returns:
- Whether the assistQueryParams field is set.
-
getAssistQueryParams
AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query. Only used for POC/demo purpose.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 5;
- Returns:
- The assistQueryParams.
-
getAssistQueryParamsOrBuilder
AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query. Only used for POC/demo purpose.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 5;
-
-