Interface AnswerFeedback.RatingReasonOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnswerFeedback.RatingReason,AnswerFeedback.RatingReason.Builder
- Enclosing class:
- AnswerFeedback
public static interface AnswerFeedback.RatingReasonOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.getReasonLabels(int index) Optional.com.google.protobuf.ByteStringgetReasonLabelsBytes(int index) Optional.intOptional.Optional.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
-
getReasonLabelsList
Optional. Custom reason labels for thumbs down rating provided by the user. The maximum number of labels allowed is 10 and the maximum length of a single label is 128 characters.
repeated string reason_labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the reasonLabels.
-
getReasonLabelsCount
int getReasonLabelsCount()Optional. Custom reason labels for thumbs down rating provided by the user. The maximum number of labels allowed is 10 and the maximum length of a single label is 128 characters.
repeated string reason_labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of reasonLabels.
-
getReasonLabels
Optional. Custom reason labels for thumbs down rating provided by the user. The maximum number of labels allowed is 10 and the maximum length of a single label is 128 characters.
repeated string reason_labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The reasonLabels at the given index.
-
getReasonLabelsBytes
com.google.protobuf.ByteString getReasonLabelsBytes(int index) Optional. Custom reason labels for thumbs down rating provided by the user. The maximum number of labels allowed is 10 and the maximum length of a single label is 128 characters.
repeated string reason_labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the reasonLabels at the given index.
-
getFeedback
String getFeedback()Optional. Additional feedback about the rating. This field can be populated without choosing a predefined `reason`.
string feedback = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The feedback.
-
getFeedbackBytes
com.google.protobuf.ByteString getFeedbackBytes()Optional. Additional feedback about the rating. This field can be populated without choosing a predefined `reason`.
string feedback = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for feedback.
-