com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponseOrBuilder 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/participant.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dialogflow.v2;
public interface SuggestSmartRepliesResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.SuggestSmartRepliesResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. Multiple reply options provided by smart reply service. The
* order is based on the rank of the model prediction.
* The maximum number of the returned replies is set in SmartReplyConfig.
*
*
*
* repeated .google.cloud.dialogflow.v2.SmartReplyAnswer smart_reply_answers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
java.util.List getSmartReplyAnswersList();
/**
*
*
*
* Output only. Multiple reply options provided by smart reply service. The
* order is based on the rank of the model prediction.
* The maximum number of the returned replies is set in SmartReplyConfig.
*
*
*
* repeated .google.cloud.dialogflow.v2.SmartReplyAnswer smart_reply_answers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.cloud.dialogflow.v2.SmartReplyAnswer getSmartReplyAnswers(int index);
/**
*
*
*
* Output only. Multiple reply options provided by smart reply service. The
* order is based on the rank of the model prediction.
* The maximum number of the returned replies is set in SmartReplyConfig.
*
*
*
* repeated .google.cloud.dialogflow.v2.SmartReplyAnswer smart_reply_answers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
int getSmartReplyAnswersCount();
/**
*
*
*
* Output only. Multiple reply options provided by smart reply service. The
* order is based on the rank of the model prediction.
* The maximum number of the returned replies is set in SmartReplyConfig.
*
*
*
* repeated .google.cloud.dialogflow.v2.SmartReplyAnswer smart_reply_answers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
java.util.List extends com.google.cloud.dialogflow.v2.SmartReplyAnswerOrBuilder>
getSmartReplyAnswersOrBuilderList();
/**
*
*
*
* Output only. Multiple reply options provided by smart reply service. The
* order is based on the rank of the model prediction.
* The maximum number of the returned replies is set in SmartReplyConfig.
*
*
*
* repeated .google.cloud.dialogflow.v2.SmartReplyAnswer smart_reply_answers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.cloud.dialogflow.v2.SmartReplyAnswerOrBuilder getSmartReplyAnswersOrBuilder(int index);
/**
*
*
*
* 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 [(.google.api.resource_reference) = { ... }
*
* @return The latestMessage.
*/
java.lang.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 [(.google.api.resource_reference) = { ... }
*
* @return The bytes for latestMessage.
*/
com.google.protobuf.ByteString getLatestMessageBytes();
/**
*
*
*
* Number of messages prior to and including
* [latest_message][google.cloud.dialogflow.v2.SuggestSmartRepliesResponse.latest_message]
* to compile the suggestion. It may be smaller than the
* [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2.SuggestSmartRepliesRequest.context_size]
* field in the request if there aren't that many messages in the
* conversation.
*
*
* int32 context_size = 3;
*
* @return The contextSize.
*/
int getContextSize();
}