Enum Class AssetGenerationErrorEnum.AssetGenerationError
java.lang.Object
java.lang.Enum<AssetGenerationErrorEnum.AssetGenerationError>
com.google.ads.googleads.v22.errors.AssetGenerationErrorEnum.AssetGenerationError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AssetGenerationErrorEnum.AssetGenerationError>,Constable
- Enclosing class:
- AssetGenerationErrorEnum
public static enum AssetGenerationErrorEnum.AssetGenerationError
extends Enum<AssetGenerationErrorEnum.AssetGenerationError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing GenAI asset generation errors.Protobuf enum
google.ads.googleads.v22.errors.AssetGenerationErrorEnum.AssetGenerationError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll output images were filtered out for a reason not covered by a more specific error code.All output images were filtered out because they included depictions of children.All output images were filtered out because they included depictions of specific people.Campaign type is required but was not provided, and could not be sourced from the existing generation context because no existing generation context was provided.Ad Group Ad could not be found with the provided ID combination.Asset Group could not be found with the provided ID.Could not find Campaign associated with the provided generation context.A final URL is required but was not provided, and could not be sourced from the existing generation context because no existing generation context was provided.The provided final URL is considered sensitive, and assets cannot be generated.The provided final URL was not indexed or could otherwise not be processed.The language of the provided final URL is not supported.The provided freeform prompt contains brand content.The provided freeform prompt does not have a valid length.The provided freeform prompt references children.The provided freeform prompt references specific people.The provided freeform prompt is considered sensitive, and assets cannot be generated.The language of the provided freeform prompt is not supported.The provided freeform prompt violates Ads Policy.A final URL is required but was not provided, and could not be sourced from the provided existing generation context.Exactly one generation type must be provided.The provided image contains brand content.The provided image depicts children.The provided image is empty.The provided image file size exceeds the limit.At least one input image is required for certain requests.The provided image contains sensitive subject matter.The provided image is of an unsupported type.The provided image may violate Google Ads policies.A provided keyword does not have a valid length.No assets were generated for the given request.All keywords were filtered out.Too many keywords provided in request.The received error code is not known in this version.Enum unspecified.The provided campaign type is not supported for this asset generation operation.The provided field type is not supported for this asset generation operation.The provided field type is not supported for the given campaign type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAll output images were filtered out because they included depictions of children.static final intAll output images were filtered out because they included depictions of specific people.static final intAll output images were filtered out for a reason not covered by a more specific error code.static final intCampaign type is required but was not provided, and could not be sourced from the existing generation context because no existing generation context was provided.static final intAd Group Ad could not be found with the provided ID combination.static final intAsset Group could not be found with the provided ID.static final intCould not find Campaign associated with the provided generation context.static final intA final URL is required but was not provided, and could not be sourced from the existing generation context because no existing generation context was provided.static final intThe provided final URL is considered sensitive, and assets cannot be generated.static final intThe provided final URL was not indexed or could otherwise not be processed.static final intThe language of the provided final URL is not supported.static final intThe provided freeform prompt contains brand content.static final intThe provided freeform prompt does not have a valid length.static final intThe provided freeform prompt references children.static final intThe provided freeform prompt references specific people.static final intThe provided freeform prompt is considered sensitive, and assets cannot be generated.static final intThe language of the provided freeform prompt is not supported.static final intThe provided freeform prompt violates Ads Policy.static final intA final URL is required but was not provided, and could not be sourced from the provided existing generation context.static final intExactly one generation type must be provided.static final intThe provided image contains brand content.static final intThe provided image depicts children.static final intThe provided image is empty.static final intThe provided image file size exceeds the limit.static final intAt least one input image is required for certain requests.static final intThe provided image contains sensitive subject matter.static final intThe provided image is of an unsupported type.static final intThe provided image may violate Google Ads policies.static final intA provided keyword does not have a valid length.static final intNo assets were generated for the given request.static final intAll keywords were filtered out.static final intToo many keywords provided in request.static final intThe received error code is not known in this version.static final intEnum unspecified.static final intThe provided campaign type is not supported for this asset generation operation.static final intThe provided field type is not supported for the given campaign type.static final intThe provided field type is not supported for this asset generation operation. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(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<AssetGenerationErrorEnum.AssetGenerationError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.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; -
NO_ASSETS_GENERATED
No assets were generated for the given request.
NO_ASSETS_GENERATED = 2; -
FINAL_URL_REQUIRED
A final URL is required but was not provided, and could not be sourced from the existing generation context because no existing generation context was provided.
FINAL_URL_REQUIRED = 3; -
GENERATION_CONTEXT_MISSING_FINAL_URL
public static final AssetGenerationErrorEnum.AssetGenerationError GENERATION_CONTEXT_MISSING_FINAL_URLA final URL is required but was not provided, and could not be sourced from the provided existing generation context.
GENERATION_CONTEXT_MISSING_FINAL_URL = 4; -
FINAL_URL_SENSITIVE
The provided final URL is considered sensitive, and assets cannot be generated.
FINAL_URL_SENSITIVE = 5; -
FINAL_URL_UNSUPPORTED_LANGUAGE
The language of the provided final URL is not supported.
FINAL_URL_UNSUPPORTED_LANGUAGE = 6; -
FINAL_URL_UNAVAILABLE
The provided final URL was not indexed or could otherwise not be processed.
FINAL_URL_UNAVAILABLE = 7; -
CAMPAIGN_TYPE_REQUIRED
Campaign type is required but was not provided, and could not be sourced from the existing generation context because no existing generation context was provided.
CAMPAIGN_TYPE_REQUIRED = 8; -
UNSUPPORTED_CAMPAIGN_TYPE
The provided campaign type is not supported for this asset generation operation.
UNSUPPORTED_CAMPAIGN_TYPE = 9; -
UNSUPPORTED_FIELD_TYPE
The provided field type is not supported for this asset generation operation.
UNSUPPORTED_FIELD_TYPE = 10; -
UNSUPPORTED_FIELD_TYPE_FOR_CAMPAIGN_TYPE
public static final AssetGenerationErrorEnum.AssetGenerationError UNSUPPORTED_FIELD_TYPE_FOR_CAMPAIGN_TYPEThe provided field type is not supported for the given campaign type.
UNSUPPORTED_FIELD_TYPE_FOR_CAMPAIGN_TYPE = 11; -
FREEFORM_PROMPT_UNSUPPORTED_LANGUAGE
public static final AssetGenerationErrorEnum.AssetGenerationError FREEFORM_PROMPT_UNSUPPORTED_LANGUAGEThe language of the provided freeform prompt is not supported.
FREEFORM_PROMPT_UNSUPPORTED_LANGUAGE = 12; -
FREEFORM_PROMPT_SENSITIVE
The provided freeform prompt is considered sensitive, and assets cannot be generated.
FREEFORM_PROMPT_SENSITIVE = 13; -
INPUT_IMAGE_FILE_SIZE_TOO_LARGE
The provided image file size exceeds the limit.
INPUT_IMAGE_FILE_SIZE_TOO_LARGE = 14; -
INPUT_IMAGE_EMPTY
The provided image is empty.
INPUT_IMAGE_EMPTY = 15; -
GENERATION_TYPE_REQUIRED
Exactly one generation type must be provided.
GENERATION_TYPE_REQUIRED = 16; -
TOO_MANY_KEYWORDS
Too many keywords provided in request.
TOO_MANY_KEYWORDS = 17; -
KEYWORD_INVALID_LENGTH
A provided keyword does not have a valid length.
KEYWORD_INVALID_LENGTH = 18; -
NO_VALID_KEYWORDS
All keywords were filtered out.
NO_VALID_KEYWORDS = 19; -
FREEFORM_PROMPT_INVALID_LENGTH
The provided freeform prompt does not have a valid length.
FREEFORM_PROMPT_INVALID_LENGTH = 20; -
FREEFORM_PROMPT_REFERENCES_CHILDREN
public static final AssetGenerationErrorEnum.AssetGenerationError FREEFORM_PROMPT_REFERENCES_CHILDRENThe provided freeform prompt references children.
FREEFORM_PROMPT_REFERENCES_CHILDREN = 21; -
FREEFORM_PROMPT_REFERENCES_SPECIFIC_PEOPLE
public static final AssetGenerationErrorEnum.AssetGenerationError FREEFORM_PROMPT_REFERENCES_SPECIFIC_PEOPLEThe provided freeform prompt references specific people.
FREEFORM_PROMPT_REFERENCES_SPECIFIC_PEOPLE = 22; -
FREEFORM_PROMPT_VIOLATES_ADS_POLICY
public static final AssetGenerationErrorEnum.AssetGenerationError FREEFORM_PROMPT_VIOLATES_ADS_POLICYThe provided freeform prompt violates Ads Policy.
FREEFORM_PROMPT_VIOLATES_ADS_POLICY = 23; -
FREEFORM_PROMPT_BRAND_CONTENT
The provided freeform prompt contains brand content.
FREEFORM_PROMPT_BRAND_CONTENT = 24; -
INPUT_IMAGE_DEPICTS_CHILDREN
The provided image depicts children.
INPUT_IMAGE_DEPICTS_CHILDREN = 25; -
INPUT_IMAGE_CONTAINS_BRAND_CONTENT
public static final AssetGenerationErrorEnum.AssetGenerationError INPUT_IMAGE_CONTAINS_BRAND_CONTENTThe provided image contains brand content.
INPUT_IMAGE_CONTAINS_BRAND_CONTENT = 26; -
INPUT_IMAGE_SENSITIVE
The provided image contains sensitive subject matter.
INPUT_IMAGE_SENSITIVE = 27; -
INPUT_IMAGE_VIOLATES_POLICY
The provided image may violate Google Ads policies.
INPUT_IMAGE_VIOLATES_POLICY = 28; -
ALL_OUTPUT_IMAGES_FILTERED_OUT_CHILDREN_DEPICTION
public static final AssetGenerationErrorEnum.AssetGenerationError ALL_OUTPUT_IMAGES_FILTERED_OUT_CHILDREN_DEPICTIONAll output images were filtered out because they included depictions of children.
ALL_OUTPUT_IMAGES_FILTERED_OUT_CHILDREN_DEPICTION = 29; -
ALL_OUTPUT_IMAGES_FILTERED_OUT_SPECIFIC_PEOPLE
public static final AssetGenerationErrorEnum.AssetGenerationError ALL_OUTPUT_IMAGES_FILTERED_OUT_SPECIFIC_PEOPLEAll output images were filtered out because they included depictions of specific people.
ALL_OUTPUT_IMAGES_FILTERED_OUT_SPECIFIC_PEOPLE = 30; -
ALL_OUTPUT_IMAGES_FILTERED_OUT
All output images were filtered out for a reason not covered by a more specific error code.
ALL_OUTPUT_IMAGES_FILTERED_OUT = 31; -
INPUT_IMAGE_REQUIRED
At least one input image is required for certain requests.
INPUT_IMAGE_REQUIRED = 32; -
INPUT_IMAGE_UNSUPPORTED_IMAGE_TYPE
public static final AssetGenerationErrorEnum.AssetGenerationError INPUT_IMAGE_UNSUPPORTED_IMAGE_TYPEThe provided image is of an unsupported type.
INPUT_IMAGE_UNSUPPORTED_IMAGE_TYPE = 33; -
CONTEXT_ASSET_GROUP_NOT_FOUND
Asset Group could not be found with the provided ID.
CONTEXT_ASSET_GROUP_NOT_FOUND = 34; -
CONTEXT_AD_GROUP_AD_NOT_FOUND
Ad Group Ad could not be found with the provided ID combination.
CONTEXT_AD_GROUP_AD_NOT_FOUND = 35; -
CONTEXT_CAMPAIGN_NOT_FOUND
Could not find Campaign associated with the provided generation context.
CONTEXT_CAMPAIGN_NOT_FOUND = 36; -
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:
-
NO_ASSETS_GENERATED_VALUE
public static final int NO_ASSETS_GENERATED_VALUENo assets were generated for the given request.
NO_ASSETS_GENERATED = 2;- See Also:
-
FINAL_URL_REQUIRED_VALUE
public static final int FINAL_URL_REQUIRED_VALUEA final URL is required but was not provided, and could not be sourced from the existing generation context because no existing generation context was provided.
FINAL_URL_REQUIRED = 3;- See Also:
-
GENERATION_CONTEXT_MISSING_FINAL_URL_VALUE
public static final int GENERATION_CONTEXT_MISSING_FINAL_URL_VALUEA final URL is required but was not provided, and could not be sourced from the provided existing generation context.
GENERATION_CONTEXT_MISSING_FINAL_URL = 4;- See Also:
-
FINAL_URL_SENSITIVE_VALUE
public static final int FINAL_URL_SENSITIVE_VALUEThe provided final URL is considered sensitive, and assets cannot be generated.
FINAL_URL_SENSITIVE = 5;- See Also:
-
FINAL_URL_UNSUPPORTED_LANGUAGE_VALUE
public static final int FINAL_URL_UNSUPPORTED_LANGUAGE_VALUEThe language of the provided final URL is not supported.
FINAL_URL_UNSUPPORTED_LANGUAGE = 6;- See Also:
-
FINAL_URL_UNAVAILABLE_VALUE
public static final int FINAL_URL_UNAVAILABLE_VALUEThe provided final URL was not indexed or could otherwise not be processed.
FINAL_URL_UNAVAILABLE = 7;- See Also:
-
CAMPAIGN_TYPE_REQUIRED_VALUE
public static final int CAMPAIGN_TYPE_REQUIRED_VALUECampaign type is required but was not provided, and could not be sourced from the existing generation context because no existing generation context was provided.
CAMPAIGN_TYPE_REQUIRED = 8;- See Also:
-
UNSUPPORTED_CAMPAIGN_TYPE_VALUE
public static final int UNSUPPORTED_CAMPAIGN_TYPE_VALUEThe provided campaign type is not supported for this asset generation operation.
UNSUPPORTED_CAMPAIGN_TYPE = 9;- See Also:
-
UNSUPPORTED_FIELD_TYPE_VALUE
public static final int UNSUPPORTED_FIELD_TYPE_VALUEThe provided field type is not supported for this asset generation operation.
UNSUPPORTED_FIELD_TYPE = 10;- See Also:
-
UNSUPPORTED_FIELD_TYPE_FOR_CAMPAIGN_TYPE_VALUE
public static final int UNSUPPORTED_FIELD_TYPE_FOR_CAMPAIGN_TYPE_VALUEThe provided field type is not supported for the given campaign type.
UNSUPPORTED_FIELD_TYPE_FOR_CAMPAIGN_TYPE = 11;- See Also:
-
FREEFORM_PROMPT_UNSUPPORTED_LANGUAGE_VALUE
public static final int FREEFORM_PROMPT_UNSUPPORTED_LANGUAGE_VALUEThe language of the provided freeform prompt is not supported.
FREEFORM_PROMPT_UNSUPPORTED_LANGUAGE = 12;- See Also:
-
FREEFORM_PROMPT_SENSITIVE_VALUE
public static final int FREEFORM_PROMPT_SENSITIVE_VALUEThe provided freeform prompt is considered sensitive, and assets cannot be generated.
FREEFORM_PROMPT_SENSITIVE = 13;- See Also:
-
INPUT_IMAGE_FILE_SIZE_TOO_LARGE_VALUE
public static final int INPUT_IMAGE_FILE_SIZE_TOO_LARGE_VALUEThe provided image file size exceeds the limit.
INPUT_IMAGE_FILE_SIZE_TOO_LARGE = 14;- See Also:
-
INPUT_IMAGE_EMPTY_VALUE
public static final int INPUT_IMAGE_EMPTY_VALUEThe provided image is empty.
INPUT_IMAGE_EMPTY = 15;- See Also:
-
GENERATION_TYPE_REQUIRED_VALUE
public static final int GENERATION_TYPE_REQUIRED_VALUEExactly one generation type must be provided.
GENERATION_TYPE_REQUIRED = 16;- See Also:
-
TOO_MANY_KEYWORDS_VALUE
public static final int TOO_MANY_KEYWORDS_VALUEToo many keywords provided in request.
TOO_MANY_KEYWORDS = 17;- See Also:
-
KEYWORD_INVALID_LENGTH_VALUE
public static final int KEYWORD_INVALID_LENGTH_VALUEA provided keyword does not have a valid length.
KEYWORD_INVALID_LENGTH = 18;- See Also:
-
NO_VALID_KEYWORDS_VALUE
public static final int NO_VALID_KEYWORDS_VALUEAll keywords were filtered out.
NO_VALID_KEYWORDS = 19;- See Also:
-
FREEFORM_PROMPT_INVALID_LENGTH_VALUE
public static final int FREEFORM_PROMPT_INVALID_LENGTH_VALUEThe provided freeform prompt does not have a valid length.
FREEFORM_PROMPT_INVALID_LENGTH = 20;- See Also:
-
FREEFORM_PROMPT_REFERENCES_CHILDREN_VALUE
public static final int FREEFORM_PROMPT_REFERENCES_CHILDREN_VALUEThe provided freeform prompt references children.
FREEFORM_PROMPT_REFERENCES_CHILDREN = 21;- See Also:
-
FREEFORM_PROMPT_REFERENCES_SPECIFIC_PEOPLE_VALUE
public static final int FREEFORM_PROMPT_REFERENCES_SPECIFIC_PEOPLE_VALUEThe provided freeform prompt references specific people.
FREEFORM_PROMPT_REFERENCES_SPECIFIC_PEOPLE = 22;- See Also:
-
FREEFORM_PROMPT_VIOLATES_ADS_POLICY_VALUE
public static final int FREEFORM_PROMPT_VIOLATES_ADS_POLICY_VALUEThe provided freeform prompt violates Ads Policy.
FREEFORM_PROMPT_VIOLATES_ADS_POLICY = 23;- See Also:
-
FREEFORM_PROMPT_BRAND_CONTENT_VALUE
public static final int FREEFORM_PROMPT_BRAND_CONTENT_VALUEThe provided freeform prompt contains brand content.
FREEFORM_PROMPT_BRAND_CONTENT = 24;- See Also:
-
INPUT_IMAGE_DEPICTS_CHILDREN_VALUE
public static final int INPUT_IMAGE_DEPICTS_CHILDREN_VALUEThe provided image depicts children.
INPUT_IMAGE_DEPICTS_CHILDREN = 25;- See Also:
-
INPUT_IMAGE_CONTAINS_BRAND_CONTENT_VALUE
public static final int INPUT_IMAGE_CONTAINS_BRAND_CONTENT_VALUEThe provided image contains brand content.
INPUT_IMAGE_CONTAINS_BRAND_CONTENT = 26;- See Also:
-
INPUT_IMAGE_SENSITIVE_VALUE
public static final int INPUT_IMAGE_SENSITIVE_VALUEThe provided image contains sensitive subject matter.
INPUT_IMAGE_SENSITIVE = 27;- See Also:
-
INPUT_IMAGE_VIOLATES_POLICY_VALUE
public static final int INPUT_IMAGE_VIOLATES_POLICY_VALUEThe provided image may violate Google Ads policies.
INPUT_IMAGE_VIOLATES_POLICY = 28;- See Also:
-
ALL_OUTPUT_IMAGES_FILTERED_OUT_CHILDREN_DEPICTION_VALUE
public static final int ALL_OUTPUT_IMAGES_FILTERED_OUT_CHILDREN_DEPICTION_VALUEAll output images were filtered out because they included depictions of children.
ALL_OUTPUT_IMAGES_FILTERED_OUT_CHILDREN_DEPICTION = 29;- See Also:
-
ALL_OUTPUT_IMAGES_FILTERED_OUT_SPECIFIC_PEOPLE_VALUE
public static final int ALL_OUTPUT_IMAGES_FILTERED_OUT_SPECIFIC_PEOPLE_VALUEAll output images were filtered out because they included depictions of specific people.
ALL_OUTPUT_IMAGES_FILTERED_OUT_SPECIFIC_PEOPLE = 30;- See Also:
-
ALL_OUTPUT_IMAGES_FILTERED_OUT_VALUE
public static final int ALL_OUTPUT_IMAGES_FILTERED_OUT_VALUEAll output images were filtered out for a reason not covered by a more specific error code.
ALL_OUTPUT_IMAGES_FILTERED_OUT = 31;- See Also:
-
INPUT_IMAGE_REQUIRED_VALUE
public static final int INPUT_IMAGE_REQUIRED_VALUEAt least one input image is required for certain requests.
INPUT_IMAGE_REQUIRED = 32;- See Also:
-
INPUT_IMAGE_UNSUPPORTED_IMAGE_TYPE_VALUE
public static final int INPUT_IMAGE_UNSUPPORTED_IMAGE_TYPE_VALUEThe provided image is of an unsupported type.
INPUT_IMAGE_UNSUPPORTED_IMAGE_TYPE = 33;- See Also:
-
CONTEXT_ASSET_GROUP_NOT_FOUND_VALUE
public static final int CONTEXT_ASSET_GROUP_NOT_FOUND_VALUEAsset Group could not be found with the provided ID.
CONTEXT_ASSET_GROUP_NOT_FOUND = 34;- See Also:
-
CONTEXT_AD_GROUP_AD_NOT_FOUND_VALUE
public static final int CONTEXT_AD_GROUP_AD_NOT_FOUND_VALUEAd Group Ad could not be found with the provided ID combination.
CONTEXT_AD_GROUP_AD_NOT_FOUND = 35;- See Also:
-
CONTEXT_CAMPAIGN_NOT_FOUND_VALUE
public static final int CONTEXT_CAMPAIGN_NOT_FOUND_VALUECould not find Campaign associated with the provided generation context.
CONTEXT_CAMPAIGN_NOT_FOUND = 36;- 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<AssetGenerationErrorEnum.AssetGenerationError> 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 AssetGenerationErrorEnum.AssetGenerationError 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
-