Enum UserListErrorEnum.UserListError
- java.lang.Object
-
- java.lang.Enum<UserListErrorEnum.UserListError>
-
- com.google.ads.googleads.v10.errors.UserListErrorEnum.UserListError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<UserListErrorEnum.UserListError>
- Enclosing class:
- UserListErrorEnum
public static enum UserListErrorEnum.UserListError extends java.lang.Enum<UserListErrorEnum.UserListError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible user list errors.
Protobuf enumgoogle.ads.googleads.v10.errors.UserListErrorEnum.UserListError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATAAdvertiser needs to be on the allow-list to use remarketing lists created from advertiser uploaded data (e.g., Customer Match lists).APP_ID_NOT_SETcrm_based_user_list.app_id field must be set when upload_key_type is MOBILE_ADVERTISING_ID.CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERANDSimilar user list cannot be used as a logical user list operand.CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERANDEmbedded logical user lists are not allowed.CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTSLogical user list should not have a mix of CRM based user list and other types of lists in its rules.CAN_NOT_MUTATE_SENSITIVE_USERLISTA UserList which is privacy sensitive or legal rejected cannot be mutated by external users.CANNOT_MODIFY_BILLABLE_RECORD_COUNTBasicUserList's billable record field cannot be modified once it is set.CONCRETE_TYPE_REQUIREDConcrete type of user list is required.CONVERSION_TYPE_ID_REQUIREDCreating/updating user list conversion types requires specifying the conversion type Id.CONVERSION_TYPE_NAME_ALREADY_USEDThe given conversion type name has been used.DUPLICATE_CONVERSION_TYPESRemarketing user list cannot have duplicate conversion types.EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTEDCreating and updating external remarketing user lists is not supported.INVALID_CONVERSION_TYPEConversion type is invalid/unknown.INVALID_DATE_RANGEThe specified date range is empty.INVALID_DESCRIPTIONUser list description is empty or invalid.INVALID_NAMEUser list name is empty or invalid.INVALID_RULERule is invalid.INVALID_TYPEType of the UserList does not match.INVALID_USER_LIST_LOGICAL_RULE_OPERANDUser list rule operand is invalid.MAX_NUM_RULEBASED_USERLISTSMaximum number of rulebased user lists a customer can have.NAME_ALREADY_USEDName is already being used for another user list for the account.NEW_CONVERSION_TYPE_NAME_REQUIREDName is required when creating a new conversion type.OWNERSHIP_REQUIRED_FOR_SETOnly an owner account may edit a user list.RULE_TYPE_IS_NOT_SUPPORTEDThe provided rule_type is not supported for the user list.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.USER_LIST_MUTATE_NOT_SUPPORTEDCreating user list without setting type in oneof user_list field, or creating/updating read-only user list types is not allowed.USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LISTName of the user list is reserved for system generated lists and cannot be used.
-
Field Summary
Fields Modifier and Type Field Description static intADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA_VALUEAdvertiser needs to be on the allow-list to use remarketing lists created from advertiser uploaded data (e.g., Customer Match lists).static intAPP_ID_NOT_SET_VALUEcrm_based_user_list.app_id field must be set when upload_key_type is MOBILE_ADVERTISING_ID.static intCAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND_VALUESimilar user list cannot be used as a logical user list operand.static intCAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND_VALUEEmbedded logical user lists are not allowed.static intCAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS_VALUELogical user list should not have a mix of CRM based user list and other types of lists in its rules.static intCAN_NOT_MUTATE_SENSITIVE_USERLIST_VALUEA UserList which is privacy sensitive or legal rejected cannot be mutated by external users.static intCANNOT_MODIFY_BILLABLE_RECORD_COUNT_VALUEBasicUserList's billable record field cannot be modified once it is set.static intCONCRETE_TYPE_REQUIRED_VALUEConcrete type of user list is required.static intCONVERSION_TYPE_ID_REQUIRED_VALUECreating/updating user list conversion types requires specifying the conversion type Id.static intCONVERSION_TYPE_NAME_ALREADY_USED_VALUEThe given conversion type name has been used.static intDUPLICATE_CONVERSION_TYPES_VALUERemarketing user list cannot have duplicate conversion types.static intEXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED_VALUECreating and updating external remarketing user lists is not supported.static intINVALID_CONVERSION_TYPE_VALUEConversion type is invalid/unknown.static intINVALID_DATE_RANGE_VALUEThe specified date range is empty.static intINVALID_DESCRIPTION_VALUEUser list description is empty or invalid.static intINVALID_NAME_VALUEUser list name is empty or invalid.static intINVALID_RULE_VALUERule is invalid.static intINVALID_TYPE_VALUEType of the UserList does not match.static intINVALID_USER_LIST_LOGICAL_RULE_OPERAND_VALUEUser list rule operand is invalid.static intMAX_NUM_RULEBASED_USERLISTS_VALUEMaximum number of rulebased user lists a customer can have.static intNAME_ALREADY_USED_VALUEName is already being used for another user list for the account.static intNEW_CONVERSION_TYPE_NAME_REQUIRED_VALUEName is required when creating a new conversion type.static intOWNERSHIP_REQUIRED_FOR_SET_VALUEOnly an owner account may edit a user list.static intRULE_TYPE_IS_NOT_SUPPORTED_VALUEThe provided rule_type is not supported for the user list.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intUSER_LIST_MUTATE_NOT_SUPPORTED_VALUECreating user list without setting type in oneof user_list field, or creating/updating read-only user list types is not allowed.static intUSERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST_VALUEName of the user list is reserved for system generated lists and cannot be used.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UserListErrorEnum.UserListErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<UserListErrorEnum.UserListError>internalGetValueMap()static UserListErrorEnum.UserListErrorvalueOf(int value)Deprecated.static UserListErrorEnum.UserListErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static UserListErrorEnum.UserListErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UserListErrorEnum.UserListError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final UserListErrorEnum.UserListError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final UserListErrorEnum.UserListError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED
public static final UserListErrorEnum.UserListError EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED
Creating and updating external remarketing user lists is not supported.
EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2;
-
CONCRETE_TYPE_REQUIRED
public static final UserListErrorEnum.UserListError CONCRETE_TYPE_REQUIRED
Concrete type of user list is required.
CONCRETE_TYPE_REQUIRED = 3;
-
CONVERSION_TYPE_ID_REQUIRED
public static final UserListErrorEnum.UserListError CONVERSION_TYPE_ID_REQUIRED
Creating/updating user list conversion types requires specifying the conversion type Id.
CONVERSION_TYPE_ID_REQUIRED = 4;
-
DUPLICATE_CONVERSION_TYPES
public static final UserListErrorEnum.UserListError DUPLICATE_CONVERSION_TYPES
Remarketing user list cannot have duplicate conversion types.
DUPLICATE_CONVERSION_TYPES = 5;
-
INVALID_CONVERSION_TYPE
public static final UserListErrorEnum.UserListError INVALID_CONVERSION_TYPE
Conversion type is invalid/unknown.
INVALID_CONVERSION_TYPE = 6;
-
INVALID_DESCRIPTION
public static final UserListErrorEnum.UserListError INVALID_DESCRIPTION
User list description is empty or invalid.
INVALID_DESCRIPTION = 7;
-
INVALID_NAME
public static final UserListErrorEnum.UserListError INVALID_NAME
User list name is empty or invalid.
INVALID_NAME = 8;
-
INVALID_TYPE
public static final UserListErrorEnum.UserListError INVALID_TYPE
Type of the UserList does not match.
INVALID_TYPE = 9;
-
CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND
public static final UserListErrorEnum.UserListError CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND
Embedded logical user lists are not allowed.
CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10;
-
INVALID_USER_LIST_LOGICAL_RULE_OPERAND
public static final UserListErrorEnum.UserListError INVALID_USER_LIST_LOGICAL_RULE_OPERAND
User list rule operand is invalid.
INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11;
-
NAME_ALREADY_USED
public static final UserListErrorEnum.UserListError NAME_ALREADY_USED
Name is already being used for another user list for the account.
NAME_ALREADY_USED = 12;
-
NEW_CONVERSION_TYPE_NAME_REQUIRED
public static final UserListErrorEnum.UserListError NEW_CONVERSION_TYPE_NAME_REQUIRED
Name is required when creating a new conversion type.
NEW_CONVERSION_TYPE_NAME_REQUIRED = 13;
-
CONVERSION_TYPE_NAME_ALREADY_USED
public static final UserListErrorEnum.UserListError CONVERSION_TYPE_NAME_ALREADY_USED
The given conversion type name has been used.
CONVERSION_TYPE_NAME_ALREADY_USED = 14;
-
OWNERSHIP_REQUIRED_FOR_SET
public static final UserListErrorEnum.UserListError OWNERSHIP_REQUIRED_FOR_SET
Only an owner account may edit a user list.
OWNERSHIP_REQUIRED_FOR_SET = 15;
-
USER_LIST_MUTATE_NOT_SUPPORTED
public static final UserListErrorEnum.UserListError USER_LIST_MUTATE_NOT_SUPPORTED
Creating user list without setting type in oneof user_list field, or creating/updating read-only user list types is not allowed.
USER_LIST_MUTATE_NOT_SUPPORTED = 16;
-
INVALID_RULE
public static final UserListErrorEnum.UserListError INVALID_RULE
Rule is invalid.
INVALID_RULE = 17;
-
INVALID_DATE_RANGE
public static final UserListErrorEnum.UserListError INVALID_DATE_RANGE
The specified date range is empty.
INVALID_DATE_RANGE = 27;
-
CAN_NOT_MUTATE_SENSITIVE_USERLIST
public static final UserListErrorEnum.UserListError CAN_NOT_MUTATE_SENSITIVE_USERLIST
A UserList which is privacy sensitive or legal rejected cannot be mutated by external users.
CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28;
-
MAX_NUM_RULEBASED_USERLISTS
public static final UserListErrorEnum.UserListError MAX_NUM_RULEBASED_USERLISTS
Maximum number of rulebased user lists a customer can have.
MAX_NUM_RULEBASED_USERLISTS = 29;
-
CANNOT_MODIFY_BILLABLE_RECORD_COUNT
public static final UserListErrorEnum.UserListError CANNOT_MODIFY_BILLABLE_RECORD_COUNT
BasicUserList's billable record field cannot be modified once it is set.
CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30;
-
APP_ID_NOT_SET
public static final UserListErrorEnum.UserListError APP_ID_NOT_SET
crm_based_user_list.app_id field must be set when upload_key_type is MOBILE_ADVERTISING_ID.
APP_ID_NOT_SET = 31;
-
USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST
public static final UserListErrorEnum.UserListError USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST
Name of the user list is reserved for system generated lists and cannot be used.
USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32;
-
ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA
public static final UserListErrorEnum.UserListError ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA
Advertiser needs to be on the allow-list to use remarketing lists created from advertiser uploaded data (e.g., Customer Match lists).
ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA = 37;
-
RULE_TYPE_IS_NOT_SUPPORTED
public static final UserListErrorEnum.UserListError RULE_TYPE_IS_NOT_SUPPORTED
The provided rule_type is not supported for the user list.
RULE_TYPE_IS_NOT_SUPPORTED = 34;
-
CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND
public static final UserListErrorEnum.UserListError CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND
Similar user list cannot be used as a logical user list operand.
CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35;
-
CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS
public static final UserListErrorEnum.UserListError CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS
Logical user list should not have a mix of CRM based user list and other types of lists in its rules.
CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36;
-
UNRECOGNIZED
public static final UserListErrorEnum.UserListError 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
-
EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED_VALUE
public static final int EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED_VALUE
Creating and updating external remarketing user lists is not supported.
EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2;- See Also:
- Constant Field Values
-
CONCRETE_TYPE_REQUIRED_VALUE
public static final int CONCRETE_TYPE_REQUIRED_VALUE
Concrete type of user list is required.
CONCRETE_TYPE_REQUIRED = 3;- See Also:
- Constant Field Values
-
CONVERSION_TYPE_ID_REQUIRED_VALUE
public static final int CONVERSION_TYPE_ID_REQUIRED_VALUE
Creating/updating user list conversion types requires specifying the conversion type Id.
CONVERSION_TYPE_ID_REQUIRED = 4;- See Also:
- Constant Field Values
-
DUPLICATE_CONVERSION_TYPES_VALUE
public static final int DUPLICATE_CONVERSION_TYPES_VALUE
Remarketing user list cannot have duplicate conversion types.
DUPLICATE_CONVERSION_TYPES = 5;- See Also:
- Constant Field Values
-
INVALID_CONVERSION_TYPE_VALUE
public static final int INVALID_CONVERSION_TYPE_VALUE
Conversion type is invalid/unknown.
INVALID_CONVERSION_TYPE = 6;- See Also:
- Constant Field Values
-
INVALID_DESCRIPTION_VALUE
public static final int INVALID_DESCRIPTION_VALUE
User list description is empty or invalid.
INVALID_DESCRIPTION = 7;- See Also:
- Constant Field Values
-
INVALID_NAME_VALUE
public static final int INVALID_NAME_VALUE
User list name is empty or invalid.
INVALID_NAME = 8;- See Also:
- Constant Field Values
-
INVALID_TYPE_VALUE
public static final int INVALID_TYPE_VALUE
Type of the UserList does not match.
INVALID_TYPE = 9;- See Also:
- Constant Field Values
-
CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND_VALUE
public static final int CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND_VALUE
Embedded logical user lists are not allowed.
CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10;- See Also:
- Constant Field Values
-
INVALID_USER_LIST_LOGICAL_RULE_OPERAND_VALUE
public static final int INVALID_USER_LIST_LOGICAL_RULE_OPERAND_VALUE
User list rule operand is invalid.
INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11;- See Also:
- Constant Field Values
-
NAME_ALREADY_USED_VALUE
public static final int NAME_ALREADY_USED_VALUE
Name is already being used for another user list for the account.
NAME_ALREADY_USED = 12;- See Also:
- Constant Field Values
-
NEW_CONVERSION_TYPE_NAME_REQUIRED_VALUE
public static final int NEW_CONVERSION_TYPE_NAME_REQUIRED_VALUE
Name is required when creating a new conversion type.
NEW_CONVERSION_TYPE_NAME_REQUIRED = 13;- See Also:
- Constant Field Values
-
CONVERSION_TYPE_NAME_ALREADY_USED_VALUE
public static final int CONVERSION_TYPE_NAME_ALREADY_USED_VALUE
The given conversion type name has been used.
CONVERSION_TYPE_NAME_ALREADY_USED = 14;- See Also:
- Constant Field Values
-
OWNERSHIP_REQUIRED_FOR_SET_VALUE
public static final int OWNERSHIP_REQUIRED_FOR_SET_VALUE
Only an owner account may edit a user list.
OWNERSHIP_REQUIRED_FOR_SET = 15;- See Also:
- Constant Field Values
-
USER_LIST_MUTATE_NOT_SUPPORTED_VALUE
public static final int USER_LIST_MUTATE_NOT_SUPPORTED_VALUE
Creating user list without setting type in oneof user_list field, or creating/updating read-only user list types is not allowed.
USER_LIST_MUTATE_NOT_SUPPORTED = 16;- See Also:
- Constant Field Values
-
INVALID_RULE_VALUE
public static final int INVALID_RULE_VALUE
Rule is invalid.
INVALID_RULE = 17;- See Also:
- Constant Field Values
-
INVALID_DATE_RANGE_VALUE
public static final int INVALID_DATE_RANGE_VALUE
The specified date range is empty.
INVALID_DATE_RANGE = 27;- See Also:
- Constant Field Values
-
CAN_NOT_MUTATE_SENSITIVE_USERLIST_VALUE
public static final int CAN_NOT_MUTATE_SENSITIVE_USERLIST_VALUE
A UserList which is privacy sensitive or legal rejected cannot be mutated by external users.
CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28;- See Also:
- Constant Field Values
-
MAX_NUM_RULEBASED_USERLISTS_VALUE
public static final int MAX_NUM_RULEBASED_USERLISTS_VALUE
Maximum number of rulebased user lists a customer can have.
MAX_NUM_RULEBASED_USERLISTS = 29;- See Also:
- Constant Field Values
-
CANNOT_MODIFY_BILLABLE_RECORD_COUNT_VALUE
public static final int CANNOT_MODIFY_BILLABLE_RECORD_COUNT_VALUE
BasicUserList's billable record field cannot be modified once it is set.
CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30;- See Also:
- Constant Field Values
-
APP_ID_NOT_SET_VALUE
public static final int APP_ID_NOT_SET_VALUE
crm_based_user_list.app_id field must be set when upload_key_type is MOBILE_ADVERTISING_ID.
APP_ID_NOT_SET = 31;- See Also:
- Constant Field Values
-
USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST_VALUE
public static final int USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST_VALUE
Name of the user list is reserved for system generated lists and cannot be used.
USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32;- See Also:
- Constant Field Values
-
ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA_VALUE
public static final int ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA_VALUE
Advertiser needs to be on the allow-list to use remarketing lists created from advertiser uploaded data (e.g., Customer Match lists).
ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA = 37;- See Also:
- Constant Field Values
-
RULE_TYPE_IS_NOT_SUPPORTED_VALUE
public static final int RULE_TYPE_IS_NOT_SUPPORTED_VALUE
The provided rule_type is not supported for the user list.
RULE_TYPE_IS_NOT_SUPPORTED = 34;- See Also:
- Constant Field Values
-
CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND_VALUE
public static final int CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND_VALUE
Similar user list cannot be used as a logical user list operand.
CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35;- See Also:
- Constant Field Values
-
CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS_VALUE
public static final int CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS_VALUE
Logical user list should not have a mix of CRM based user list and other types of lists in its rules.
CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static UserListErrorEnum.UserListError[] 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 (UserListErrorEnum.UserListError c : UserListErrorEnum.UserListError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserListErrorEnum.UserListError 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static UserListErrorEnum.UserListError 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 UserListErrorEnum.UserListError 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<UserListErrorEnum.UserListError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static UserListErrorEnum.UserListError 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
-
-