com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponseOrBuilder 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 SuggestKnowledgeAssistResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. Knowledge Assist suggestion.
*
*
*
* .google.cloud.dialogflow.v2.KnowledgeAssistAnswer knowledge_assist_answer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the knowledgeAssistAnswer field is set.
*/
boolean hasKnowledgeAssistAnswer();
/**
*
*
*
* Output only. Knowledge Assist suggestion.
*
*
*
* .google.cloud.dialogflow.v2.KnowledgeAssistAnswer knowledge_assist_answer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The knowledgeAssistAnswer.
*/
com.google.cloud.dialogflow.v2.KnowledgeAssistAnswer getKnowledgeAssistAnswer();
/**
*
*
*
* Output only. Knowledge Assist suggestion.
*
*
*
* .google.cloud.dialogflow.v2.KnowledgeAssistAnswer knowledge_assist_answer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.cloud.dialogflow.v2.KnowledgeAssistAnswerOrBuilder getKnowledgeAssistAnswerOrBuilder();
/**
*
*
*
* 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;
*
* @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;
*
* @return The bytes for latestMessage.
*/
com.google.protobuf.ByteString getLatestMessageBytes();
/**
*
*
*
* Number of messages prior to and including
* [latest_message][google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse.latest_message]
* to compile the suggestion. It may be smaller than the
* [SuggestKnowledgeAssistRequest.context_size][google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest.context_size]
* field in the request if there are fewer messages in the conversation.
*
*
* int32 context_size = 3;
*
* @return The contextSize.
*/
int getContextSize();
}