Enum FeedErrorEnum.FeedError
- java.lang.Object
-
- java.lang.Enum<FeedErrorEnum.FeedError>
-
- com.google.ads.googleads.v14.errors.FeedErrorEnum.FeedError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<FeedErrorEnum.FeedError>
- Enclosing class:
- FeedErrorEnum
public static enum FeedErrorEnum.FeedError extends java.lang.Enum<FeedErrorEnum.FeedError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible feed errors.
Protobuf enumgoogle.ads.googleads.v14.errors.FeedErrorEnum.FeedError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_NAMES_NOT_UNIQUE
The names of the FeedAttributes must be unique.ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES
The attribute list must be an exact copy of the existing list if the attribute ID's are present.BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT
Business account cannot access Business Profile.CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS
A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED
Cannot specify feed attributes for system feed.CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED
Cannot specify GOOGLE origin for a non-system generated feed.CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED
Cannot specify USER origin for a system generated feed.CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE
Cannot update FeedAttributes on feed with origin GOOGLE.DUPLICATE_FEED_NAME
Feed name matches that of another active Feed.DUPLICATE_SYSTEM_FEED
There is already a feed with the given system feed generation data.FEED_ORIGIN_IS_NOT_USER
A user can only create and modify feeds with USER origin.FEED_REMOVED
The given ID refers to a removed Feed.GMB_ACCESS_ERROR
An error occurred accessing Business Profile.INVALID_AFFILIATE_CHAIN_ID
Invalid chain ID provided for affiliate location feed.INVALID_AUTH_TOKEN_FOR_EMAIL
Invalid auth token for the given email.INVALID_BUSINESS_ACCOUNT
The business account is not valid.INVALID_EMAIL
Invalid email specified.INVALID_FEED_NAME
Name of feed is not allowed.INVALID_ORIGIN_VALUE
The origin of the feed is not valid for the client.LEGACY_EXTENSION_TYPE_READ_ONLY
Feed-based extension is read-only for this extension type.MISSING_OAUTH_INFO
Missing OAuthInfo.NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY
New FeedAttributes must not affect the unique key.TOO_MANY_ATTRIBUTES
Too many FeedAttributes for a Feed.UNKNOWN
The received error code is not known in this version.UNRECOGNIZED
UNSPECIFIED
Enum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static int
ATTRIBUTE_NAMES_NOT_UNIQUE_VALUE
The names of the FeedAttributes must be unique.static int
ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES_VALUE
The attribute list must be an exact copy of the existing list if the attribute ID's are present.static int
BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT_VALUE
Business account cannot access Business Profile.static int
CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS_VALUE
A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.static int
CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED_VALUE
Cannot specify feed attributes for system feed.static int
CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED_VALUE
Cannot specify GOOGLE origin for a non-system generated feed.static int
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED_VALUE
Cannot specify USER origin for a system generated feed.static int
CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE_VALUE
Cannot update FeedAttributes on feed with origin GOOGLE.static int
DUPLICATE_FEED_NAME_VALUE
Feed name matches that of another active Feed.static int
DUPLICATE_SYSTEM_FEED_VALUE
There is already a feed with the given system feed generation data.static int
FEED_ORIGIN_IS_NOT_USER_VALUE
A user can only create and modify feeds with USER origin.static int
FEED_REMOVED_VALUE
The given ID refers to a removed Feed.static int
GMB_ACCESS_ERROR_VALUE
An error occurred accessing Business Profile.static int
INVALID_AFFILIATE_CHAIN_ID_VALUE
Invalid chain ID provided for affiliate location feed.static int
INVALID_AUTH_TOKEN_FOR_EMAIL_VALUE
Invalid auth token for the given email.static int
INVALID_BUSINESS_ACCOUNT_VALUE
The business account is not valid.static int
INVALID_EMAIL_VALUE
Invalid email specified.static int
INVALID_FEED_NAME_VALUE
Name of feed is not allowed.static int
INVALID_ORIGIN_VALUE_VALUE
The origin of the feed is not valid for the client.static int
LEGACY_EXTENSION_TYPE_READ_ONLY_VALUE
Feed-based extension is read-only for this extension type.static int
MISSING_OAUTH_INFO_VALUE
Missing OAuthInfo.static int
NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY_VALUE
New FeedAttributes must not affect the unique key.static int
TOO_MANY_ATTRIBUTES_VALUE
Too many FeedAttributes for a Feed.static int
UNKNOWN_VALUE
The received error code is not known in this version.static int
UNSPECIFIED_VALUE
Enum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FeedErrorEnum.FeedError
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<FeedErrorEnum.FeedError>
internalGetValueMap()
static FeedErrorEnum.FeedError
valueOf(int value)
Deprecated.static FeedErrorEnum.FeedError
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static FeedErrorEnum.FeedError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FeedErrorEnum.FeedError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final FeedErrorEnum.FeedError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final FeedErrorEnum.FeedError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
ATTRIBUTE_NAMES_NOT_UNIQUE
public static final FeedErrorEnum.FeedError ATTRIBUTE_NAMES_NOT_UNIQUE
The names of the FeedAttributes must be unique.
ATTRIBUTE_NAMES_NOT_UNIQUE = 2;
-
ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES
public static final FeedErrorEnum.FeedError ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES
The attribute list must be an exact copy of the existing list if the attribute ID's are present.
ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3;
-
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED
public static final FeedErrorEnum.FeedError CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED
Cannot specify USER origin for a system generated feed.
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4;
-
CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED
public static final FeedErrorEnum.FeedError CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED
Cannot specify GOOGLE origin for a non-system generated feed.
CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5;
-
CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED
public static final FeedErrorEnum.FeedError CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED
Cannot specify feed attributes for system feed.
CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6;
-
CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE
public static final FeedErrorEnum.FeedError CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE
Cannot update FeedAttributes on feed with origin GOOGLE.
CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7;
-
FEED_REMOVED
public static final FeedErrorEnum.FeedError FEED_REMOVED
The given ID refers to a removed Feed. Removed Feeds are immutable.
FEED_REMOVED = 8;
-
INVALID_ORIGIN_VALUE
public static final FeedErrorEnum.FeedError INVALID_ORIGIN_VALUE
The origin of the feed is not valid for the client.
INVALID_ORIGIN_VALUE = 9;
-
FEED_ORIGIN_IS_NOT_USER
public static final FeedErrorEnum.FeedError FEED_ORIGIN_IS_NOT_USER
A user can only create and modify feeds with USER origin.
FEED_ORIGIN_IS_NOT_USER = 10;
-
INVALID_AUTH_TOKEN_FOR_EMAIL
public static final FeedErrorEnum.FeedError INVALID_AUTH_TOKEN_FOR_EMAIL
Invalid auth token for the given email.
INVALID_AUTH_TOKEN_FOR_EMAIL = 11;
-
INVALID_EMAIL
public static final FeedErrorEnum.FeedError INVALID_EMAIL
Invalid email specified.
INVALID_EMAIL = 12;
-
DUPLICATE_FEED_NAME
public static final FeedErrorEnum.FeedError DUPLICATE_FEED_NAME
Feed name matches that of another active Feed.
DUPLICATE_FEED_NAME = 13;
-
INVALID_FEED_NAME
public static final FeedErrorEnum.FeedError INVALID_FEED_NAME
Name of feed is not allowed.
INVALID_FEED_NAME = 14;
-
MISSING_OAUTH_INFO
public static final FeedErrorEnum.FeedError MISSING_OAUTH_INFO
Missing OAuthInfo.
MISSING_OAUTH_INFO = 15;
-
NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY
public static final FeedErrorEnum.FeedError NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY
New FeedAttributes must not affect the unique key.
NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16;
-
TOO_MANY_ATTRIBUTES
public static final FeedErrorEnum.FeedError TOO_MANY_ATTRIBUTES
Too many FeedAttributes for a Feed.
TOO_MANY_ATTRIBUTES = 17;
-
INVALID_BUSINESS_ACCOUNT
public static final FeedErrorEnum.FeedError INVALID_BUSINESS_ACCOUNT
The business account is not valid.
INVALID_BUSINESS_ACCOUNT = 18;
-
BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT
public static final FeedErrorEnum.FeedError BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT
Business account cannot access Business Profile.
BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19;
-
INVALID_AFFILIATE_CHAIN_ID
public static final FeedErrorEnum.FeedError INVALID_AFFILIATE_CHAIN_ID
Invalid chain ID provided for affiliate location feed.
INVALID_AFFILIATE_CHAIN_ID = 20;
-
DUPLICATE_SYSTEM_FEED
public static final FeedErrorEnum.FeedError DUPLICATE_SYSTEM_FEED
There is already a feed with the given system feed generation data.
DUPLICATE_SYSTEM_FEED = 21;
-
GMB_ACCESS_ERROR
public static final FeedErrorEnum.FeedError GMB_ACCESS_ERROR
An error occurred accessing Business Profile.
GMB_ACCESS_ERROR = 22;
-
CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS
public static final FeedErrorEnum.FeedError CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS
A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.
CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23;
-
LEGACY_EXTENSION_TYPE_READ_ONLY
public static final FeedErrorEnum.FeedError LEGACY_EXTENSION_TYPE_READ_ONLY
Feed-based extension is read-only for this extension type.
LEGACY_EXTENSION_TYPE_READ_ONLY = 24;
-
UNRECOGNIZED
public static final FeedErrorEnum.FeedError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;
- See Also:
- Constant Field Values
-
ATTRIBUTE_NAMES_NOT_UNIQUE_VALUE
public static final int ATTRIBUTE_NAMES_NOT_UNIQUE_VALUE
The names of the FeedAttributes must be unique.
ATTRIBUTE_NAMES_NOT_UNIQUE = 2;
- See Also:
- Constant Field Values
-
ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES_VALUE
public static final int ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES_VALUE
The attribute list must be an exact copy of the existing list if the attribute ID's are present.
ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3;
- See Also:
- Constant Field Values
-
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED_VALUE
public static final int CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED_VALUE
Cannot specify USER origin for a system generated feed.
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4;
- See Also:
- Constant Field Values
-
CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED_VALUE
public static final int CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED_VALUE
Cannot specify GOOGLE origin for a non-system generated feed.
CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5;
- See Also:
- Constant Field Values
-
CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED_VALUE
public static final int CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED_VALUE
Cannot specify feed attributes for system feed.
CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6;
- See Also:
- Constant Field Values
-
CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE_VALUE
public static final int CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE_VALUE
Cannot update FeedAttributes on feed with origin GOOGLE.
CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7;
- See Also:
- Constant Field Values
-
FEED_REMOVED_VALUE
public static final int FEED_REMOVED_VALUE
The given ID refers to a removed Feed. Removed Feeds are immutable.
FEED_REMOVED = 8;
- See Also:
- Constant Field Values
-
INVALID_ORIGIN_VALUE_VALUE
public static final int INVALID_ORIGIN_VALUE_VALUE
The origin of the feed is not valid for the client.
INVALID_ORIGIN_VALUE = 9;
- See Also:
- Constant Field Values
-
FEED_ORIGIN_IS_NOT_USER_VALUE
public static final int FEED_ORIGIN_IS_NOT_USER_VALUE
A user can only create and modify feeds with USER origin.
FEED_ORIGIN_IS_NOT_USER = 10;
- See Also:
- Constant Field Values
-
INVALID_AUTH_TOKEN_FOR_EMAIL_VALUE
public static final int INVALID_AUTH_TOKEN_FOR_EMAIL_VALUE
Invalid auth token for the given email.
INVALID_AUTH_TOKEN_FOR_EMAIL = 11;
- See Also:
- Constant Field Values
-
INVALID_EMAIL_VALUE
public static final int INVALID_EMAIL_VALUE
Invalid email specified.
INVALID_EMAIL = 12;
- See Also:
- Constant Field Values
-
DUPLICATE_FEED_NAME_VALUE
public static final int DUPLICATE_FEED_NAME_VALUE
Feed name matches that of another active Feed.
DUPLICATE_FEED_NAME = 13;
- See Also:
- Constant Field Values
-
INVALID_FEED_NAME_VALUE
public static final int INVALID_FEED_NAME_VALUE
Name of feed is not allowed.
INVALID_FEED_NAME = 14;
- See Also:
- Constant Field Values
-
MISSING_OAUTH_INFO_VALUE
public static final int MISSING_OAUTH_INFO_VALUE
Missing OAuthInfo.
MISSING_OAUTH_INFO = 15;
- See Also:
- Constant Field Values
-
NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY_VALUE
public static final int NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY_VALUE
New FeedAttributes must not affect the unique key.
NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16;
- See Also:
- Constant Field Values
-
TOO_MANY_ATTRIBUTES_VALUE
public static final int TOO_MANY_ATTRIBUTES_VALUE
Too many FeedAttributes for a Feed.
TOO_MANY_ATTRIBUTES = 17;
- See Also:
- Constant Field Values
-
INVALID_BUSINESS_ACCOUNT_VALUE
public static final int INVALID_BUSINESS_ACCOUNT_VALUE
The business account is not valid.
INVALID_BUSINESS_ACCOUNT = 18;
- See Also:
- Constant Field Values
-
BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT_VALUE
public static final int BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT_VALUE
Business account cannot access Business Profile.
BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19;
- See Also:
- Constant Field Values
-
INVALID_AFFILIATE_CHAIN_ID_VALUE
public static final int INVALID_AFFILIATE_CHAIN_ID_VALUE
Invalid chain ID provided for affiliate location feed.
INVALID_AFFILIATE_CHAIN_ID = 20;
- See Also:
- Constant Field Values
-
DUPLICATE_SYSTEM_FEED_VALUE
public static final int DUPLICATE_SYSTEM_FEED_VALUE
There is already a feed with the given system feed generation data.
DUPLICATE_SYSTEM_FEED = 21;
- See Also:
- Constant Field Values
-
GMB_ACCESS_ERROR_VALUE
public static final int GMB_ACCESS_ERROR_VALUE
An error occurred accessing Business Profile.
GMB_ACCESS_ERROR = 22;
- See Also:
- Constant Field Values
-
CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS_VALUE
public static final int CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS_VALUE
A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.
CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23;
- See Also:
- Constant Field Values
-
LEGACY_EXTENSION_TYPE_READ_ONLY_VALUE
public static final int LEGACY_EXTENSION_TYPE_READ_ONLY_VALUE
Feed-based extension is read-only for this extension type.
LEGACY_EXTENSION_TYPE_READ_ONLY = 24;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FeedErrorEnum.FeedError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FeedErrorEnum.FeedError c : FeedErrorEnum.FeedError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeedErrorEnum.FeedError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static FeedErrorEnum.FeedError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static FeedErrorEnum.FeedError forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<FeedErrorEnum.FeedError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static FeedErrorEnum.FeedError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-