Class DynamicTravelAsset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
-
- com.google.ads.googleads.v10.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,java.lang.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 typegoogle.ads.googleads.v10.common.DynamicTravelAsset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicTravelAsset.BuilderaddAllContextualKeywords(java.lang.Iterable<java.lang.String> values)Contextual keywords, e.g.DynamicTravelAsset.BuilderaddAllSimilarDestinationIds(java.lang.Iterable<java.lang.String> values)Similar destination IDs, e.g.DynamicTravelAsset.BuilderaddContextualKeywords(java.lang.String value)Contextual keywords, e.g.DynamicTravelAsset.BuilderaddContextualKeywordsBytes(com.google.protobuf.ByteString value)Contextual keywords, e.g.DynamicTravelAsset.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DynamicTravelAsset.BuilderaddSimilarDestinationIds(java.lang.String value)Similar destination IDs, e.g.DynamicTravelAsset.BuilderaddSimilarDestinationIdsBytes(com.google.protobuf.ByteString value)Similar destination IDs, e.g.DynamicTravelAssetbuild()DynamicTravelAssetbuildPartial()DynamicTravelAsset.Builderclear()DynamicTravelAsset.BuilderclearAndroidAppLink()Android deep link, e.g.DynamicTravelAsset.BuilderclearCategory()Category, e.g.DynamicTravelAsset.BuilderclearContextualKeywords()Contextual keywords, e.g.DynamicTravelAsset.BuilderclearDestinationAddress()Destination address which can be specified in one of the following formats.DynamicTravelAsset.BuilderclearDestinationId()Required.DynamicTravelAsset.BuilderclearDestinationName()Destination name, e.g.DynamicTravelAsset.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DynamicTravelAsset.BuilderclearFormattedPrice()Formatted price which can be any characters.DynamicTravelAsset.BuilderclearFormattedSalePrice()Formatted sale price which can be any characters.DynamicTravelAsset.BuilderclearImageUrl()Image URL, e.g.DynamicTravelAsset.BuilderclearIosAppLink()iOS deep link, e.g.DynamicTravelAsset.BuilderclearIosAppStoreId()iOS app store ID.DynamicTravelAsset.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DynamicTravelAsset.BuilderclearOriginId()Origin ID which can be any sequence of letters and digits.DynamicTravelAsset.BuilderclearOriginName()Origin name, e.g.DynamicTravelAsset.BuilderclearPrice()Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.DynamicTravelAsset.BuilderclearSalePrice()Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.DynamicTravelAsset.BuilderclearSimilarDestinationIds()Similar destination IDs, e.g.DynamicTravelAsset.BuilderclearTitle()Required.DynamicTravelAsset.Builderclone()java.lang.StringgetAndroidAppLink()Android deep link, e.g.com.google.protobuf.ByteStringgetAndroidAppLinkBytes()Android deep link, e.g.java.lang.StringgetCategory()Category, e.g.com.google.protobuf.ByteStringgetCategoryBytes()Category, e.g.java.lang.StringgetContextualKeywords(int index)Contextual keywords, e.g.com.google.protobuf.ByteStringgetContextualKeywordsBytes(int index)Contextual keywords, e.g.intgetContextualKeywordsCount()Contextual keywords, e.g.com.google.protobuf.ProtocolStringListgetContextualKeywordsList()Contextual keywords, e.g.DynamicTravelAssetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetDestinationAddress()Destination address which can be specified in one of the following formats.com.google.protobuf.ByteStringgetDestinationAddressBytes()Destination address which can be specified in one of the following formats.java.lang.StringgetDestinationId()Required.com.google.protobuf.ByteStringgetDestinationIdBytes()Required.java.lang.StringgetDestinationName()Destination name, e.g.com.google.protobuf.ByteStringgetDestinationNameBytes()Destination name, e.g.java.lang.StringgetFormattedPrice()Formatted price which can be any characters.com.google.protobuf.ByteStringgetFormattedPriceBytes()Formatted price which can be any characters.java.lang.StringgetFormattedSalePrice()Formatted sale price which can be any characters.com.google.protobuf.ByteStringgetFormattedSalePriceBytes()Formatted sale price which can be any characters.java.lang.StringgetImageUrl()Image URL, e.g.com.google.protobuf.ByteStringgetImageUrlBytes()Image URL, e.g.java.lang.StringgetIosAppLink()iOS deep link, e.g.com.google.protobuf.ByteStringgetIosAppLinkBytes()iOS deep link, e.g.longgetIosAppStoreId()iOS app store ID.java.lang.StringgetOriginId()Origin ID which can be any sequence of letters and digits.com.google.protobuf.ByteStringgetOriginIdBytes()Origin ID which can be any sequence of letters and digits.java.lang.StringgetOriginName()Origin name, e.g.com.google.protobuf.ByteStringgetOriginNameBytes()Origin name, e.g.java.lang.StringgetPrice()Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringgetPriceBytes()Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.java.lang.StringgetSalePrice()Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringgetSalePriceBytes()Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.java.lang.StringgetSimilarDestinationIds(int index)Similar destination IDs, e.g.com.google.protobuf.ByteStringgetSimilarDestinationIdsBytes(int index)Similar destination IDs, e.g.intgetSimilarDestinationIdsCount()Similar destination IDs, e.g.com.google.protobuf.ProtocolStringListgetSimilarDestinationIdsList()Similar destination IDs, e.g.java.lang.StringgetTitle()Required.com.google.protobuf.ByteStringgetTitleBytes()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DynamicTravelAsset.BuildermergeFrom(DynamicTravelAsset other)DynamicTravelAsset.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DynamicTravelAsset.BuildermergeFrom(com.google.protobuf.Message other)DynamicTravelAsset.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DynamicTravelAsset.BuildersetAndroidAppLink(java.lang.String value)Android deep link, e.g.DynamicTravelAsset.BuildersetAndroidAppLinkBytes(com.google.protobuf.ByteString value)Android deep link, e.g.DynamicTravelAsset.BuildersetCategory(java.lang.String value)Category, e.g.DynamicTravelAsset.BuildersetCategoryBytes(com.google.protobuf.ByteString value)Category, e.g.DynamicTravelAsset.BuildersetContextualKeywords(int index, java.lang.String value)Contextual keywords, e.g.DynamicTravelAsset.BuildersetDestinationAddress(java.lang.String value)Destination address which can be specified in one of the following formats.DynamicTravelAsset.BuildersetDestinationAddressBytes(com.google.protobuf.ByteString value)Destination address which can be specified in one of the following formats.DynamicTravelAsset.BuildersetDestinationId(java.lang.String value)Required.DynamicTravelAsset.BuildersetDestinationIdBytes(com.google.protobuf.ByteString value)Required.DynamicTravelAsset.BuildersetDestinationName(java.lang.String value)Destination name, e.g.DynamicTravelAsset.BuildersetDestinationNameBytes(com.google.protobuf.ByteString value)Destination name, e.g.DynamicTravelAsset.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DynamicTravelAsset.BuildersetFormattedPrice(java.lang.String value)Formatted price which can be any characters.DynamicTravelAsset.BuildersetFormattedPriceBytes(com.google.protobuf.ByteString value)Formatted price which can be any characters.DynamicTravelAsset.BuildersetFormattedSalePrice(java.lang.String value)Formatted sale price which can be any characters.DynamicTravelAsset.BuildersetFormattedSalePriceBytes(com.google.protobuf.ByteString value)Formatted sale price which can be any characters.DynamicTravelAsset.BuildersetImageUrl(java.lang.String value)Image URL, e.g.DynamicTravelAsset.BuildersetImageUrlBytes(com.google.protobuf.ByteString value)Image URL, e.g.DynamicTravelAsset.BuildersetIosAppLink(java.lang.String value)iOS deep link, e.g.DynamicTravelAsset.BuildersetIosAppLinkBytes(com.google.protobuf.ByteString value)iOS deep link, e.g.DynamicTravelAsset.BuildersetIosAppStoreId(long value)iOS app store ID.DynamicTravelAsset.BuildersetOriginId(java.lang.String value)Origin ID which can be any sequence of letters and digits.DynamicTravelAsset.BuildersetOriginIdBytes(com.google.protobuf.ByteString value)Origin ID which can be any sequence of letters and digits.DynamicTravelAsset.BuildersetOriginName(java.lang.String value)Origin name, e.g.DynamicTravelAsset.BuildersetOriginNameBytes(com.google.protobuf.ByteString value)Origin name, e.g.DynamicTravelAsset.BuildersetPrice(java.lang.String value)Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.DynamicTravelAsset.BuildersetPriceBytes(com.google.protobuf.ByteString value)Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.DynamicTravelAsset.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)DynamicTravelAsset.BuildersetSalePrice(java.lang.String value)Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.DynamicTravelAsset.BuildersetSalePriceBytes(com.google.protobuf.ByteString value)Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.DynamicTravelAsset.BuildersetSimilarDestinationIds(int index, java.lang.String value)Similar destination IDs, e.g.DynamicTravelAsset.BuildersetTitle(java.lang.String value)Required.DynamicTravelAsset.BuildersetTitleBytes(com.google.protobuf.ByteString value)Required.DynamicTravelAsset.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public DynamicTravelAsset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DynamicTravelAsset build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DynamicTravelAsset buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DynamicTravelAsset.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
-
clearField
public DynamicTravelAsset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
-
clearOneof
public DynamicTravelAsset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicTravelAsset.Builder>
-
mergeFrom
public DynamicTravelAsset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicTravelAsset.Builder>
-
mergeFrom
public DynamicTravelAsset.Builder mergeFrom(DynamicTravelAsset other)
-
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 java.io.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:
java.io.IOException
-
getDestinationId
public java.lang.String 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
public DynamicTravelAsset.Builder setDestinationId(java.lang.String value)
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
public DynamicTravelAsset.Builder 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
public DynamicTravelAsset.Builder setDestinationIdBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public DynamicTravelAsset.Builder setOriginId(java.lang.String value)
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
public DynamicTravelAsset.Builder 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
public DynamicTravelAsset.Builder setOriginIdBytes(com.google.protobuf.ByteString value)
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
public java.lang.String getTitle()
Required. Title, e.g. 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, e.g. Book your train ticket. Required.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTitleBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for title.
-
setTitle
public DynamicTravelAsset.Builder setTitle(java.lang.String value)
Required. Title, e.g. 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
public DynamicTravelAsset.Builder clearTitle()
Required. Title, e.g. Book your train ticket. Required.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setTitleBytes
public DynamicTravelAsset.Builder setTitleBytes(com.google.protobuf.ByteString value)
Required. Title, e.g. 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
public java.lang.String getDestinationName()
Destination name, e.g. Paris.
string destination_name = 4;- Specified by:
getDestinationNamein interfaceDynamicTravelAssetOrBuilder- Returns:
- The destinationName.
-
getDestinationNameBytes
public com.google.protobuf.ByteString getDestinationNameBytes()
Destination name, e.g. Paris.
string destination_name = 4;- Specified by:
getDestinationNameBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for destinationName.
-
setDestinationName
public DynamicTravelAsset.Builder setDestinationName(java.lang.String value)
Destination name, e.g. Paris.
string destination_name = 4;- Parameters:
value- The destinationName to set.- Returns:
- This builder for chaining.
-
clearDestinationName
public DynamicTravelAsset.Builder clearDestinationName()
Destination name, e.g. Paris.
string destination_name = 4;- Returns:
- This builder for chaining.
-
setDestinationNameBytes
public DynamicTravelAsset.Builder setDestinationNameBytes(com.google.protobuf.ByteString value)
Destination name, e.g. Paris.
string destination_name = 4;- Parameters:
value- The bytes for destinationName to set.- Returns:
- This builder for chaining.
-
getDestinationAddress
public java.lang.String getDestinationAddress()
Destination address which can be specified in one of the following formats. (1) City, state, code, country, e.g. Mountain View, CA, USA. (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, e.g. 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, e.g. Mountain View, CA, USA. (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403.
string destination_address = 5;- Specified by:
getDestinationAddressBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for destinationAddress.
-
setDestinationAddress
public DynamicTravelAsset.Builder setDestinationAddress(java.lang.String value)
Destination address which can be specified in one of the following formats. (1) City, state, code, country, e.g. Mountain View, CA, USA. (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403.
string destination_address = 5;- Parameters:
value- The destinationAddress to set.- Returns:
- This builder for chaining.
-
clearDestinationAddress
public DynamicTravelAsset.Builder clearDestinationAddress()
Destination address which can be specified in one of the following formats. (1) City, state, code, country, e.g. Mountain View, CA, USA. (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403.
string destination_address = 5;- Returns:
- This builder for chaining.
-
setDestinationAddressBytes
public DynamicTravelAsset.Builder setDestinationAddressBytes(com.google.protobuf.ByteString value)
Destination address which can be specified in one of the following formats. (1) City, state, code, country, e.g. Mountain View, CA, USA. (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403.
string destination_address = 5;- Parameters:
value- The bytes for destinationAddress to set.- Returns:
- This builder for chaining.
-
getOriginName
public java.lang.String getOriginName()
Origin name, e.g. London.
string origin_name = 6;- Specified by:
getOriginNamein interfaceDynamicTravelAssetOrBuilder- Returns:
- The originName.
-
getOriginNameBytes
public com.google.protobuf.ByteString getOriginNameBytes()
Origin name, e.g. London.
string origin_name = 6;- Specified by:
getOriginNameBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for originName.
-
setOriginName
public DynamicTravelAsset.Builder setOriginName(java.lang.String value)
Origin name, e.g. London.
string origin_name = 6;- Parameters:
value- The originName to set.- Returns:
- This builder for chaining.
-
clearOriginName
public DynamicTravelAsset.Builder clearOriginName()
Origin name, e.g. London.
string origin_name = 6;- Returns:
- This builder for chaining.
-
setOriginNameBytes
public DynamicTravelAsset.Builder setOriginNameBytes(com.google.protobuf.ByteString value)
Origin name, e.g. London.
string origin_name = 6;- Parameters:
value- The bytes for originName to set.- Returns:
- This builder for chaining.
-
getPrice
public java.lang.String getPrice()
Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark. e.g. 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. e.g. 100.00 USD.
string price = 7;- Specified by:
getPriceBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for price.
-
setPrice
public DynamicTravelAsset.Builder setPrice(java.lang.String value)
Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD.
string price = 7;- Parameters:
value- The price to set.- Returns:
- This builder for chaining.
-
clearPrice
public DynamicTravelAsset.Builder clearPrice()
Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD.
string price = 7;- Returns:
- This builder for chaining.
-
setPriceBytes
public DynamicTravelAsset.Builder setPriceBytes(com.google.protobuf.ByteString value)
Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD.
string price = 7;- Parameters:
value- The bytes for price to set.- Returns:
- This builder for chaining.
-
getSalePrice
public java.lang.String getSalePrice()
Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, e.g. 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, e.g. 80.00 USD. Must be less than the 'price' field.
string sale_price = 8;- Specified by:
getSalePriceBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for salePrice.
-
setSalePrice
public DynamicTravelAsset.Builder setSalePrice(java.lang.String value)
Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, e.g. 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
public DynamicTravelAsset.Builder clearSalePrice()
Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, e.g. 80.00 USD. Must be less than the 'price' field.
string sale_price = 8;- Returns:
- This builder for chaining.
-
setSalePriceBytes
public DynamicTravelAsset.Builder setSalePriceBytes(com.google.protobuf.ByteString value)
Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, e.g. 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
public java.lang.String getFormattedPrice()
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', e.g. 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', e.g. Starting at $100.00.
string formatted_price = 9;- Specified by:
getFormattedPriceBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for formattedPrice.
-
setFormattedPrice
public DynamicTravelAsset.Builder setFormattedPrice(java.lang.String value)
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', e.g. Starting at $100.00.
string formatted_price = 9;- Parameters:
value- The formattedPrice to set.- Returns:
- This builder for chaining.
-
clearFormattedPrice
public DynamicTravelAsset.Builder clearFormattedPrice()
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', e.g. Starting at $100.00.
string formatted_price = 9;- Returns:
- This builder for chaining.
-
setFormattedPriceBytes
public DynamicTravelAsset.Builder setFormattedPriceBytes(com.google.protobuf.ByteString value)
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', e.g. Starting at $100.00.
string formatted_price = 9;- Parameters:
value- The bytes for formattedPrice to set.- Returns:
- This builder for chaining.
-
getFormattedSalePrice
public java.lang.String getFormattedSalePrice()
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', e.g. 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', e.g. On sale for $80.00.
string formatted_sale_price = 10;- Specified by:
getFormattedSalePriceBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for formattedSalePrice.
-
setFormattedSalePrice
public DynamicTravelAsset.Builder setFormattedSalePrice(java.lang.String value)
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', e.g. On sale for $80.00.
string formatted_sale_price = 10;- Parameters:
value- The formattedSalePrice to set.- Returns:
- This builder for chaining.
-
clearFormattedSalePrice
public DynamicTravelAsset.Builder clearFormattedSalePrice()
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', e.g. On sale for $80.00.
string formatted_sale_price = 10;- Returns:
- This builder for chaining.
-
setFormattedSalePriceBytes
public DynamicTravelAsset.Builder setFormattedSalePriceBytes(com.google.protobuf.ByteString value)
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', e.g. On sale for $80.00.
string formatted_sale_price = 10;- Parameters:
value- The bytes for formattedSalePrice to set.- Returns:
- This builder for chaining.
-
getCategory
public java.lang.String getCategory()
Category, e.g. Express.
string category = 11;- Specified by:
getCategoryin interfaceDynamicTravelAssetOrBuilder- Returns:
- The category.
-
getCategoryBytes
public com.google.protobuf.ByteString getCategoryBytes()
Category, e.g. Express.
string category = 11;- Specified by:
getCategoryBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for category.
-
setCategory
public DynamicTravelAsset.Builder setCategory(java.lang.String value)
Category, e.g. Express.
string category = 11;- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
public DynamicTravelAsset.Builder clearCategory()
Category, e.g. Express.
string category = 11;- Returns:
- This builder for chaining.
-
setCategoryBytes
public DynamicTravelAsset.Builder setCategoryBytes(com.google.protobuf.ByteString value)
Category, e.g. 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, e.g. Paris trains.
repeated string contextual_keywords = 12;- Specified by:
getContextualKeywordsListin interfaceDynamicTravelAssetOrBuilder- Returns:
- A list containing the contextualKeywords.
-
getContextualKeywordsCount
public int getContextualKeywordsCount()
Contextual keywords, e.g. Paris trains.
repeated string contextual_keywords = 12;- Specified by:
getContextualKeywordsCountin interfaceDynamicTravelAssetOrBuilder- Returns:
- The count of contextualKeywords.
-
getContextualKeywords
public java.lang.String getContextualKeywords(int index)
Contextual keywords, e.g. 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, e.g. 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
public DynamicTravelAsset.Builder setContextualKeywords(int index, java.lang.String value)
Contextual keywords, e.g. 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
public DynamicTravelAsset.Builder addContextualKeywords(java.lang.String value)
Contextual keywords, e.g. Paris trains.
repeated string contextual_keywords = 12;- Parameters:
value- The contextualKeywords to add.- Returns:
- This builder for chaining.
-
addAllContextualKeywords
public DynamicTravelAsset.Builder addAllContextualKeywords(java.lang.Iterable<java.lang.String> values)
Contextual keywords, e.g. Paris trains.
repeated string contextual_keywords = 12;- Parameters:
values- The contextualKeywords to add.- Returns:
- This builder for chaining.
-
clearContextualKeywords
public DynamicTravelAsset.Builder clearContextualKeywords()
Contextual keywords, e.g. Paris trains.
repeated string contextual_keywords = 12;- Returns:
- This builder for chaining.
-
addContextualKeywordsBytes
public DynamicTravelAsset.Builder addContextualKeywordsBytes(com.google.protobuf.ByteString value)
Contextual keywords, e.g. 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, e.g. NYC.
repeated string similar_destination_ids = 13;- Specified by:
getSimilarDestinationIdsListin interfaceDynamicTravelAssetOrBuilder- Returns:
- A list containing the similarDestinationIds.
-
getSimilarDestinationIdsCount
public int getSimilarDestinationIdsCount()
Similar destination IDs, e.g. NYC.
repeated string similar_destination_ids = 13;- Specified by:
getSimilarDestinationIdsCountin interfaceDynamicTravelAssetOrBuilder- Returns:
- The count of similarDestinationIds.
-
getSimilarDestinationIds
public java.lang.String getSimilarDestinationIds(int index)
Similar destination IDs, e.g. 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, e.g. 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
public DynamicTravelAsset.Builder setSimilarDestinationIds(int index, java.lang.String value)
Similar destination IDs, e.g. 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
public DynamicTravelAsset.Builder addSimilarDestinationIds(java.lang.String value)
Similar destination IDs, e.g. NYC.
repeated string similar_destination_ids = 13;- Parameters:
value- The similarDestinationIds to add.- Returns:
- This builder for chaining.
-
addAllSimilarDestinationIds
public DynamicTravelAsset.Builder addAllSimilarDestinationIds(java.lang.Iterable<java.lang.String> values)
Similar destination IDs, e.g. NYC.
repeated string similar_destination_ids = 13;- Parameters:
values- The similarDestinationIds to add.- Returns:
- This builder for chaining.
-
clearSimilarDestinationIds
public DynamicTravelAsset.Builder clearSimilarDestinationIds()
Similar destination IDs, e.g. 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, e.g. NYC.
repeated string similar_destination_ids = 13;- Parameters:
value- The bytes of the similarDestinationIds to add.- Returns:
- This builder for chaining.
-
getImageUrl
public java.lang.String getImageUrl()
Image URL, e.g. 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, e.g. 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
public DynamicTravelAsset.Builder setImageUrl(java.lang.String value)
Image URL, e.g. 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
public DynamicTravelAsset.Builder clearImageUrl()
Image URL, e.g. 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
public DynamicTravelAsset.Builder setImageUrlBytes(com.google.protobuf.ByteString value)
Image URL, e.g. 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
public java.lang.String getAndroidAppLink()
Android deep link, e.g. 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, e.g. 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
public DynamicTravelAsset.Builder setAndroidAppLink(java.lang.String value)
Android deep link, e.g. 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
public DynamicTravelAsset.Builder clearAndroidAppLink()
Android deep link, e.g. android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 15;- Returns:
- This builder for chaining.
-
setAndroidAppLinkBytes
public DynamicTravelAsset.Builder setAndroidAppLinkBytes(com.google.protobuf.ByteString value)
Android deep link, e.g. 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
public java.lang.String getIosAppLink()
iOS deep link, e.g. 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, e.g. exampleApp://content/page.
string ios_app_link = 16;- Specified by:
getIosAppLinkBytesin interfaceDynamicTravelAssetOrBuilder- Returns:
- The bytes for iosAppLink.
-
setIosAppLink
public DynamicTravelAsset.Builder setIosAppLink(java.lang.String value)
iOS deep link, e.g. exampleApp://content/page.
string ios_app_link = 16;- Parameters:
value- The iosAppLink to set.- Returns:
- This builder for chaining.
-
clearIosAppLink
public DynamicTravelAsset.Builder clearIosAppLink()
iOS deep link, e.g. exampleApp://content/page.
string ios_app_link = 16;- Returns:
- This builder for chaining.
-
setIosAppLinkBytes
public DynamicTravelAsset.Builder setIosAppLinkBytes(com.google.protobuf.ByteString value)
iOS deep link, e.g. 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
public DynamicTravelAsset.Builder setIosAppStoreId(long value)
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
public DynamicTravelAsset.Builder 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>
-
-