public static enum KnowledgeAnswers.Answer.MatchConfidenceLevel extends Enum<KnowledgeAnswers.Answer.MatchConfidenceLevel> implements com.google.protobuf.ProtocolMessageEnum
Represents the system's confidence that this knowledge answer is a good match for this conversational query.Protobuf enum
google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer.MatchConfidenceLevel| Enum Constant and Description |
|---|
HIGH
Indicates our confidence is high.
|
LOW
Indicates that the confidence is low.
|
MATCH_CONFIDENCE_LEVEL_UNSPECIFIED
Not specified.
|
MEDIUM
Indicates our confidence is medium.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HIGH_VALUE
Indicates our confidence is high.
|
static int |
LOW_VALUE
Indicates that the confidence is low.
|
static int |
MATCH_CONFIDENCE_LEVEL_UNSPECIFIED_VALUE
Not specified.
|
static int |
MEDIUM_VALUE
Indicates our confidence is medium.
|
| Modifier and Type | Method and Description |
|---|---|
static KnowledgeAnswers.Answer.MatchConfidenceLevel |
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<KnowledgeAnswers.Answer.MatchConfidenceLevel> |
internalGetValueMap() |
static KnowledgeAnswers.Answer.MatchConfidenceLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static KnowledgeAnswers.Answer.MatchConfidenceLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static KnowledgeAnswers.Answer.MatchConfidenceLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KnowledgeAnswers.Answer.MatchConfidenceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KnowledgeAnswers.Answer.MatchConfidenceLevel MATCH_CONFIDENCE_LEVEL_UNSPECIFIED
Not specified.
MATCH_CONFIDENCE_LEVEL_UNSPECIFIED = 0;public static final KnowledgeAnswers.Answer.MatchConfidenceLevel LOW
Indicates that the confidence is low.
LOW = 1;public static final KnowledgeAnswers.Answer.MatchConfidenceLevel MEDIUM
Indicates our confidence is medium.
MEDIUM = 2;public static final KnowledgeAnswers.Answer.MatchConfidenceLevel HIGH
Indicates our confidence is high.
HIGH = 3;public static final KnowledgeAnswers.Answer.MatchConfidenceLevel UNRECOGNIZED
public static final int MATCH_CONFIDENCE_LEVEL_UNSPECIFIED_VALUE
Not specified.
MATCH_CONFIDENCE_LEVEL_UNSPECIFIED = 0;public static final int LOW_VALUE
Indicates that the confidence is low.
LOW = 1;public static final int MEDIUM_VALUE
Indicates our confidence is medium.
MEDIUM = 2;public static final int HIGH_VALUE
Indicates our confidence is high.
HIGH = 3;public static KnowledgeAnswers.Answer.MatchConfidenceLevel[] values()
for (KnowledgeAnswers.Answer.MatchConfidenceLevel c : KnowledgeAnswers.Answer.MatchConfidenceLevel.values()) System.out.println(c);
public static KnowledgeAnswers.Answer.MatchConfidenceLevel 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 KnowledgeAnswers.Answer.MatchConfidenceLevel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static KnowledgeAnswers.Answer.MatchConfidenceLevel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<KnowledgeAnswers.Answer.MatchConfidenceLevel> 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 KnowledgeAnswers.Answer.MatchConfidenceLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.