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

com.google.ads.googleads.v10.common.DynamicCustomAsset Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v10/common/asset_types.proto

package com.google.ads.googleads.v10.common;

/**
 * 
 * A dynamic custom asset.
 * 
* * Protobuf type {@code google.ads.googleads.v10.common.DynamicCustomAsset} */ public final class DynamicCustomAsset extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.DynamicCustomAsset) DynamicCustomAssetOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicCustomAsset.newBuilder() to construct. private DynamicCustomAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicCustomAsset() { id_ = ""; id2_ = ""; itemTitle_ = ""; itemSubtitle_ = ""; itemDescription_ = ""; itemAddress_ = ""; itemCategory_ = ""; price_ = ""; salePrice_ = ""; formattedPrice_ = ""; formattedSalePrice_ = ""; imageUrl_ = ""; contextualKeywords_ = com.google.protobuf.LazyStringArrayList.EMPTY; androidAppLink_ = ""; iosAppLink_ = ""; similarIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicCustomAsset(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.AssetTypesProto.internal_static_google_ads_googleads_v10_common_DynamicCustomAsset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.AssetTypesProto.internal_static_google_ads_googleads_v10_common_DynamicCustomAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.DynamicCustomAsset.class, com.google.ads.googleads.v10.common.DynamicCustomAsset.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
   * Required. ID which can be any sequence of letters and digits, and must be
   * unique and match the values of remarketing tag, for example, sedan.
   * Required.
   * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** *
   * Required. ID which can be any sequence of letters and digits, and must be
   * unique and match the values of remarketing tag, for example, sedan.
   * Required.
   * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ID2_FIELD_NUMBER = 2; private volatile java.lang.Object id2_; /** *
   * ID2 which can be any sequence of letters and digits, for example, red. ID
   * sequence (ID + ID2) must be unique.
   * 
* * string id2 = 2; * @return The id2. */ @java.lang.Override public java.lang.String getId2() { java.lang.Object ref = id2_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id2_ = s; return s; } } /** *
   * ID2 which can be any sequence of letters and digits, for example, red. ID
   * sequence (ID + ID2) must be unique.
   * 
* * string id2 = 2; * @return The bytes for id2. */ @java.lang.Override public com.google.protobuf.ByteString getId2Bytes() { java.lang.Object ref = id2_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id2_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEM_TITLE_FIELD_NUMBER = 3; private volatile java.lang.Object itemTitle_; /** *
   * Required. Item title, for example, Mid-size sedan. Required.
   * 
* * string item_title = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The itemTitle. */ @java.lang.Override public java.lang.String getItemTitle() { java.lang.Object ref = itemTitle_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); itemTitle_ = s; return s; } } /** *
   * Required. Item title, for example, Mid-size sedan. Required.
   * 
* * string item_title = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for itemTitle. */ @java.lang.Override public com.google.protobuf.ByteString getItemTitleBytes() { java.lang.Object ref = itemTitle_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); itemTitle_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEM_SUBTITLE_FIELD_NUMBER = 4; private volatile java.lang.Object itemSubtitle_; /** *
   * Item subtitle, for example, At your Mountain View dealership.
   * 
* * string item_subtitle = 4; * @return The itemSubtitle. */ @java.lang.Override public java.lang.String getItemSubtitle() { java.lang.Object ref = itemSubtitle_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); itemSubtitle_ = s; return s; } } /** *
   * Item subtitle, for example, At your Mountain View dealership.
   * 
* * string item_subtitle = 4; * @return The bytes for itemSubtitle. */ @java.lang.Override public com.google.protobuf.ByteString getItemSubtitleBytes() { java.lang.Object ref = itemSubtitle_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); itemSubtitle_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEM_DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object itemDescription_; /** *
   * Item description, for example, Best selling mid-size car.
   * 
* * string item_description = 5; * @return The itemDescription. */ @java.lang.Override public java.lang.String getItemDescription() { java.lang.Object ref = itemDescription_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); itemDescription_ = s; return s; } } /** *
   * Item description, for example, Best selling mid-size car.
   * 
* * string item_description = 5; * @return The bytes for itemDescription. */ @java.lang.Override public com.google.protobuf.ByteString getItemDescriptionBytes() { java.lang.Object ref = itemDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); itemDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEM_ADDRESS_FIELD_NUMBER = 6; private volatile java.lang.Object itemAddress_; /** *
   * Item address which can be specified in one of the following formats.
   * (1) City, state, code, country, for example, Mountain View, CA, USA.
   * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
   * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
   * 
* * string item_address = 6; * @return The itemAddress. */ @java.lang.Override public java.lang.String getItemAddress() { java.lang.Object ref = itemAddress_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); itemAddress_ = s; return s; } } /** *
   * Item address which can be specified in one of the following formats.
   * (1) City, state, code, country, for example, Mountain View, CA, USA.
   * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
   * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
   * 
* * string item_address = 6; * @return The bytes for itemAddress. */ @java.lang.Override public com.google.protobuf.ByteString getItemAddressBytes() { java.lang.Object ref = itemAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); itemAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEM_CATEGORY_FIELD_NUMBER = 7; private volatile java.lang.Object itemCategory_; /** *
   * Item category, for example, Sedans.
   * 
* * string item_category = 7; * @return The itemCategory. */ @java.lang.Override public java.lang.String getItemCategory() { java.lang.Object ref = itemCategory_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); itemCategory_ = s; return s; } } /** *
   * Item category, for example, Sedans.
   * 
* * string item_category = 7; * @return The bytes for itemCategory. */ @java.lang.Override public com.google.protobuf.ByteString getItemCategoryBytes() { java.lang.Object ref = itemCategory_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); itemCategory_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRICE_FIELD_NUMBER = 8; private volatile java.lang.Object price_; /** *
   * Price which can be number followed by the alphabetic currency code,
   * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD.
   * 
* * string price = 8; * @return The price. */ @java.lang.Override public java.lang.String getPrice() { java.lang.Object ref = price_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); price_ = s; return s; } } /** *
   * Price which can be number followed by the alphabetic currency code,
   * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD.
   * 
* * string price = 8; * @return The bytes for price. */ @java.lang.Override public com.google.protobuf.ByteString getPriceBytes() { java.lang.Object ref = price_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); price_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SALE_PRICE_FIELD_NUMBER = 9; private volatile java.lang.Object salePrice_; /** *
   * Sale price which can be number followed by the alphabetic currency code,
   * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD.
   * Must be less than the 'price' field.
   * 
* * string sale_price = 9; * @return The salePrice. */ @java.lang.Override public java.lang.String getSalePrice() { java.lang.Object ref = salePrice_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); salePrice_ = s; return s; } } /** *
   * Sale price which can be number followed by the alphabetic currency code,
   * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD.
   * Must be less than the 'price' field.
   * 
* * string sale_price = 9; * @return The bytes for salePrice. */ @java.lang.Override public com.google.protobuf.ByteString getSalePriceBytes() { java.lang.Object ref = salePrice_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); salePrice_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FORMATTED_PRICE_FIELD_NUMBER = 10; private volatile java.lang.Object formattedPrice_; /** *
   * Formatted price which can be any characters. If set, this attribute will be
   * used instead of 'price', for example, Starting at $20,000.00.
   * 
* * string formatted_price = 10; * @return The formattedPrice. */ @java.lang.Override public java.lang.String getFormattedPrice() { java.lang.Object ref = formattedPrice_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedPrice_ = s; return s; } } /** *
   * Formatted price which can be any characters. If set, this attribute will be
   * used instead of 'price', for example, Starting at $20,000.00.
   * 
* * string formatted_price = 10; * @return The bytes for formattedPrice. */ @java.lang.Override public com.google.protobuf.ByteString getFormattedPriceBytes() { java.lang.Object ref = formattedPrice_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); formattedPrice_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FORMATTED_SALE_PRICE_FIELD_NUMBER = 11; private volatile java.lang.Object formattedSalePrice_; /** *
   * Formatted sale price which can be any characters. If set, this attribute
   * will be used instead of 'sale price', for example, On sale for $15,000.00.
   * 
* * string formatted_sale_price = 11; * @return The formattedSalePrice. */ @java.lang.Override public java.lang.String getFormattedSalePrice() { java.lang.Object ref = formattedSalePrice_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedSalePrice_ = s; return s; } } /** *
   * Formatted sale price which can be any characters. If set, this attribute
   * will be used instead of 'sale price', for example, On sale for $15,000.00.
   * 
* * string formatted_sale_price = 11; * @return The bytes for formattedSalePrice. */ @java.lang.Override public com.google.protobuf.ByteString getFormattedSalePriceBytes() { java.lang.Object ref = formattedSalePrice_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); formattedSalePrice_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IMAGE_URL_FIELD_NUMBER = 12; private volatile java.lang.Object imageUrl_; /** *
   * Image URL, for example, http://www.example.com/image.png. The image will
   * not be uploaded as image asset.
   * 
* * string image_url = 12; * @return The imageUrl. */ @java.lang.Override public java.lang.String getImageUrl() { java.lang.Object ref = imageUrl_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUrl_ = s; return s; } } /** *
   * Image URL, for example, http://www.example.com/image.png. The image will
   * not be uploaded as image asset.
   * 
* * string image_url = 12; * @return The bytes for imageUrl. */ @java.lang.Override public com.google.protobuf.ByteString getImageUrlBytes() { java.lang.Object ref = imageUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); imageUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTEXTUAL_KEYWORDS_FIELD_NUMBER = 13; private com.google.protobuf.LazyStringList contextualKeywords_; /** *
   * Contextual keywords, for example, Sedans, 4 door sedans.
   * 
* * repeated string contextual_keywords = 13; * @return A list containing the contextualKeywords. */ public com.google.protobuf.ProtocolStringList getContextualKeywordsList() { return contextualKeywords_; } /** *
   * Contextual keywords, for example, Sedans, 4 door sedans.
   * 
* * repeated string contextual_keywords = 13; * @return The count of contextualKeywords. */ public int getContextualKeywordsCount() { return contextualKeywords_.size(); } /** *
   * Contextual keywords, for example, Sedans, 4 door sedans.
   * 
* * repeated string contextual_keywords = 13; * @param index The index of the element to return. * @return The contextualKeywords at the given index. */ public java.lang.String getContextualKeywords(int index) { return contextualKeywords_.get(index); } /** *
   * Contextual keywords, for example, Sedans, 4 door sedans.
   * 
* * repeated string contextual_keywords = 13; * @param index The index of the value to return. * @return The bytes of the contextualKeywords at the given index. */ public com.google.protobuf.ByteString getContextualKeywordsBytes(int index) { return contextualKeywords_.getByteString(index); } public static final int ANDROID_APP_LINK_FIELD_NUMBER = 14; private volatile java.lang.Object androidAppLink_; /** *
   * Android deep link, for example,
   * android-app://com.example.android/http/example.com/gizmos?1234.
   * 
* * string android_app_link = 14; * @return The androidAppLink. */ @java.lang.Override public java.lang.String getAndroidAppLink() { java.lang.Object ref = androidAppLink_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); androidAppLink_ = s; return s; } } /** *
   * Android deep link, for example,
   * android-app://com.example.android/http/example.com/gizmos?1234.
   * 
* * string android_app_link = 14; * @return The bytes for androidAppLink. */ @java.lang.Override public com.google.protobuf.ByteString getAndroidAppLinkBytes() { java.lang.Object ref = androidAppLink_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); androidAppLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IOS_APP_LINK_FIELD_NUMBER = 16; private volatile java.lang.Object iosAppLink_; /** *
   * iOS deep link, for example, exampleApp://content/page.
   * 
* * string ios_app_link = 16; * @return The iosAppLink. */ @java.lang.Override public java.lang.String getIosAppLink() { java.lang.Object ref = iosAppLink_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iosAppLink_ = s; return s; } } /** *
   * iOS deep link, for example, exampleApp://content/page.
   * 
* * string ios_app_link = 16; * @return The bytes for iosAppLink. */ @java.lang.Override public com.google.protobuf.ByteString getIosAppLinkBytes() { java.lang.Object ref = iosAppLink_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); iosAppLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IOS_APP_STORE_ID_FIELD_NUMBER = 17; private long iosAppStoreId_; /** *
   * iOS app store ID. This is used to check if the user has the app installed
   * on their device before deep linking. If this field is set, then the
   * ios_app_link field must also be present.
   * 
* * int64 ios_app_store_id = 17; * @return The iosAppStoreId. */ @java.lang.Override public long getIosAppStoreId() { return iosAppStoreId_; } public static final int SIMILAR_IDS_FIELD_NUMBER = 15; private com.google.protobuf.LazyStringList similarIds_; /** *
   * Similar IDs.
   * 
* * repeated string similar_ids = 15; * @return A list containing the similarIds. */ public com.google.protobuf.ProtocolStringList getSimilarIdsList() { return similarIds_; } /** *
   * Similar IDs.
   * 
* * repeated string similar_ids = 15; * @return The count of similarIds. */ public int getSimilarIdsCount() { return similarIds_.size(); } /** *
   * Similar IDs.
   * 
* * repeated string similar_ids = 15; * @param index The index of the element to return. * @return The similarIds at the given index. */ public java.lang.String getSimilarIds(int index) { return similarIds_.get(index); } /** *
   * Similar IDs.
   * 
* * repeated string similar_ids = 15; * @param index The index of the value to return. * @return The bytes of the similarIds at the given index. */ public com.google.protobuf.ByteString getSimilarIdsBytes(int index) { return similarIds_.getByteString(index); } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id2_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id2_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemTitle_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, itemTitle_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemSubtitle_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, itemSubtitle_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemDescription_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, itemDescription_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, itemAddress_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemCategory_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, itemCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(price_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, price_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(salePrice_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, salePrice_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedPrice_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, formattedPrice_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedSalePrice_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, formattedSalePrice_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, imageUrl_); } for (int i = 0; i < contextualKeywords_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, contextualKeywords_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(androidAppLink_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, androidAppLink_); } for (int i = 0; i < similarIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, similarIds_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iosAppLink_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, iosAppLink_); } if (iosAppStoreId_ != 0L) { output.writeInt64(17, iosAppStoreId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id2_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id2_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemTitle_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, itemTitle_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemSubtitle_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, itemSubtitle_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, itemDescription_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, itemAddress_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemCategory_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, itemCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(price_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, price_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(salePrice_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, salePrice_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedPrice_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, formattedPrice_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedSalePrice_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, formattedSalePrice_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, imageUrl_); } { int dataSize = 0; for (int i = 0; i < contextualKeywords_.size(); i++) { dataSize += computeStringSizeNoTag(contextualKeywords_.getRaw(i)); } size += dataSize; size += 1 * getContextualKeywordsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(androidAppLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, androidAppLink_); } { int dataSize = 0; for (int i = 0; i < similarIds_.size(); i++) { dataSize += computeStringSizeNoTag(similarIds_.getRaw(i)); } size += dataSize; size += 1 * getSimilarIdsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iosAppLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, iosAppLink_); } if (iosAppStoreId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(17, iosAppStoreId_); } 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.v10.common.DynamicCustomAsset)) { return super.equals(obj); } com.google.ads.googleads.v10.common.DynamicCustomAsset other = (com.google.ads.googleads.v10.common.DynamicCustomAsset) obj; if (!getId() .equals(other.getId())) return false; if (!getId2() .equals(other.getId2())) return false; if (!getItemTitle() .equals(other.getItemTitle())) return false; if (!getItemSubtitle() .equals(other.getItemSubtitle())) return false; if (!getItemDescription() .equals(other.getItemDescription())) return false; if (!getItemAddress() .equals(other.getItemAddress())) return false; if (!getItemCategory() .equals(other.getItemCategory())) return false; if (!getPrice() .equals(other.getPrice())) return false; if (!getSalePrice() .equals(other.getSalePrice())) return false; if (!getFormattedPrice() .equals(other.getFormattedPrice())) return false; if (!getFormattedSalePrice() .equals(other.getFormattedSalePrice())) return false; if (!getImageUrl() .equals(other.getImageUrl())) return false; if (!getContextualKeywordsList() .equals(other.getContextualKeywordsList())) return false; if (!getAndroidAppLink() .equals(other.getAndroidAppLink())) return false; if (!getIosAppLink() .equals(other.getIosAppLink())) return false; if (getIosAppStoreId() != other.getIosAppStoreId()) return false; if (!getSimilarIdsList() .equals(other.getSimilarIdsList())) return false; 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 = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + ID2_FIELD_NUMBER; hash = (53 * hash) + getId2().hashCode(); hash = (37 * hash) + ITEM_TITLE_FIELD_NUMBER; hash = (53 * hash) + getItemTitle().hashCode(); hash = (37 * hash) + ITEM_SUBTITLE_FIELD_NUMBER; hash = (53 * hash) + getItemSubtitle().hashCode(); hash = (37 * hash) + ITEM_DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getItemDescription().hashCode(); hash = (37 * hash) + ITEM_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getItemAddress().hashCode(); hash = (37 * hash) + ITEM_CATEGORY_FIELD_NUMBER; hash = (53 * hash) + getItemCategory().hashCode(); hash = (37 * hash) + PRICE_FIELD_NUMBER; hash = (53 * hash) + getPrice().hashCode(); hash = (37 * hash) + SALE_PRICE_FIELD_NUMBER; hash = (53 * hash) + getSalePrice().hashCode(); hash = (37 * hash) + FORMATTED_PRICE_FIELD_NUMBER; hash = (53 * hash) + getFormattedPrice().hashCode(); hash = (37 * hash) + FORMATTED_SALE_PRICE_FIELD_NUMBER; hash = (53 * hash) + getFormattedSalePrice().hashCode(); hash = (37 * hash) + IMAGE_URL_FIELD_NUMBER; hash = (53 * hash) + getImageUrl().hashCode(); if (getContextualKeywordsCount() > 0) { hash = (37 * hash) + CONTEXTUAL_KEYWORDS_FIELD_NUMBER; hash = (53 * hash) + getContextualKeywordsList().hashCode(); } hash = (37 * hash) + ANDROID_APP_LINK_FIELD_NUMBER; hash = (53 * hash) + getAndroidAppLink().hashCode(); hash = (37 * hash) + IOS_APP_LINK_FIELD_NUMBER; hash = (53 * hash) + getIosAppLink().hashCode(); hash = (37 * hash) + IOS_APP_STORE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getIosAppStoreId()); if (getSimilarIdsCount() > 0) { hash = (37 * hash) + SIMILAR_IDS_FIELD_NUMBER; hash = (53 * hash) + getSimilarIdsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v10.common.DynamicCustomAsset parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.DynamicCustomAsset 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.v10.common.DynamicCustomAsset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.DynamicCustomAsset 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.v10.common.DynamicCustomAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.DynamicCustomAsset parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v10.common.DynamicCustomAsset parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.DynamicCustomAsset 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.v10.common.DynamicCustomAsset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.DynamicCustomAsset 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.v10.common.DynamicCustomAsset parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.DynamicCustomAsset 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.v10.common.DynamicCustomAsset 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; } /** *
   * A dynamic custom asset.
   * 
* * Protobuf type {@code google.ads.googleads.v10.common.DynamicCustomAsset} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.DynamicCustomAsset) com.google.ads.googleads.v10.common.DynamicCustomAssetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.AssetTypesProto.internal_static_google_ads_googleads_v10_common_DynamicCustomAsset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.AssetTypesProto.internal_static_google_ads_googleads_v10_common_DynamicCustomAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.DynamicCustomAsset.class, com.google.ads.googleads.v10.common.DynamicCustomAsset.Builder.class); } // Construct using com.google.ads.googleads.v10.common.DynamicCustomAsset.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; id2_ = ""; itemTitle_ = ""; itemSubtitle_ = ""; itemDescription_ = ""; itemAddress_ = ""; itemCategory_ = ""; price_ = ""; salePrice_ = ""; formattedPrice_ = ""; formattedSalePrice_ = ""; imageUrl_ = ""; contextualKeywords_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); androidAppLink_ = ""; iosAppLink_ = ""; iosAppStoreId_ = 0L; similarIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v10.common.AssetTypesProto.internal_static_google_ads_googleads_v10_common_DynamicCustomAsset_descriptor; } @java.lang.Override public com.google.ads.googleads.v10.common.DynamicCustomAsset getDefaultInstanceForType() { return com.google.ads.googleads.v10.common.DynamicCustomAsset.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v10.common.DynamicCustomAsset build() { com.google.ads.googleads.v10.common.DynamicCustomAsset result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v10.common.DynamicCustomAsset buildPartial() { com.google.ads.googleads.v10.common.DynamicCustomAsset result = new com.google.ads.googleads.v10.common.DynamicCustomAsset(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.id2_ = id2_; result.itemTitle_ = itemTitle_; result.itemSubtitle_ = itemSubtitle_; result.itemDescription_ = itemDescription_; result.itemAddress_ = itemAddress_; result.itemCategory_ = itemCategory_; result.price_ = price_; result.salePrice_ = salePrice_; result.formattedPrice_ = formattedPrice_; result.formattedSalePrice_ = formattedSalePrice_; result.imageUrl_ = imageUrl_; if (((bitField0_ & 0x00000001) != 0)) { contextualKeywords_ = contextualKeywords_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.contextualKeywords_ = contextualKeywords_; result.androidAppLink_ = androidAppLink_; result.iosAppLink_ = iosAppLink_; result.iosAppStoreId_ = iosAppStoreId_; if (((bitField0_ & 0x00000002) != 0)) { similarIds_ = similarIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.similarIds_ = similarIds_; 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.v10.common.DynamicCustomAsset) { return mergeFrom((com.google.ads.googleads.v10.common.DynamicCustomAsset)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v10.common.DynamicCustomAsset other) { if (other == com.google.ads.googleads.v10.common.DynamicCustomAsset.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getId2().isEmpty()) { id2_ = other.id2_; onChanged(); } if (!other.getItemTitle().isEmpty()) { itemTitle_ = other.itemTitle_; onChanged(); } if (!other.getItemSubtitle().isEmpty()) { itemSubtitle_ = other.itemSubtitle_; onChanged(); } if (!other.getItemDescription().isEmpty()) { itemDescription_ = other.itemDescription_; onChanged(); } if (!other.getItemAddress().isEmpty()) { itemAddress_ = other.itemAddress_; onChanged(); } if (!other.getItemCategory().isEmpty()) { itemCategory_ = other.itemCategory_; onChanged(); } if (!other.getPrice().isEmpty()) { price_ = other.price_; onChanged(); } if (!other.getSalePrice().isEmpty()) { salePrice_ = other.salePrice_; onChanged(); } if (!other.getFormattedPrice().isEmpty()) { formattedPrice_ = other.formattedPrice_; onChanged(); } if (!other.getFormattedSalePrice().isEmpty()) { formattedSalePrice_ = other.formattedSalePrice_; onChanged(); } if (!other.getImageUrl().isEmpty()) { imageUrl_ = other.imageUrl_; onChanged(); } if (!other.contextualKeywords_.isEmpty()) { if (contextualKeywords_.isEmpty()) { contextualKeywords_ = other.contextualKeywords_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureContextualKeywordsIsMutable(); contextualKeywords_.addAll(other.contextualKeywords_); } onChanged(); } if (!other.getAndroidAppLink().isEmpty()) { androidAppLink_ = other.androidAppLink_; onChanged(); } if (!other.getIosAppLink().isEmpty()) { iosAppLink_ = other.iosAppLink_; onChanged(); } if (other.getIosAppStoreId() != 0L) { setIosAppStoreId(other.getIosAppStoreId()); } if (!other.similarIds_.isEmpty()) { if (similarIds_.isEmpty()) { similarIds_ = other.similarIds_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSimilarIdsIsMutable(); similarIds_.addAll(other.similarIds_); } onChanged(); } 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; case 10: { id_ = input.readStringRequireUtf8(); break; } // case 10 case 18: { id2_ = input.readStringRequireUtf8(); break; } // case 18 case 26: { itemTitle_ = input.readStringRequireUtf8(); break; } // case 26 case 34: { itemSubtitle_ = input.readStringRequireUtf8(); break; } // case 34 case 42: { itemDescription_ = input.readStringRequireUtf8(); break; } // case 42 case 50: { itemAddress_ = input.readStringRequireUtf8(); break; } // case 50 case 58: { itemCategory_ = input.readStringRequireUtf8(); break; } // case 58 case 66: { price_ = input.readStringRequireUtf8(); break; } // case 66 case 74: { salePrice_ = input.readStringRequireUtf8(); break; } // case 74 case 82: { formattedPrice_ = input.readStringRequireUtf8(); break; } // case 82 case 90: { formattedSalePrice_ = input.readStringRequireUtf8(); break; } // case 90 case 98: { imageUrl_ = input.readStringRequireUtf8(); break; } // case 98 case 106: { java.lang.String s = input.readStringRequireUtf8(); ensureContextualKeywordsIsMutable(); contextualKeywords_.add(s); break; } // case 106 case 114: { androidAppLink_ = input.readStringRequireUtf8(); break; } // case 114 case 122: { java.lang.String s = input.readStringRequireUtf8(); ensureSimilarIdsIsMutable(); similarIds_.add(s); break; } // case 122 case 130: { iosAppLink_ = input.readStringRequireUtf8(); break; } // case 130 case 136: { iosAppStoreId_ = input.readInt64(); break; } // case 136 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; } private int bitField0_; private java.lang.Object id_ = ""; /** *
     * Required. ID which can be any sequence of letters and digits, and must be
     * unique and match the values of remarketing tag, for example, sedan.
     * Required.
     * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Required. ID which can be any sequence of letters and digits, and must be
     * unique and match the values of remarketing tag, for example, sedan.
     * Required.
     * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Required. ID which can be any sequence of letters and digits, and must be
     * unique and match the values of remarketing tag, for example, sedan.
     * Required.
     * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** *
     * Required. ID which can be any sequence of letters and digits, and must be
     * unique and match the values of remarketing tag, for example, sedan.
     * Required.
     * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
     * Required. ID which can be any sequence of letters and digits, and must be
     * unique and match the values of remarketing tag, for example, sedan.
     * Required.
     * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private java.lang.Object id2_ = ""; /** *
     * ID2 which can be any sequence of letters and digits, for example, red. ID
     * sequence (ID + ID2) must be unique.
     * 
* * string id2 = 2; * @return The id2. */ public java.lang.String getId2() { java.lang.Object ref = id2_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id2_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * ID2 which can be any sequence of letters and digits, for example, red. ID
     * sequence (ID + ID2) must be unique.
     * 
* * string id2 = 2; * @return The bytes for id2. */ public com.google.protobuf.ByteString getId2Bytes() { java.lang.Object ref = id2_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id2_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * ID2 which can be any sequence of letters and digits, for example, red. ID
     * sequence (ID + ID2) must be unique.
     * 
* * string id2 = 2; * @param value The id2 to set. * @return This builder for chaining. */ public Builder setId2( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id2_ = value; onChanged(); return this; } /** *
     * ID2 which can be any sequence of letters and digits, for example, red. ID
     * sequence (ID + ID2) must be unique.
     * 
* * string id2 = 2; * @return This builder for chaining. */ public Builder clearId2() { id2_ = getDefaultInstance().getId2(); onChanged(); return this; } /** *
     * ID2 which can be any sequence of letters and digits, for example, red. ID
     * sequence (ID + ID2) must be unique.
     * 
* * string id2 = 2; * @param value The bytes for id2 to set. * @return This builder for chaining. */ public Builder setId2Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id2_ = value; onChanged(); return this; } private java.lang.Object itemTitle_ = ""; /** *
     * Required. Item title, for example, Mid-size sedan. Required.
     * 
* * string item_title = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The itemTitle. */ public java.lang.String getItemTitle() { java.lang.Object ref = itemTitle_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); itemTitle_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Required. Item title, for example, Mid-size sedan. Required.
     * 
* * string item_title = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for itemTitle. */ public com.google.protobuf.ByteString getItemTitleBytes() { java.lang.Object ref = itemTitle_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); itemTitle_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Required. Item title, for example, Mid-size sedan. Required.
     * 
* * string item_title = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The itemTitle to set. * @return This builder for chaining. */ public Builder setItemTitle( java.lang.String value) { if (value == null) { throw new NullPointerException(); } itemTitle_ = value; onChanged(); return this; } /** *
     * Required. Item title, for example, Mid-size sedan. Required.
     * 
* * string item_title = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearItemTitle() { itemTitle_ = getDefaultInstance().getItemTitle(); onChanged(); return this; } /** *
     * Required. Item title, for example, Mid-size sedan. Required.
     * 
* * string item_title = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for itemTitle to set. * @return This builder for chaining. */ public Builder setItemTitleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); itemTitle_ = value; onChanged(); return this; } private java.lang.Object itemSubtitle_ = ""; /** *
     * Item subtitle, for example, At your Mountain View dealership.
     * 
* * string item_subtitle = 4; * @return The itemSubtitle. */ public java.lang.String getItemSubtitle() { java.lang.Object ref = itemSubtitle_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); itemSubtitle_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Item subtitle, for example, At your Mountain View dealership.
     * 
