Interface AnswerFeedbackOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AnswerFeedback, AnswerFeedback.Builder

@Generated public interface AnswerFeedbackOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getRatingValue

      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];
      Returns:
      The enum numeric value on the wire for rating.
    • getRating

       Optional. Rating from user for the specific Dialogflow response.
       
      .google.cloud.dialogflow.cx.v3beta1.AnswerFeedback.Rating rating = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The rating.
    • hasRatingReason

      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];
      Returns:
      Whether the ratingReason field is set.
    • getRatingReason

      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];
      Returns:
      The ratingReason.
    • getRatingReasonOrBuilder

      AnswerFeedback.RatingReasonOrBuilder getRatingReasonOrBuilder()
       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];
    • getCustomRating

      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];
      Returns:
      The customRating.
    • getCustomRatingBytes

      com.google.protobuf.ByteString getCustomRatingBytes()
       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];
      Returns:
      The bytes for customRating.