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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()Output only.com.google.protobuf.ByteStringgetDescriptionBytes()Output only.java.lang.StringgetExtraInfo()Output only.com.google.protobuf.ByteStringgetExtraInfoBytes()Output only.longgetFeedAttributeIds(int index)Output only.intgetFeedAttributeIdsCount()Output only.java.util.List<java.lang.Long>getFeedAttributeIdsList()Output only.FeedItemValidationErrorEnum.FeedItemValidationErrorgetValidationError()Output only.intgetValidationErrorValue()Output only.booleanhasDescription()Output only.booleanhasExtraInfo()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v10.errors.FeedItemValidationErrorEnum.FeedItemValidationError validation_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for validationError.
-
getValidationError
FeedItemValidationErrorEnum.FeedItemValidationError 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.v10.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
java.lang.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
java.util.List<java.lang.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 (e.g. 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 (e.g. 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 (e.g. 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 (e.g. 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
java.lang.String getExtraInfo()
Output only. Any extra information related to this error which is not captured by validation_error and feed_attribute_id (e.g. 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 (e.g. 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.
-
-