* * string item_subtitle = 4; * @return The bytes for itemSubtitle. */ public com.google.protobuf.ByteString getItemSubtitleBytes() { java.lang.Object ref = itemSubtitle_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); itemSubtitle_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Item subtitle, for example, At your Mountain View dealership.
     * 
* * string item_subtitle = 4; * @param value The itemSubtitle to set. * @return This builder for chaining. */ public Builder setItemSubtitle( java.lang.String value) { if (value == null) { throw new NullPointerException(); } itemSubtitle_ = value; onChanged(); return this; } /** *
     * Item subtitle, for example, At your Mountain View dealership.
     * 
* * string item_subtitle = 4; * @return This builder for chaining. */ public Builder clearItemSubtitle() { itemSubtitle_ = getDefaultInstance().getItemSubtitle(); onChanged(); return this; } /** *
     * Item subtitle, for example, At your Mountain View dealership.
     * 
* * string item_subtitle = 4; * @param value The bytes for itemSubtitle to set. * @return This builder for chaining. */ public Builder setItemSubtitleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); itemSubtitle_ = value; onChanged(); return this; } private java.lang.Object itemDescription_ = ""; /** *
     * Item description, for example, Best selling mid-size car.
     * 
* * string item_description = 5; * @return The itemDescription. */ public java.lang.String getItemDescription() { java.lang.Object ref = itemDescription_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); itemDescription_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Item description, for example, Best selling mid-size car.
     * 
