Class DynamicHotelsAndRentalsAsset

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

public final class DynamicHotelsAndRentalsAsset extends com.google.protobuf.GeneratedMessageV3 implements DynamicHotelsAndRentalsAssetOrBuilder
 A dynamic hotels and rentals asset.
 
Protobuf type google.ads.googleads.v18.common.DynamicHotelsAndRentalsAsset
See Also:
  • Field Details

    • PROPERTY_ID_FIELD_NUMBER

      public static final int PROPERTY_ID_FIELD_NUMBER
      See Also:
    • PROPERTY_NAME_FIELD_NUMBER

      public static final int PROPERTY_NAME_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:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • PRICE_FIELD_NUMBER

      public static final int PRICE_FIELD_NUMBER
      See Also:
    • SALE_PRICE_FIELD_NUMBER

      public static final int SALE_PRICE_FIELD_NUMBER
      See Also:
    • STAR_RATING_FIELD_NUMBER

      public static final int STAR_RATING_FIELD_NUMBER
      See Also:
    • CATEGORY_FIELD_NUMBER

      public static final int CATEGORY_FIELD_NUMBER
      See Also:
    • CONTEXTUAL_KEYWORDS_FIELD_NUMBER

      public static final int CONTEXTUAL_KEYWORDS_FIELD_NUMBER
      See Also:
    • ADDRESS_FIELD_NUMBER

      public static final int ADDRESS_FIELD_NUMBER
      See Also:
    • IOS_APP_STORE_ID_FIELD_NUMBER

      public static final int IOS_APP_STORE_ID_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:
    • SIMILAR_PROPERTY_IDS_FIELD_NUMBER

      public static final int SIMILAR_PROPERTY_IDS_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
    • getPropertyId

      public String getPropertyId()
       Required. Property ID which can be any sequence of letters and digits, and
       must be unique and match the values of remarketing tag. Required.
       
      string property_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPropertyId in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The propertyId.
    • getPropertyIdBytes

      public com.google.protobuf.ByteString getPropertyIdBytes()
       Required. Property ID which can be any sequence of letters and digits, and
       must be unique and match the values of remarketing tag. Required.
       
      string property_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPropertyIdBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The bytes for propertyId.
    • getPropertyName

      public String getPropertyName()
       Required. Property name, for example, Mountain View Hotel. Required.
       
      string property_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPropertyName in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The propertyName.
    • getPropertyNameBytes

      public com.google.protobuf.ByteString getPropertyNameBytes()
       Required. Property name, for example, Mountain View Hotel. Required.
       
      string property_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPropertyNameBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The bytes for propertyName.
    • 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 = 3;
      Specified by:
      getImageUrl in interface DynamicHotelsAndRentalsAssetOrBuilder
      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 = 3;
      Specified by:
      getImageUrlBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The bytes for imageUrl.
    • getDestinationName

      public String getDestinationName()
       Destination name, for example, Downtown Mountain View.
       
      string destination_name = 4;
      Specified by:
      getDestinationName in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The destinationName.
    • getDestinationNameBytes

      public com.google.protobuf.ByteString getDestinationNameBytes()
       Destination name, for example, Downtown Mountain View.
       
      string destination_name = 4;
      Specified by:
      getDestinationNameBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The bytes for destinationName.
    • getDescription

      public String getDescription()
       Description, for example, Close to SJC Airport.
       
      string description = 5;
      Specified by:
      getDescription in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description, for example, Close to SJC Airport.
       
      string description = 5;
      Specified by:
      getDescriptionBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The bytes for description.
    • getPrice

      public String getPrice()
       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 price = 6;
      Specified by:
      getPrice in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The price.
    • getPriceBytes

      public com.google.protobuf.ByteString getPriceBytes()
       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 price = 6;
      Specified by:
      getPriceBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The bytes for price.
    • getSalePrice

      public String getSalePrice()
       ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD.
       Must be less than the 'price' field.
       
      string sale_price = 7;
      Specified by:
      getSalePrice in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The salePrice.
    • getSalePriceBytes

      public com.google.protobuf.ByteString getSalePriceBytes()
       ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD.
       Must be less than the 'price' field.
       
      string sale_price = 7;
      Specified by:
      getSalePriceBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The bytes for salePrice.
    • getStarRating

      public long getStarRating()
       Star rating. Must be a number between 1 to 5, inclusive.
       
      int64 star_rating = 8;
      Specified by:
      getStarRating in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The starRating.
    • getCategory

      public String getCategory()
       Category, for example, Hotel suite.
       
      string category = 9;
      Specified by:
      getCategory in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The category.
    • getCategoryBytes

      public com.google.protobuf.ByteString getCategoryBytes()
       Category, for example, Hotel suite.
       
      string category = 9;
      Specified by:
      getCategoryBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The bytes for category.
    • getContextualKeywordsList

      public com.google.protobuf.ProtocolStringList getContextualKeywordsList()
       Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
       
      repeated string contextual_keywords = 10;
      Specified by:
      getContextualKeywordsList in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      A list containing the contextualKeywords.
    • getContextualKeywordsCount

      public int getContextualKeywordsCount()
       Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
       
      repeated string contextual_keywords = 10;
      Specified by:
      getContextualKeywordsCount in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The count of contextualKeywords.
    • getContextualKeywords

      public String getContextualKeywords(int index)
       Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
       
      repeated string contextual_keywords = 10;
      Specified by:
      getContextualKeywords in interface DynamicHotelsAndRentalsAssetOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The contextualKeywords at the given index.
    • getContextualKeywordsBytes

      public com.google.protobuf.ByteString getContextualKeywordsBytes(int index)
       Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
       
      repeated string contextual_keywords = 10;
      Specified by:
      getContextualKeywordsBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the contextualKeywords at the given index.
    • getAddress

      public String getAddress()
       Address which can be specified in one of the following formats.
       (1) City, state, code, country, for example, Mountain View, CA, USA.
       (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
       (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
       
      string address = 11;
      Specified by:
      getAddress in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The address.
    • getAddressBytes

      public com.google.protobuf.ByteString getAddressBytes()
       Address which can be specified in one of the following formats.
       (1) City, state, code, country, for example, Mountain View, CA, USA.
       (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
       (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403
       
      string address = 11;
      Specified by:
      getAddressBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The bytes for address.
    • getAndroidAppLink

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

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

      public com.google.protobuf.ByteString getIosAppLinkBytes()
       iOS deep link, for example, exampleApp://content/page.
       
      string ios_app_link = 13;
      Specified by:
      getIosAppLinkBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      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 = 14;
      Specified by:
      getIosAppStoreId in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The iosAppStoreId.
    • 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 = 15;
      Specified by:
      getFormattedPrice in interface DynamicHotelsAndRentalsAssetOrBuilder
      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 = 15;
      Specified by:
      getFormattedPriceBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      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 = 16;
      Specified by:
      getFormattedSalePrice in interface DynamicHotelsAndRentalsAssetOrBuilder
      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 = 16;
      Specified by:
      getFormattedSalePriceBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The bytes for formattedSalePrice.
    • getSimilarPropertyIdsList

      public com.google.protobuf.ProtocolStringList getSimilarPropertyIdsList()
       Similar property IDs.
       
      repeated string similar_property_ids = 17;
      Specified by:
      getSimilarPropertyIdsList in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      A list containing the similarPropertyIds.
    • getSimilarPropertyIdsCount

      public int getSimilarPropertyIdsCount()
       Similar property IDs.
       
      repeated string similar_property_ids = 17;
      Specified by:
      getSimilarPropertyIdsCount in interface DynamicHotelsAndRentalsAssetOrBuilder
      Returns:
      The count of similarPropertyIds.
    • getSimilarPropertyIds

      public String getSimilarPropertyIds(int index)
       Similar property IDs.
       
      repeated string similar_property_ids = 17;
      Specified by:
      getSimilarPropertyIds in interface DynamicHotelsAndRentalsAssetOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The similarPropertyIds at the given index.
    • getSimilarPropertyIdsBytes

      public com.google.protobuf.ByteString getSimilarPropertyIdsBytes(int index)
       Similar property IDs.
       
      repeated string similar_property_ids = 17;
      Specified by:
      getSimilarPropertyIdsBytes in interface DynamicHotelsAndRentalsAssetOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the similarPropertyIds at the given index.
    • 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 DynamicHotelsAndRentalsAsset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DynamicHotelsAndRentalsAsset.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static DynamicHotelsAndRentalsAsset getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DynamicHotelsAndRentalsAsset> 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 DynamicHotelsAndRentalsAsset getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder