public static enum AnswerFeedback.Rating extends Enum<AnswerFeedback.Rating> implements com.google.protobuf.ProtocolMessageEnum
Represents thumbs up/down rating provided by user about a response.Protobuf enum
google.cloud.dialogflow.cx.v3.AnswerFeedback.Rating| Enum Constant and Description |
|---|
RATING_UNSPECIFIED
Rating not specified.
|
THUMBS_DOWN
Thumbs down feedback from user.
|
THUMBS_UP
Thumbs up feedback from user.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
RATING_UNSPECIFIED_VALUE
Rating not specified.
|
static int |
THUMBS_DOWN_VALUE
Thumbs down feedback from user.
|
static int |
THUMBS_UP_VALUE
Thumbs up feedback from user.
|
| Modifier and Type | Method and Description |
|---|---|
static AnswerFeedback.Rating |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<AnswerFeedback.Rating> |
internalGetValueMap() |
static AnswerFeedback.Rating |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AnswerFeedback.Rating |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AnswerFeedback.Rating |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnswerFeedback.Rating[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnswerFeedback.Rating RATING_UNSPECIFIED
Rating not specified.
RATING_UNSPECIFIED = 0;public static final AnswerFeedback.Rating THUMBS_UP
Thumbs up feedback from user.
THUMBS_UP = 1;public static final AnswerFeedback.Rating THUMBS_DOWN
Thumbs down feedback from user.
THUMBS_DOWN = 2;public static final AnswerFeedback.Rating UNRECOGNIZED
public static final int RATING_UNSPECIFIED_VALUE
Rating not specified.
RATING_UNSPECIFIED = 0;public static final int THUMBS_UP_VALUE
Thumbs up feedback from user.
THUMBS_UP = 1;public static final int THUMBS_DOWN_VALUE
Thumbs down feedback from user.
THUMBS_DOWN = 2;public static AnswerFeedback.Rating[] values()
for (AnswerFeedback.Rating c : AnswerFeedback.Rating.values()) System.out.println(c);
public static AnswerFeedback.Rating valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static AnswerFeedback.Rating valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AnswerFeedback.Rating forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AnswerFeedback.Rating> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AnswerFeedback.Rating valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.