Interface FeedItemValidationErrorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FeedItemValidationError, FeedItemValidationError.Builder

public interface FeedItemValidationErrorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getValidationErrorValue

      int getValidationErrorValue()
       Output only. Error code indicating what validation error was triggered. The
       description of the error can be found in the 'description' field.
       
      .google.ads.googleads.v18.errors.FeedItemValidationErrorEnum.FeedItemValidationError validation_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for validationError.
    • getValidationError

       Output only. Error code indicating what validation error was triggered. The
       description of the error can be found in the 'description' field.
       
      .google.ads.googleads.v18.errors.FeedItemValidationErrorEnum.FeedItemValidationError validation_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The validationError.
    • hasDescription

      boolean hasDescription()
       Output only. The description of the validation error.
       
      optional string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       Output only. The description of the validation error.
       
      optional string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Output only. The description of the validation error.
       
      optional string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for description.
    • getFeedAttributeIdsList

      List<Long> getFeedAttributeIdsList()
       Output only. Set of feed attributes in the feed item flagged during
       validation. If empty, no specific feed attributes can be associated with
       the error (for example, error across the entire feed item).
       
      repeated int64 feed_attribute_ids = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      A list containing the feedAttributeIds.
    • getFeedAttributeIdsCount

      int getFeedAttributeIdsCount()
       Output only. Set of feed attributes in the feed item flagged during
       validation. If empty, no specific feed attributes can be associated with
       the error (for example, error across the entire feed item).
       
      repeated int64 feed_attribute_ids = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The count of feedAttributeIds.
    • getFeedAttributeIds

      long getFeedAttributeIds(int index)
       Output only. Set of feed attributes in the feed item flagged during
       validation. If empty, no specific feed attributes can be associated with
       the error (for example, error across the entire feed item).
       
      repeated int64 feed_attribute_ids = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index of the element to return.
      Returns:
      The feedAttributeIds at the given index.
    • hasExtraInfo

      boolean hasExtraInfo()
       Output only. Any extra information related to this error which is not
       captured by validation_error and feed_attribute_id (for example,
       placeholder field IDs when feed_attribute_id is not mapped). Note that
       extra_info is not localized.
       
      optional string extra_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the extraInfo field is set.
    • getExtraInfo

      String getExtraInfo()
       Output only. Any extra information related to this error which is not
       captured by validation_error and feed_attribute_id (for example,
       placeholder field IDs when feed_attribute_id is not mapped). Note that
       extra_info is not localized.
       
      optional string extra_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The extraInfo.
    • getExtraInfoBytes

      com.google.protobuf.ByteString getExtraInfoBytes()
       Output only. Any extra information related to this error which is not
       captured by validation_error and feed_attribute_id (for example,
       placeholder field IDs when feed_attribute_id is not mapped). Note that
       extra_info is not localized.
       
      optional string extra_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for extraInfo.