Class DynamicFlightsAsset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DynamicFlightsAsset.Builder>
-
- com.google.ads.googleads.v10.common.DynamicFlightsAsset.Builder
-
- All Implemented Interfaces:
DynamicFlightsAssetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- DynamicFlightsAsset
public static final class DynamicFlightsAsset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DynamicFlightsAsset.Builder> implements DynamicFlightsAssetOrBuilder
A dynamic flights asset.
Protobuf typegoogle.ads.googleads.v10.common.DynamicFlightsAsset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicFlightsAsset.BuilderaddAllSimilarDestinationIds(java.lang.Iterable<java.lang.String> values)Similar destination IDs, e.g.DynamicFlightsAsset.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DynamicFlightsAsset.BuilderaddSimilarDestinationIds(java.lang.String value)Similar destination IDs, e.g.DynamicFlightsAsset.BuilderaddSimilarDestinationIdsBytes(com.google.protobuf.ByteString value)Similar destination IDs, e.g.DynamicFlightsAssetbuild()DynamicFlightsAssetbuildPartial()DynamicFlightsAsset.Builderclear()DynamicFlightsAsset.BuilderclearAndroidAppLink()Android deep link, e.g.DynamicFlightsAsset.BuilderclearCustomMapping()A custom field which can be multiple key to values mapping separated by delimiters (",", "|" and ":"), in the forms of "<KEY_1>: <VALUE_1>, <VALUE_2>, ...DynamicFlightsAsset.BuilderclearDestinationId()Required.DynamicFlightsAsset.BuilderclearDestinationName()Destination name, e.g.DynamicFlightsAsset.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DynamicFlightsAsset.BuilderclearFlightDescription()Required.DynamicFlightsAsset.BuilderclearFlightPrice()Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard.DynamicFlightsAsset.BuilderclearFlightSalePrice()Flight sale price which can be number followed by the alphabetic currency code, ISO 4217 standard.DynamicFlightsAsset.BuilderclearFormattedPrice()Formatted price which can be any characters.DynamicFlightsAsset.BuilderclearFormattedSalePrice()Formatted sale price which can be any characters.DynamicFlightsAsset.BuilderclearImageUrl()Image URL, e.g.DynamicFlightsAsset.BuilderclearIosAppLink()iOS deep link, e.g.DynamicFlightsAsset.BuilderclearIosAppStoreId()iOS app store ID.DynamicFlightsAsset.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DynamicFlightsAsset.BuilderclearOriginId()Origin ID which can be any sequence of letters and digits.DynamicFlightsAsset.BuilderclearOriginName()Origin name, e.g.DynamicFlightsAsset.BuilderclearSimilarDestinationIds()Similar destination IDs, e.g.DynamicFlightsAsset.Builderclone()java.lang.StringgetAndroidAppLink()Android deep link, e.g.com.google.protobuf.ByteStringgetAndroidAppLinkBytes()Android deep link, e.g.java.lang.StringgetCustomMapping()A custom field which can be multiple key to values mapping separated by delimiters (",", "|" and ":"), in the forms of "<KEY_1>: <VALUE_1>, <VALUE_2>, ...com.google.protobuf.ByteStringgetCustomMappingBytes()A custom field which can be multiple key to values mapping separated by delimiters (",", "|" and ":"), in the forms of "<KEY_1>: <VALUE_1>, <VALUE_2>, ...DynamicFlightsAssetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.StringgetFlightDescription()Required.com.google.protobuf.ByteStringgetFlightDescriptionBytes()Required.java.lang.StringgetFlightPrice()Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringgetFlightPriceBytes()Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard.java.lang.StringgetFlightSalePrice()Flight sale price which can be number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringgetFlightSalePriceBytes()Flight sale price which can be number followed by the alphabetic currency code, ISO 4217 standard.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DynamicFlightsAsset.BuildermergeFrom(DynamicFlightsAsset other)DynamicFlightsAsset.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DynamicFlightsAsset.BuildermergeFrom(com.google.protobuf.Message other)DynamicFlightsAsset.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DynamicFlightsAsset.BuildersetAndroidAppLink(java.lang.String value)Android deep link, e.g.DynamicFlightsAsset.BuildersetAndroidAppLinkBytes(com.google.protobuf.ByteString value)Android deep link, e.g.DynamicFlightsAsset.BuildersetCustomMapping(java.lang.String value)A custom field which can be multiple key to values mapping separated by delimiters (",", "|" and ":"), in the forms of "<KEY_1>: <VALUE_1>, <VALUE_2>, ...DynamicFlightsAsset.BuildersetCustomMappingBytes(com.google.protobuf.ByteString value)A custom field which can be multiple key to values mapping separated by delimiters (",", "|" and ":"), in the forms of "<KEY_1>: <VALUE_1>, <VALUE_2>, ...DynamicFlightsAsset.BuildersetDestinationId(java.lang.String value)Required.DynamicFlightsAsset.BuildersetDestinationIdBytes(com.google.protobuf.ByteString value)Required.DynamicFlightsAsset.BuildersetDestinationName(java.lang.String value)Destination name, e.g.DynamicFlightsAsset.BuildersetDestinationNameBytes(com.google.protobuf.ByteString value)Destination name, e.g.DynamicFlightsAsset.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DynamicFlightsAsset.BuildersetFlightDescription(java.lang.String value)Required.DynamicFlightsAsset.BuildersetFlightDescriptionBytes(com.google.protobuf.ByteString value)Required.DynamicFlightsAsset.BuildersetFlightPrice(java.lang.String value)Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard.DynamicFlightsAsset.BuildersetFlightPriceBytes(com.google.protobuf.ByteString value)Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard.DynamicFlightsAsset.BuildersetFlightSalePrice(java.lang.String value)Flight sale price which can be number followed by the alphabetic currency code, ISO 4217 standard.DynamicFlightsAsset.BuildersetFlightSalePriceBytes(com.google.protobuf.ByteString value)Flight sale price which can be number followed by the alphabetic currency code, ISO 4217 standard.DynamicFlightsAsset.BuildersetFormattedPrice(java.lang.String value)Formatted price which can be any characters.DynamicFlightsAsset.BuildersetFormattedPriceBytes(com.google.protobuf.ByteString value)Formatted price which can be any characters.DynamicFlightsAsset.BuildersetFormattedSalePrice(java.lang.String value)Formatted sale price which can be any characters.DynamicFlightsAsset.BuildersetFormattedSalePriceBytes(com.google.protobuf.ByteString value)Formatted sale price which can be any characters.DynamicFlightsAsset.BuildersetImageUrl(java.lang.String value)Image URL, e.g.DynamicFlightsAsset.BuildersetImageUrlBytes(com.google.protobuf.ByteString value)Image URL, e.g.DynamicFlightsAsset.BuildersetIosAppLink(java.lang.String value)iOS deep link, e.g.DynamicFlightsAsset.BuildersetIosAppLinkBytes(com.google.protobuf.ByteString value)iOS deep link, e.g.DynamicFlightsAsset.BuildersetIosAppStoreId(long value)iOS app store ID.DynamicFlightsAsset.BuildersetOriginId(java.lang.String value)Origin ID which can be any sequence of letters and digits.DynamicFlightsAsset.BuildersetOriginIdBytes(com.google.protobuf.ByteString value)Origin ID which can be any sequence of letters and digits.DynamicFlightsAsset.BuildersetOriginName(java.lang.String value)Origin name, e.g.DynamicFlightsAsset.BuildersetOriginNameBytes(com.google.protobuf.ByteString value)Origin name, e.g.DynamicFlightsAsset.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)DynamicFlightsAsset.BuildersetSimilarDestinationIds(int index, java.lang.String value)Similar destination IDs, e.g.DynamicFlightsAsset.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<DynamicFlightsAsset.Builder>
-
clear
public DynamicFlightsAsset.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<DynamicFlightsAsset.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<DynamicFlightsAsset.Builder>
-
getDefaultInstanceForType
public DynamicFlightsAsset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DynamicFlightsAsset build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DynamicFlightsAsset buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DynamicFlightsAsset.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<DynamicFlightsAsset.Builder>
-
setField
public DynamicFlightsAsset.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<DynamicFlightsAsset.Builder>
-
clearField
public DynamicFlightsAsset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicFlightsAsset.Builder>
-
clearOneof
public DynamicFlightsAsset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicFlightsAsset.Builder>
-
setRepeatedField
public DynamicFlightsAsset.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<DynamicFlightsAsset.Builder>
-
addRepeatedField
public DynamicFlightsAsset.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<DynamicFlightsAsset.Builder>
-
mergeFrom
public DynamicFlightsAsset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicFlightsAsset.Builder>
-
mergeFrom
public DynamicFlightsAsset.Builder mergeFrom(DynamicFlightsAsset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicFlightsAsset.Builder>
-
mergeFrom
public DynamicFlightsAsset.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<DynamicFlightsAsset.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 interfaceDynamicFlightsAssetOrBuilder- 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 interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for destinationId.
-
setDestinationId
public DynamicFlightsAsset.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 DynamicFlightsAsset.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 DynamicFlightsAsset.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 interfaceDynamicFlightsAssetOrBuilder- 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 interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for originId.
-
setOriginId
public DynamicFlightsAsset.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 DynamicFlightsAsset.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 DynamicFlightsAsset.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.
-
getFlightDescription
public java.lang.String getFlightDescription()
Required. Flight description, e.g. Book your ticket. Required.
string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFlightDescriptionin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The flightDescription.
-
getFlightDescriptionBytes
public com.google.protobuf.ByteString getFlightDescriptionBytes()
Required. Flight description, e.g. Book your ticket. Required.
string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFlightDescriptionBytesin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for flightDescription.
-
setFlightDescription
public DynamicFlightsAsset.Builder setFlightDescription(java.lang.String value)
Required. Flight description, e.g. Book your ticket. Required.
string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The flightDescription to set.- Returns:
- This builder for chaining.
-
clearFlightDescription
public DynamicFlightsAsset.Builder clearFlightDescription()
Required. Flight description, e.g. Book your ticket. Required.
string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setFlightDescriptionBytes
public DynamicFlightsAsset.Builder setFlightDescriptionBytes(com.google.protobuf.ByteString value)
Required. Flight description, e.g. Book your ticket. Required.
string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for flightDescription to set.- 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 = 4;- Specified by:
getImageUrlin interfaceDynamicFlightsAssetOrBuilder- 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 = 4;- Specified by:
getImageUrlBytesin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for imageUrl.
-
setImageUrl
public DynamicFlightsAsset.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 = 4;- Parameters:
value- The imageUrl to set.- Returns:
- This builder for chaining.
-
clearImageUrl
public DynamicFlightsAsset.Builder clearImageUrl()
Image URL, e.g. http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 4;- Returns:
- This builder for chaining.
-
setImageUrlBytes
public DynamicFlightsAsset.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 = 4;- Parameters:
value- The bytes for imageUrl to set.- Returns:
- This builder for chaining.
-
getDestinationName
public java.lang.String getDestinationName()
Destination name, e.g. Paris.
string destination_name = 5;- Specified by:
getDestinationNamein interfaceDynamicFlightsAssetOrBuilder- Returns:
- The destinationName.
-
getDestinationNameBytes
public com.google.protobuf.ByteString getDestinationNameBytes()
Destination name, e.g. Paris.
string destination_name = 5;- Specified by:
getDestinationNameBytesin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for destinationName.
-
setDestinationName
public DynamicFlightsAsset.Builder setDestinationName(java.lang.String value)
Destination name, e.g. Paris.
string destination_name = 5;- Parameters:
value- The destinationName to set.- Returns:
- This builder for chaining.
-
clearDestinationName
public DynamicFlightsAsset.Builder clearDestinationName()
Destination name, e.g. Paris.
string destination_name = 5;- Returns:
- This builder for chaining.
-
setDestinationNameBytes
public DynamicFlightsAsset.Builder setDestinationNameBytes(com.google.protobuf.ByteString value)
Destination name, e.g. Paris.
string destination_name = 5;- Parameters:
value- The bytes for destinationName 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 interfaceDynamicFlightsAssetOrBuilder- Returns:
- The originName.
-
getOriginNameBytes
public com.google.protobuf.ByteString getOriginNameBytes()
Origin name, e.g. London.
string origin_name = 6;- Specified by:
getOriginNameBytesin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for originName.
-
setOriginName
public DynamicFlightsAsset.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 DynamicFlightsAsset.Builder clearOriginName()
Origin name, e.g. London.
string origin_name = 6;- Returns:
- This builder for chaining.
-
setOriginNameBytes
public DynamicFlightsAsset.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.
-
getFlightPrice
public java.lang.String getFlightPrice()
Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD.
string flight_price = 7;- Specified by:
getFlightPricein interfaceDynamicFlightsAssetOrBuilder- Returns:
- The flightPrice.
-
getFlightPriceBytes
public com.google.protobuf.ByteString getFlightPriceBytes()
Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD.
string flight_price = 7;- Specified by:
getFlightPriceBytesin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for flightPrice.
-
setFlightPrice
public DynamicFlightsAsset.Builder setFlightPrice(java.lang.String value)
Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD.
string flight_price = 7;- Parameters:
value- The flightPrice to set.- Returns:
- This builder for chaining.
-
clearFlightPrice
public DynamicFlightsAsset.Builder clearFlightPrice()
Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD.
string flight_price = 7;- Returns:
- This builder for chaining.
-
setFlightPriceBytes
public DynamicFlightsAsset.Builder setFlightPriceBytes(com.google.protobuf.ByteString value)
Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD.
string flight_price = 7;- Parameters:
value- The bytes for flightPrice to set.- Returns:
- This builder for chaining.
-
getFlightSalePrice
public java.lang.String getFlightSalePrice()
Flight sale price which can be 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 'flight_price' field.
string flight_sale_price = 8;- Specified by:
getFlightSalePricein interfaceDynamicFlightsAssetOrBuilder- Returns:
- The flightSalePrice.
-
getFlightSalePriceBytes
public com.google.protobuf.ByteString getFlightSalePriceBytes()
Flight sale price which can be 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 'flight_price' field.
string flight_sale_price = 8;- Specified by:
getFlightSalePriceBytesin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for flightSalePrice.
-
setFlightSalePrice
public DynamicFlightsAsset.Builder setFlightSalePrice(java.lang.String value)
Flight sale price which can be 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 'flight_price' field.
string flight_sale_price = 8;- Parameters:
value- The flightSalePrice to set.- Returns:
- This builder for chaining.
-
clearFlightSalePrice
public DynamicFlightsAsset.Builder clearFlightSalePrice()
Flight sale price which can be 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 'flight_price' field.
string flight_sale_price = 8;- Returns:
- This builder for chaining.
-
setFlightSalePriceBytes
public DynamicFlightsAsset.Builder setFlightSalePriceBytes(com.google.protobuf.ByteString value)
Flight sale price which can be 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 'flight_price' field.
string flight_sale_price = 8;- Parameters:
value- The bytes for flightSalePrice 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 interfaceDynamicFlightsAssetOrBuilder- 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 interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for formattedPrice.
-
setFormattedPrice
public DynamicFlightsAsset.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 DynamicFlightsAsset.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 DynamicFlightsAsset.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 interfaceDynamicFlightsAssetOrBuilder- 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 interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for formattedSalePrice.
-
setFormattedSalePrice
public DynamicFlightsAsset.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 DynamicFlightsAsset.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 DynamicFlightsAsset.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.
-
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 = 11;- Specified by:
getAndroidAppLinkin interfaceDynamicFlightsAssetOrBuilder- 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 = 11;- Specified by:
getAndroidAppLinkBytesin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for androidAppLink.
-
setAndroidAppLink
public DynamicFlightsAsset.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 = 11;- Parameters:
value- The androidAppLink to set.- Returns:
- This builder for chaining.
-
clearAndroidAppLink
public DynamicFlightsAsset.Builder clearAndroidAppLink()
Android deep link, e.g. android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 11;- Returns:
- This builder for chaining.
-
setAndroidAppLinkBytes
public DynamicFlightsAsset.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 = 11;- 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 = 12;- Specified by:
getIosAppLinkin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The iosAppLink.
-
getIosAppLinkBytes
public com.google.protobuf.ByteString getIosAppLinkBytes()
iOS deep link, e.g. exampleApp://content/page.
string ios_app_link = 12;- Specified by:
getIosAppLinkBytesin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for iosAppLink.
-
setIosAppLink
public DynamicFlightsAsset.Builder setIosAppLink(java.lang.String value)
iOS deep link, e.g. exampleApp://content/page.
string ios_app_link = 12;- Parameters:
value- The iosAppLink to set.- Returns:
- This builder for chaining.
-
clearIosAppLink
public DynamicFlightsAsset.Builder clearIosAppLink()
iOS deep link, e.g. exampleApp://content/page.
string ios_app_link = 12;- Returns:
- This builder for chaining.
-
setIosAppLinkBytes
public DynamicFlightsAsset.Builder setIosAppLinkBytes(com.google.protobuf.ByteString value)
iOS deep link, e.g. exampleApp://content/page.
string ios_app_link = 12;- 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 = 13;- Specified by:
getIosAppStoreIdin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The iosAppStoreId.
-
setIosAppStoreId
public DynamicFlightsAsset.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 = 13;- Parameters:
value- The iosAppStoreId to set.- Returns:
- This builder for chaining.
-
clearIosAppStoreId
public DynamicFlightsAsset.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 = 13;- Returns:
- This builder for chaining.
-
getSimilarDestinationIdsList
public com.google.protobuf.ProtocolStringList getSimilarDestinationIdsList()
Similar destination IDs, e.g. PAR,LON.
repeated string similar_destination_ids = 14;- Specified by:
getSimilarDestinationIdsListin interfaceDynamicFlightsAssetOrBuilder- Returns:
- A list containing the similarDestinationIds.
-
getSimilarDestinationIdsCount
public int getSimilarDestinationIdsCount()
Similar destination IDs, e.g. PAR,LON.
repeated string similar_destination_ids = 14;- Specified by:
getSimilarDestinationIdsCountin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The count of similarDestinationIds.
-
getSimilarDestinationIds
public java.lang.String getSimilarDestinationIds(int index)
Similar destination IDs, e.g. PAR,LON.
repeated string similar_destination_ids = 14;- Specified by:
getSimilarDestinationIdsin interfaceDynamicFlightsAssetOrBuilder- 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. PAR,LON.
repeated string similar_destination_ids = 14;- Specified by:
getSimilarDestinationIdsBytesin interfaceDynamicFlightsAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the similarDestinationIds at the given index.
-
setSimilarDestinationIds
public DynamicFlightsAsset.Builder setSimilarDestinationIds(int index, java.lang.String value)
Similar destination IDs, e.g. PAR,LON.
repeated string similar_destination_ids = 14;- Parameters:
index- The index to set the value at.value- The similarDestinationIds to set.- Returns:
- This builder for chaining.
-
addSimilarDestinationIds
public DynamicFlightsAsset.Builder addSimilarDestinationIds(java.lang.String value)
Similar destination IDs, e.g. PAR,LON.
repeated string similar_destination_ids = 14;- Parameters:
value- The similarDestinationIds to add.- Returns:
- This builder for chaining.
-
addAllSimilarDestinationIds
public DynamicFlightsAsset.Builder addAllSimilarDestinationIds(java.lang.Iterable<java.lang.String> values)
Similar destination IDs, e.g. PAR,LON.
repeated string similar_destination_ids = 14;- Parameters:
values- The similarDestinationIds to add.- Returns:
- This builder for chaining.
-
clearSimilarDestinationIds
public DynamicFlightsAsset.Builder clearSimilarDestinationIds()
Similar destination IDs, e.g. PAR,LON.
repeated string similar_destination_ids = 14;- Returns:
- This builder for chaining.
-
addSimilarDestinationIdsBytes
public DynamicFlightsAsset.Builder addSimilarDestinationIdsBytes(com.google.protobuf.ByteString value)
Similar destination IDs, e.g. PAR,LON.
repeated string similar_destination_ids = 14;- Parameters:
value- The bytes of the similarDestinationIds to add.- Returns:
- This builder for chaining.
-
getCustomMapping
public java.lang.String getCustomMapping()
A custom field which can be multiple key to values mapping separated by delimiters (",", "|" and ":"), in the forms of "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ... ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" e.g. wifi: most | aircraft: 320, 77W | flights: 42 | legroom: 32".string custom_mapping = 15;- Specified by:
getCustomMappingin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The customMapping.
-
getCustomMappingBytes
public com.google.protobuf.ByteString getCustomMappingBytes()
A custom field which can be multiple key to values mapping separated by delimiters (",", "|" and ":"), in the forms of "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ... ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" e.g. wifi: most | aircraft: 320, 77W | flights: 42 | legroom: 32".string custom_mapping = 15;- Specified by:
getCustomMappingBytesin interfaceDynamicFlightsAssetOrBuilder- Returns:
- The bytes for customMapping.
-
setCustomMapping
public DynamicFlightsAsset.Builder setCustomMapping(java.lang.String value)
A custom field which can be multiple key to values mapping separated by delimiters (",", "|" and ":"), in the forms of "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ... ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" e.g. wifi: most | aircraft: 320, 77W | flights: 42 | legroom: 32".string custom_mapping = 15;- Parameters:
value- The customMapping to set.- Returns:
- This builder for chaining.
-
clearCustomMapping
public DynamicFlightsAsset.Builder clearCustomMapping()
A custom field which can be multiple key to values mapping separated by delimiters (",", "|" and ":"), in the forms of "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ... ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" e.g. wifi: most | aircraft: 320, 77W | flights: 42 | legroom: 32".string custom_mapping = 15;- Returns:
- This builder for chaining.
-
setCustomMappingBytes
public DynamicFlightsAsset.Builder setCustomMappingBytes(com.google.protobuf.ByteString value)
A custom field which can be multiple key to values mapping separated by delimiters (",", "|" and ":"), in the forms of "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ... ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" e.g. wifi: most | aircraft: 320, 77W | flights: 42 | legroom: 32".string custom_mapping = 15;- Parameters:
value- The bytes for customMapping to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DynamicFlightsAsset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicFlightsAsset.Builder>
-
mergeUnknownFields
public final DynamicFlightsAsset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicFlightsAsset.Builder>
-
-