public static final class AnswerFeedback.RatingReason.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder> implements AnswerFeedback.RatingReasonOrBuilder
Stores extra information about why users provided thumbs down rating.Protobuf type
google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingReasongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public AnswerFeedback.RatingReason.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public AnswerFeedback.RatingReason getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AnswerFeedback.RatingReason build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AnswerFeedback.RatingReason buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AnswerFeedback.RatingReason.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public AnswerFeedback.RatingReason.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public AnswerFeedback.RatingReason.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public AnswerFeedback.RatingReason.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public AnswerFeedback.RatingReason.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public AnswerFeedback.RatingReason.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public AnswerFeedback.RatingReason.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnswerFeedback.RatingReason.Builder>public AnswerFeedback.RatingReason.Builder mergeFrom(AnswerFeedback.RatingReason other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public AnswerFeedback.RatingReason.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnswerFeedback.RatingReason.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList 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];getReasonLabelsList in interface AnswerFeedback.RatingReasonOrBuilderpublic 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];getReasonLabelsCount in interface AnswerFeedback.RatingReasonOrBuilderpublic String getReasonLabels(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];getReasonLabels in interface AnswerFeedback.RatingReasonOrBuilderindex - The index of the element to return.public 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];getReasonLabelsBytes in interface AnswerFeedback.RatingReasonOrBuilderindex - The index of the value to return.public AnswerFeedback.RatingReason.Builder setReasonLabels(int index, String value)
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];index - The index to set the value at.value - The reasonLabels to set.public AnswerFeedback.RatingReason.Builder addReasonLabels(String value)
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];value - The reasonLabels to add.public AnswerFeedback.RatingReason.Builder addAllReasonLabels(Iterable<String> values)
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];values - The reasonLabels to add.public AnswerFeedback.RatingReason.Builder clearReasonLabels()
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];public AnswerFeedback.RatingReason.Builder addReasonLabelsBytes(com.google.protobuf.ByteString value)
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];value - The bytes of the reasonLabels to add.public 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];getFeedback in interface AnswerFeedback.RatingReasonOrBuilderpublic 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];getFeedbackBytes in interface AnswerFeedback.RatingReasonOrBuilderpublic AnswerFeedback.RatingReason.Builder setFeedback(String value)
Optional. Additional feedback about the rating. This field can be populated without choosing a predefined `reason`.
string feedback = 2 [(.google.api.field_behavior) = OPTIONAL];value - The feedback to set.public AnswerFeedback.RatingReason.Builder clearFeedback()
Optional. Additional feedback about the rating. This field can be populated without choosing a predefined `reason`.
string feedback = 2 [(.google.api.field_behavior) = OPTIONAL];public AnswerFeedback.RatingReason.Builder setFeedbackBytes(com.google.protobuf.ByteString value)
Optional. Additional feedback about the rating. This field can be populated without choosing a predefined `reason`.
string feedback = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for feedback to set.public final AnswerFeedback.RatingReason.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>public final AnswerFeedback.RatingReason.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnswerFeedback.RatingReason.Builder>Copyright © 2025 Google LLC. All rights reserved.