public static enum KnowledgeAnswers.Answer.MatchConfidenceLevel extends Enum<KnowledgeAnswers.Answer.MatchConfidenceLevel> implements 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 Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<KnowledgeAnswers.Answer.MatchConfidenceLevel> |
internalGetValueMap() |
static KnowledgeAnswers.Answer.MatchConfidenceLevel |
valueOf(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 Internal.EnumLite
getNumber
in interface 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 Internal.EnumLiteMap<KnowledgeAnswers.Answer.MatchConfidenceLevel> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static KnowledgeAnswers.Answer.MatchConfidenceLevel valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.