public static enum PhraseMatchRuleGroup.PhraseMatchRuleGroupType extends Enum<PhraseMatchRuleGroup.PhraseMatchRuleGroupType> implements com.google.protobuf.ProtocolMessageEnum
Specifies how to combine each phrase match rule for whether there is a match.Protobuf enum
google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType| Enum Constant and Description |
|---|
ALL_OF
Must meet all phrase match rules or there is no match.
|
ANY_OF
If any of the phrase match rules are met, there is a match.
|
PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_OF_VALUE
Must meet all phrase match rules or there is no match.
|
static int |
ANY_OF_VALUE
If any of the phrase match rules are met, there is a match.
|
static int |
PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static PhraseMatchRuleGroup.PhraseMatchRuleGroupType |
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<PhraseMatchRuleGroup.PhraseMatchRuleGroupType> |
internalGetValueMap() |
static PhraseMatchRuleGroup.PhraseMatchRuleGroupType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PhraseMatchRuleGroup.PhraseMatchRuleGroupType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PhraseMatchRuleGroup.PhraseMatchRuleGroupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhraseMatchRuleGroup.PhraseMatchRuleGroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhraseMatchRuleGroup.PhraseMatchRuleGroupType PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED
Unspecified.
PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED = 0;public static final PhraseMatchRuleGroup.PhraseMatchRuleGroupType ALL_OF
Must meet all phrase match rules or there is no match.
ALL_OF = 1;public static final PhraseMatchRuleGroup.PhraseMatchRuleGroupType ANY_OF
If any of the phrase match rules are met, there is a match.
ANY_OF = 2;public static final PhraseMatchRuleGroup.PhraseMatchRuleGroupType UNRECOGNIZED
public static final int PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED_VALUE
Unspecified.
PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED = 0;public static final int ALL_OF_VALUE
Must meet all phrase match rules or there is no match.
ALL_OF = 1;public static final int ANY_OF_VALUE
If any of the phrase match rules are met, there is a match.
ANY_OF = 2;public static PhraseMatchRuleGroup.PhraseMatchRuleGroupType[] values()
for (PhraseMatchRuleGroup.PhraseMatchRuleGroupType c : PhraseMatchRuleGroup.PhraseMatchRuleGroupType.values()) System.out.println(c);
public static PhraseMatchRuleGroup.PhraseMatchRuleGroupType 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 PhraseMatchRuleGroup.PhraseMatchRuleGroupType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PhraseMatchRuleGroup.PhraseMatchRuleGroupType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PhraseMatchRuleGroup.PhraseMatchRuleGroupType> 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 PhraseMatchRuleGroup.PhraseMatchRuleGroupType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.