* * string item_description = 5; * @return The bytes for itemDescription. */ public com.google.protobuf.ByteString getItemDescriptionBytes() { java.lang.Object ref = itemDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); itemDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Item description, for example, Best selling mid-size car.
     * 
* * string item_description = 5; * @param value The itemDescription to set. * @return This builder for chaining. */ public Builder setItemDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } itemDescription_ = value; onChanged(); return this; } /** *
     * Item description, for example, Best selling mid-size car.
     * 
* * string item_description = 5; * @return This builder for chaining. */ public Builder clearItemDescription() { itemDescription_ = getDefaultInstance().getItemDescription(); onChanged(); return this; } /** *
     * Item description, for example, Best selling mid-size car.
     * 
* * string item_description = 5; * @param value The bytes for itemDescription to set. * @return This builder for chaining. */ public Builder setItemDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); itemDescription_ = value; onChanged(); return this; } private java.lang.Object itemAddress_ = ""; /** *
     * Item address which can be specified in one of the following formats.
     * (1) City, state, code, country, for example, Mountain View, CA, USA.
     * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
     * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
     * 
* * string item_address = 6; * @return The itemAddress. */ public java.lang.String getItemAddress() { java.lang.Object ref = itemAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); itemAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Item address which can be specified in one of the following formats.
     * (1) City, state, code, country, for example, Mountain View, CA, USA.
     * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
     * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
     * 
