public enum LabelEntityAssociationErrorReason extends Enum<LabelEntityAssociationErrorReason>
Java class for LabelEntityAssociationError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LabelEntityAssociationError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DUPLICATE_ASSOCIATION"/>
<enumeration value="INVALID_ASSOCIATION"/>
<enumeration value="DUPLICATE_ASSOCIATION_WITH_NEGATION"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DUPLICATE_ASSOCIATION
The label has already been attached to the entity.
|
DUPLICATE_ASSOCIATION_WITH_NEGATION
The same label is being applied and negated to the same entity.
|
INVALID_ASSOCIATION
A label is being applied to an entity that does not support that entity
type.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static LabelEntityAssociationErrorReason |
fromValue(String v) |
String |
value() |
static LabelEntityAssociationErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelEntityAssociationErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelEntityAssociationErrorReason DUPLICATE_ASSOCIATION
public static final LabelEntityAssociationErrorReason INVALID_ASSOCIATION
public static final LabelEntityAssociationErrorReason DUPLICATE_ASSOCIATION_WITH_NEGATION
public static final LabelEntityAssociationErrorReason UNKNOWN
public static LabelEntityAssociationErrorReason[] values()
for (LabelEntityAssociationErrorReason c : LabelEntityAssociationErrorReason.values()) System.out.println(c);
public static LabelEntityAssociationErrorReason 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 String value()
public static LabelEntityAssociationErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.