Class DynamicFlightsAsset

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.DynamicFlightsAsset
All Implemented Interfaces:
DynamicFlightsAssetOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class DynamicFlightsAsset extends com.google.protobuf.GeneratedMessageV3 implements DynamicFlightsAssetOrBuilder
 A dynamic flights asset.
 
Protobuf type google.ads.googleads.v18.common.DynamicFlightsAsset
See Also:
  • Field Details

    • DESTINATION_ID_FIELD_NUMBER

      public static final int DESTINATION_ID_FIELD_NUMBER
      See Also:
    • ORIGIN_ID_FIELD_NUMBER

      public static final int ORIGIN_ID_FIELD_NUMBER
      See Also:
    • FLIGHT_DESCRIPTION_FIELD_NUMBER

      public static final int FLIGHT_DESCRIPTION_FIELD_NUMBER
      See Also:
    • IMAGE_URL_FIELD_NUMBER

      public static final int IMAGE_URL_FIELD_NUMBER
      See Also:
    • DESTINATION_NAME_FIELD_NUMBER

      public static final int DESTINATION_NAME_FIELD_NUMBER
      See Also:
    • ORIGIN_NAME_FIELD_NUMBER

      public static final int ORIGIN_NAME_FIELD_NUMBER
      See Also:
    • FLIGHT_PRICE_FIELD_NUMBER

      public static final int FLIGHT_PRICE_FIELD_NUMBER
      See Also:
    • FLIGHT_SALE_PRICE_FIELD_NUMBER

      public static final int FLIGHT_SALE_PRICE_FIELD_NUMBER
      See Also:
    • FORMATTED_PRICE_FIELD_NUMBER

      public static final int FORMATTED_PRICE_FIELD_NUMBER
      See Also:
    • FORMATTED_SALE_PRICE_FIELD_NUMBER

      public static final int FORMATTED_SALE_PRICE_FIELD_NUMBER
      See Also:
    • IOS_APP_STORE_ID_FIELD_NUMBER

      public static final int IOS_APP_STORE_ID_FIELD_NUMBER
      See Also:
    • SIMILAR_DESTINATION_IDS_FIELD_NUMBER

      public static final int SIMILAR_DESTINATION_IDS_FIELD_NUMBER
      See Also:
    • CUSTOM_MAPPING_FIELD_NUMBER

      public static final int CUSTOM_MAPPING_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getDestinationId

      public 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:
      getDestinationId in interface DynamicFlightsAssetOrBuilder
      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:
      getDestinationIdBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for destinationId.
    • getOriginId

      public 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:
      getOriginId in interface DynamicFlightsAssetOrBuilder
      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:
      getOriginIdBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for originId.
    • getFlightDescription

      public String getFlightDescription()
       Required. Flight description, for example, Book your ticket. Required.
       
      string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFlightDescription in interface DynamicFlightsAssetOrBuilder
      Returns:
      The flightDescription.
    • getFlightDescriptionBytes

      public com.google.protobuf.ByteString getFlightDescriptionBytes()
       Required. Flight description, for example, Book your ticket. Required.
       
      string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFlightDescriptionBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for flightDescription.
    • getImageUrl

      public String getImageUrl()
       Image URL, for example, http://www.example.com/image.png. The image will
       not be uploaded as image asset.
       
      string image_url = 4;
      Specified by:
      getImageUrl in interface DynamicFlightsAssetOrBuilder
      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 = 4;
      Specified by:
      getImageUrlBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for imageUrl.
    • getDestinationName

      public String getDestinationName()
       Destination name, for example, Paris.
       
      string destination_name = 5;
      Specified by:
      getDestinationName in interface DynamicFlightsAssetOrBuilder
      Returns:
      The destinationName.
    • getDestinationNameBytes

      public com.google.protobuf.ByteString getDestinationNameBytes()
       Destination name, for example, Paris.
       
      string destination_name = 5;
      Specified by:
      getDestinationNameBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for destinationName.
    • getOriginName

      public String getOriginName()
       Origin name, for example, London.
       
      string origin_name = 6;
      Specified by:
      getOriginName in interface DynamicFlightsAssetOrBuilder
      Returns:
      The originName.
    • getOriginNameBytes

      public com.google.protobuf.ByteString getOriginNameBytes()
       Origin name, for example, London.
       
      string origin_name = 6;
      Specified by:
      getOriginNameBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for originName.
    • getFlightPrice

      public String getFlightPrice()
       Flight price which can be number followed by the alphabetic currency code,
       ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
       
      string flight_price = 7;
      Specified by:
      getFlightPrice in interface DynamicFlightsAssetOrBuilder
      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, for example, 100.00 USD.
       
      string flight_price = 7;
      Specified by:
      getFlightPriceBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for flightPrice.
    • getFlightSalePrice

      public String getFlightSalePrice()
       Flight sale price which can be number followed by the alphabetic currency
       code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00
       USD. Must be less than the 'flight_price' field.
       
      string flight_sale_price = 8;
      Specified by:
      getFlightSalePrice in interface DynamicFlightsAssetOrBuilder
      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, for example, 80.00
       USD. Must be less than the 'flight_price' field.
       
      string flight_sale_price = 8;
      Specified by:
      getFlightSalePriceBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for flightSalePrice.
    • getFormattedPrice

      public String 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:
      getFormattedPrice in interface DynamicFlightsAssetOrBuilder
      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:
      getFormattedPriceBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for formattedPrice.
    • getFormattedSalePrice

      public String 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:
      getFormattedSalePrice in interface DynamicFlightsAssetOrBuilder
      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:
      getFormattedSalePriceBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for formattedSalePrice.
    • getAndroidAppLink

      public String getAndroidAppLink()
       Android deep link, for example,
       android-app://com.example.android/http/example.com/gizmos?1234.
       
      string android_app_link = 11;
      Specified by:
      getAndroidAppLink in interface DynamicFlightsAssetOrBuilder
      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 = 11;
      Specified by:
      getAndroidAppLinkBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for androidAppLink.
    • getIosAppLink

      public String getIosAppLink()
       iOS deep link, for example, exampleApp://content/page.
       
      string ios_app_link = 12;
      Specified by:
      getIosAppLink in interface DynamicFlightsAssetOrBuilder
      Returns:
      The iosAppLink.
    • getIosAppLinkBytes

      public com.google.protobuf.ByteString getIosAppLinkBytes()
       iOS deep link, for example, exampleApp://content/page.
       
      string ios_app_link = 12;
      Specified by:
      getIosAppLinkBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for iosAppLink.
    • 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:
      getIosAppStoreId in interface DynamicFlightsAssetOrBuilder
      Returns:
      The iosAppStoreId.
    • getSimilarDestinationIdsList

      public com.google.protobuf.ProtocolStringList getSimilarDestinationIdsList()
       Similar destination IDs, for example, PAR,LON.
       
      repeated string similar_destination_ids = 14;
      Specified by:
      getSimilarDestinationIdsList in interface DynamicFlightsAssetOrBuilder
      Returns:
      A list containing the similarDestinationIds.
    • getSimilarDestinationIdsCount

      public int getSimilarDestinationIdsCount()
       Similar destination IDs, for example, PAR,LON.
       
      repeated string similar_destination_ids = 14;
      Specified by:
      getSimilarDestinationIdsCount in interface DynamicFlightsAssetOrBuilder
      Returns:
      The count of similarDestinationIds.
    • getSimilarDestinationIds

      public String getSimilarDestinationIds(int index)
       Similar destination IDs, for example, PAR,LON.
       
      repeated string similar_destination_ids = 14;
      Specified by:
      getSimilarDestinationIds in interface DynamicFlightsAssetOrBuilder
      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, PAR,LON.
       
      repeated string similar_destination_ids = 14;
      Specified by:
      getSimilarDestinationIdsBytes in interface DynamicFlightsAssetOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the similarDestinationIds at the given index.
    • getCustomMapping

      public 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>" for example, wifi:
       most | aircraft: 320, 77W | flights: 42 | legroom: 32".
       
      string custom_mapping = 15;
      Specified by:
      getCustomMapping in interface DynamicFlightsAssetOrBuilder
      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>" for example, wifi:
       most | aircraft: 320, 77W | flights: 42 | legroom: 32".
       
      string custom_mapping = 15;
      Specified by:
      getCustomMappingBytes in interface DynamicFlightsAssetOrBuilder
      Returns:
      The bytes for customMapping.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DynamicFlightsAsset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DynamicFlightsAsset parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DynamicFlightsAsset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DynamicFlightsAsset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DynamicFlightsAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DynamicFlightsAsset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DynamicFlightsAsset parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DynamicFlightsAsset parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DynamicFlightsAsset parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DynamicFlightsAsset parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DynamicFlightsAsset parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DynamicFlightsAsset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DynamicFlightsAsset.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DynamicFlightsAsset.Builder newBuilder()
    • newBuilder

      public static DynamicFlightsAsset.Builder newBuilder(DynamicFlightsAsset prototype)
    • toBuilder

      public DynamicFlightsAsset.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DynamicFlightsAsset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static DynamicFlightsAsset getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DynamicFlightsAsset> parser()
    • getParserForType

      public com.google.protobuf.Parser<DynamicFlightsAsset> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public DynamicFlightsAsset getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder