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 Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.intOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
AnswerFeedback.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.
-