Enum CustomerFeedErrorEnum.CustomerFeedError
- java.lang.Object
-
- java.lang.Enum<CustomerFeedErrorEnum.CustomerFeedError>
-
- com.google.ads.googleads.v10.errors.CustomerFeedErrorEnum.CustomerFeedError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CustomerFeedErrorEnum.CustomerFeedError>
- Enclosing class:
- CustomerFeedErrorEnum
public static enum CustomerFeedErrorEnum.CustomerFeedError extends java.lang.Enum<CustomerFeedErrorEnum.CustomerFeedError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible customer feed errors.
Protobuf enumgoogle.ads.googleads.v10.errors.CustomerFeedErrorEnum.CustomerFeedError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEEDThe CustomerFeed already exists.CANNOT_CREATE_FOR_REMOVED_FEEDThe specified feed is removed.CANNOT_MODIFY_REMOVED_CUSTOMER_FEEDCannot update removed customer feed.FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPEAn active feed already exists for this customer and place holder type.INVALID_PLACEHOLDER_TYPEInvalid placeholder type.MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPEFeed mapping for this placeholder type does not exist.PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEEDPlaceholder not allowed at the account level.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intCANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED_VALUEThe CustomerFeed already exists.static intCANNOT_CREATE_FOR_REMOVED_FEED_VALUEThe specified feed is removed.static intCANNOT_MODIFY_REMOVED_CUSTOMER_FEED_VALUECannot update removed customer feed.static intFEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE_VALUEAn active feed already exists for this customer and place holder type.static intINVALID_PLACEHOLDER_TYPE_VALUEInvalid placeholder type.static intMISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE_VALUEFeed mapping for this placeholder type does not exist.static intPLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED_VALUEPlaceholder not allowed at the account level.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 CustomerFeedErrorEnum.CustomerFeedErrorforNumber(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<CustomerFeedErrorEnum.CustomerFeedError>internalGetValueMap()static CustomerFeedErrorEnum.CustomerFeedErrorvalueOf(int value)Deprecated.static CustomerFeedErrorEnum.CustomerFeedErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CustomerFeedErrorEnum.CustomerFeedErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CustomerFeedErrorEnum.CustomerFeedError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final CustomerFeedErrorEnum.CustomerFeedError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final CustomerFeedErrorEnum.CustomerFeedError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE
public static final CustomerFeedErrorEnum.CustomerFeedError FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE
An active feed already exists for this customer and place holder type.
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2;
-
CANNOT_CREATE_FOR_REMOVED_FEED
public static final CustomerFeedErrorEnum.CustomerFeedError CANNOT_CREATE_FOR_REMOVED_FEED
The specified feed is removed.
CANNOT_CREATE_FOR_REMOVED_FEED = 3;
-
CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED
public static final CustomerFeedErrorEnum.CustomerFeedError CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED
The CustomerFeed already exists. Update should be used to modify the existing CustomerFeed.
CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED = 4;
-
CANNOT_MODIFY_REMOVED_CUSTOMER_FEED
public static final CustomerFeedErrorEnum.CustomerFeedError CANNOT_MODIFY_REMOVED_CUSTOMER_FEED
Cannot update removed customer feed.
CANNOT_MODIFY_REMOVED_CUSTOMER_FEED = 5;
-
INVALID_PLACEHOLDER_TYPE
public static final CustomerFeedErrorEnum.CustomerFeedError INVALID_PLACEHOLDER_TYPE
Invalid placeholder type.
INVALID_PLACEHOLDER_TYPE = 6;
-
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE
public static final CustomerFeedErrorEnum.CustomerFeedError MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE
Feed mapping for this placeholder type does not exist.
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7;
-
PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED
public static final CustomerFeedErrorEnum.CustomerFeedError PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED
Placeholder not allowed at the account level.
PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8;
-
UNRECOGNIZED
public static final CustomerFeedErrorEnum.CustomerFeedError 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
-
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE_VALUE
public static final int FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE_VALUE
An active feed already exists for this customer and place holder type.
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2;- See Also:
- Constant Field Values
-
CANNOT_CREATE_FOR_REMOVED_FEED_VALUE
public static final int CANNOT_CREATE_FOR_REMOVED_FEED_VALUE
The specified feed is removed.
CANNOT_CREATE_FOR_REMOVED_FEED = 3;- See Also:
- Constant Field Values
-
CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED_VALUE
public static final int CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED_VALUE
The CustomerFeed already exists. Update should be used to modify the existing CustomerFeed.
CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED = 4;- See Also:
- Constant Field Values
-
CANNOT_MODIFY_REMOVED_CUSTOMER_FEED_VALUE
public static final int CANNOT_MODIFY_REMOVED_CUSTOMER_FEED_VALUE
Cannot update removed customer feed.
CANNOT_MODIFY_REMOVED_CUSTOMER_FEED = 5;- See Also:
- Constant Field Values
-
INVALID_PLACEHOLDER_TYPE_VALUE
public static final int INVALID_PLACEHOLDER_TYPE_VALUE
Invalid placeholder type.
INVALID_PLACEHOLDER_TYPE = 6;- See Also:
- Constant Field Values
-
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE_VALUE
public static final int MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE_VALUE
Feed mapping for this placeholder type does not exist.
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7;- See Also:
- Constant Field Values
-
PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED_VALUE
public static final int PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED_VALUE
Placeholder not allowed at the account level.
PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CustomerFeedErrorEnum.CustomerFeedError[] 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 (CustomerFeedErrorEnum.CustomerFeedError c : CustomerFeedErrorEnum.CustomerFeedError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomerFeedErrorEnum.CustomerFeedError 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 CustomerFeedErrorEnum.CustomerFeedError 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 CustomerFeedErrorEnum.CustomerFeedError 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<CustomerFeedErrorEnum.CustomerFeedError> 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 CustomerFeedErrorEnum.CustomerFeedError 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
-
-