Enum FeedItemErrorEnum.FeedItemError
- java.lang.Object
-
- java.lang.Enum<FeedItemErrorEnum.FeedItemError>
-
- com.google.ads.googleads.v10.errors.FeedItemErrorEnum.FeedItemError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<FeedItemErrorEnum.FeedItemError>
- Enclosing class:
- FeedItemErrorEnum
public static enum FeedItemErrorEnum.FeedItemError extends java.lang.Enum<FeedItemErrorEnum.FeedItemError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible feed item errors.
Protobuf enumgoogle.ads.googleads.v10.errors.FeedItemErrorEnum.FeedItemError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRINGCannot convert the feed attribute value from string to its real type.CANNOT_MODIFY_KEY_ATTRIBUTE_VALUECannot modify key attributes on an existing feed item.CANNOT_OPERATE_ON_REMOVED_FEED_ITEMCannot operate on removed feed item.DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONEDate time zone does not match the account's time zone.INVALID_URLUrl feed attribute value is not valid.KEY_ATTRIBUTES_NOT_FOUNDFeed item with the key attributes could not be found.KEY_ATTRIBUTES_NOT_UNIQUEFeed item has same key attributes as another feed item.MISSING_KEY_ATTRIBUTESSome key attributes are missing.SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTEThe feed attribute value is too large.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intCANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING_VALUECannot convert the feed attribute value from string to its real type.static intCANNOT_MODIFY_KEY_ATTRIBUTE_VALUE_VALUECannot modify key attributes on an existing feed item.static intCANNOT_OPERATE_ON_REMOVED_FEED_ITEM_VALUECannot operate on removed feed item.static intDATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE_VALUEDate time zone does not match the account's time zone.static intINVALID_URL_VALUEUrl feed attribute value is not valid.static intKEY_ATTRIBUTES_NOT_FOUND_VALUEFeed item with the key attributes could not be found.static intKEY_ATTRIBUTES_NOT_UNIQUE_VALUEFeed item has same key attributes as another feed item.static intMISSING_KEY_ATTRIBUTES_VALUESome key attributes are missing.static intSIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE_VALUEThe feed attribute value is too large.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FeedItemErrorEnum.FeedItemErrorforNumber(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<FeedItemErrorEnum.FeedItemError>internalGetValueMap()static FeedItemErrorEnum.FeedItemErrorvalueOf(int value)Deprecated.static FeedItemErrorEnum.FeedItemErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FeedItemErrorEnum.FeedItemErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FeedItemErrorEnum.FeedItemError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final FeedItemErrorEnum.FeedItemError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final FeedItemErrorEnum.FeedItemError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING
public static final FeedItemErrorEnum.FeedItemError CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING
Cannot convert the feed attribute value from string to its real type.
CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING = 2;
-
CANNOT_OPERATE_ON_REMOVED_FEED_ITEM
public static final FeedItemErrorEnum.FeedItemError CANNOT_OPERATE_ON_REMOVED_FEED_ITEM
Cannot operate on removed feed item.
CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 3;
-
DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE
public static final FeedItemErrorEnum.FeedItemError DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE
Date time zone does not match the account's time zone.
DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 4;
-
KEY_ATTRIBUTES_NOT_FOUND
public static final FeedItemErrorEnum.FeedItemError KEY_ATTRIBUTES_NOT_FOUND
Feed item with the key attributes could not be found.
KEY_ATTRIBUTES_NOT_FOUND = 5;
-
INVALID_URL
public static final FeedItemErrorEnum.FeedItemError INVALID_URL
Url feed attribute value is not valid.
INVALID_URL = 6;
-
MISSING_KEY_ATTRIBUTES
public static final FeedItemErrorEnum.FeedItemError MISSING_KEY_ATTRIBUTES
Some key attributes are missing.
MISSING_KEY_ATTRIBUTES = 7;
-
KEY_ATTRIBUTES_NOT_UNIQUE
public static final FeedItemErrorEnum.FeedItemError KEY_ATTRIBUTES_NOT_UNIQUE
Feed item has same key attributes as another feed item.
KEY_ATTRIBUTES_NOT_UNIQUE = 8;
-
CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE
public static final FeedItemErrorEnum.FeedItemError CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE
Cannot modify key attributes on an existing feed item.
CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE = 9;
-
SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE
public static final FeedItemErrorEnum.FeedItemError SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE
The feed attribute value is too large.
SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10;
-
UNRECOGNIZED
public static final FeedItemErrorEnum.FeedItemError 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
-
CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING_VALUE
public static final int CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING_VALUE
Cannot convert the feed attribute value from string to its real type.
CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING = 2;- See Also:
- Constant Field Values
-
CANNOT_OPERATE_ON_REMOVED_FEED_ITEM_VALUE
public static final int CANNOT_OPERATE_ON_REMOVED_FEED_ITEM_VALUE
Cannot operate on removed feed item.
CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 3;- See Also:
- Constant Field Values
-
DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE_VALUE
public static final int DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE_VALUE
Date time zone does not match the account's time zone.
DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 4;- See Also:
- Constant Field Values
-
KEY_ATTRIBUTES_NOT_FOUND_VALUE
public static final int KEY_ATTRIBUTES_NOT_FOUND_VALUE
Feed item with the key attributes could not be found.
KEY_ATTRIBUTES_NOT_FOUND = 5;- See Also:
- Constant Field Values
-
INVALID_URL_VALUE
public static final int INVALID_URL_VALUE
Url feed attribute value is not valid.
INVALID_URL = 6;- See Also:
- Constant Field Values
-
MISSING_KEY_ATTRIBUTES_VALUE
public static final int MISSING_KEY_ATTRIBUTES_VALUE
Some key attributes are missing.
MISSING_KEY_ATTRIBUTES = 7;- See Also:
- Constant Field Values
-
KEY_ATTRIBUTES_NOT_UNIQUE_VALUE
public static final int KEY_ATTRIBUTES_NOT_UNIQUE_VALUE
Feed item has same key attributes as another feed item.
KEY_ATTRIBUTES_NOT_UNIQUE = 8;- See Also:
- Constant Field Values
-
CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE_VALUE
public static final int CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE_VALUE
Cannot modify key attributes on an existing feed item.
CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE = 9;- See Also:
- Constant Field Values
-
SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE_VALUE
public static final int SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE_VALUE
The feed attribute value is too large.
SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FeedItemErrorEnum.FeedItemError[] 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 (FeedItemErrorEnum.FeedItemError c : FeedItemErrorEnum.FeedItemError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeedItemErrorEnum.FeedItemError 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 FeedItemErrorEnum.FeedItemError 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 FeedItemErrorEnum.FeedItemError 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<FeedItemErrorEnum.FeedItemError> 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 FeedItemErrorEnum.FeedItemError 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
-
-