Class DynamicTravelAsset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
com.google.ads.googleads.v18.common.DynamicTravelAsset.Builder
- All Implemented Interfaces:
DynamicTravelAssetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DynamicTravelAsset
public static final class DynamicTravelAsset.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
implements DynamicTravelAssetOrBuilder
A dynamic travel asset.Protobuf type
google.ads.googleads.v18.common.DynamicTravelAsset-
Method Summary
Modifier and TypeMethodDescriptionaddAllContextualKeywords(Iterable<String> values) Contextual keywords, for example, Paris trains.addAllSimilarDestinationIds(Iterable<String> values) Similar destination IDs, for example, NYC.addContextualKeywords(String value) Contextual keywords, for example, Paris trains.addContextualKeywordsBytes(com.google.protobuf.ByteString value) Contextual keywords, for example, Paris trains.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSimilarDestinationIds(String value) Similar destination IDs, for example, NYC.addSimilarDestinationIdsBytes(com.google.protobuf.ByteString value) Similar destination IDs, for example, NYC.build()clear()Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.Category, for example, Express.Contextual keywords, for example, Paris trains.Destination address which can be specified in one of the following formats.Required.Destination name, for example, Paris.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) Origin ID which can be any sequence of letters and digits.Origin name, for example, London.Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.Similar destination IDs, for example, NYC.Required.clone()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, Express.com.google.protobuf.ByteStringCategory, for example, Express.getContextualKeywords(int index) Contextual keywords, for example, Paris trains.com.google.protobuf.ByteStringgetContextualKeywordsBytes(int index) Contextual keywords, for example, Paris trains.intContextual keywords, for example, Paris trains.com.google.protobuf.ProtocolStringListContextual keywords, for example, Paris trains.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDestination address which can be specified in one of the following formats.com.google.protobuf.ByteStringDestination address which can be specified in one of the following formats.Required.com.google.protobuf.ByteStringRequired.Destination name, for example, Paris.com.google.protobuf.ByteStringDestination name, for example, Paris.Formatted 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.Origin ID which can be any sequence of letters and digits.com.google.protobuf.ByteStringOrigin ID which can be any sequence of letters and digits.Origin name, for example, London.com.google.protobuf.ByteStringOrigin name, for example, London.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 a number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringSale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.getSimilarDestinationIds(int index) Similar destination IDs, for example, NYC.com.google.protobuf.ByteStringgetSimilarDestinationIdsBytes(int index) Similar destination IDs, for example, NYC.intSimilar destination IDs, for example, NYC.com.google.protobuf.ProtocolStringListSimilar destination IDs, for example, NYC.getTitle()Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(DynamicTravelAsset other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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, Express.setCategoryBytes(com.google.protobuf.ByteString value) Category, for example, Express.setContextualKeywords(int index, String value) Contextual keywords, for example, Paris trains.setDestinationAddress(String value) Destination address which can be specified in one of the following formats.setDestinationAddressBytes(com.google.protobuf.ByteString value) Destination address which can be specified in one of the following formats.setDestinationId(String value) Required.setDestinationIdBytes(com.google.protobuf.ByteString value) Required.setDestinationName(String value) Destination name, for example, Paris.setDestinationNameBytes(com.google.protobuf.ByteString value) Destination name, for example, Paris.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.setOriginId(String value) Origin ID which can be any sequence of letters and digits.setOriginIdBytes(com.google.protobuf.ByteString value) Origin ID which can be any sequence of letters and digits.setOriginName(String value) Origin name, for example, London.setOriginNameBytes(com.google.protobuf.ByteString value) Origin name, for example, London.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 a number followed by the alphabetic currency code, ISO 4217 standard.setSalePriceBytes(com.google.protobuf.ByteString value) Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.setSimilarDestinationIds(int index, String value) Similar destination IDs, for example, NYC.Required.setTitleBytes(com.google.protobuf.ByteString value) Required.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<DynamicTravelAsset.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<DynamicTravelAsset.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<DynamicTravelAsset.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<DynamicTravelAsset.Builder>
-
setField
public DynamicTravelAsset.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<DynamicTravelAsset.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
-
setRepeatedField
public DynamicTravelAsset.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<DynamicTravelAsset.Builder>
-
addRepeatedField
public DynamicTravelAsset.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<DynamicTravelAsset.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicTravelAsset.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
-
mergeFrom
public DynamicTravelAsset.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<DynamicTravelAsset.Builder>- Throws:
IOException
-
getDestinationId
Required. Destination ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationIdin interfaceDynamicTravelAssetOrBuilder- Returns:
- The destinationId.
-
getDestinationIdBytes
public com.google.protobuf.ByteString getDestinationIdBytes()Required. Destination ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationIdBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for destinationId.
-
setDestinationId
Required. Destination ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The destinationId to set.- Returns:
- This builder for chaining.
-
clearDestinationId
Required. Destination ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDestinationIdBytes
Required. Destination ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for destinationId to set.- Returns:
- This builder for chaining.
-
getOriginId
Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + origin ID) must be unique.
string origin_id = 2;- Specified by:
getOriginIdin interfaceDynamicTravelAssetOrBuilder- Returns:
- The originId.
-
getOriginIdBytes
public com.google.protobuf.ByteString getOriginIdBytes()Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + origin ID) must be unique.
string origin_id = 2;- Specified by:
getOriginIdBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for originId.
-
setOriginId
Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + origin ID) must be unique.
string origin_id = 2;- Parameters:
value- The originId to set.- Returns:
- This builder for chaining.
-
clearOriginId
Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + origin ID) must be unique.
string origin_id = 2;- Returns:
- This builder for chaining.
-
setOriginIdBytes
Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + origin ID) must be unique.
string origin_id = 2;- Parameters:
value- The bytes for originId to set.- Returns:
- This builder for chaining.
-
getTitle
Required. Title, for example, Book your train ticket. Required.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTitlein interfaceDynamicTravelAssetOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Required. Title, for example, Book your train ticket. Required.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTitleBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for title.
-
setTitle
Required. Title, for example, Book your train ticket. Required.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
Required. Title, for example, Book your train ticket. Required.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setTitleBytes
Required. Title, for example, Book your train ticket. Required.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
getDestinationName
Destination name, for example, Paris.
string destination_name = 4;- Specified by:
getDestinationNamein interfaceDynamicTravelAssetOrBuilder- Returns:
- The destinationName.
-
getDestinationNameBytes
public com.google.protobuf.ByteString getDestinationNameBytes()Destination name, for example, Paris.
string destination_name = 4;- Specified by:
getDestinationNameBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for destinationName.
-
setDestinationName
Destination name, for example, Paris.
string destination_name = 4;- Parameters:
value- The destinationName to set.- Returns:
- This builder for chaining.
-
clearDestinationName
Destination name, for example, Paris.
string destination_name = 4;- Returns:
- This builder for chaining.
-
setDestinationNameBytes
Destination name, for example, Paris.
string destination_name = 4;- Parameters:
value- The bytes for destinationName to set.- Returns:
- This builder for chaining.
-
getDestinationAddress
Destination 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 destination_address = 5;- Specified by:
getDestinationAddressin interfaceDynamicTravelAssetOrBuilder- Returns:
- The destinationAddress.
-
getDestinationAddressBytes
public com.google.protobuf.ByteString getDestinationAddressBytes()Destination 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 destination_address = 5;- Specified by:
getDestinationAddressBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for destinationAddress.
-
setDestinationAddress
Destination 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 destination_address = 5;- Parameters:
value- The destinationAddress to set.- Returns:
- This builder for chaining.
-
clearDestinationAddress
Destination 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 destination_address = 5;- Returns:
- This builder for chaining.
-
setDestinationAddressBytes
Destination 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 destination_address = 5;- Parameters:
value- The bytes for destinationAddress to set.- Returns:
- This builder for chaining.
-
getOriginName
Origin name, for example, London.
string origin_name = 6;- Specified by:
getOriginNamein interfaceDynamicTravelAssetOrBuilder- Returns:
- The originName.
-
getOriginNameBytes
public com.google.protobuf.ByteString getOriginNameBytes()Origin name, for example, London.
string origin_name = 6;- Specified by:
getOriginNameBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for originName.
-
setOriginName
Origin name, for example, London.
string origin_name = 6;- Parameters:
value- The originName to set.- Returns:
- This builder for chaining.
-
clearOriginName
Origin name, for example, London.
string origin_name = 6;- Returns:
- This builder for chaining.
-
setOriginNameBytes
Origin name, for example, London.
string origin_name = 6;- Parameters:
value- The bytes for originName 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 = 7;- Specified by:
getPricein interfaceDynamicTravelAssetOrBuilder- 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 = 7;- Specified by:
getPriceBytesin interfaceDynamicTravelAssetOrBuilder- 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 = 7;- 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 = 7;- 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 = 7;- Parameters:
value- The bytes for price to set.- Returns:
- This builder for chaining.
-
getSalePrice
Sale price which can be a 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 = 8;- Specified by:
getSalePricein interfaceDynamicTravelAssetOrBuilder- Returns:
- The salePrice.
-
getSalePriceBytes
public com.google.protobuf.ByteString getSalePriceBytes()Sale price which can be a 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 = 8;- Specified by:
getSalePriceBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for salePrice.
-
setSalePrice
Sale price which can be a 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 = 8;- Parameters:
value- The salePrice to set.- Returns:
- This builder for chaining.
-
clearSalePrice
Sale price which can be a 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 = 8;- Returns:
- This builder for chaining.
-
setSalePriceBytes
Sale price which can be a 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 = 8;- Parameters:
value- The bytes for salePrice to set.- 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 = 9;- Specified by:
getFormattedPricein interfaceDynamicTravelAssetOrBuilder- 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 = 9;- Specified by:
getFormattedPriceBytesin interfaceDynamicTravelAssetOrBuilder- 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 = 9;- 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 = 9;- 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 = 9;- 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 = 10;- Specified by:
getFormattedSalePricein interfaceDynamicTravelAssetOrBuilder- 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 = 10;- Specified by:
getFormattedSalePriceBytesin interfaceDynamicTravelAssetOrBuilder- 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 = 10;- 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 = 10;- 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 = 10;- Parameters:
value- The bytes for formattedSalePrice to set.- Returns:
- This builder for chaining.
-
getCategory
Category, for example, Express.
string category = 11;- Specified by:
getCategoryin interfaceDynamicTravelAssetOrBuilder- Returns:
- The category.
-
getCategoryBytes
public com.google.protobuf.ByteString getCategoryBytes()Category, for example, Express.
string category = 11;- Specified by:
getCategoryBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for category.
-
setCategory
Category, for example, Express.
string category = 11;- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
Category, for example, Express.
string category = 11;- Returns:
- This builder for chaining.
-
setCategoryBytes
Category, for example, Express.
string category = 11;- Parameters:
value- The bytes for category to set.- Returns:
- This builder for chaining.
-
getContextualKeywordsList
public com.google.protobuf.ProtocolStringList getContextualKeywordsList()Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Specified by:
getContextualKeywordsListin interfaceDynamicTravelAssetOrBuilder- Returns:
- A list containing the contextualKeywords.
-
getContextualKeywordsCount
public int getContextualKeywordsCount()Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Specified by:
getContextualKeywordsCountin interfaceDynamicTravelAssetOrBuilder- Returns:
- The count of contextualKeywords.
-
getContextualKeywords
Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Specified by:
getContextualKeywordsin interfaceDynamicTravelAssetOrBuilder- 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, Paris trains.
repeated string contextual_keywords = 12;- Specified by:
getContextualKeywordsBytesin interfaceDynamicTravelAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the contextualKeywords at the given index.
-
setContextualKeywords
Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Parameters:
index- The index to set the value at.value- The contextualKeywords to set.- Returns:
- This builder for chaining.
-
addContextualKeywords
Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Parameters:
value- The contextualKeywords to add.- Returns:
- This builder for chaining.
-
addAllContextualKeywords
Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Parameters:
values- The contextualKeywords to add.- Returns:
- This builder for chaining.
-
clearContextualKeywords
Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Returns:
- This builder for chaining.
-
addContextualKeywordsBytes
Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Parameters:
value- The bytes of the contextualKeywords to add.- Returns:
- This builder for chaining.
-
getSimilarDestinationIdsList
public com.google.protobuf.ProtocolStringList getSimilarDestinationIdsList()Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Specified by:
getSimilarDestinationIdsListin interfaceDynamicTravelAssetOrBuilder- Returns:
- A list containing the similarDestinationIds.
-
getSimilarDestinationIdsCount
public int getSimilarDestinationIdsCount()Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Specified by:
getSimilarDestinationIdsCountin interfaceDynamicTravelAssetOrBuilder- Returns:
- The count of similarDestinationIds.
-
getSimilarDestinationIds
Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Specified by:
getSimilarDestinationIdsin interfaceDynamicTravelAssetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The similarDestinationIds at the given index.
-
getSimilarDestinationIdsBytes
public com.google.protobuf.ByteString getSimilarDestinationIdsBytes(int index) Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Specified by:
getSimilarDestinationIdsBytesin interfaceDynamicTravelAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the similarDestinationIds at the given index.
-
setSimilarDestinationIds
Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Parameters:
index- The index to set the value at.value- The similarDestinationIds to set.- Returns:
- This builder for chaining.
-
addSimilarDestinationIds
Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Parameters:
value- The similarDestinationIds to add.- Returns:
- This builder for chaining.
-
addAllSimilarDestinationIds
Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Parameters:
values- The similarDestinationIds to add.- Returns:
- This builder for chaining.
-
clearSimilarDestinationIds
Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Returns:
- This builder for chaining.
-
addSimilarDestinationIdsBytes
public DynamicTravelAsset.Builder addSimilarDestinationIdsBytes(com.google.protobuf.ByteString value) Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Parameters:
value- The bytes of the similarDestinationIds to add.- 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 = 14;- Specified by:
getImageUrlin interfaceDynamicTravelAssetOrBuilder- 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 = 14;- Specified by:
getImageUrlBytesin interfaceDynamicTravelAssetOrBuilder- 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 = 14;- 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 = 14;- 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 = 14;- Parameters:
value- The bytes for imageUrl 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 = 15;- Specified by:
getAndroidAppLinkin interfaceDynamicTravelAssetOrBuilder- 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 = 15;- Specified by:
getAndroidAppLinkBytesin interfaceDynamicTravelAssetOrBuilder- 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 = 15;- 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 = 15;- 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 = 15;- Parameters:
value- The bytes for androidAppLink to set.- Returns:
- This builder for chaining.
-
getIosAppLink
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 16;- Specified by:
getIosAppLinkin interfaceDynamicTravelAssetOrBuilder- Returns:
- The iosAppLink.
-
getIosAppLinkBytes
public com.google.protobuf.ByteString getIosAppLinkBytes()iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 16;- Specified by:
getIosAppLinkBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for iosAppLink.
-
setIosAppLink
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 16;- Parameters:
value- The iosAppLink to set.- Returns:
- This builder for chaining.
-
clearIosAppLink
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 16;- Returns:
- This builder for chaining.
-
setIosAppLinkBytes
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 16;- 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 = 17;- Specified by:
getIosAppStoreIdin interfaceDynamicTravelAssetOrBuilder- 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 = 17;- 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 = 17;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DynamicTravelAsset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
-
mergeUnknownFields
public final DynamicTravelAsset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
-