- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public interface AnswerFeedbackOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |