com.google.cloud.dialogflow.v2.SuggestionResultOrBuilder 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 SuggestionResultOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.SuggestionResult)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Error status if the request failed.
*
*
* .google.rpc.Status error = 1;
*
* @return Whether the error field is set.
*/
boolean hasError();
/**
*
*
*
* Error status if the request failed.
*
*
* .google.rpc.Status error = 1;
*
* @return The error.
*/
com.google.rpc.Status getError();
/**
*
*
*
* Error status if the request failed.
*
*
* .google.rpc.Status error = 1;
*/
com.google.rpc.StatusOrBuilder getErrorOrBuilder();
/**
*
*
*
* SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
*
*
* .google.cloud.dialogflow.v2.SuggestArticlesResponse suggest_articles_response = 2;
*
* @return Whether the suggestArticlesResponse field is set.
*/
boolean hasSuggestArticlesResponse();
/**
*
*
*
* SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
*
*
* .google.cloud.dialogflow.v2.SuggestArticlesResponse suggest_articles_response = 2;
*
* @return The suggestArticlesResponse.
*/
com.google.cloud.dialogflow.v2.SuggestArticlesResponse getSuggestArticlesResponse();
/**
*
*
*
* SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
*
*
* .google.cloud.dialogflow.v2.SuggestArticlesResponse suggest_articles_response = 2;
*/
com.google.cloud.dialogflow.v2.SuggestArticlesResponseOrBuilder
getSuggestArticlesResponseOrBuilder();
/**
*
*
*
* SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.
*
*
*
* .google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse suggest_knowledge_assist_response = 8;
*
*
* @return Whether the suggestKnowledgeAssistResponse field is set.
*/
boolean hasSuggestKnowledgeAssistResponse();
/**
*
*
*
* SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.
*
*
*
* .google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse suggest_knowledge_assist_response = 8;
*
*
* @return The suggestKnowledgeAssistResponse.
*/
com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse getSuggestKnowledgeAssistResponse();
/**
*
*
*
* SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.
*
*
*
* .google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse suggest_knowledge_assist_response = 8;
*
*/
com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponseOrBuilder
getSuggestKnowledgeAssistResponseOrBuilder();
/**
*
*
*
* SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
*
*
* .google.cloud.dialogflow.v2.SuggestFaqAnswersResponse suggest_faq_answers_response = 3;
*
*
* @return Whether the suggestFaqAnswersResponse field is set.
*/
boolean hasSuggestFaqAnswersResponse();
/**
*
*
*
* SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
*
*
* .google.cloud.dialogflow.v2.SuggestFaqAnswersResponse suggest_faq_answers_response = 3;
*
*
* @return The suggestFaqAnswersResponse.
*/
com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse getSuggestFaqAnswersResponse();
/**
*
*
*
* SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
*
*
* .google.cloud.dialogflow.v2.SuggestFaqAnswersResponse suggest_faq_answers_response = 3;
*
*/
com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponseOrBuilder
getSuggestFaqAnswersResponseOrBuilder();
/**
*
*
*
* SuggestSmartRepliesResponse if request is for SMART_REPLY.
*
*
*
* .google.cloud.dialogflow.v2.SuggestSmartRepliesResponse suggest_smart_replies_response = 4;
*
*
* @return Whether the suggestSmartRepliesResponse field is set.
*/
boolean hasSuggestSmartRepliesResponse();
/**
*
*
*
* SuggestSmartRepliesResponse if request is for SMART_REPLY.
*
*
*
* .google.cloud.dialogflow.v2.SuggestSmartRepliesResponse suggest_smart_replies_response = 4;
*
*
* @return The suggestSmartRepliesResponse.
*/
com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse getSuggestSmartRepliesResponse();
/**
*
*
*
* SuggestSmartRepliesResponse if request is for SMART_REPLY.
*
*
*
* .google.cloud.dialogflow.v2.SuggestSmartRepliesResponse suggest_smart_replies_response = 4;
*
*/
com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponseOrBuilder
getSuggestSmartRepliesResponseOrBuilder();
com.google.cloud.dialogflow.v2.SuggestionResult.SuggestionResponseCase
getSuggestionResponseCase();
}