Enum FeedMappingErrorEnum.FeedMappingError
- java.lang.Object
-
- java.lang.Enum<FeedMappingErrorEnum.FeedMappingError>
-
- com.google.ads.googleads.v10.errors.FeedMappingErrorEnum.FeedMappingError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<FeedMappingErrorEnum.FeedMappingError>
- Enclosing class:
- FeedMappingErrorEnum
public static enum FeedMappingErrorEnum.FeedMappingError extends java.lang.Enum<FeedMappingErrorEnum.FeedMappingError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible feed item errors.
Protobuf enumgoogle.ads.googleads.v10.errors.FeedMappingErrorEnum.FeedMappingError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_FIELD_MAPPING_MISSING_FIELDThe "field" oneof was not set in an AttributeFieldMapping.CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEEDMappings for typed feeds cannot be modified.CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEEDA feed mapping for a system generated feed cannot be operated on.FEED_ATTRIBUTE_TYPE_MISMATCHThe type of the feed attribute referenced in the attribute field mapping must match the type of the placeholder field.INVALID_CRITERION_FIELDThe given criterion field does not exist.INVALID_CRITERION_TYPEThe given criterion type does not exist.INVALID_PLACEHOLDER_FIELDThe given placeholder field does not exist.INVALID_PLACEHOLDER_TYPEThe given placeholder type does not exist.INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEEDThe given placeholder type can only be mapped to system generated feeds.INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPEThe given placeholder type cannot be mapped to a system generated feed with the given type.LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDSLocation placeholder feed mappings can only be created for Places feeds.MULTIPLE_MAPPINGS_FOR_CRITERION_FIELDOnly one feed attribute mapping for a criterion field is allowed (depending on the criterion type).MULTIPLE_MAPPINGS_FOR_CRITERION_TYPEOnly one feed mapping for a criterion type is allowed per customer.MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELDOnly one feed attribute mapping for a placeholder field is allowed (depending on the placeholder type).MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPEOnly one feed mapping for a placeholder type is allowed per feed or customer (depending on the placeholder type).NO_ATTRIBUTE_FIELD_MAPPINGSA feed mapping must contain at least one attribute field mapping.UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGSThis feed mapping may not contain any explicit attribute field mappings.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intATTRIBUTE_FIELD_MAPPING_MISSING_FIELD_VALUEThe "field" oneof was not set in an AttributeFieldMapping.static intCANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED_VALUEMappings for typed feeds cannot be modified.static intCANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED_VALUEA feed mapping for a system generated feed cannot be operated on.static intFEED_ATTRIBUTE_TYPE_MISMATCH_VALUEThe type of the feed attribute referenced in the attribute field mapping must match the type of the placeholder field.static intINVALID_CRITERION_FIELD_VALUEThe given criterion field does not exist.static intINVALID_CRITERION_TYPE_VALUEThe given criterion type does not exist.static intINVALID_PLACEHOLDER_FIELD_VALUEThe given placeholder field does not exist.static intINVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED_VALUEThe given placeholder type can only be mapped to system generated feeds.static intINVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE_VALUEThe given placeholder type cannot be mapped to a system generated feed with the given type.static intINVALID_PLACEHOLDER_TYPE_VALUEThe given placeholder type does not exist.static intLOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS_VALUELocation placeholder feed mappings can only be created for Places feeds.static intMULTIPLE_MAPPINGS_FOR_CRITERION_FIELD_VALUEOnly one feed attribute mapping for a criterion field is allowed (depending on the criterion type).static intMULTIPLE_MAPPINGS_FOR_CRITERION_TYPE_VALUEOnly one feed mapping for a criterion type is allowed per customer.static intMULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD_VALUEOnly one feed attribute mapping for a placeholder field is allowed (depending on the placeholder type).static intMULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE_VALUEOnly one feed mapping for a placeholder type is allowed per feed or customer (depending on the placeholder type).static intNO_ATTRIBUTE_FIELD_MAPPINGS_VALUEA feed mapping must contain at least one attribute field mapping.static intUNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS_VALUEThis feed mapping may not contain any explicit attribute field mappings.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 FeedMappingErrorEnum.FeedMappingErrorforNumber(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<FeedMappingErrorEnum.FeedMappingError>internalGetValueMap()static FeedMappingErrorEnum.FeedMappingErrorvalueOf(int value)Deprecated.static FeedMappingErrorEnum.FeedMappingErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FeedMappingErrorEnum.FeedMappingErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FeedMappingErrorEnum.FeedMappingError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final FeedMappingErrorEnum.FeedMappingError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final FeedMappingErrorEnum.FeedMappingError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
INVALID_PLACEHOLDER_FIELD
public static final FeedMappingErrorEnum.FeedMappingError INVALID_PLACEHOLDER_FIELD
The given placeholder field does not exist.
INVALID_PLACEHOLDER_FIELD = 2;
-
INVALID_CRITERION_FIELD
public static final FeedMappingErrorEnum.FeedMappingError INVALID_CRITERION_FIELD
The given criterion field does not exist.
INVALID_CRITERION_FIELD = 3;
-
INVALID_PLACEHOLDER_TYPE
public static final FeedMappingErrorEnum.FeedMappingError INVALID_PLACEHOLDER_TYPE
The given placeholder type does not exist.
INVALID_PLACEHOLDER_TYPE = 4;
-
INVALID_CRITERION_TYPE
public static final FeedMappingErrorEnum.FeedMappingError INVALID_CRITERION_TYPE
The given criterion type does not exist.
INVALID_CRITERION_TYPE = 5;
-
NO_ATTRIBUTE_FIELD_MAPPINGS
public static final FeedMappingErrorEnum.FeedMappingError NO_ATTRIBUTE_FIELD_MAPPINGS
A feed mapping must contain at least one attribute field mapping.
NO_ATTRIBUTE_FIELD_MAPPINGS = 7;
-
FEED_ATTRIBUTE_TYPE_MISMATCH
public static final FeedMappingErrorEnum.FeedMappingError FEED_ATTRIBUTE_TYPE_MISMATCH
The type of the feed attribute referenced in the attribute field mapping must match the type of the placeholder field.
FEED_ATTRIBUTE_TYPE_MISMATCH = 8;
-
CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED
public static final FeedMappingErrorEnum.FeedMappingError CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED
A feed mapping for a system generated feed cannot be operated on.
CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9;
-
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE
public static final FeedMappingErrorEnum.FeedMappingError MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE
Only one feed mapping for a placeholder type is allowed per feed or customer (depending on the placeholder type).
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10;
-
MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE
public static final FeedMappingErrorEnum.FeedMappingError MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE
Only one feed mapping for a criterion type is allowed per customer.
MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11;
-
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD
public static final FeedMappingErrorEnum.FeedMappingError MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD
Only one feed attribute mapping for a placeholder field is allowed (depending on the placeholder type).
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12;
-
MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD
public static final FeedMappingErrorEnum.FeedMappingError MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD
Only one feed attribute mapping for a criterion field is allowed (depending on the criterion type).
MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13;
-
UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS
public static final FeedMappingErrorEnum.FeedMappingError UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS
This feed mapping may not contain any explicit attribute field mappings.
UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14;
-
LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS
public static final FeedMappingErrorEnum.FeedMappingError LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS
Location placeholder feed mappings can only be created for Places feeds.
LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15;
-
CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED
public static final FeedMappingErrorEnum.FeedMappingError CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED
Mappings for typed feeds cannot be modified.
CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16;
-
INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED
public static final FeedMappingErrorEnum.FeedMappingError INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED
The given placeholder type can only be mapped to system generated feeds.
INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17;
-
INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE
public static final FeedMappingErrorEnum.FeedMappingError INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE
The given placeholder type cannot be mapped to a system generated feed with the given type.
INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18;
-
ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD
public static final FeedMappingErrorEnum.FeedMappingError ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD
The "field" oneof was not set in an AttributeFieldMapping.
ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19;
-
UNRECOGNIZED
public static final FeedMappingErrorEnum.FeedMappingError 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
-
INVALID_PLACEHOLDER_FIELD_VALUE
public static final int INVALID_PLACEHOLDER_FIELD_VALUE
The given placeholder field does not exist.
INVALID_PLACEHOLDER_FIELD = 2;- See Also:
- Constant Field Values
-
INVALID_CRITERION_FIELD_VALUE
public static final int INVALID_CRITERION_FIELD_VALUE
The given criterion field does not exist.
INVALID_CRITERION_FIELD = 3;- See Also:
- Constant Field Values
-
INVALID_PLACEHOLDER_TYPE_VALUE
public static final int INVALID_PLACEHOLDER_TYPE_VALUE
The given placeholder type does not exist.
INVALID_PLACEHOLDER_TYPE = 4;- See Also:
- Constant Field Values
-
INVALID_CRITERION_TYPE_VALUE
public static final int INVALID_CRITERION_TYPE_VALUE
The given criterion type does not exist.
INVALID_CRITERION_TYPE = 5;- See Also:
- Constant Field Values
-
NO_ATTRIBUTE_FIELD_MAPPINGS_VALUE
public static final int NO_ATTRIBUTE_FIELD_MAPPINGS_VALUE
A feed mapping must contain at least one attribute field mapping.
NO_ATTRIBUTE_FIELD_MAPPINGS = 7;- See Also:
- Constant Field Values
-
FEED_ATTRIBUTE_TYPE_MISMATCH_VALUE
public static final int FEED_ATTRIBUTE_TYPE_MISMATCH_VALUE
The type of the feed attribute referenced in the attribute field mapping must match the type of the placeholder field.
FEED_ATTRIBUTE_TYPE_MISMATCH = 8;- See Also:
- Constant Field Values
-
CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED_VALUE
public static final int CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED_VALUE
A feed mapping for a system generated feed cannot be operated on.
CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9;- See Also:
- Constant Field Values
-
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE_VALUE
public static final int MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE_VALUE
Only one feed mapping for a placeholder type is allowed per feed or customer (depending on the placeholder type).
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10;- See Also:
- Constant Field Values
-
MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE_VALUE
public static final int MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE_VALUE
Only one feed mapping for a criterion type is allowed per customer.
MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11;- See Also:
- Constant Field Values
-
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD_VALUE
public static final int MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD_VALUE
Only one feed attribute mapping for a placeholder field is allowed (depending on the placeholder type).
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12;- See Also:
- Constant Field Values
-
MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD_VALUE
public static final int MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD_VALUE
Only one feed attribute mapping for a criterion field is allowed (depending on the criterion type).
MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13;- See Also:
- Constant Field Values
-
UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS_VALUE
public static final int UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS_VALUE
This feed mapping may not contain any explicit attribute field mappings.
UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14;- See Also:
- Constant Field Values
-
LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS_VALUE
public static final int LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS_VALUE
Location placeholder feed mappings can only be created for Places feeds.
LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15;- See Also:
- Constant Field Values
-
CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED_VALUE
public static final int CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED_VALUE
Mappings for typed feeds cannot be modified.
CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16;- See Also:
- Constant Field Values
-
INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED_VALUE
public static final int INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED_VALUE
The given placeholder type can only be mapped to system generated feeds.
INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17;- See Also:
- Constant Field Values
-
INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE_VALUE
public static final int INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE_VALUE
The given placeholder type cannot be mapped to a system generated feed with the given type.
INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18;- See Also:
- Constant Field Values
-
ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD_VALUE
public static final int ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD_VALUE
The "field" oneof was not set in an AttributeFieldMapping.
ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FeedMappingErrorEnum.FeedMappingError[] 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 (FeedMappingErrorEnum.FeedMappingError c : FeedMappingErrorEnum.FeedMappingError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeedMappingErrorEnum.FeedMappingError 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 FeedMappingErrorEnum.FeedMappingError 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 FeedMappingErrorEnum.FeedMappingError 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<FeedMappingErrorEnum.FeedMappingError> 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 FeedMappingErrorEnum.FeedMappingError 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
-
-