Enum 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 enum google.ads.googleads.v10.errors.FeedMappingErrorEnum.FeedMappingError
    • Enum Constant Detail

      • INVALID_PLACEHOLDER_FIELD

        public static final FeedMappingErrorEnum.FeedMappingError INVALID_PLACEHOLDER_FIELD
         The given placeholder field does not exist.
         
        INVALID_PLACEHOLDER_FIELD = 2;
      • 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;
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null