* * string item_address = 6; * @return The bytes for itemAddress. */ public com.google.protobuf.ByteString getItemAddressBytes() { java.lang.Object ref = itemAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); itemAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Item address which can be specified in one of the following formats.
     * (1) City, state, code, country, for example, Mountain View, CA, USA.
     * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
     * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
     * 
* * string item_address = 6; * @param value The itemAddress to set. * @return This builder for chaining. */ public Builder setItemAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } itemAddress_ = value; onChanged(); return this; } /** *
     * Item address which can be specified in one of the following formats.
     * (1) City, state, code, country, for example, Mountain View, CA, USA.
     * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
     * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
     * 
* * string item_address = 6; * @return This builder for chaining. */ public Builder clearItemAddress() { itemAddress_ = getDefaultInstance().getItemAddress(); onChanged(); return this; } /** *
     * Item address which can be specified in one of the following formats.
     * (1) City, state, code, country, for example, Mountain View, CA, USA.
     * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
     * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
     * 
* * string item_address = 6; * @param value The bytes for itemAddress to set. * @return This builder for chaining. */ public Builder setItemAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); itemAddress_ = value; onChanged(); return this; } private java.lang.Object itemCategory_ = ""; /** *
     * Item category, for example, Sedans.
     * 
* * string item_category = 7; * @return The itemCategory. */ public java.lang.String getItemCategory() { java.lang.Object ref = itemCategory_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); itemCategory_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Item category, for example, Sedans.
     * 
* * string item_category = 7; * @return The bytes for itemCategory. */ public com.google.protobuf.ByteString getItemCategoryBytes() { java.lang.Object ref = itemCategory_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); itemCategory_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Item category, for example, Sedans.
     * 
* * string item_category = 7; * @param value The itemCategory to set. * @return This builder for chaining. */ public Builder setItemCategory( java.lang.String value) { if (value == null) { throw new NullPointerException(); } itemCategory_ = value; onChanged(); return this; } /** *
     * Item category, for example, Sedans.
     * 
* * string item_category = 7; * @return This builder for chaining. */ public Builder clearItemCategory() { itemCategory_ = getDefaultInstance().getItemCategory(); onChanged(); return this; } /** *
     * Item category, for example, Sedans.
     * 
* * string item_category = 7; * @param value The bytes for itemCategory to set. * @return This builder for chaining. */ public Builder setItemCategoryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); itemCategory_ = value; onChanged(); return this; } private java.lang.Object price_ = ""; /** *
     * Price which can be number followed by the alphabetic currency code,
     * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD.
     * 
* * string price = 8; * @return The price. */ public java.lang.String getPrice() { java.lang.Object ref = price_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); price_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Price which can be number followed by the alphabetic currency code,
     * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD.
     * 
* * string price = 8; * @return The bytes for price. */ public com.google.protobuf.ByteString getPriceBytes() { java.lang.Object ref = price_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); price_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Price which can be number followed by the alphabetic currency code,
     * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD.
     * 
* * string price = 8; * @param value The price to set. * @return This builder for chaining. */ public Builder setPrice( java.lang.String value) { if (value == null) { throw new NullPointerException(); } price_ = value; onChanged(); return this; } /** *
     * Price which can be number followed by the alphabetic currency code,
     * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD.
     * 
* * string price = 8; * @return This builder for chaining. */ public Builder clearPrice() { price_ = getDefaultInstance().getPrice(); onChanged(); return this; } /** *
     * Price which can be number followed by the alphabetic currency code,
     * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD.
     * 
* * string price = 8; * @param value The bytes for price to set. * @return This builder for chaining. */ public Builder setPriceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); price_ = value; onChanged(); return this; } private java.lang.Object salePrice_ = ""; /** *
     * Sale price which can be number followed by the alphabetic currency code,
     * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD.
     * Must be less than the 'price' field.
     * 
* * string sale_price = 9; * @return The salePrice. */ public java.lang.String getSalePrice() { java.lang.Object ref = salePrice_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); salePrice_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Sale price which can be number followed by the alphabetic currency code,
     * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD.
     * Must be less than the 'price' field.
     * 
* * string sale_price = 9; * @return The bytes for salePrice. */ public com.google.protobuf.ByteString getSalePriceBytes() { java.lang.Object ref = salePrice_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); salePrice_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Sale price which can be number followed by the alphabetic currency code,
     * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD.
     * Must be less than the 'price' field.
     * 
* * string sale_price = 9; * @param value The salePrice to set. * @return This builder for chaining. */ public Builder setSalePrice( java.lang.String value) { if (value == null) { throw new NullPointerException(); } salePrice_ = value; onChanged(); return this; } /** *
     * Sale price which can be number followed by the alphabetic currency code,
     * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD.
     * Must be less than the 'price' field.
     * 
* * string sale_price = 9; * @return This builder for chaining. */ public Builder clearSalePrice() { salePrice_ = getDefaultInstance().getSalePrice(); onChanged(); return this; } /** *
     * Sale price which can be number followed by the alphabetic currency code,
     * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD.
     * Must be less than the 'price' field.
     * 
* * string sale_price = 9; * @param value The bytes for salePrice to set. * @return This builder for chaining. */ public Builder setSalePriceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); salePrice_ = value; onChanged(); return this; } private java.lang.Object formattedPrice_ = ""; /** *
     * Formatted price which can be any characters. If set, this attribute will be
     * used instead of 'price', for example, Starting at $20,000.00.
     * 
* * string formatted_price = 10; * @return The formattedPrice. */ public java.lang.String getFormattedPrice() { java.lang.Object ref = formattedPrice_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedPrice_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Formatted price which can be any characters. If set, this attribute will be
     * used instead of 'price', for example, Starting at $20,000.00.
     * 
* * string formatted_price = 10; * @return The bytes for formattedPrice. */ public com.google.protobuf.ByteString getFormattedPriceBytes() { java.lang.Object ref = formattedPrice_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); formattedPrice_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Formatted price which can be any characters. If set, this attribute will be
     * used instead of 'price', for example, Starting at $20,000.00.
     * 
* * string formatted_price = 10; * @param value The formattedPrice to set. * @return This builder for chaining. */ public Builder setFormattedPrice( java.lang.String value) { if (value == null) { throw new NullPointerException(); } formattedPrice_ = value; onChanged(); return this; } /** *
     * Formatted price which can be any characters. If set, this attribute will be
     * used instead of 'price', for example, Starting at $20,000.00.
     * 
* * string formatted_price = 10; * @return This builder for chaining. */ public Builder clearFormattedPrice() { formattedPrice_ = getDefaultInstance().getFormattedPrice(); onChanged(); return this; } /** *
     * Formatted price which can be any characters. If set, this attribute will be
     * used instead of 'price', for example, Starting at $20,000.00.
     * 
* * string formatted_price = 10; * @param value The bytes for formattedPrice to set. * @return This builder for chaining. */ public Builder setFormattedPriceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); formattedPrice_ = value; onChanged(); return this; } private java.lang.Object formattedSalePrice_ = ""; /** *
     * Formatted sale price which can be any characters. If set, this attribute
     * will be used instead of 'sale price', for example, On sale for $15,000.00.
     * 
* * string formatted_sale_price = 11; * @return The formattedSalePrice. */ public java.lang.String getFormattedSalePrice() { java.lang.Object ref = formattedSalePrice_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedSalePrice_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Formatted sale price which can be any characters. If set, this attribute
     * will be used instead of 'sale price', for example, On sale for $15,000.00.
     * 
* * string formatted_sale_price = 11; * @return The bytes for formattedSalePrice. */ public com.google.protobuf.ByteString getFormattedSalePriceBytes() { java.lang.Object ref = formattedSalePrice_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); formattedSalePrice_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Formatted sale price which can be any characters. If set, this attribute
     * will be used instead of 'sale price', for example, On sale for $15,000.00.
     * 
* * string formatted_sale_price = 11; * @param value The formattedSalePrice to set. * @return This builder for chaining. */ public Builder setFormattedSalePrice( java.lang.String value) { if (value == null) { throw new NullPointerException(); } formattedSalePrice_ = value; onChanged(); return this; } /** *
     * Formatted sale price which can be any characters. If set, this attribute
     * will be used instead of 'sale price', for example, On sale for $15,000.00.
     * 
* * string formatted_sale_price = 11; * @return This builder for chaining. */ public Builder clearFormattedSalePrice() { formattedSalePrice_ = getDefaultInstance().getFormattedSalePrice(); onChanged(); return this; } /** *
     * Formatted sale price which can be any characters. If set, this attribute
     * will be used instead of 'sale price', for example, On sale for $15,000.00.
     * 
* * string formatted_sale_price = 11; * @param value The bytes for formattedSalePrice to set. * @return This builder for chaining. */ public Builder setFormattedSalePriceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); formattedSalePrice_ = value; onChanged(); return this; } private java.lang.Object imageUrl_ = ""; /** *
     * Image URL, for example, http://www.example.com/image.png. The image will
     * not be uploaded as image asset.
     * 
* * string image_url = 12; * @return The imageUrl. */ public java.lang.String getImageUrl() { java.lang.Object ref = imageUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Image URL, for example, http://www.example.com/image.png. The image will
     * not be uploaded as image asset.
     * 
* * string image_url = 12; * @return The bytes for imageUrl. */ public com.google.protobuf.ByteString getImageUrlBytes() { java.lang.Object ref = imageUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); imageUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Image URL, for example, http://www.example.com/image.png. The image will
     * not be uploaded as image asset.
     * 
* * string image_url = 12; * @param value The imageUrl to set. * @return This builder for chaining. */ public Builder setImageUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } imageUrl_ = value; onChanged(); return this; } /** *
     * Image URL, for example, http://www.example.com/image.png. The image will
     * not be uploaded as image asset.
     * 
* * string image_url = 12; * @return This builder for chaining. */ public Builder clearImageUrl() { imageUrl_ = getDefaultInstance().getImageUrl(); onChanged(); return this; } /** *
     * Image URL, for example, http://www.example.com/image.png. The image will
     * not be uploaded as image asset.
     * 
* * string image_url = 12; * @param value The bytes for imageUrl to set. * @return This builder for chaining. */ public Builder setImageUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); imageUrl_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList contextualKeywords_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureContextualKeywordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contextualKeywords_ = new com.google.protobuf.LazyStringArrayList(contextualKeywords_); bitField0_ |= 0x00000001; } } /** *
     * Contextual keywords, for example, Sedans, 4 door sedans.
     * 
* * repeated string contextual_keywords = 13; * @return A list containing the contextualKeywords. */ public com.google.protobuf.ProtocolStringList getContextualKeywordsList() { return contextualKeywords_.getUnmodifiableView(); } /** *
     * Contextual keywords, for example, Sedans, 4 door sedans.
     * 
* * repeated string contextual_keywords = 13; * @return The count of contextualKeywords. */ public int getContextualKeywordsCount() { return contextualKeywords_.size(); } /** *
     * Contextual keywords, for example, Sedans, 4 door sedans.
     * 
* * repeated string contextual_keywords = 13; * @param index The index of the element to return. * @return The contextualKeywords at the given index. */ public java.lang.String getContextualKeywords(int index) { return contextualKeywords_.get(index); } /** *
     * Contextual keywords, for example, Sedans, 4 door sedans.
     * 
* * repeated string contextual_keywords = 13; * @param index The index of the value to return. * @return The bytes of the contextualKeywords at the given index. */ public com.google.protobuf.ByteString getContextualKeywordsBytes(int index) { return contextualKeywords_.getByteString(index); } /** *
     * Contextual keywords, for example, Sedans, 4 door sedans.
     * 
* * repeated string contextual_keywords = 13; * @param index The index to set the value at. * @param value The contextualKeywords to set. * @return This builder for chaining. */ public Builder setContextualKeywords( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureContextualKeywordsIsMutable(); contextualKeywords_.set(index, value); onChanged(); return this; } /** *
     * Contextual keywords, for example, Sedans, 4 door sedans.
     * 
* * repeated string contextual_keywords = 13; * @param value The contextualKeywords to add. * @return This builder for chaining. */ public Builder addContextualKeywords( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureContextualKeywordsIsMutable(); contextualKeywords_.add(value); onChanged(); return this; } /** *
     * Contextual keywords, for example, Sedans, 4 door sedans.
     * 
* * repeated string contextual_keywords = 13; * @param values The contextualKeywords to add. * @return This builder for chaining. */ public Builder addAllContextualKeywords( java.lang.Iterable values) { ensureContextualKeywordsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, contextualKeywords_); onChanged(); return this; } /** *
     * Contextual keywords, for example, Sedans, 4 door sedans.
     * 
* * repeated string contextual_keywords = 13; * @return This builder for chaining. */ public Builder clearContextualKeywords() { contextualKeywords_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Contextual keywords, for example, Sedans, 4 door sedans.
     * 
* * repeated string contextual_keywords = 13; * @param value The bytes of the contextualKeywords to add. * @return This builder for chaining. */ public Builder addContextualKeywordsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureContextualKeywordsIsMutable(); contextualKeywords_.add(value); onChanged(); return this; } private java.lang.Object androidAppLink_ = ""; /** *
     * Android deep link, for example,
     * android-app://com.example.android/http/example.com/gizmos?1234.
     * 
* * string android_app_link = 14; * @return The androidAppLink. */ public java.lang.String getAndroidAppLink() { java.lang.Object ref = androidAppLink_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); androidAppLink_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Android deep link, for example,
     * android-app://com.example.android/http/example.com/gizmos?1234.
     * 
* * string android_app_link = 14; * @return The bytes for androidAppLink. */ public com.google.protobuf.ByteString getAndroidAppLinkBytes() { java.lang.Object ref = androidAppLink_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); androidAppLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Android deep link, for example,
     * android-app://com.example.android/http/example.com/gizmos?1234.
     * 
* * string android_app_link = 14; * @param value The androidAppLink to set. * @return This builder for chaining. */ public Builder setAndroidAppLink( java.lang.String value) { if (value == null) { throw new NullPointerException(); } androidAppLink_ = value; onChanged(); return this; } /** *
     * Android deep link, for example,
     * android-app://com.example.android/http/example.com/gizmos?1234.
     * 
* * string android_app_link = 14; * @return This builder for chaining. */ public Builder clearAndroidAppLink() { androidAppLink_ = getDefaultInstance().getAndroidAppLink(); onChanged(); return this; } /** *
     * Android deep link, for example,
     * android-app://com.example.android/http/example.com/gizmos?1234.
     * 
* * string android_app_link = 14; * @param value The bytes for androidAppLink to set. * @return This builder for chaining. */ public Builder setAndroidAppLinkBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); androidAppLink_ = value; onChanged(); return this; } private java.lang.Object iosAppLink_ = ""; /** *
     * iOS deep link, for example, exampleApp://content/page.
     * 
* * string ios_app_link = 16; * @return The iosAppLink. */ public java.lang.String getIosAppLink() { java.lang.Object ref = iosAppLink_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iosAppLink_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * iOS deep link, for example, exampleApp://content/page.
     * 
* * string ios_app_link = 16; * @return The bytes for iosAppLink. */ public com.google.protobuf.ByteString getIosAppLinkBytes() { java.lang.Object ref = iosAppLink_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); iosAppLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * iOS deep link, for example, exampleApp://content/page.
     * 
* * string ios_app_link = 16; * @param value The iosAppLink to set. * @return This builder for chaining. */ public Builder setIosAppLink( java.lang.String value) { if (value == null) { throw new NullPointerException(); } iosAppLink_ = value; onChanged(); return this; } /** *
     * iOS deep link, for example, exampleApp://content/page.
     * 
* * string ios_app_link = 16; * @return This builder for chaining. */ public Builder clearIosAppLink() { iosAppLink_ = getDefaultInstance().getIosAppLink(); onChanged(); return this; } /** *
     * iOS deep link, for example, exampleApp://content/page.
     * 
* * string ios_app_link = 16; * @param value The bytes for iosAppLink to set. * @return This builder for chaining. */ public Builder setIosAppLinkBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); iosAppLink_ = value; onChanged(); return this; } private long iosAppStoreId_ ; /** *
     * iOS app store ID. This is used to check if the user has the app installed
     * on their device before deep linking. If this field is set, then the
     * ios_app_link field must also be present.
     * 
* * int64 ios_app_store_id = 17; * @return The iosAppStoreId. */ @java.lang.Override public long getIosAppStoreId() { return iosAppStoreId_; } /** *
     * iOS app store ID. This is used to check if the user has the app installed
     * on their device before deep linking. If this field is set, then the
     * ios_app_link field must also be present.
     * 
* * int64 ios_app_store_id = 17; * @param value The iosAppStoreId to set. * @return This builder for chaining. */ public Builder setIosAppStoreId(long value) { iosAppStoreId_ = value; onChanged(); return this; } /** *
     * iOS app store ID. This is used to check if the user has the app installed
     * on their device before deep linking. If this field is set, then the
     * ios_app_link field must also be present.
     * 
* * int64 ios_app_store_id = 17; * @return This builder for chaining. */ public Builder clearIosAppStoreId() { iosAppStoreId_ = 0L; onChanged(); return this; } private com.google.protobuf.LazyStringList similarIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSimilarIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { similarIds_ = new com.google.protobuf.LazyStringArrayList(similarIds_); bitField0_ |= 0x00000002; } } /** *
     * Similar IDs.
     * 
* * repeated string similar_ids = 15; * @return A list containing the similarIds. */ public com.google.protobuf.ProtocolStringList getSimilarIdsList() { return similarIds_.getUnmodifiableView(); } /** *
     * Similar IDs.
     * 
* * repeated string similar_ids = 15; * @return The count of similarIds. */ public int getSimilarIdsCount() { return similarIds_.size(); } /** *
     * Similar IDs.
     * 
* * repeated string similar_ids = 15; * @param index The index of the element to return. * @return The similarIds at the given index. */ public java.lang.String getSimilarIds(int index) { return similarIds_.get(index); } /** *
     * Similar IDs.
     * 
* * repeated string similar_ids = 15; * @param index The index of the value to return. * @return The bytes of the similarIds at the given index. */ public com.google.protobuf.ByteString getSimilarIdsBytes(int index) { return similarIds_.getByteString(index); } /** *
     * Similar IDs.
     * 
* * repeated string similar_ids = 15; * @param index The index to set the value at. * @param value The similarIds to set. * @return This builder for chaining. */ public Builder setSimilarIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSimilarIdsIsMutable(); similarIds_.set(index, value); onChanged(); return this; } /** *
     * Similar IDs.
     * 
* * repeated string similar_ids = 15; * @param value The similarIds to add. * @return This builder for chaining. */ public Builder addSimilarIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSimilarIdsIsMutable(); similarIds_.add(value); onChanged(); return this; } /** *
     * Similar IDs.
     * 
* * repeated string similar_ids = 15; * @param values The similarIds to add. * @return This builder for chaining. */ public Builder addAllSimilarIds( java.lang.Iterable values) { ensureSimilarIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, similarIds_); onChanged(); return this; } /** *
     * Similar IDs.
     * 
* * repeated string similar_ids = 15; * @return This builder for chaining. */ public Builder clearSimilarIds() { similarIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * Similar IDs.
     * 
* * repeated string similar_ids = 15; * @param value The bytes of the similarIds to add. * @return This builder for chaining. */ public Builder addSimilarIdsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSimilarIdsIsMutable(); similarIds_.add(value); onChanged(); 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.v10.common.DynamicCustomAsset) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.DynamicCustomAsset) private static final com.google.ads.googleads.v10.common.DynamicCustomAsset DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.DynamicCustomAsset(); } public static com.google.ads.googleads.v10.common.DynamicCustomAsset getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DynamicCustomAsset 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.v10.common.DynamicCustomAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy