com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v17/errors/extension_setting_error.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.errors;
/**
*
* Container for enum describing validation errors of extension settings.
*
*
* Protobuf type {@code google.ads.googleads.v17.errors.ExtensionSettingErrorEnum}
*/
public final class ExtensionSettingErrorEnum extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.errors.ExtensionSettingErrorEnum)
ExtensionSettingErrorEnumOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExtensionSettingErrorEnum.newBuilder() to construct.
private ExtensionSettingErrorEnum(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExtensionSettingErrorEnum() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExtensionSettingErrorEnum();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.errors.ExtensionSettingErrorProto.internal_static_google_ads_googleads_v17_errors_ExtensionSettingErrorEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.errors.ExtensionSettingErrorProto.internal_static_google_ads_googleads_v17_errors_ExtensionSettingErrorEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum.class, com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum.Builder.class);
}
/**
*
* Enum describing possible extension setting errors.
*
*
* Protobuf enum {@code google.ads.googleads.v17.errors.ExtensionSettingErrorEnum.ExtensionSettingError}
*/
public enum ExtensionSettingError
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),
/**
*
* A platform restriction was provided without input extensions or existing
* extensions.
*
*
* EXTENSIONS_REQUIRED = 2;
*/
EXTENSIONS_REQUIRED(2),
/**
*
* The provided feed type does not correspond to the provided extensions.
*
*
* FEED_TYPE_EXTENSION_TYPE_MISMATCH = 3;
*/
FEED_TYPE_EXTENSION_TYPE_MISMATCH(3),
/**
*
* The provided feed type cannot be used.
*
*
* INVALID_FEED_TYPE = 4;
*/
INVALID_FEED_TYPE(4),
/**
*
* The provided feed type cannot be used at the customer level.
*
*
* INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING = 5;
*/
INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING(5),
/**
*
* Cannot change a feed item field on a CREATE operation.
*
*
* CANNOT_CHANGE_FEED_ITEM_ON_CREATE = 6;
*/
CANNOT_CHANGE_FEED_ITEM_ON_CREATE(6),
/**
*
* Cannot update an extension that is not already in this setting.
*
*
* CANNOT_UPDATE_NEWLY_CREATED_EXTENSION = 7;
*/
CANNOT_UPDATE_NEWLY_CREATED_EXTENSION(7),
/**
*
* There is no existing AdGroupExtensionSetting for this type.
*
*
* NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE = 8;
*/
NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE(8),
/**
*
* There is no existing CampaignExtensionSetting for this type.
*
*
* NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE = 9;
*/
NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE(9),
/**
*
* There is no existing CustomerExtensionSetting for this type.
*
*
* NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE = 10;
*/
NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE(10),
/**
*
* The AdGroupExtensionSetting already exists. UPDATE should be used to
* modify the existing AdGroupExtensionSetting.
*
*
* AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS = 11;
*/
AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS(11),
/**
*
* The CampaignExtensionSetting already exists. UPDATE should be used to
* modify the existing CampaignExtensionSetting.
*
*
* CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS = 12;
*/
CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS(12),
/**
*
* The CustomerExtensionSetting already exists. UPDATE should be used to
* modify the existing CustomerExtensionSetting.
*
*
* CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS = 13;
*/
CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS(13),
/**
*
* An active ad group feed already exists for this place holder type.
*
*
* AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 14;
*/
AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE(14),
/**
*
* An active campaign feed already exists for this place holder type.
*
*
* CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 15;
*/
CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE(15),
/**
*
* An active customer feed already exists for this place holder type.
*
*
* CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 16;
*/
CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE(16),
/**
*
* Value is not within the accepted range.
*
*
* VALUE_OUT_OF_RANGE = 17;
*/
VALUE_OUT_OF_RANGE(17),
/**
*
* Cannot simultaneously set specified field with final urls.
*
*
* CANNOT_SET_FIELD_WITH_FINAL_URLS = 18;
*/
CANNOT_SET_FIELD_WITH_FINAL_URLS(18),
/**
*
* Must set field with final urls.
*
*
* FINAL_URLS_NOT_SET = 19;
*/
FINAL_URLS_NOT_SET(19),
/**
*
* Phone number for a call extension is invalid.
*
*
* INVALID_PHONE_NUMBER = 20;
*/
INVALID_PHONE_NUMBER(20),
/**
*
* Phone number for a call extension is not supported for the given country
* code.
*
*
* PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 21;
*/
PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY(21),
/**
*
* A carrier specific number in short format is not allowed for call
* extensions.
*
*
* CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 22;
*/
CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED(22),
/**
*
* Premium rate numbers are not allowed for call extensions.
*
*
* PREMIUM_RATE_NUMBER_NOT_ALLOWED = 23;
*/
PREMIUM_RATE_NUMBER_NOT_ALLOWED(23),
/**
*
* Phone number type for a call extension is not allowed.
*
*
* DISALLOWED_NUMBER_TYPE = 24;
*/
DISALLOWED_NUMBER_TYPE(24),
/**
*
* Phone number for a call extension does not meet domestic format
* requirements.
*
*
* INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 25;
*/
INVALID_DOMESTIC_PHONE_NUMBER_FORMAT(25),
/**
*
* Vanity phone numbers (for example, those including letters) are not
* allowed for call extensions.
*
*
* VANITY_PHONE_NUMBER_NOT_ALLOWED = 26;
*/
VANITY_PHONE_NUMBER_NOT_ALLOWED(26),
/**
*
* Country code provided for a call extension is invalid.
*
*
* INVALID_COUNTRY_CODE = 27;
*/
INVALID_COUNTRY_CODE(27),
/**
*
* Call conversion type id provided for a call extension is invalid.
*
*
* INVALID_CALL_CONVERSION_TYPE_ID = 28;
*/
INVALID_CALL_CONVERSION_TYPE_ID(28),
/**
*
* For a call extension, the customer is not on the allow-list for call
* tracking.
*
*
* CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 69;
*/
CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING(69),
/**
*
* Call tracking is not supported for the given country for a call
* extension.
*
*
* CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 30;
*/
CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY(30),
/**
*
* App id provided for an app extension is invalid.
*
*
* INVALID_APP_ID = 31;
*/
INVALID_APP_ID(31),
/**
*
* Quotation marks present in the review text for a review extension.
*
*
* QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 32;
*/
QUOTES_IN_REVIEW_EXTENSION_SNIPPET(32),
/**
*
* Hyphen character present in the review text for a review extension.
*
*
* HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 33;
*/
HYPHENS_IN_REVIEW_EXTENSION_SNIPPET(33),
/**
*
* A blocked review source name or url was provided for a review
* extension.
*
*
* REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE = 34;
*/
REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE(34),
/**
*
* Review source name should not be found in the review text.
*
*
* SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 35;
*/
SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT(35),
/**
*
* Field must be set.
*
*
* MISSING_FIELD = 36;
*/
MISSING_FIELD(36),
/**
*
* Inconsistent currency codes.
*
*
* INCONSISTENT_CURRENCY_CODES = 37;
*/
INCONSISTENT_CURRENCY_CODES(37),
/**
*
* Price extension cannot have duplicated headers.
*
*
* PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 38;
*/
PRICE_EXTENSION_HAS_DUPLICATED_HEADERS(38),
/**
*
* Price item cannot have duplicated header and description.
*
*
* PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 39;
*/
PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION(39),
/**
*
* Price extension has too few items
*
*
* PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 40;
*/
PRICE_EXTENSION_HAS_TOO_FEW_ITEMS(40),
/**
*
* Price extension has too many items
*
*
* PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 41;
*/
PRICE_EXTENSION_HAS_TOO_MANY_ITEMS(41),
/**
*
* The input value is not currently supported.
*
*
* UNSUPPORTED_VALUE = 42;
*/
UNSUPPORTED_VALUE(42),
/**
*
* Unknown or unsupported device preference.
*
*
* INVALID_DEVICE_PREFERENCE = 43;
*/
INVALID_DEVICE_PREFERENCE(43),
/**
*
* Invalid feed item schedule end time (for example, endHour = 24 and
* endMinute != 0).
*
*
* INVALID_SCHEDULE_END = 45;
*/
INVALID_SCHEDULE_END(45),
/**
*
* Date time zone does not match the account's time zone.
*
*
* DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 47;
*/
DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE(47),
/**
*
* Overlapping feed item schedule times (for example, 7-10AM and 8-11AM) are
* not allowed.
*
*
* OVERLAPPING_SCHEDULES_NOT_ALLOWED = 48;
*/
OVERLAPPING_SCHEDULES_NOT_ALLOWED(48),
/**
*
* Feed item schedule end time must be after start time.
*
*
* SCHEDULE_END_NOT_AFTER_START = 49;
*/
SCHEDULE_END_NOT_AFTER_START(49),
/**
*
* There are too many feed item schedules per day.
*
*
* TOO_MANY_SCHEDULES_PER_DAY = 50;
*/
TOO_MANY_SCHEDULES_PER_DAY(50),
/**
*
* Cannot edit the same extension feed item more than once in the same
* request.
*
*
* DUPLICATE_EXTENSION_FEED_ITEM_EDIT = 51;
*/
DUPLICATE_EXTENSION_FEED_ITEM_EDIT(51),
/**
*
* Invalid structured snippet header.
*
*
* INVALID_SNIPPETS_HEADER = 52;
*/
INVALID_SNIPPETS_HEADER(52),
/**
*
* Phone number with call tracking enabled is not supported for the
* specified country.
*
*
* PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 53;
*/
PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY(53),
/**
*
* The targeted adgroup must belong to the targeted campaign.
*
*
* CAMPAIGN_TARGETING_MISMATCH = 54;
*/
CAMPAIGN_TARGETING_MISMATCH(54),
/**
*
* The feed used by the ExtensionSetting is removed and cannot be operated
* on. Remove the ExtensionSetting to allow a new one to be created using
* an active feed.
*
*
* CANNOT_OPERATE_ON_REMOVED_FEED = 55;
*/
CANNOT_OPERATE_ON_REMOVED_FEED(55),
/**
*
* The ExtensionFeedItem type is required for this operation.
*
*
* EXTENSION_TYPE_REQUIRED = 56;
*/
EXTENSION_TYPE_REQUIRED(56),
/**
*
* The matching function that links the extension feed to the customer,
* campaign, or ad group is not compatible with the ExtensionSetting
* services.
*
*
* INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION = 57;
*/
INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION(57),
/**
*
* Start date must be before end date.
*
*
* START_DATE_AFTER_END_DATE = 58;
*/
START_DATE_AFTER_END_DATE(58),
/**
*
* Input price is not in a valid format.
*
*
* INVALID_PRICE_FORMAT = 59;
*/
INVALID_PRICE_FORMAT(59),
/**
*
* The promotion time is invalid.
*
*
* PROMOTION_INVALID_TIME = 60;
*/
PROMOTION_INVALID_TIME(60),
/**
*
* Cannot set both percent discount and money discount fields.
*
*
* PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT = 61;
*/
PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT(61),
/**
*
* Cannot set both promotion code and orders over amount fields.
*
*
* PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 62;
*/
PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT(62),
/**
*
* This field has too many decimal places specified.
*
*
* TOO_MANY_DECIMAL_PLACES_SPECIFIED = 63;
*/
TOO_MANY_DECIMAL_PLACES_SPECIFIED(63),
/**
*
* The language code is not valid.
*
*
* INVALID_LANGUAGE_CODE = 64;
*/
INVALID_LANGUAGE_CODE(64),
/**
*
* The language is not supported.
*
*
* UNSUPPORTED_LANGUAGE = 65;
*/
UNSUPPORTED_LANGUAGE(65),
/**
*
* Customer hasn't consented for call recording, which is required for
* adding/updating call extensions. See
* https://support.google.com/google-ads/answer/7412639.
*
*
* CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 66;
*/
CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED(66),
/**
*
* The UPDATE operation does not specify any fields other than the resource
* name in the update mask.
*
*
* EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67;
*/
EXTENSION_SETTING_UPDATE_IS_A_NOOP(67),
/**
*
* The extension contains text which has been prohibited on policy grounds.
*
*
* DISALLOWED_TEXT = 68;
*/
DISALLOWED_TEXT(68),
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;
/**
*
* A platform restriction was provided without input extensions or existing
* extensions.
*
*
* EXTENSIONS_REQUIRED = 2;
*/
public static final int EXTENSIONS_REQUIRED_VALUE = 2;
/**
*
* The provided feed type does not correspond to the provided extensions.
*
*
* FEED_TYPE_EXTENSION_TYPE_MISMATCH = 3;
*/
public static final int FEED_TYPE_EXTENSION_TYPE_MISMATCH_VALUE = 3;
/**
*
* The provided feed type cannot be used.
*
*
* INVALID_FEED_TYPE = 4;
*/
public static final int INVALID_FEED_TYPE_VALUE = 4;
/**
*
* The provided feed type cannot be used at the customer level.
*
*
* INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING = 5;
*/
public static final int INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING_VALUE = 5;
/**
*
* Cannot change a feed item field on a CREATE operation.
*
*
* CANNOT_CHANGE_FEED_ITEM_ON_CREATE = 6;
*/
public static final int CANNOT_CHANGE_FEED_ITEM_ON_CREATE_VALUE = 6;
/**
*
* Cannot update an extension that is not already in this setting.
*
*
* CANNOT_UPDATE_NEWLY_CREATED_EXTENSION = 7;
*/
public static final int CANNOT_UPDATE_NEWLY_CREATED_EXTENSION_VALUE = 7;
/**
*
* There is no existing AdGroupExtensionSetting for this type.
*
*
* NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE = 8;
*/
public static final int NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE_VALUE = 8;
/**
*
* There is no existing CampaignExtensionSetting for this type.
*
*
* NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE = 9;
*/
public static final int NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE_VALUE = 9;
/**
*
* There is no existing CustomerExtensionSetting for this type.
*
*
* NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE = 10;
*/
public static final int NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE_VALUE = 10;
/**
*
* The AdGroupExtensionSetting already exists. UPDATE should be used to
* modify the existing AdGroupExtensionSetting.
*
*
* AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS = 11;
*/
public static final int AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS_VALUE = 11;
/**
*
* The CampaignExtensionSetting already exists. UPDATE should be used to
* modify the existing CampaignExtensionSetting.
*
*
* CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS = 12;
*/
public static final int CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS_VALUE = 12;
/**
*
* The CustomerExtensionSetting already exists. UPDATE should be used to
* modify the existing CustomerExtensionSetting.
*
*
* CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS = 13;
*/
public static final int CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS_VALUE = 13;
/**
*
* An active ad group feed already exists for this place holder type.
*
*
* AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 14;
*/
public static final int AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE_VALUE = 14;
/**
*
* An active campaign feed already exists for this place holder type.
*
*
* CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 15;
*/
public static final int CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE_VALUE = 15;
/**
*
* An active customer feed already exists for this place holder type.
*
*
* CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 16;
*/
public static final int CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE_VALUE = 16;
/**
*
* Value is not within the accepted range.
*
*
* VALUE_OUT_OF_RANGE = 17;
*/
public static final int VALUE_OUT_OF_RANGE_VALUE = 17;
/**
*
* Cannot simultaneously set specified field with final urls.
*
*
* CANNOT_SET_FIELD_WITH_FINAL_URLS = 18;
*/
public static final int CANNOT_SET_FIELD_WITH_FINAL_URLS_VALUE = 18;
/**
*
* Must set field with final urls.
*
*
* FINAL_URLS_NOT_SET = 19;
*/
public static final int FINAL_URLS_NOT_SET_VALUE = 19;
/**
*
* Phone number for a call extension is invalid.
*
*
* INVALID_PHONE_NUMBER = 20;
*/
public static final int INVALID_PHONE_NUMBER_VALUE = 20;
/**
*
* Phone number for a call extension is not supported for the given country
* code.
*
*
* PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 21;
*/
public static final int PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY_VALUE = 21;
/**
*
* A carrier specific number in short format is not allowed for call
* extensions.
*
*
* CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 22;
*/
public static final int CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED_VALUE = 22;
/**
*
* Premium rate numbers are not allowed for call extensions.
*
*
* PREMIUM_RATE_NUMBER_NOT_ALLOWED = 23;
*/
public static final int PREMIUM_RATE_NUMBER_NOT_ALLOWED_VALUE = 23;
/**
*
* Phone number type for a call extension is not allowed.
*
*
* DISALLOWED_NUMBER_TYPE = 24;
*/
public static final int DISALLOWED_NUMBER_TYPE_VALUE = 24;
/**
*
* Phone number for a call extension does not meet domestic format
* requirements.
*
*
* INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 25;
*/
public static final int INVALID_DOMESTIC_PHONE_NUMBER_FORMAT_VALUE = 25;
/**
*
* Vanity phone numbers (for example, those including letters) are not
* allowed for call extensions.
*
*
* VANITY_PHONE_NUMBER_NOT_ALLOWED = 26;
*/
public static final int VANITY_PHONE_NUMBER_NOT_ALLOWED_VALUE = 26;
/**
*
* Country code provided for a call extension is invalid.
*
*
* INVALID_COUNTRY_CODE = 27;
*/
public static final int INVALID_COUNTRY_CODE_VALUE = 27;
/**
*
* Call conversion type id provided for a call extension is invalid.
*
*
* INVALID_CALL_CONVERSION_TYPE_ID = 28;
*/
public static final int INVALID_CALL_CONVERSION_TYPE_ID_VALUE = 28;
/**
*
* For a call extension, the customer is not on the allow-list for call
* tracking.
*
*
* CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 69;
*/
public static final int CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING_VALUE = 69;
/**
*
* Call tracking is not supported for the given country for a call
* extension.
*
*
* CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 30;
*/
public static final int CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY_VALUE = 30;
/**
*
* App id provided for an app extension is invalid.
*
*
* INVALID_APP_ID = 31;
*/
public static final int INVALID_APP_ID_VALUE = 31;
/**
*
* Quotation marks present in the review text for a review extension.
*
*
* QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 32;
*/
public static final int QUOTES_IN_REVIEW_EXTENSION_SNIPPET_VALUE = 32;
/**
*
* Hyphen character present in the review text for a review extension.
*
*
* HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 33;
*/
public static final int HYPHENS_IN_REVIEW_EXTENSION_SNIPPET_VALUE = 33;
/**
*
* A blocked review source name or url was provided for a review
* extension.
*
*
* REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE = 34;
*/
public static final int REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE_VALUE = 34;
/**
*
* Review source name should not be found in the review text.
*
*
* SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 35;
*/
public static final int SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT_VALUE = 35;
/**
*
* Field must be set.
*
*
* MISSING_FIELD = 36;
*/
public static final int MISSING_FIELD_VALUE = 36;
/**
*
* Inconsistent currency codes.
*
*
* INCONSISTENT_CURRENCY_CODES = 37;
*/
public static final int INCONSISTENT_CURRENCY_CODES_VALUE = 37;
/**
*
* Price extension cannot have duplicated headers.
*
*
* PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 38;
*/
public static final int PRICE_EXTENSION_HAS_DUPLICATED_HEADERS_VALUE = 38;
/**
*
* Price item cannot have duplicated header and description.
*
*
* PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 39;
*/
public static final int PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION_VALUE = 39;
/**
*
* Price extension has too few items
*
*
* PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 40;
*/
public static final int PRICE_EXTENSION_HAS_TOO_FEW_ITEMS_VALUE = 40;
/**
*
* Price extension has too many items
*
*
* PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 41;
*/
public static final int PRICE_EXTENSION_HAS_TOO_MANY_ITEMS_VALUE = 41;
/**
*
* The input value is not currently supported.
*
*
* UNSUPPORTED_VALUE = 42;
*/
public static final int UNSUPPORTED_VALUE_VALUE = 42;
/**
*
* Unknown or unsupported device preference.
*
*
* INVALID_DEVICE_PREFERENCE = 43;
*/
public static final int INVALID_DEVICE_PREFERENCE_VALUE = 43;
/**
*
* Invalid feed item schedule end time (for example, endHour = 24 and
* endMinute != 0).
*
*
* INVALID_SCHEDULE_END = 45;
*/
public static final int INVALID_SCHEDULE_END_VALUE = 45;
/**
*
* Date time zone does not match the account's time zone.
*
*
* DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 47;
*/
public static final int DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE_VALUE = 47;
/**
*
* Overlapping feed item schedule times (for example, 7-10AM and 8-11AM) are
* not allowed.
*
*
* OVERLAPPING_SCHEDULES_NOT_ALLOWED = 48;
*/
public static final int OVERLAPPING_SCHEDULES_NOT_ALLOWED_VALUE = 48;
/**
*
* Feed item schedule end time must be after start time.
*
*
* SCHEDULE_END_NOT_AFTER_START = 49;
*/
public static final int SCHEDULE_END_NOT_AFTER_START_VALUE = 49;
/**
*
* There are too many feed item schedules per day.
*
*
* TOO_MANY_SCHEDULES_PER_DAY = 50;
*/
public static final int TOO_MANY_SCHEDULES_PER_DAY_VALUE = 50;
/**
*
* Cannot edit the same extension feed item more than once in the same
* request.
*
*
* DUPLICATE_EXTENSION_FEED_ITEM_EDIT = 51;
*/
public static final int DUPLICATE_EXTENSION_FEED_ITEM_EDIT_VALUE = 51;
/**
*
* Invalid structured snippet header.
*
*
* INVALID_SNIPPETS_HEADER = 52;
*/
public static final int INVALID_SNIPPETS_HEADER_VALUE = 52;
/**
*
* Phone number with call tracking enabled is not supported for the
* specified country.
*
*
* PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 53;
*/
public static final int PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY_VALUE = 53;
/**
*
* The targeted adgroup must belong to the targeted campaign.
*
*
* CAMPAIGN_TARGETING_MISMATCH = 54;
*/
public static final int CAMPAIGN_TARGETING_MISMATCH_VALUE = 54;
/**
*
* The feed used by the ExtensionSetting is removed and cannot be operated
* on. Remove the ExtensionSetting to allow a new one to be created using
* an active feed.
*
*
* CANNOT_OPERATE_ON_REMOVED_FEED = 55;
*/
public static final int CANNOT_OPERATE_ON_REMOVED_FEED_VALUE = 55;
/**
*
* The ExtensionFeedItem type is required for this operation.
*
*
* EXTENSION_TYPE_REQUIRED = 56;
*/
public static final int EXTENSION_TYPE_REQUIRED_VALUE = 56;
/**
*
* The matching function that links the extension feed to the customer,
* campaign, or ad group is not compatible with the ExtensionSetting
* services.
*
*
* INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION = 57;
*/
public static final int INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION_VALUE = 57;
/**
*
* Start date must be before end date.
*
*
* START_DATE_AFTER_END_DATE = 58;
*/
public static final int START_DATE_AFTER_END_DATE_VALUE = 58;
/**
*
* Input price is not in a valid format.
*
*
* INVALID_PRICE_FORMAT = 59;
*/
public static final int INVALID_PRICE_FORMAT_VALUE = 59;
/**
*
* The promotion time is invalid.
*
*
* PROMOTION_INVALID_TIME = 60;
*/
public static final int PROMOTION_INVALID_TIME_VALUE = 60;
/**
*
* Cannot set both percent discount and money discount fields.
*
*
* PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT = 61;
*/
public static final int PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT_VALUE = 61;
/**
*
* Cannot set both promotion code and orders over amount fields.
*
*
* PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 62;
*/
public static final int PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT_VALUE = 62;
/**
*
* This field has too many decimal places specified.
*
*
* TOO_MANY_DECIMAL_PLACES_SPECIFIED = 63;
*/
public static final int TOO_MANY_DECIMAL_PLACES_SPECIFIED_VALUE = 63;
/**
*
* The language code is not valid.
*
*
* INVALID_LANGUAGE_CODE = 64;
*/
public static final int INVALID_LANGUAGE_CODE_VALUE = 64;
/**
*
* The language is not supported.
*
*
* UNSUPPORTED_LANGUAGE = 65;
*/
public static final int UNSUPPORTED_LANGUAGE_VALUE = 65;
/**
*
* Customer hasn't consented for call recording, which is required for
* adding/updating call extensions. See
* https://support.google.com/google-ads/answer/7412639.
*
*
* CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 66;
*/
public static final int CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED_VALUE = 66;
/**
*
* The UPDATE operation does not specify any fields other than the resource
* name in the update mask.
*
*
* EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67;
*/
public static final int EXTENSION_SETTING_UPDATE_IS_A_NOOP_VALUE = 67;
/**
*
* The extension contains text which has been prohibited on policy grounds.
*
*
* DISALLOWED_TEXT = 68;
*/
public static final int DISALLOWED_TEXT_VALUE = 68;
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 ExtensionSettingError 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 ExtensionSettingError forNumber(int value) {
switch (value) {
case 0: return UNSPECIFIED;
case 1: return UNKNOWN;
case 2: return EXTENSIONS_REQUIRED;
case 3: return FEED_TYPE_EXTENSION_TYPE_MISMATCH;
case 4: return INVALID_FEED_TYPE;
case 5: return INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING;
case 6: return CANNOT_CHANGE_FEED_ITEM_ON_CREATE;
case 7: return CANNOT_UPDATE_NEWLY_CREATED_EXTENSION;
case 8: return NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE;
case 9: return NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE;
case 10: return NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE;
case 11: return AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS;
case 12: return CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS;
case 13: return CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS;
case 14: return AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE;
case 15: return CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE;
case 16: return CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE;
case 17: return VALUE_OUT_OF_RANGE;
case 18: return CANNOT_SET_FIELD_WITH_FINAL_URLS;
case 19: return FINAL_URLS_NOT_SET;
case 20: return INVALID_PHONE_NUMBER;
case 21: return PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY;
case 22: return CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED;
case 23: return PREMIUM_RATE_NUMBER_NOT_ALLOWED;
case 24: return DISALLOWED_NUMBER_TYPE;
case 25: return INVALID_DOMESTIC_PHONE_NUMBER_FORMAT;
case 26: return VANITY_PHONE_NUMBER_NOT_ALLOWED;
case 27: return INVALID_COUNTRY_CODE;
case 28: return INVALID_CALL_CONVERSION_TYPE_ID;
case 69: return CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING;
case 30: return CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY;
case 31: return INVALID_APP_ID;
case 32: return QUOTES_IN_REVIEW_EXTENSION_SNIPPET;
case 33: return HYPHENS_IN_REVIEW_EXTENSION_SNIPPET;
case 34: return REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE;
case 35: return SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT;
case 36: return MISSING_FIELD;
case 37: return INCONSISTENT_CURRENCY_CODES;
case 38: return PRICE_EXTENSION_HAS_DUPLICATED_HEADERS;
case 39: return PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION;
case 40: return PRICE_EXTENSION_HAS_TOO_FEW_ITEMS;
case 41: return PRICE_EXTENSION_HAS_TOO_MANY_ITEMS;
case 42: return UNSUPPORTED_VALUE;
case 43: return INVALID_DEVICE_PREFERENCE;
case 45: return INVALID_SCHEDULE_END;
case 47: return DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE;
case 48: return OVERLAPPING_SCHEDULES_NOT_ALLOWED;
case 49: return SCHEDULE_END_NOT_AFTER_START;
case 50: return TOO_MANY_SCHEDULES_PER_DAY;
case 51: return DUPLICATE_EXTENSION_FEED_ITEM_EDIT;
case 52: return INVALID_SNIPPETS_HEADER;
case 53: return PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY;
case 54: return CAMPAIGN_TARGETING_MISMATCH;
case 55: return CANNOT_OPERATE_ON_REMOVED_FEED;
case 56: return EXTENSION_TYPE_REQUIRED;
case 57: return INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION;
case 58: return START_DATE_AFTER_END_DATE;
case 59: return INVALID_PRICE_FORMAT;
case 60: return PROMOTION_INVALID_TIME;
case 61: return PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT;
case 62: return PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT;
case 63: return TOO_MANY_DECIMAL_PLACES_SPECIFIED;
case 64: return INVALID_LANGUAGE_CODE;
case 65: return UNSUPPORTED_LANGUAGE;
case 66: return CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED;
case 67: return EXTENSION_SETTING_UPDATE_IS_A_NOOP;
case 68: return DISALLOWED_TEXT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ExtensionSettingError> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ExtensionSettingError findValueByNumber(int number) {
return ExtensionSettingError.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.ExtensionSettingErrorEnum.getDescriptor().getEnumTypes().get(0);
}
private static final ExtensionSettingError[] VALUES = values();
public static ExtensionSettingError 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 ExtensionSettingError(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.ads.googleads.v17.errors.ExtensionSettingErrorEnum.ExtensionSettingError)
}
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.ExtensionSettingErrorEnum)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum other = (com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum) 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.ExtensionSettingErrorEnum parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum 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.ExtensionSettingErrorEnum parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum 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.ExtensionSettingErrorEnum parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum 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.ExtensionSettingErrorEnum 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.ExtensionSettingErrorEnum 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.ExtensionSettingErrorEnum 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.ExtensionSettingErrorEnum 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.ExtensionSettingErrorEnum 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.ExtensionSettingErrorEnum 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.ExtensionSettingErrorEnum 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 validation errors of extension settings.
*
*
* Protobuf type {@code google.ads.googleads.v17.errors.ExtensionSettingErrorEnum}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.errors.ExtensionSettingErrorEnum)
com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnumOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.errors.ExtensionSettingErrorProto.internal_static_google_ads_googleads_v17_errors_ExtensionSettingErrorEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.errors.ExtensionSettingErrorProto.internal_static_google_ads_googleads_v17_errors_ExtensionSettingErrorEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum.class, com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum.Builder.class);
}
// Construct using com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum.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.ExtensionSettingErrorProto.internal_static_google_ads_googleads_v17_errors_ExtensionSettingErrorEnum_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum getDefaultInstanceForType() {
return com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum build() {
com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum buildPartial() {
com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum result = new com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum(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.ExtensionSettingErrorEnum) {
return mergeFrom((com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum other) {
if (other == com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum.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.ExtensionSettingErrorEnum)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.errors.ExtensionSettingErrorEnum)
private static final com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum();
}
public static com.google.ads.googleads.v17.errors.ExtensionSettingErrorEnum getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExtensionSettingErrorEnum 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.ExtensionSettingErrorEnum getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy