Enum Class FeedMappingErrorEnum.FeedMappingError
java.lang.Object
java.lang.Enum<FeedMappingErrorEnum.FeedMappingError>
com.google.ads.googleads.v18.errors.FeedMappingErrorEnum.FeedMappingError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FeedMappingErrorEnum.FeedMappingError>,Constable
- Enclosing class:
- FeedMappingErrorEnum
public static enum FeedMappingErrorEnum.FeedMappingError
extends Enum<FeedMappingErrorEnum.FeedMappingError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible feed item errors.Protobuf enum
google.ads.googleads.v18.errors.FeedMappingErrorEnum.FeedMappingError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe "field" oneof was not set in an AttributeFieldMapping.Mappings for typed feeds cannot be modified.A feed mapping for a system generated feed cannot be operated on.The type of the feed attribute referenced in the attribute field mapping must match the type of the placeholder field.The given criterion field does not exist.The given criterion type does not exist.The given placeholder field does not exist.The given placeholder type does not exist.The given placeholder type can only be mapped to system generated feeds.The given placeholder type cannot be mapped to a system generated feed with the given type.Feed is read only.Location placeholder feed mappings can only be created for Places feeds.Only one feed attribute mapping for a criterion field is allowed (depending on the criterion type).Only one feed mapping for a criterion type is allowed per customer.Only one feed attribute mapping for a placeholder field is allowed (depending on the placeholder type).Only one feed mapping for a placeholder type is allowed per feed or customer (depending on the placeholder type).A feed mapping must contain at least one attribute field mapping.This feed mapping may not contain any explicit attribute field mappings.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe "field" oneof was not set in an AttributeFieldMapping.static final intMappings for typed feeds cannot be modified.static final intA feed mapping for a system generated feed cannot be operated on.static final intThe type of the feed attribute referenced in the attribute field mapping must match the type of the placeholder field.static final intThe given criterion field does not exist.static final intThe given criterion type does not exist.static final intThe given placeholder field does not exist.static final intThe given placeholder type can only be mapped to system generated feeds.static final intThe given placeholder type cannot be mapped to a system generated feed with the given type.static final intThe given placeholder type does not exist.static final intFeed is read only.static final intLocation placeholder feed mappings can only be created for Places feeds.static final intOnly one feed attribute mapping for a criterion field is allowed (depending on the criterion type).static final intOnly one feed mapping for a criterion type is allowed per customer.static final intOnly one feed attribute mapping for a placeholder field is allowed (depending on the placeholder type).static final intOnly one feed mapping for a placeholder type is allowed per feed or customer (depending on the placeholder type).static final intA feed mapping must contain at least one attribute field mapping.static final intThis feed mapping may not contain any explicit attribute field mappings.static final intThe received error code is not known in this version.static final intEnum unspecified. -
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<FeedMappingErrorEnum.FeedMappingError>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; -
INVALID_PLACEHOLDER_FIELD
The given placeholder field does not exist.
INVALID_PLACEHOLDER_FIELD = 2; -
INVALID_CRITERION_FIELD
The given criterion field does not exist.
INVALID_CRITERION_FIELD = 3; -
INVALID_PLACEHOLDER_TYPE
The given placeholder type does not exist.
INVALID_PLACEHOLDER_TYPE = 4; -
INVALID_CRITERION_TYPE
The given criterion type does not exist.
INVALID_CRITERION_TYPE = 5; -
NO_ATTRIBUTE_FIELD_MAPPINGS
A feed mapping must contain at least one attribute field mapping.
NO_ATTRIBUTE_FIELD_MAPPINGS = 7; -
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_FEEDA 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
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
Only one feed mapping for a criterion type is allowed per customer.
MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11; -
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
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
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_FEEDSLocation placeholder feed mappings can only be created for Places feeds.
LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15; -
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_FEEDThe 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_TYPEThe 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
The "field" oneof was not set in an AttributeFieldMapping.
ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19; -
LEGACY_FEED_TYPE_READ_ONLY
Feed is read only.
LEGACY_FEED_TYPE_READ_ONLY = 20; -
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:
-
INVALID_PLACEHOLDER_FIELD_VALUE
public static final int INVALID_PLACEHOLDER_FIELD_VALUEThe given placeholder field does not exist.
INVALID_PLACEHOLDER_FIELD = 2;- See Also:
-
INVALID_CRITERION_FIELD_VALUE
public static final int INVALID_CRITERION_FIELD_VALUEThe given criterion field does not exist.
INVALID_CRITERION_FIELD = 3;- See Also:
-
INVALID_PLACEHOLDER_TYPE_VALUE
public static final int INVALID_PLACEHOLDER_TYPE_VALUEThe given placeholder type does not exist.
INVALID_PLACEHOLDER_TYPE = 4;- See Also:
-
INVALID_CRITERION_TYPE_VALUE
public static final int INVALID_CRITERION_TYPE_VALUEThe given criterion type does not exist.
INVALID_CRITERION_TYPE = 5;- See Also:
-
NO_ATTRIBUTE_FIELD_MAPPINGS_VALUE
public static final int NO_ATTRIBUTE_FIELD_MAPPINGS_VALUEA feed mapping must contain at least one attribute field mapping.
NO_ATTRIBUTE_FIELD_MAPPINGS = 7;- See Also:
-
FEED_ATTRIBUTE_TYPE_MISMATCH_VALUE
public static final int FEED_ATTRIBUTE_TYPE_MISMATCH_VALUEThe 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:
-
CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED_VALUE
public static final int CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED_VALUEA feed mapping for a system generated feed cannot be operated on.
CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9;- See Also:
-
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE_VALUE
public static final int MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE_VALUEOnly 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:
-
MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE_VALUE
public static final int MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE_VALUEOnly one feed mapping for a criterion type is allowed per customer.
MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11;- See Also:
-
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD_VALUE
public static final int MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD_VALUEOnly one feed attribute mapping for a placeholder field is allowed (depending on the placeholder type).
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12;- See Also:
-
MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD_VALUE
public static final int MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD_VALUEOnly one feed attribute mapping for a criterion field is allowed (depending on the criterion type).
MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13;- See Also:
-
UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS_VALUE
public static final int UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS_VALUEThis feed mapping may not contain any explicit attribute field mappings.
UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14;- See Also:
-
LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS_VALUE
public static final int LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS_VALUELocation placeholder feed mappings can only be created for Places feeds.
LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15;- See Also:
-
CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED_VALUE
public static final int CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED_VALUEMappings for typed feeds cannot be modified.
CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16;- See Also:
-
INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED_VALUE
public static final int INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED_VALUEThe given placeholder type can only be mapped to system generated feeds.
INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17;- See Also:
-
INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE_VALUE
public static final int INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE_VALUEThe 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:
-
ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD_VALUE
public static final int ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD_VALUEThe "field" oneof was not set in an AttributeFieldMapping.
ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19;- See Also:
-
LEGACY_FEED_TYPE_READ_ONLY_VALUE
public static final int LEGACY_FEED_TYPE_READ_ONLY_VALUEFeed is read only.
LEGACY_FEED_TYPE_READ_ONLY = 20;- 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<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 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
-