com.google.cloud.dialogflow.v2.SuggestConversationSummaryResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
PROTO library for proto-google-cloud-dialogflow-v2
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/v2/conversation.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dialogflow.v2;
public interface SuggestConversationSummaryResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.SuggestConversationSummaryResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Generated summary.
*
*
* .google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary summary = 1;
*
*
* @return Whether the summary field is set.
*/
boolean hasSummary();
/**
*
*
*
* Generated summary.
*
*
* .google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary summary = 1;
*
*
* @return The summary.
*/
com.google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary getSummary();
/**
*
*
*
* Generated summary.
*
*
* .google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary summary = 1;
*
*/
com.google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.SummaryOrBuilder
getSummaryOrBuilder();
/**
*
*
*
* The name of the latest conversation message used as context for
* compiling suggestion.
*
* Format: `projects/<Project ID>/locations/<Location
* ID>/conversations/<Conversation ID>/messages/<Message ID>`.
*
*
* string latest_message = 2 [(.google.api.resource_reference) = { ... }
*
* @return The latestMessage.
*/
java.lang.String getLatestMessage();
/**
*
*
*
* The name of the latest conversation message used as context for
* compiling suggestion.
*
* Format: `projects/<Project ID>/locations/<Location
* ID>/conversations/<Conversation ID>/messages/<Message ID>`.
*
*
* string latest_message = 2 [(.google.api.resource_reference) = { ... }
*
* @return The bytes for latestMessage.
*/
com.google.protobuf.ByteString getLatestMessageBytes();
/**
*
*
*
* Number of messages prior to and including
* [last_conversation_message][] used to compile the suggestion. It may be
* smaller than the [SuggestSummaryRequest.context_size][] field in the
* request if there weren't that many messages in the conversation.
*
*
* int32 context_size = 3;
*
* @return The contextSize.
*/
int getContextSize();
}