Interface AnswerFeedbackOrBuilder (0.44.0)

public interface AnswerFeedbackOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomRating()

public abstract 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
Type Description
String

The customRating.

getCustomRatingBytes()

public abstract 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
Type Description
ByteString

The bytes for customRating.

getRating()

public abstract AnswerFeedback.Rating getRating()

Optional. Rating from user for the specific Dialogflow response.

.google.cloud.dialogflow.cx.v3.AnswerFeedback.Rating rating = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AnswerFeedback.Rating

The rating.

getRatingReason()

public abstract AnswerFeedback.RatingReason getRatingReason()

Optional. In case of thumbs down rating provided, users can optionally provide context about the rating.

.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingReason rating_reason = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AnswerFeedback.RatingReason

The ratingReason.

getRatingReasonOrBuilder()

public abstract AnswerFeedback.RatingReasonOrBuilder getRatingReasonOrBuilder()

Optional. In case of thumbs down rating provided, users can optionally provide context about the rating.

.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingReason rating_reason = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AnswerFeedback.RatingReasonOrBuilder

getRatingValue()

public abstract int getRatingValue()

Optional. Rating from user for the specific Dialogflow response.

.google.cloud.dialogflow.cx.v3.AnswerFeedback.Rating rating = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for rating.

hasRatingReason()

public abstract boolean hasRatingReason()

Optional. In case of thumbs down rating provided, users can optionally provide context about the rating.

.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingReason rating_reason = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ratingReason field is set.