com.google.cloud.dialogflow.cx.v3beta1.AnswerFeedbackOrBuilder 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-cx-v3beta1 Show documentation
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
PROTO library for proto-google-cloud-dialogflow-cx-v3beta1
/*
* 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/cx/v3beta1/session.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.dialogflow.cx.v3beta1;
public interface AnswerFeedbackOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.AnswerFeedback)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. Rating from user for the specific Dialogflow response.
*
*
*
* .google.cloud.dialogflow.cx.v3beta1.AnswerFeedback.Rating rating = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The enum numeric value on the wire for rating.
*/
int getRatingValue();
/**
*
*
*
* Optional. Rating from user for the specific Dialogflow response.
*
*
*
* .google.cloud.dialogflow.cx.v3beta1.AnswerFeedback.Rating rating = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The rating.
*/
com.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback.Rating getRating();
/**
*
*
*
* Optional. In case of thumbs down rating provided, users can optionally
* provide context about the rating.
*
*
*
* .google.cloud.dialogflow.cx.v3beta1.AnswerFeedback.RatingReason rating_reason = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the ratingReason field is set.
*/
boolean hasRatingReason();
/**
*
*
*
* Optional. In case of thumbs down rating provided, users can optionally
* provide context about the rating.
*
*
*
* .google.cloud.dialogflow.cx.v3beta1.AnswerFeedback.RatingReason rating_reason = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The ratingReason.
*/
com.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback.RatingReason getRatingReason();
/**
*
*
*
* Optional. In case of thumbs down rating provided, users can optionally
* provide context about the rating.
*
*
*
* .google.cloud.dialogflow.cx.v3beta1.AnswerFeedback.RatingReason rating_reason = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback.RatingReasonOrBuilder
getRatingReasonOrBuilder();
/**
*
*
*
* Optional. Custom rating from the user about the provided answer, with
* maximum length of 1024 characters. For example, client could use a
* customized JSON object to indicate the rating.
*
*
* string custom_rating = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The customRating.
*/
java.lang.String getCustomRating();
/**
*
*
*
* Optional. Custom rating from the user about the provided answer, with
* maximum length of 1024 characters. For example, client could use a
* customized JSON object to indicate the rating.
*
*
* string custom_rating = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for customRating.
*/
com.google.protobuf.ByteString getCustomRatingBytes();
}