Enum Class AssetErrorEnum.AssetError
java.lang.Object
java.lang.Enum<AssetErrorEnum.AssetError>
com.google.ads.googleads.v18.errors.AssetErrorEnum.AssetError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AssetErrorEnum.AssetError>,Constable
- Enclosing class:
- AssetErrorEnum
public static enum AssetErrorEnum.AssetError
extends Enum<AssetErrorEnum.AssetError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible asset errors.Protobuf enum
google.ads.googleads.v18.errors.AssetErrorEnum.AssetError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Asset.asset_data oneof is empty.Carrier specific short number is not allowed.Customer consent required for call recording Terms of Service.The type of the specified phone number is not allowed.If the default call_conversion_action is not used, the customer must have a ConversionAction with the same id and the ConversionAction must be call conversion type.The country code of the phone number is invalid.The format of the phone number is incorrect.The input phone number is not a valid phone number.The phone number is not supported for country.Premium rate phone number is not allowed.Vanity phone number is not allowed.The asset has a name which is different from an existing duplicate that represents the same content.Cannot modify asset source.User can not modify the automatically created asset.The customer is not is not on the allow-list for this asset type.Assets are duplicated across operations.The asset name is duplicated, either across operations or with an existing asset.Duplicate assets across operations, which have identical Asset.asset_data oneof, cannot have different asset level fields for asset types which are deduped.The field cannot be modified by this asset type.The field cannot be set for this asset type.Asset status is invalid in this operation.Call to action must come from the list of supported values.A lead form asset is created with an invalid combination of input fields.Legacy qualifying questions cannot be in the same Lead Form as custom questions.Lead Form is disallowed to use "LOCATION" answer type.Lead forms require that the Terms of Service have been agreed to before mutates can be executed.AppId is invalid.Invalid App download URL in final URLs.Unique name is required for this asset type.Asset name is required for the asset type.Page Feed label text contains invalid characters.PriceOffering cannot have the same value for header and description.Cannot set both percent off and money amount off fields of promotion asset.Cannot set both promotion code and orders over amount fields of promotion asset.Ad schedules for the same asset cannot overlap.The field has too many decimal places specified.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe Asset.asset_data oneof is empty.static final intCarrier specific short number is not allowed.static final intCustomer consent required for call recording Terms of Service.static final intThe type of the specified phone number is not allowed.static final intIf the default call_conversion_action is not used, the customer must have a ConversionAction with the same id and the ConversionAction must be call conversion type.static final intThe country code of the phone number is invalid.static final intThe format of the phone number is incorrect.static final intThe input phone number is not a valid phone number.static final intThe phone number is not supported for country.static final intPremium rate phone number is not allowed.static final intVanity phone number is not allowed.static final intThe asset has a name which is different from an existing duplicate that represents the same content.static final intCannot modify asset source.static final intUser can not modify the automatically created asset.static final intThe customer is not is not on the allow-list for this asset type.static final intThe asset name is duplicated, either across operations or with an existing asset.static final intAssets are duplicated across operations.static final intDuplicate assets across operations, which have identical Asset.asset_data oneof, cannot have different asset level fields for asset types which are deduped.static final intThe field cannot be modified by this asset type.static final intThe field cannot be set for this asset type.static final intAsset status is invalid in this operation.static final intCall to action must come from the list of supported values.static final intA lead form asset is created with an invalid combination of input fields.static final intLegacy qualifying questions cannot be in the same Lead Form as custom questions.static final intLead Form is disallowed to use "LOCATION" answer type.static final intLead forms require that the Terms of Service have been agreed to before mutates can be executed.static final intAppId is invalid.static final intInvalid App download URL in final URLs.static final intUnique name is required for this asset type.static final intAsset name is required for the asset type.static final intPage Feed label text contains invalid characters.static final intPriceOffering cannot have the same value for header and description.static final intCannot set both percent off and money amount off fields of promotion asset.static final intCannot set both promotion code and orders over amount fields of promotion asset.static final intAd schedules for the same asset cannot overlap.static final intThe field has too many decimal places specified.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic AssetErrorEnum.AssetErrorforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AssetErrorEnum.AssetError>static AssetErrorEnum.AssetErrorvalueOf(int value) Deprecated.static AssetErrorEnum.AssetErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static AssetErrorEnum.AssetErrorReturns the enum constant of this class with the specified name.static AssetErrorEnum.AssetError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE
The customer is not is not on the allow-list for this asset type.
CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13; -
DUPLICATE_ASSET
Assets are duplicated across operations.
DUPLICATE_ASSET = 3; -
DUPLICATE_ASSET_NAME
The asset name is duplicated, either across operations or with an existing asset.
DUPLICATE_ASSET_NAME = 4; -
ASSET_DATA_IS_MISSING
The Asset.asset_data oneof is empty.
ASSET_DATA_IS_MISSING = 5; -
CANNOT_MODIFY_ASSET_NAME
The asset has a name which is different from an existing duplicate that represents the same content.
CANNOT_MODIFY_ASSET_NAME = 6; -
FIELD_INCOMPATIBLE_WITH_ASSET_TYPE
The field cannot be set for this asset type.
FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7; -
INVALID_CALL_TO_ACTION_TEXT
Call to action must come from the list of supported values.
INVALID_CALL_TO_ACTION_TEXT = 8; -
LEAD_FORM_INVALID_FIELDS_COMBINATION
A lead form asset is created with an invalid combination of input fields.
LEAD_FORM_INVALID_FIELDS_COMBINATION = 9; -
LEAD_FORM_MISSING_AGREEMENT
Lead forms require that the Terms of Service have been agreed to before mutates can be executed.
LEAD_FORM_MISSING_AGREEMENT = 10; -
INVALID_ASSET_STATUS
Asset status is invalid in this operation.
INVALID_ASSET_STATUS = 11; -
FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE
The field cannot be modified by this asset type.
FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12; -
SCHEDULES_CANNOT_OVERLAP
Ad schedules for the same asset cannot overlap.
SCHEDULES_CANNOT_OVERLAP = 14; -
PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF
Cannot set both percent off and money amount off fields of promotion asset.
PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15; -
PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT
public static final AssetErrorEnum.AssetError PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNTCannot set both promotion code and orders over amount fields of promotion asset.
PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16; -
TOO_MANY_DECIMAL_PLACES_SPECIFIED
The field has too many decimal places specified.
TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17; -
DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE
Duplicate assets across operations, which have identical Asset.asset_data oneof, cannot have different asset level fields for asset types which are deduped.
DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18; -
CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED
Carrier specific short number is not allowed.
CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19; -
CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED
Customer consent required for call recording Terms of Service.
CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20; -
CALL_DISALLOWED_NUMBER_TYPE
The type of the specified phone number is not allowed.
CALL_DISALLOWED_NUMBER_TYPE = 21; -
CALL_INVALID_CONVERSION_ACTION
If the default call_conversion_action is not used, the customer must have a ConversionAction with the same id and the ConversionAction must be call conversion type.
CALL_INVALID_CONVERSION_ACTION = 22; -
CALL_INVALID_COUNTRY_CODE
The country code of the phone number is invalid.
CALL_INVALID_COUNTRY_CODE = 23; -
CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT
The format of the phone number is incorrect.
CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24; -
CALL_INVALID_PHONE_NUMBER
The input phone number is not a valid phone number.
CALL_INVALID_PHONE_NUMBER = 25; -
CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY
The phone number is not supported for country.
CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26; -
CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED
Premium rate phone number is not allowed.
CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27; -
CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED
Vanity phone number is not allowed.
CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28; -
PRICE_HEADER_SAME_AS_DESCRIPTION
PriceOffering cannot have the same value for header and description.
PRICE_HEADER_SAME_AS_DESCRIPTION = 29; -
MOBILE_APP_INVALID_APP_ID
AppId is invalid.
MOBILE_APP_INVALID_APP_ID = 30; -
MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL
Invalid App download URL in final URLs.
MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31; -
NAME_REQUIRED_FOR_ASSET_TYPE
Asset name is required for the asset type.
NAME_REQUIRED_FOR_ASSET_TYPE = 32; -
LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED
Legacy qualifying questions cannot be in the same Lead Form as custom questions.
LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED = 33; -
NAME_CONFLICT_FOR_ASSET_TYPE
Unique name is required for this asset type.
NAME_CONFLICT_FOR_ASSET_TYPE = 34; -
CANNOT_MODIFY_ASSET_SOURCE
Cannot modify asset source.
CANNOT_MODIFY_ASSET_SOURCE = 35; -
CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET
User can not modify the automatically created asset.
CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36; -
LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED
Lead Form is disallowed to use "LOCATION" answer type.
LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED = 37; -
PAGE_FEED_INVALID_LABEL_TEXT
Page Feed label text contains invalid characters.
PAGE_FEED_INVALID_LABEL_TEXT = 38; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE_VALUE
public static final int CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE_VALUEThe customer is not is not on the allow-list for this asset type.
CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13;- See Also:
-
DUPLICATE_ASSET_VALUE
public static final int DUPLICATE_ASSET_VALUEAssets are duplicated across operations.
DUPLICATE_ASSET = 3;- See Also:
-
DUPLICATE_ASSET_NAME_VALUE
public static final int DUPLICATE_ASSET_NAME_VALUEThe asset name is duplicated, either across operations or with an existing asset.
DUPLICATE_ASSET_NAME = 4;- See Also:
-
ASSET_DATA_IS_MISSING_VALUE
public static final int ASSET_DATA_IS_MISSING_VALUEThe Asset.asset_data oneof is empty.
ASSET_DATA_IS_MISSING = 5;- See Also:
-
CANNOT_MODIFY_ASSET_NAME_VALUE
public static final int CANNOT_MODIFY_ASSET_NAME_VALUEThe asset has a name which is different from an existing duplicate that represents the same content.
CANNOT_MODIFY_ASSET_NAME = 6;- See Also:
-
FIELD_INCOMPATIBLE_WITH_ASSET_TYPE_VALUE
public static final int FIELD_INCOMPATIBLE_WITH_ASSET_TYPE_VALUEThe field cannot be set for this asset type.
FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7;- See Also:
-
INVALID_CALL_TO_ACTION_TEXT_VALUE
public static final int INVALID_CALL_TO_ACTION_TEXT_VALUECall to action must come from the list of supported values.
INVALID_CALL_TO_ACTION_TEXT = 8;- See Also:
-
LEAD_FORM_INVALID_FIELDS_COMBINATION_VALUE
public static final int LEAD_FORM_INVALID_FIELDS_COMBINATION_VALUEA lead form asset is created with an invalid combination of input fields.
LEAD_FORM_INVALID_FIELDS_COMBINATION = 9;- See Also:
-
LEAD_FORM_MISSING_AGREEMENT_VALUE
public static final int LEAD_FORM_MISSING_AGREEMENT_VALUELead forms require that the Terms of Service have been agreed to before mutates can be executed.
LEAD_FORM_MISSING_AGREEMENT = 10;- See Also:
-
INVALID_ASSET_STATUS_VALUE
public static final int INVALID_ASSET_STATUS_VALUEAsset status is invalid in this operation.
INVALID_ASSET_STATUS = 11;- See Also:
-
FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE_VALUE
public static final int FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE_VALUEThe field cannot be modified by this asset type.
FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12;- See Also:
-
SCHEDULES_CANNOT_OVERLAP_VALUE
public static final int SCHEDULES_CANNOT_OVERLAP_VALUEAd schedules for the same asset cannot overlap.
SCHEDULES_CANNOT_OVERLAP = 14;- See Also:
-
PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF_VALUE
public static final int PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF_VALUECannot set both percent off and money amount off fields of promotion asset.
PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15;- See Also:
-
PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT_VALUE
public static final int PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT_VALUECannot set both promotion code and orders over amount fields of promotion asset.
PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16;- See Also:
-
TOO_MANY_DECIMAL_PLACES_SPECIFIED_VALUE
public static final int TOO_MANY_DECIMAL_PLACES_SPECIFIED_VALUEThe field has too many decimal places specified.
TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17;- See Also:
-
DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE_VALUE
public static final int DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE_VALUEDuplicate assets across operations, which have identical Asset.asset_data oneof, cannot have different asset level fields for asset types which are deduped.
DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18;- See Also:
-
CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED_VALUE
public static final int CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED_VALUECarrier specific short number is not allowed.
CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19;- See Also:
-
CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED_VALUE
public static final int CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED_VALUECustomer consent required for call recording Terms of Service.
CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20;- See Also:
-
CALL_DISALLOWED_NUMBER_TYPE_VALUE
public static final int CALL_DISALLOWED_NUMBER_TYPE_VALUEThe type of the specified phone number is not allowed.
CALL_DISALLOWED_NUMBER_TYPE = 21;- See Also:
-
CALL_INVALID_CONVERSION_ACTION_VALUE
public static final int CALL_INVALID_CONVERSION_ACTION_VALUEIf the default call_conversion_action is not used, the customer must have a ConversionAction with the same id and the ConversionAction must be call conversion type.
CALL_INVALID_CONVERSION_ACTION = 22;- See Also:
-
CALL_INVALID_COUNTRY_CODE_VALUE
public static final int CALL_INVALID_COUNTRY_CODE_VALUEThe country code of the phone number is invalid.
CALL_INVALID_COUNTRY_CODE = 23;- See Also:
-
CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT_VALUE
public static final int CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT_VALUEThe format of the phone number is incorrect.
CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24;- See Also:
-
CALL_INVALID_PHONE_NUMBER_VALUE
public static final int CALL_INVALID_PHONE_NUMBER_VALUEThe input phone number is not a valid phone number.
CALL_INVALID_PHONE_NUMBER = 25;- See Also:
-
CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY_VALUE
public static final int CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY_VALUEThe phone number is not supported for country.
CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26;- See Also:
-
CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED_VALUE
public static final int CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED_VALUEPremium rate phone number is not allowed.
CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27;- See Also:
-
CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED_VALUE
public static final int CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED_VALUEVanity phone number is not allowed.
CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28;- See Also:
-
PRICE_HEADER_SAME_AS_DESCRIPTION_VALUE
public static final int PRICE_HEADER_SAME_AS_DESCRIPTION_VALUEPriceOffering cannot have the same value for header and description.
PRICE_HEADER_SAME_AS_DESCRIPTION = 29;- See Also:
-
MOBILE_APP_INVALID_APP_ID_VALUE
public static final int MOBILE_APP_INVALID_APP_ID_VALUEAppId is invalid.
MOBILE_APP_INVALID_APP_ID = 30;- See Also:
-
MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL_VALUE
public static final int MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL_VALUEInvalid App download URL in final URLs.
MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31;- See Also:
-
NAME_REQUIRED_FOR_ASSET_TYPE_VALUE
public static final int NAME_REQUIRED_FOR_ASSET_TYPE_VALUEAsset name is required for the asset type.
NAME_REQUIRED_FOR_ASSET_TYPE = 32;- See Also:
-
LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED_VALUE
public static final int LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED_VALUELegacy qualifying questions cannot be in the same Lead Form as custom questions.
LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED = 33;- See Also:
-
NAME_CONFLICT_FOR_ASSET_TYPE_VALUE
public static final int NAME_CONFLICT_FOR_ASSET_TYPE_VALUEUnique name is required for this asset type.
NAME_CONFLICT_FOR_ASSET_TYPE = 34;- See Also:
-
CANNOT_MODIFY_ASSET_SOURCE_VALUE
public static final int CANNOT_MODIFY_ASSET_SOURCE_VALUECannot modify asset source.
CANNOT_MODIFY_ASSET_SOURCE = 35;- See Also:
-
CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET_VALUE
public static final int CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET_VALUEUser can not modify the automatically created asset.
CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36;- See Also:
-
LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED_VALUE
public static final int LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED_VALUELead Form is disallowed to use "LOCATION" answer type.
LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED = 37;- See Also:
-
PAGE_FEED_INVALID_LABEL_TEXT_VALUE
public static final int PAGE_FEED_INVALID_LABEL_TEXT_VALUEPage Feed label text contains invalid characters.
PAGE_FEED_INVALID_LABEL_TEXT = 38;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- 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<AssetErrorEnum.AssetError> 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 AssetErrorEnum.AssetError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-