All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v17/errors/extension_feed_item_error.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.errors;

/**
 * 
 * Container for enum describing possible extension feed item error.
 * 
* * Protobuf type {@code google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum} */ public final class ExtensionFeedItemErrorEnum extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum) ExtensionFeedItemErrorEnumOrBuilder { private static final long serialVersionUID = 0L; // Use ExtensionFeedItemErrorEnum.newBuilder() to construct. private ExtensionFeedItemErrorEnum(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExtensionFeedItemErrorEnum() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExtensionFeedItemErrorEnum(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorProto.internal_static_google_ads_googleads_v17_errors_ExtensionFeedItemErrorEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorProto.internal_static_google_ads_googleads_v17_errors_ExtensionFeedItemErrorEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum.class, com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum.Builder.class); } /** *
   * Enum describing possible extension feed item errors.
   * 
* * Protobuf enum {@code google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemError} */ public enum ExtensionFeedItemError implements com.google.protobuf.ProtocolMessageEnum { /** *
     * Enum unspecified.
     * 
* * UNSPECIFIED = 0; */ UNSPECIFIED(0), /** *
     * The received error code is not known in this version.
     * 
* * UNKNOWN = 1; */ UNKNOWN(1), /** *
     * Value is not within the accepted range.
     * 
* * VALUE_OUT_OF_RANGE = 2; */ VALUE_OUT_OF_RANGE(2), /** *
     * Url list is too long.
     * 
* * URL_LIST_TOO_LONG = 3; */ URL_LIST_TOO_LONG(3), /** *
     * Cannot have a geo targeting restriction without having geo targeting.
     * 
* * CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING = 4; */ CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING(4), /** *
     * Cannot simultaneously set sitelink field with final urls.
     * 
* * CANNOT_SET_WITH_FINAL_URLS = 5; */ CANNOT_SET_WITH_FINAL_URLS(5), /** *
     * Must set field with final urls.
     * 
* * CANNOT_SET_WITHOUT_FINAL_URLS = 6; */ CANNOT_SET_WITHOUT_FINAL_URLS(6), /** *
     * Phone number for a call extension is invalid.
     * 
* * INVALID_PHONE_NUMBER = 7; */ INVALID_PHONE_NUMBER(7), /** *
     * Phone number for a call extension is not supported for the given country
     * code.
     * 
* * PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 8; */ PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY(8), /** *
     * A carrier specific number in short format is not allowed for call
     * extensions.
     * 
* * CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 9; */ CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED(9), /** *
     * Premium rate numbers are not allowed for call extensions.
     * 
* * PREMIUM_RATE_NUMBER_NOT_ALLOWED = 10; */ PREMIUM_RATE_NUMBER_NOT_ALLOWED(10), /** *
     * Phone number type for a call extension is not allowed.
     * For example, personal number is not allowed for a call extension in
     * most regions.
     * 
* * DISALLOWED_NUMBER_TYPE = 11; */ DISALLOWED_NUMBER_TYPE(11), /** *
     * Phone number for a call extension does not meet domestic format
     * requirements.
     * 
* * INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 12; */ INVALID_DOMESTIC_PHONE_NUMBER_FORMAT(12), /** *
     * Vanity phone numbers (for example, those including letters) are not
     * allowed for call extensions.
     * 
* * VANITY_PHONE_NUMBER_NOT_ALLOWED = 13; */ VANITY_PHONE_NUMBER_NOT_ALLOWED(13), /** *
     * Call conversion action provided for a call extension is invalid.
     * 
* * INVALID_CALL_CONVERSION_ACTION = 14; */ INVALID_CALL_CONVERSION_ACTION(14), /** *
     * For a call extension, the customer is not on the allow-list for call
     * tracking.
     * 
* * CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING = 47; */ CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING(47), /** *
     * Call tracking is not supported for the given country for a call
     * extension.
     * 
* * CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 16; */ CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY(16), /** *
     * Customer hasn't consented for call recording, which is required for
     * creating/updating call feed items. See
     * https://support.google.com/google-ads/answer/7412639.
     * 
* * CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 17; */ CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED(17), /** *
     * App id provided for an app extension is invalid.
     * 
* * INVALID_APP_ID = 18; */ INVALID_APP_ID(18), /** *
     * Quotation marks present in the review text for a review extension.
     * 
* * QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 19; */ QUOTES_IN_REVIEW_EXTENSION_SNIPPET(19), /** *
     * Hyphen character present in the review text for a review extension.
     * 
* * HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 20; */ HYPHENS_IN_REVIEW_EXTENSION_SNIPPET(20), /** *
     * A denylisted review source name or url was provided for a review
     * extension.
     * 
* * REVIEW_EXTENSION_SOURCE_INELIGIBLE = 21; */ REVIEW_EXTENSION_SOURCE_INELIGIBLE(21), /** *
     * Review source name should not be found in the review text.
     * 
* * SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 22; */ SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT(22), /** *
     * Inconsistent currency codes.
     * 
* * INCONSISTENT_CURRENCY_CODES = 23; */ INCONSISTENT_CURRENCY_CODES(23), /** *
     * Price extension cannot have duplicated headers.
     * 
* * PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 24; */ PRICE_EXTENSION_HAS_DUPLICATED_HEADERS(24), /** *
     * Price item cannot have duplicated header and description.
     * 
* * PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 25; */ PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION(25), /** *
     * Price extension has too few items.
     * 
* * PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 26; */ PRICE_EXTENSION_HAS_TOO_FEW_ITEMS(26), /** *
     * Price extension has too many items.
     * 
* * PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 27; */ PRICE_EXTENSION_HAS_TOO_MANY_ITEMS(27), /** *
     * The input value is not currently supported.
     * 
* * UNSUPPORTED_VALUE = 28; */ UNSUPPORTED_VALUE(28), /** *
     * The input value is not currently supported in the selected language of an
     * extension.
     * 
* * UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 29; */ UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE(29), /** *
     * Unknown or unsupported device preference.
     * 
* * INVALID_DEVICE_PREFERENCE = 30; */ INVALID_DEVICE_PREFERENCE(30), /** *
     * Invalid feed item schedule end time (for example, endHour = 24 and
     * endMinute != 0).
     * 
* * INVALID_SCHEDULE_END = 31; */ INVALID_SCHEDULE_END(31), /** *
     * Date time zone does not match the account's time zone.
     * 
* * DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 32; */ DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE(32), /** *
     * Invalid structured snippet header.
     * 
* * INVALID_SNIPPETS_HEADER = 33; */ INVALID_SNIPPETS_HEADER(33), /** *
     * Cannot operate on removed feed item.
     * 
* * CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 34; */ CANNOT_OPERATE_ON_REMOVED_FEED_ITEM(34), /** *
     * Phone number not supported when call tracking enabled for country.
     * 
* * PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 35; */ PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY(35), /** *
     * Cannot set call_conversion_action while call_conversion_tracking_enabled
     * is set to true.
     * 
* * CONFLICTING_CALL_CONVERSION_SETTINGS = 36; */ CONFLICTING_CALL_CONVERSION_SETTINGS(36), /** *
     * The type of the input extension feed item doesn't match the existing
     * extension feed item.
     * 
* * EXTENSION_TYPE_MISMATCH = 37; */ EXTENSION_TYPE_MISMATCH(37), /** *
     * The oneof field extension for example, subtype of extension feed item is
     * required.
     * 
* * EXTENSION_SUBTYPE_REQUIRED = 38; */ EXTENSION_SUBTYPE_REQUIRED(38), /** *
     * The referenced feed item is not mapped to a supported extension type.
     * 
* * EXTENSION_TYPE_UNSUPPORTED = 39; */ EXTENSION_TYPE_UNSUPPORTED(39), /** *
     * Cannot operate on a Feed with more than one active FeedMapping.
     * 
* * CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS = 40; */ CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS(40), /** *
     * Cannot operate on a Feed that has key attributes.
     * 
* * CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES = 41; */ CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES(41), /** *
     * Input price is not in a valid format.
     * 
* * INVALID_PRICE_FORMAT = 42; */ INVALID_PRICE_FORMAT(42), /** *
     * The promotion time is invalid.
     * 
* * PROMOTION_INVALID_TIME = 43; */ PROMOTION_INVALID_TIME(43), /** *
     * This field has too many decimal places specified.
     * 
* * TOO_MANY_DECIMAL_PLACES_SPECIFIED = 44; */ TOO_MANY_DECIMAL_PLACES_SPECIFIED(44), /** *
     * Concrete sub type of ExtensionFeedItem is required for this operation.
     * 
* * CONCRETE_EXTENSION_TYPE_REQUIRED = 45; */ CONCRETE_EXTENSION_TYPE_REQUIRED(45), /** *
     * Feed item schedule end time must be after start time.
     * 
* * SCHEDULE_END_NOT_AFTER_START = 46; */ SCHEDULE_END_NOT_AFTER_START(46), UNRECOGNIZED(-1), ; /** *
     * Enum unspecified.
     * 
* * UNSPECIFIED = 0; */ public static final int UNSPECIFIED_VALUE = 0; /** *
     * The received error code is not known in this version.
     * 
* * UNKNOWN = 1; */ public static final int UNKNOWN_VALUE = 1; /** *
     * Value is not within the accepted range.
     * 
* * VALUE_OUT_OF_RANGE = 2; */ public static final int VALUE_OUT_OF_RANGE_VALUE = 2; /** *
     * Url list is too long.
     * 
* * URL_LIST_TOO_LONG = 3; */ public static final int URL_LIST_TOO_LONG_VALUE = 3; /** *
     * Cannot have a geo targeting restriction without having geo targeting.
     * 
* * CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING = 4; */ public static final int CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING_VALUE = 4; /** *
     * Cannot simultaneously set sitelink field with final urls.
     * 
* * CANNOT_SET_WITH_FINAL_URLS = 5; */ public static final int CANNOT_SET_WITH_FINAL_URLS_VALUE = 5; /** *
     * Must set field with final urls.
     * 
* * CANNOT_SET_WITHOUT_FINAL_URLS = 6; */ public static final int CANNOT_SET_WITHOUT_FINAL_URLS_VALUE = 6; /** *
     * Phone number for a call extension is invalid.
     * 
* * INVALID_PHONE_NUMBER = 7; */ public static final int INVALID_PHONE_NUMBER_VALUE = 7; /** *
     * Phone number for a call extension is not supported for the given country
     * code.
     * 
* * PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 8; */ public static final int PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY_VALUE = 8; /** *
     * A carrier specific number in short format is not allowed for call
     * extensions.
     * 
* * CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 9; */ public static final int CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED_VALUE = 9; /** *
     * Premium rate numbers are not allowed for call extensions.
     * 
* * PREMIUM_RATE_NUMBER_NOT_ALLOWED = 10; */ public static final int PREMIUM_RATE_NUMBER_NOT_ALLOWED_VALUE = 10; /** *
     * Phone number type for a call extension is not allowed.
     * For example, personal number is not allowed for a call extension in
     * most regions.
     * 
* * DISALLOWED_NUMBER_TYPE = 11; */ public static final int DISALLOWED_NUMBER_TYPE_VALUE = 11; /** *
     * Phone number for a call extension does not meet domestic format
     * requirements.
     * 
* * INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 12; */ public static final int INVALID_DOMESTIC_PHONE_NUMBER_FORMAT_VALUE = 12; /** *
     * Vanity phone numbers (for example, those including letters) are not
     * allowed for call extensions.
     * 
* * VANITY_PHONE_NUMBER_NOT_ALLOWED = 13; */ public static final int VANITY_PHONE_NUMBER_NOT_ALLOWED_VALUE = 13; /** *
     * Call conversion action provided for a call extension is invalid.
     * 
* * INVALID_CALL_CONVERSION_ACTION = 14; */ public static final int INVALID_CALL_CONVERSION_ACTION_VALUE = 14; /** *
     * For a call extension, the customer is not on the allow-list for call
     * tracking.
     * 
* * CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING = 47; */ public static final int CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING_VALUE = 47; /** *
     * Call tracking is not supported for the given country for a call
     * extension.
     * 
* * CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 16; */ public static final int CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY_VALUE = 16; /** *
     * Customer hasn't consented for call recording, which is required for
     * creating/updating call feed items. See
     * https://support.google.com/google-ads/answer/7412639.
     * 
* * CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 17; */ public static final int CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED_VALUE = 17; /** *
     * App id provided for an app extension is invalid.
     * 
* * INVALID_APP_ID = 18; */ public static final int INVALID_APP_ID_VALUE = 18; /** *
     * Quotation marks present in the review text for a review extension.
     * 
* * QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 19; */ public static final int QUOTES_IN_REVIEW_EXTENSION_SNIPPET_VALUE = 19; /** *
     * Hyphen character present in the review text for a review extension.
     * 
* * HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 20; */ public static final int HYPHENS_IN_REVIEW_EXTENSION_SNIPPET_VALUE = 20; /** *
     * A denylisted review source name or url was provided for a review
     * extension.
     * 
* * REVIEW_EXTENSION_SOURCE_INELIGIBLE = 21; */ public static final int REVIEW_EXTENSION_SOURCE_INELIGIBLE_VALUE = 21; /** *
     * Review source name should not be found in the review text.
     * 
* * SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 22; */ public static final int SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT_VALUE = 22; /** *
     * Inconsistent currency codes.
     * 
* * INCONSISTENT_CURRENCY_CODES = 23; */ public static final int INCONSISTENT_CURRENCY_CODES_VALUE = 23; /** *
     * Price extension cannot have duplicated headers.
     * 
* * PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 24; */ public static final int PRICE_EXTENSION_HAS_DUPLICATED_HEADERS_VALUE = 24; /** *
     * Price item cannot have duplicated header and description.
     * 
* * PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 25; */ public static final int PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION_VALUE = 25; /** *
     * Price extension has too few items.
     * 
* * PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 26; */ public static final int PRICE_EXTENSION_HAS_TOO_FEW_ITEMS_VALUE = 26; /** *
     * Price extension has too many items.
     * 
* * PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 27; */ public static final int PRICE_EXTENSION_HAS_TOO_MANY_ITEMS_VALUE = 27; /** *
     * The input value is not currently supported.
     * 
* * UNSUPPORTED_VALUE = 28; */ public static final int UNSUPPORTED_VALUE_VALUE = 28; /** *
     * The input value is not currently supported in the selected language of an
     * extension.
     * 
* * UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 29; */ public static final int UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE_VALUE = 29; /** *
     * Unknown or unsupported device preference.
     * 
* * INVALID_DEVICE_PREFERENCE = 30; */ public static final int INVALID_DEVICE_PREFERENCE_VALUE = 30; /** *
     * Invalid feed item schedule end time (for example, endHour = 24 and
     * endMinute != 0).
     * 
* * INVALID_SCHEDULE_END = 31; */ public static final int INVALID_SCHEDULE_END_VALUE = 31; /** *
     * Date time zone does not match the account's time zone.
     * 
* * DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 32; */ public static final int DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE_VALUE = 32; /** *
     * Invalid structured snippet header.
     * 
* * INVALID_SNIPPETS_HEADER = 33; */ public static final int INVALID_SNIPPETS_HEADER_VALUE = 33; /** *
     * Cannot operate on removed feed item.
     * 
* * CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 34; */ public static final int CANNOT_OPERATE_ON_REMOVED_FEED_ITEM_VALUE = 34; /** *
     * Phone number not supported when call tracking enabled for country.
     * 
* * PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 35; */ public static final int PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY_VALUE = 35; /** *
     * Cannot set call_conversion_action while call_conversion_tracking_enabled
     * is set to true.
     * 
* * CONFLICTING_CALL_CONVERSION_SETTINGS = 36; */ public static final int CONFLICTING_CALL_CONVERSION_SETTINGS_VALUE = 36; /** *
     * The type of the input extension feed item doesn't match the existing
     * extension feed item.
     * 
* * EXTENSION_TYPE_MISMATCH = 37; */ public static final int EXTENSION_TYPE_MISMATCH_VALUE = 37; /** *
     * The oneof field extension for example, subtype of extension feed item is
     * required.
     * 
* * EXTENSION_SUBTYPE_REQUIRED = 38; */ public static final int EXTENSION_SUBTYPE_REQUIRED_VALUE = 38; /** *
     * The referenced feed item is not mapped to a supported extension type.
     * 
* * EXTENSION_TYPE_UNSUPPORTED = 39; */ public static final int EXTENSION_TYPE_UNSUPPORTED_VALUE = 39; /** *
     * Cannot operate on a Feed with more than one active FeedMapping.
     * 
* * CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS = 40; */ public static final int CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS_VALUE = 40; /** *
     * Cannot operate on a Feed that has key attributes.
     * 
* * CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES = 41; */ public static final int CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES_VALUE = 41; /** *
     * Input price is not in a valid format.
     * 
* * INVALID_PRICE_FORMAT = 42; */ public static final int INVALID_PRICE_FORMAT_VALUE = 42; /** *
     * The promotion time is invalid.
     * 
* * PROMOTION_INVALID_TIME = 43; */ public static final int PROMOTION_INVALID_TIME_VALUE = 43; /** *
     * This field has too many decimal places specified.
     * 
* * TOO_MANY_DECIMAL_PLACES_SPECIFIED = 44; */ public static final int TOO_MANY_DECIMAL_PLACES_SPECIFIED_VALUE = 44; /** *
     * Concrete sub type of ExtensionFeedItem is required for this operation.
     * 
* * CONCRETE_EXTENSION_TYPE_REQUIRED = 45; */ public static final int CONCRETE_EXTENSION_TYPE_REQUIRED_VALUE = 45; /** *
     * Feed item schedule end time must be after start time.
     * 
* * SCHEDULE_END_NOT_AFTER_START = 46; */ public static final int SCHEDULE_END_NOT_AFTER_START_VALUE = 46; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ExtensionFeedItemError valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ExtensionFeedItemError forNumber(int value) { switch (value) { case 0: return UNSPECIFIED; case 1: return UNKNOWN; case 2: return VALUE_OUT_OF_RANGE; case 3: return URL_LIST_TOO_LONG; case 4: return CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING; case 5: return CANNOT_SET_WITH_FINAL_URLS; case 6: return CANNOT_SET_WITHOUT_FINAL_URLS; case 7: return INVALID_PHONE_NUMBER; case 8: return PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY; case 9: return CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED; case 10: return PREMIUM_RATE_NUMBER_NOT_ALLOWED; case 11: return DISALLOWED_NUMBER_TYPE; case 12: return INVALID_DOMESTIC_PHONE_NUMBER_FORMAT; case 13: return VANITY_PHONE_NUMBER_NOT_ALLOWED; case 14: return INVALID_CALL_CONVERSION_ACTION; case 47: return CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING; case 16: return CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY; case 17: return CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED; case 18: return INVALID_APP_ID; case 19: return QUOTES_IN_REVIEW_EXTENSION_SNIPPET; case 20: return HYPHENS_IN_REVIEW_EXTENSION_SNIPPET; case 21: return REVIEW_EXTENSION_SOURCE_INELIGIBLE; case 22: return SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT; case 23: return INCONSISTENT_CURRENCY_CODES; case 24: return PRICE_EXTENSION_HAS_DUPLICATED_HEADERS; case 25: return PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION; case 26: return PRICE_EXTENSION_HAS_TOO_FEW_ITEMS; case 27: return PRICE_EXTENSION_HAS_TOO_MANY_ITEMS; case 28: return UNSUPPORTED_VALUE; case 29: return UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE; case 30: return INVALID_DEVICE_PREFERENCE; case 31: return INVALID_SCHEDULE_END; case 32: return DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE; case 33: return INVALID_SNIPPETS_HEADER; case 34: return CANNOT_OPERATE_ON_REMOVED_FEED_ITEM; case 35: return PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY; case 36: return CONFLICTING_CALL_CONVERSION_SETTINGS; case 37: return EXTENSION_TYPE_MISMATCH; case 38: return EXTENSION_SUBTYPE_REQUIRED; case 39: return EXTENSION_TYPE_UNSUPPORTED; case 40: return CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS; case 41: return CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES; case 42: return INVALID_PRICE_FORMAT; case 43: return PROMOTION_INVALID_TIME; case 44: return TOO_MANY_DECIMAL_PLACES_SPECIFIED; case 45: return CONCRETE_EXTENSION_TYPE_REQUIRED; case 46: return SCHEDULE_END_NOT_AFTER_START; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ExtensionFeedItemError> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ExtensionFeedItemError findValueByNumber(int number) { return ExtensionFeedItemError.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum.getDescriptor().getEnumTypes().get(0); } private static final ExtensionFeedItemError[] VALUES = values(); public static ExtensionFeedItemError valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ExtensionFeedItemError(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemError) } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum)) { return super.equals(obj); } com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum other = (com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Container for enum describing possible extension feed item error.
   * 
* * Protobuf type {@code google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum) com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnumOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorProto.internal_static_google_ads_googleads_v17_errors_ExtensionFeedItemErrorEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorProto.internal_static_google_ads_googleads_v17_errors_ExtensionFeedItemErrorEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum.class, com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum.Builder.class); } // Construct using com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorProto.internal_static_google_ads_googleads_v17_errors_ExtensionFeedItemErrorEnum_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum getDefaultInstanceForType() { return com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum build() { com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum buildPartial() { com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum result = new com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum) { return mergeFrom((com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum other) { if (other == com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum) private static final com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum(); } public static com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExtensionFeedItemErrorEnum parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.ads.googleads.v17.errors.ExtensionFeedItemErrorEnum getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy