Class DynamicLocalAsset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
com.google.ads.googleads.v18.common.DynamicLocalAsset.Builder
- All Implemented Interfaces:
DynamicLocalAssetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DynamicLocalAsset
public static final class DynamicLocalAsset.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
implements DynamicLocalAssetOrBuilder
A dynamic local asset.Protobuf type
google.ads.googleads.v18.common.DynamicLocalAsset-
Method Summary
Modifier and TypeMethodDescriptionaddAllContextualKeywords(Iterable<String> values) Contextual keywords, for example, Save groceries coupons.addAllSimilarDealIds(Iterable<String> values) Similar deal IDs, for example, 1275.addContextualKeywords(String value) Contextual keywords, for example, Save groceries coupons.addContextualKeywordsBytes(com.google.protobuf.ByteString value) Contextual keywords, for example, Save groceries coupons.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSimilarDealIds(String value) Similar deal IDs, for example, 1275.addSimilarDealIdsBytes(com.google.protobuf.ByteString value) Similar deal IDs, for example, 1275.build()clear()Address which can be specified in one of the following formats.Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.Category, for example, Food.Contextual keywords, for example, Save groceries coupons.Required.Required.Description, for example, Save on your weekly bill.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Formatted price which can be any characters.Formatted sale price which can be any characters.Image URL, for example, http://www.example.com/image.png.iOS deep link, for example, exampleApp://content/page.iOS app store ID.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard.Similar deal IDs, for example, 1275.Subtitle, for example, Groceries.clone()Address which can be specified in one of the following formats.com.google.protobuf.ByteStringAddress which can be specified in one of the following formats.Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.com.google.protobuf.ByteStringAndroid deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.Category, for example, Food.com.google.protobuf.ByteStringCategory, for example, Food.getContextualKeywords(int index) Contextual keywords, for example, Save groceries coupons.com.google.protobuf.ByteStringgetContextualKeywordsBytes(int index) Contextual keywords, for example, Save groceries coupons.intContextual keywords, for example, Save groceries coupons.com.google.protobuf.ProtocolStringListContextual keywords, for example, Save groceries coupons.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Description, for example, Save on your weekly bill.com.google.protobuf.ByteStringDescription, for example, Save on your weekly bill.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFormatted price which can be any characters.com.google.protobuf.ByteStringFormatted price which can be any characters.Formatted sale price which can be any characters.com.google.protobuf.ByteStringFormatted sale price which can be any characters.Image URL, for example, http://www.example.com/image.png.com.google.protobuf.ByteStringImage URL, for example, http://www.example.com/image.png.iOS deep link, for example, exampleApp://content/page.com.google.protobuf.ByteStringiOS deep link, for example, exampleApp://content/page.longiOS app store ID.getPrice()Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringPrice which can be a number followed by the alphabetic currency code, ISO 4217 standard.Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringSale price which can be number followed by the alphabetic currency code, ISO 4217 standard.getSimilarDealIds(int index) Similar deal IDs, for example, 1275.com.google.protobuf.ByteStringgetSimilarDealIdsBytes(int index) Similar deal IDs, for example, 1275.intSimilar deal IDs, for example, 1275.com.google.protobuf.ProtocolStringListSimilar deal IDs, for example, 1275.Subtitle, for example, Groceries.com.google.protobuf.ByteStringSubtitle, for example, Groceries.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(DynamicLocalAsset other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAddress(String value) Address which can be specified in one of the following formats.setAddressBytes(com.google.protobuf.ByteString value) Address which can be specified in one of the following formats.setAndroidAppLink(String value) Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.setAndroidAppLinkBytes(com.google.protobuf.ByteString value) Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.setCategory(String value) Category, for example, Food.setCategoryBytes(com.google.protobuf.ByteString value) Category, for example, Food.setContextualKeywords(int index, String value) Contextual keywords, for example, Save groceries coupons.Required.setDealIdBytes(com.google.protobuf.ByteString value) Required.setDealName(String value) Required.setDealNameBytes(com.google.protobuf.ByteString value) Required.setDescription(String value) Description, for example, Save on your weekly bill.setDescriptionBytes(com.google.protobuf.ByteString value) Description, for example, Save on your weekly bill.setFormattedPrice(String value) Formatted price which can be any characters.setFormattedPriceBytes(com.google.protobuf.ByteString value) Formatted price which can be any characters.setFormattedSalePrice(String value) Formatted sale price which can be any characters.setFormattedSalePriceBytes(com.google.protobuf.ByteString value) Formatted sale price which can be any characters.setImageUrl(String value) Image URL, for example, http://www.example.com/image.png.setImageUrlBytes(com.google.protobuf.ByteString value) Image URL, for example, http://www.example.com/image.png.setIosAppLink(String value) iOS deep link, for example, exampleApp://content/page.setIosAppLinkBytes(com.google.protobuf.ByteString value) iOS deep link, for example, exampleApp://content/page.setIosAppStoreId(long value) iOS app store ID.Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.setPriceBytes(com.google.protobuf.ByteString value) Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSalePrice(String value) Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard.setSalePriceBytes(com.google.protobuf.ByteString value) Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard.setSimilarDealIds(int index, String value) Similar deal IDs, for example, 1275.setSubtitle(String value) Subtitle, for example, Groceries.setSubtitleBytes(com.google.protobuf.ByteString value) Subtitle, for example, Groceries.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
setField
public DynamicLocalAsset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
setRepeatedField
public DynamicLocalAsset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
addRepeatedField
public DynamicLocalAsset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicLocalAsset.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
mergeFrom
public DynamicLocalAsset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicLocalAsset.Builder>- Throws:
IOException
-
getDealId
Required. Deal ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string deal_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDealIdin interfaceDynamicLocalAssetOrBuilder- Returns:
- The dealId.
-
getDealIdBytes
public com.google.protobuf.ByteString getDealIdBytes()Required. Deal ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string deal_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDealIdBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for dealId.
-
setDealId
Required. Deal ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string deal_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The dealId to set.- Returns:
- This builder for chaining.
-
clearDealId
Required. Deal ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string deal_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDealIdBytes
Required. Deal ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string deal_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for dealId to set.- Returns:
- This builder for chaining.
-
getDealName
Required. Deal name, for example, 50% off at Mountain View Grocers. Required.
string deal_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDealNamein interfaceDynamicLocalAssetOrBuilder- Returns:
- The dealName.
-
getDealNameBytes
public com.google.protobuf.ByteString getDealNameBytes()Required. Deal name, for example, 50% off at Mountain View Grocers. Required.
string deal_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDealNameBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for dealName.
-
setDealName
Required. Deal name, for example, 50% off at Mountain View Grocers. Required.
string deal_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The dealName to set.- Returns:
- This builder for chaining.
-
clearDealName
Required. Deal name, for example, 50% off at Mountain View Grocers. Required.
string deal_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDealNameBytes
Required. Deal name, for example, 50% off at Mountain View Grocers. Required.
string deal_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for dealName to set.- Returns:
- This builder for chaining.
-
getSubtitle
Subtitle, for example, Groceries.
string subtitle = 3;- Specified by:
getSubtitlein interfaceDynamicLocalAssetOrBuilder- Returns:
- The subtitle.
-
getSubtitleBytes
public com.google.protobuf.ByteString getSubtitleBytes()Subtitle, for example, Groceries.
string subtitle = 3;- Specified by:
getSubtitleBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for subtitle.
-
setSubtitle
Subtitle, for example, Groceries.
string subtitle = 3;- Parameters:
value- The subtitle to set.- Returns:
- This builder for chaining.
-
clearSubtitle
Subtitle, for example, Groceries.
string subtitle = 3;- Returns:
- This builder for chaining.
-
setSubtitleBytes
Subtitle, for example, Groceries.
string subtitle = 3;- Parameters:
value- The bytes for subtitle to set.- Returns:
- This builder for chaining.
-
getDescription
Description, for example, Save on your weekly bill.
string description = 4;- Specified by:
getDescriptionin interfaceDynamicLocalAssetOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description, for example, Save on your weekly bill.
string description = 4;- Specified by:
getDescriptionBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description, for example, Save on your weekly bill.
string description = 4;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description, for example, Save on your weekly bill.
string description = 4;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Description, for example, Save on your weekly bill.
string description = 4;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getPrice
Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
string price = 5;- Specified by:
getPricein interfaceDynamicLocalAssetOrBuilder- Returns:
- The price.
-
getPriceBytes
public com.google.protobuf.ByteString getPriceBytes()Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
string price = 5;- Specified by:
getPriceBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for price.
-
setPrice
Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
string price = 5;- Parameters:
value- The price to set.- Returns:
- This builder for chaining.
-
clearPrice
Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
string price = 5;- Returns:
- This builder for chaining.
-
setPriceBytes
Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
string price = 5;- Parameters:
value- The bytes for price to set.- Returns:
- This builder for chaining.
-
getSalePrice
Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
string sale_price = 6;- Specified by:
getSalePricein interfaceDynamicLocalAssetOrBuilder- Returns:
- The salePrice.
-
getSalePriceBytes
public com.google.protobuf.ByteString getSalePriceBytes()Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
string sale_price = 6;- Specified by:
getSalePriceBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for salePrice.
-
setSalePrice
Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
string sale_price = 6;- Parameters:
value- The salePrice to set.- Returns:
- This builder for chaining.
-
clearSalePrice
Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
string sale_price = 6;- Returns:
- This builder for chaining.
-
setSalePriceBytes
Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
string sale_price = 6;- Parameters:
value- The bytes for salePrice to set.- Returns:
- This builder for chaining.
-
getImageUrl
Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 7;- Specified by:
getImageUrlin interfaceDynamicLocalAssetOrBuilder- Returns:
- The imageUrl.
-
getImageUrlBytes
public com.google.protobuf.ByteString getImageUrlBytes()Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 7;- Specified by:
getImageUrlBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for imageUrl.
-
setImageUrl
Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 7;- Parameters:
value- The imageUrl to set.- Returns:
- This builder for chaining.
-
clearImageUrl
Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 7;- Returns:
- This builder for chaining.
-
setImageUrlBytes
Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 7;- Parameters:
value- The bytes for imageUrl to set.- Returns:
- This builder for chaining.
-
getAddress
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 address = 8;- Specified by:
getAddressin interfaceDynamicLocalAssetOrBuilder- Returns:
- The address.
-
getAddressBytes
public com.google.protobuf.ByteString getAddressBytes()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 address = 8;- Specified by:
getAddressBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for address.
-
setAddress
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 address = 8;- Parameters:
value- The address to set.- Returns:
- This builder for chaining.
-
clearAddress
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 address = 8;- Returns:
- This builder for chaining.
-
setAddressBytes
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 address = 8;- Parameters:
value- The bytes for address to set.- Returns:
- This builder for chaining.
-
getCategory
Category, for example, Food.
string category = 9;- Specified by:
getCategoryin interfaceDynamicLocalAssetOrBuilder- Returns:
- The category.
-
getCategoryBytes
public com.google.protobuf.ByteString getCategoryBytes()Category, for example, Food.
string category = 9;- Specified by:
getCategoryBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for category.
-
setCategory
Category, for example, Food.
string category = 9;- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
Category, for example, Food.
string category = 9;- Returns:
- This builder for chaining.
-
setCategoryBytes
Category, for example, Food.
string category = 9;- Parameters:
value- The bytes for category to set.- Returns:
- This builder for chaining.
-
getContextualKeywordsList
public com.google.protobuf.ProtocolStringList getContextualKeywordsList()Contextual keywords, for example, Save groceries coupons.
repeated string contextual_keywords = 10;- Specified by:
getContextualKeywordsListin interfaceDynamicLocalAssetOrBuilder- Returns:
- A list containing the contextualKeywords.
-
getContextualKeywordsCount
public int getContextualKeywordsCount()Contextual keywords, for example, Save groceries coupons.
repeated string contextual_keywords = 10;- Specified by:
getContextualKeywordsCountin interfaceDynamicLocalAssetOrBuilder- Returns:
- The count of contextualKeywords.
-
getContextualKeywords
Contextual keywords, for example, Save groceries coupons.
repeated string contextual_keywords = 10;- Specified by:
getContextualKeywordsin interfaceDynamicLocalAssetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The contextualKeywords at the given index.
-
getContextualKeywordsBytes
public com.google.protobuf.ByteString getContextualKeywordsBytes(int index) Contextual keywords, for example, Save groceries coupons.
repeated string contextual_keywords = 10;- Specified by:
getContextualKeywordsBytesin interfaceDynamicLocalAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the contextualKeywords at the given index.
-
setContextualKeywords
Contextual keywords, for example, Save groceries coupons.
repeated string contextual_keywords = 10;- Parameters:
index- The index to set the value at.value- The contextualKeywords to set.- Returns:
- This builder for chaining.
-
addContextualKeywords
Contextual keywords, for example, Save groceries coupons.
repeated string contextual_keywords = 10;- Parameters:
value- The contextualKeywords to add.- Returns:
- This builder for chaining.
-
addAllContextualKeywords
Contextual keywords, for example, Save groceries coupons.
repeated string contextual_keywords = 10;- Parameters:
values- The contextualKeywords to add.- Returns:
- This builder for chaining.
-
clearContextualKeywords
Contextual keywords, for example, Save groceries coupons.
repeated string contextual_keywords = 10;- Returns:
- This builder for chaining.
-
addContextualKeywordsBytes
Contextual keywords, for example, Save groceries coupons.
repeated string contextual_keywords = 10;- Parameters:
value- The bytes of the contextualKeywords to add.- Returns:
- This builder for chaining.
-
getFormattedPrice
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
string formatted_price = 11;- Specified by:
getFormattedPricein interfaceDynamicLocalAssetOrBuilder- Returns:
- The formattedPrice.
-
getFormattedPriceBytes
public com.google.protobuf.ByteString getFormattedPriceBytes()Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
string formatted_price = 11;- Specified by:
getFormattedPriceBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for formattedPrice.
-
setFormattedPrice
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
string formatted_price = 11;- Parameters:
value- The formattedPrice to set.- Returns:
- This builder for chaining.
-
clearFormattedPrice
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
string formatted_price = 11;- Returns:
- This builder for chaining.
-
setFormattedPriceBytes
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
string formatted_price = 11;- Parameters:
value- The bytes for formattedPrice to set.- Returns:
- This builder for chaining.
-
getFormattedSalePrice
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
string formatted_sale_price = 12;- Specified by:
getFormattedSalePricein interfaceDynamicLocalAssetOrBuilder- Returns:
- The formattedSalePrice.
-
getFormattedSalePriceBytes
public com.google.protobuf.ByteString getFormattedSalePriceBytes()Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
string formatted_sale_price = 12;- Specified by:
getFormattedSalePriceBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for formattedSalePrice.
-
setFormattedSalePrice
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
string formatted_sale_price = 12;- Parameters:
value- The formattedSalePrice to set.- Returns:
- This builder for chaining.
-
clearFormattedSalePrice
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
string formatted_sale_price = 12;- Returns:
- This builder for chaining.
-
setFormattedSalePriceBytes
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
string formatted_sale_price = 12;- Parameters:
value- The bytes for formattedSalePrice to set.- Returns:
- This builder for chaining.
-
getAndroidAppLink
Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 13;- Specified by:
getAndroidAppLinkin interfaceDynamicLocalAssetOrBuilder- Returns:
- The androidAppLink.
-
getAndroidAppLinkBytes
public com.google.protobuf.ByteString getAndroidAppLinkBytes()Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 13;- Specified by:
getAndroidAppLinkBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for androidAppLink.
-
setAndroidAppLink
Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 13;- Parameters:
value- The androidAppLink to set.- Returns:
- This builder for chaining.
-
clearAndroidAppLink
Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 13;- Returns:
- This builder for chaining.
-
setAndroidAppLinkBytes
Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 13;- Parameters:
value- The bytes for androidAppLink to set.- Returns:
- This builder for chaining.
-
getSimilarDealIdsList
public com.google.protobuf.ProtocolStringList getSimilarDealIdsList()Similar deal IDs, for example, 1275.
repeated string similar_deal_ids = 14;- Specified by:
getSimilarDealIdsListin interfaceDynamicLocalAssetOrBuilder- Returns:
- A list containing the similarDealIds.
-
getSimilarDealIdsCount
public int getSimilarDealIdsCount()Similar deal IDs, for example, 1275.
repeated string similar_deal_ids = 14;- Specified by:
getSimilarDealIdsCountin interfaceDynamicLocalAssetOrBuilder- Returns:
- The count of similarDealIds.
-
getSimilarDealIds
Similar deal IDs, for example, 1275.
repeated string similar_deal_ids = 14;- Specified by:
getSimilarDealIdsin interfaceDynamicLocalAssetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The similarDealIds at the given index.
-
getSimilarDealIdsBytes
public com.google.protobuf.ByteString getSimilarDealIdsBytes(int index) Similar deal IDs, for example, 1275.
repeated string similar_deal_ids = 14;- Specified by:
getSimilarDealIdsBytesin interfaceDynamicLocalAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the similarDealIds at the given index.
-
setSimilarDealIds
Similar deal IDs, for example, 1275.
repeated string similar_deal_ids = 14;- Parameters:
index- The index to set the value at.value- The similarDealIds to set.- Returns:
- This builder for chaining.
-
addSimilarDealIds
Similar deal IDs, for example, 1275.
repeated string similar_deal_ids = 14;- Parameters:
value- The similarDealIds to add.- Returns:
- This builder for chaining.
-
addAllSimilarDealIds
Similar deal IDs, for example, 1275.
repeated string similar_deal_ids = 14;- Parameters:
values- The similarDealIds to add.- Returns:
- This builder for chaining.
-
clearSimilarDealIds
Similar deal IDs, for example, 1275.
repeated string similar_deal_ids = 14;- Returns:
- This builder for chaining.
-
addSimilarDealIdsBytes
Similar deal IDs, for example, 1275.
repeated string similar_deal_ids = 14;- Parameters:
value- The bytes of the similarDealIds to add.- Returns:
- This builder for chaining.
-
getIosAppLink
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 15;- Specified by:
getIosAppLinkin interfaceDynamicLocalAssetOrBuilder- Returns:
- The iosAppLink.
-
getIosAppLinkBytes
public com.google.protobuf.ByteString getIosAppLinkBytes()iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 15;- Specified by:
getIosAppLinkBytesin interfaceDynamicLocalAssetOrBuilder- Returns:
- The bytes for iosAppLink.
-
setIosAppLink
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 15;- Parameters:
value- The iosAppLink to set.- Returns:
- This builder for chaining.
-
clearIosAppLink
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 15;- Returns:
- This builder for chaining.
-
setIosAppLinkBytes
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 15;- Parameters:
value- The bytes for iosAppLink to set.- Returns:
- This builder for chaining.
-
getIosAppStoreId
public long getIosAppStoreId()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 = 16;- Specified by:
getIosAppStoreIdin interfaceDynamicLocalAssetOrBuilder- Returns:
- The iosAppStoreId.
-
setIosAppStoreId
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 = 16;- Parameters:
value- The iosAppStoreId to set.- Returns:
- This builder for chaining.
-
clearIosAppStoreId
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 = 16;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DynamicLocalAsset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-
mergeUnknownFields
public final DynamicLocalAsset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
-