Class DynamicHotelsAndRentalsAsset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
com.google.ads.googleads.v18.common.DynamicHotelsAndRentalsAsset.Builder
- All Implemented Interfaces:
DynamicHotelsAndRentalsAssetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DynamicHotelsAndRentalsAsset
public static final class DynamicHotelsAndRentalsAsset.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
implements DynamicHotelsAndRentalsAssetOrBuilder
A dynamic hotels and rentals asset.Protobuf type
google.ads.googleads.v18.common.DynamicHotelsAndRentalsAsset-
Method Summary
Modifier and TypeMethodDescriptionaddAllContextualKeywords(Iterable<String> values) Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.addAllSimilarPropertyIds(Iterable<String> values) Similar property IDs.addContextualKeywords(String value) Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.addContextualKeywordsBytes(com.google.protobuf.ByteString value) Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSimilarPropertyIds(String value) Similar property IDs.addSimilarPropertyIdsBytes(com.google.protobuf.ByteString value) Similar property IDs.build()clear()Address which can be specified in one of the following formats.Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.Category, for example, Hotel suite.Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.Description, for example, Close to SJC Airport.Destination name, for example, Downtown Mountain View.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Formatted price which can be any characters.Formatted sale price which can be any characters.Image URL, for example, http://www.example.com/image.png.iOS deep link, for example, exampleApp://content/page.iOS app store ID.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Price which can be number followed by the alphabetic currency code, ISO 4217 standard.Required.Required.ISO 4217 standard.Similar property IDs.Star rating.clone()Address which can be specified in one of the following formats.com.google.protobuf.ByteStringAddress which can be specified in one of the following formats.Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.com.google.protobuf.ByteStringAndroid deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.Category, for example, Hotel suite.com.google.protobuf.ByteStringCategory, for example, Hotel suite.getContextualKeywords(int index) Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.com.google.protobuf.ByteStringgetContextualKeywordsBytes(int index) Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.intContextual keywords, for example, Mountain View "Hotels", South Bay hotels.com.google.protobuf.ProtocolStringListContextual keywords, for example, Mountain View "Hotels", South Bay hotels.Description, for example, Close to SJC Airport.com.google.protobuf.ByteStringDescription, for example, Close to SJC Airport.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDestination name, for example, Downtown Mountain View.com.google.protobuf.ByteStringDestination name, for example, Downtown Mountain View.Formatted price which can be any characters.com.google.protobuf.ByteStringFormatted price which can be any characters.Formatted sale price which can be any characters.com.google.protobuf.ByteStringFormatted sale price which can be any characters.Image URL, for example, http://www.example.com/image.png.com.google.protobuf.ByteStringImage URL, for example, http://www.example.com/image.png.iOS deep link, for example, exampleApp://content/page.com.google.protobuf.ByteStringiOS deep link, for example, exampleApp://content/page.longiOS app store ID.getPrice()Price which can be number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringPrice which can be number followed by the alphabetic currency code, ISO 4217 standard.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.ISO 4217 standard.com.google.protobuf.ByteStringISO 4217 standard.getSimilarPropertyIds(int index) Similar property IDs.com.google.protobuf.ByteStringgetSimilarPropertyIdsBytes(int index) Similar property IDs.intSimilar property IDs.com.google.protobuf.ProtocolStringListSimilar property IDs.longStar rating.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAddress(String value) Address which can be specified in one of the following formats.setAddressBytes(com.google.protobuf.ByteString value) Address which can be specified in one of the following formats.setAndroidAppLink(String value) Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.setAndroidAppLinkBytes(com.google.protobuf.ByteString value) Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.setCategory(String value) Category, for example, Hotel suite.setCategoryBytes(com.google.protobuf.ByteString value) Category, for example, Hotel suite.setContextualKeywords(int index, String value) Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.setDescription(String value) Description, for example, Close to SJC Airport.setDescriptionBytes(com.google.protobuf.ByteString value) Description, for example, Close to SJC Airport.setDestinationName(String value) Destination name, for example, Downtown Mountain View.setDestinationNameBytes(com.google.protobuf.ByteString value) Destination name, for example, Downtown Mountain View.setFormattedPrice(String value) Formatted price which can be any characters.setFormattedPriceBytes(com.google.protobuf.ByteString value) Formatted price which can be any characters.setFormattedSalePrice(String value) Formatted sale price which can be any characters.setFormattedSalePriceBytes(com.google.protobuf.ByteString value) Formatted sale price which can be any characters.setImageUrl(String value) Image URL, for example, http://www.example.com/image.png.setImageUrlBytes(com.google.protobuf.ByteString value) Image URL, for example, http://www.example.com/image.png.setIosAppLink(String value) iOS deep link, for example, exampleApp://content/page.setIosAppLinkBytes(com.google.protobuf.ByteString value) iOS deep link, for example, exampleApp://content/page.setIosAppStoreId(long value) iOS app store ID.Price which can be number followed by the alphabetic currency code, ISO 4217 standard.setPriceBytes(com.google.protobuf.ByteString value) Price which can be number followed by the alphabetic currency code, ISO 4217 standard.setPropertyId(String value) Required.setPropertyIdBytes(com.google.protobuf.ByteString value) Required.setPropertyName(String value) Required.setPropertyNameBytes(com.google.protobuf.ByteString value) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSalePrice(String value) ISO 4217 standard.setSalePriceBytes(com.google.protobuf.ByteString value) ISO 4217 standard.setSimilarPropertyIds(int index, String value) Similar property IDs.setStarRating(long value) Star rating.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.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<DynamicHotelsAndRentalsAsset.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<DynamicHotelsAndRentalsAsset.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
-
setField
public DynamicHotelsAndRentalsAsset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
-
clearField
public DynamicHotelsAndRentalsAsset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
-
clearOneof
public DynamicHotelsAndRentalsAsset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
-
setRepeatedField
public DynamicHotelsAndRentalsAsset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
-
addRepeatedField
public DynamicHotelsAndRentalsAsset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicHotelsAndRentalsAsset.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
-
mergeFrom
public DynamicHotelsAndRentalsAsset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicHotelsAndRentalsAsset.Builder>- Throws:
IOException
-
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:
getPropertyIdin interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getPropertyIdBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for propertyId.
-
setPropertyId
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];- Parameters:
value- The propertyId to set.- Returns:
- This builder for chaining.
-
clearPropertyId
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];- Returns:
- This builder for chaining.
-
setPropertyIdBytes
public DynamicHotelsAndRentalsAsset.Builder setPropertyIdBytes(com.google.protobuf.ByteString value) 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];- Parameters:
value- The bytes for propertyId to set.- Returns:
- This builder for chaining.
-
getPropertyName
Required. Property name, for example, Mountain View Hotel. Required.
string property_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPropertyNamein interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getPropertyNameBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for propertyName.
-
setPropertyName
Required. Property name, for example, Mountain View Hotel. Required.
string property_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The propertyName to set.- Returns:
- This builder for chaining.
-
clearPropertyName
Required. Property name, for example, Mountain View Hotel. Required.
string property_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setPropertyNameBytes
public DynamicHotelsAndRentalsAsset.Builder setPropertyNameBytes(com.google.protobuf.ByteString value) Required. Property name, for example, Mountain View Hotel. Required.
string property_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for propertyName to set.- Returns:
- This builder for chaining.
-
getImageUrl
Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 3;- Specified by:
getImageUrlin interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getImageUrlBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for imageUrl.
-
setImageUrl
Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 3;- Parameters:
value- The imageUrl to set.- Returns:
- This builder for chaining.
-
clearImageUrl
Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 3;- Returns:
- This builder for chaining.
-
setImageUrlBytes
Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 3;- Parameters:
value- The bytes for imageUrl to set.- Returns:
- This builder for chaining.
-
getDestinationName
Destination name, for example, Downtown Mountain View.
string destination_name = 4;- Specified by:
getDestinationNamein interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The destinationName.
-
getDestinationNameBytes
public com.google.protobuf.ByteString getDestinationNameBytes()Destination name, for example, Downtown Mountain View.
string destination_name = 4;- Specified by:
getDestinationNameBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for destinationName.
-
setDestinationName
Destination name, for example, Downtown Mountain View.
string destination_name = 4;- Parameters:
value- The destinationName to set.- Returns:
- This builder for chaining.
-
clearDestinationName
Destination name, for example, Downtown Mountain View.
string destination_name = 4;- Returns:
- This builder for chaining.
-
setDestinationNameBytes
public DynamicHotelsAndRentalsAsset.Builder setDestinationNameBytes(com.google.protobuf.ByteString value) Destination name, for example, Downtown Mountain View.
string destination_name = 4;- Parameters:
value- The bytes for destinationName to set.- Returns:
- This builder for chaining.
-
getDescription
Description, for example, Close to SJC Airport.
string description = 5;- Specified by:
getDescriptionin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description, for example, Close to SJC Airport.
string description = 5;- Specified by:
getDescriptionBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description, for example, Close to SJC Airport.
string description = 5;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description, for example, Close to SJC Airport.
string description = 5;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public DynamicHotelsAndRentalsAsset.Builder setDescriptionBytes(com.google.protobuf.ByteString value) Description, for example, Close to SJC Airport.
string description = 5;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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:
getPricein interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getPriceBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for price.
-
setPrice
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;- Parameters:
value- The price to set.- Returns:
- This builder for chaining.
-
clearPrice
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;- Returns:
- This builder for chaining.
-
setPriceBytes
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;- Parameters:
value- The bytes for price to set.- Returns:
- This builder for chaining.
-
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:
getSalePricein interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getSalePriceBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for salePrice.
-
setSalePrice
ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
string sale_price = 7;- Parameters:
value- The salePrice to set.- Returns:
- This builder for chaining.
-
clearSalePrice
ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
string sale_price = 7;- Returns:
- This builder for chaining.
-
setSalePriceBytes
ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
string sale_price = 7;- Parameters:
value- The bytes for salePrice to set.- Returns:
- This builder for chaining.
-
getStarRating
public long getStarRating()Star rating. Must be a number between 1 to 5, inclusive.
int64 star_rating = 8;- Specified by:
getStarRatingin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The starRating.
-
setStarRating
Star rating. Must be a number between 1 to 5, inclusive.
int64 star_rating = 8;- Parameters:
value- The starRating to set.- Returns:
- This builder for chaining.
-
clearStarRating
Star rating. Must be a number between 1 to 5, inclusive.
int64 star_rating = 8;- Returns:
- This builder for chaining.
-
getCategory
Category, for example, Hotel suite.
string category = 9;- Specified by:
getCategoryin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The category.
-
getCategoryBytes
public com.google.protobuf.ByteString getCategoryBytes()Category, for example, Hotel suite.
string category = 9;- Specified by:
getCategoryBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for category.
-
setCategory
Category, for example, Hotel suite.
string category = 9;- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
Category, for example, Hotel suite.
string category = 9;- Returns:
- This builder for chaining.
-
setCategoryBytes
Category, for example, Hotel suite.
string category = 9;- Parameters:
value- The bytes for category to set.- Returns:
- This builder for chaining.
-
getContextualKeywordsList
public com.google.protobuf.ProtocolStringList getContextualKeywordsList()Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
repeated string contextual_keywords = 10;- Specified by:
getContextualKeywordsListin interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getContextualKeywordsCountin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The count of contextualKeywords.
-
getContextualKeywords
Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
repeated string contextual_keywords = 10;- Specified by:
getContextualKeywordsin interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getContextualKeywordsBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the contextualKeywords at the given index.
-
setContextualKeywords
Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
repeated string contextual_keywords = 10;- Parameters:
index- The index to set the value at.value- The contextualKeywords to set.- Returns:
- This builder for chaining.
-
addContextualKeywords
Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
repeated string contextual_keywords = 10;- Parameters:
value- The contextualKeywords to add.- Returns:
- This builder for chaining.
-
addAllContextualKeywords
Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
repeated string contextual_keywords = 10;- Parameters:
values- The contextualKeywords to add.- Returns:
- This builder for chaining.
-
clearContextualKeywords
Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
repeated string contextual_keywords = 10;- Returns:
- This builder for chaining.
-
addContextualKeywordsBytes
public DynamicHotelsAndRentalsAsset.Builder addContextualKeywordsBytes(com.google.protobuf.ByteString value) Contextual keywords, for example, Mountain View "Hotels", South Bay hotels.
repeated string contextual_keywords = 10;- Parameters:
value- The bytes of the contextualKeywords to add.- Returns:
- This builder for chaining.
-
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:
getAddressin interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getAddressBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for address.
-
setAddress
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;- Parameters:
value- The address to set.- Returns:
- This builder for chaining.
-
clearAddress
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;- Returns:
- This builder for chaining.
-
setAddressBytes
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;- Parameters:
value- The bytes for address to set.- Returns:
- This builder for chaining.
-
getAndroidAppLink
Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 12;- Specified by:
getAndroidAppLinkin interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getAndroidAppLinkBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for androidAppLink.
-
setAndroidAppLink
Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 12;- Parameters:
value- The androidAppLink to set.- Returns:
- This builder for chaining.
-
clearAndroidAppLink
Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 12;- Returns:
- This builder for chaining.
-
setAndroidAppLinkBytes
public DynamicHotelsAndRentalsAsset.Builder setAndroidAppLinkBytes(com.google.protobuf.ByteString value) Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 12;- Parameters:
value- The bytes for androidAppLink to set.- Returns:
- This builder for chaining.
-
getIosAppLink
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 13;- Specified by:
getIosAppLinkin interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getIosAppLinkBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for iosAppLink.
-
setIosAppLink
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 13;- Parameters:
value- The iosAppLink to set.- Returns:
- This builder for chaining.
-
clearIosAppLink
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 13;- Returns:
- This builder for chaining.
-
setIosAppLinkBytes
public DynamicHotelsAndRentalsAsset.Builder setIosAppLinkBytes(com.google.protobuf.ByteString value) iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 13;- 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 = 14;- Specified by:
getIosAppStoreIdin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The iosAppStoreId.
-
setIosAppStoreId
iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
int64 ios_app_store_id = 14;- Parameters:
value- The iosAppStoreId to set.- Returns:
- This builder for chaining.
-
clearIosAppStoreId
iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
int64 ios_app_store_id = 14;- Returns:
- This builder for chaining.
-
getFormattedPrice
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
string formatted_price = 15;- Specified by:
getFormattedPricein interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getFormattedPriceBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for formattedPrice.
-
setFormattedPrice
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
string formatted_price = 15;- Parameters:
value- The formattedPrice to set.- Returns:
- This builder for chaining.
-
clearFormattedPrice
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
string formatted_price = 15;- Returns:
- This builder for chaining.
-
setFormattedPriceBytes
public DynamicHotelsAndRentalsAsset.Builder setFormattedPriceBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for formattedPrice to set.- Returns:
- This builder for chaining.
-
getFormattedSalePrice
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
string formatted_sale_price = 16;- Specified by:
getFormattedSalePricein interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getFormattedSalePriceBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The bytes for formattedSalePrice.
-
setFormattedSalePrice
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
string formatted_sale_price = 16;- Parameters:
value- The formattedSalePrice to set.- Returns:
- This builder for chaining.
-
clearFormattedSalePrice
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
string formatted_sale_price = 16;- Returns:
- This builder for chaining.
-
setFormattedSalePriceBytes
public DynamicHotelsAndRentalsAsset.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', for example, On sale for $80.00.
string formatted_sale_price = 16;- Parameters:
value- The bytes for formattedSalePrice to set.- Returns:
- This builder for chaining.
-
getSimilarPropertyIdsList
public com.google.protobuf.ProtocolStringList getSimilarPropertyIdsList()Similar property IDs.
repeated string similar_property_ids = 17;- Specified by:
getSimilarPropertyIdsListin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- A list containing the similarPropertyIds.
-
getSimilarPropertyIdsCount
public int getSimilarPropertyIdsCount()Similar property IDs.
repeated string similar_property_ids = 17;- Specified by:
getSimilarPropertyIdsCountin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Returns:
- The count of similarPropertyIds.
-
getSimilarPropertyIds
Similar property IDs.
repeated string similar_property_ids = 17;- Specified by:
getSimilarPropertyIdsin interfaceDynamicHotelsAndRentalsAssetOrBuilder- 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:
getSimilarPropertyIdsBytesin interfaceDynamicHotelsAndRentalsAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the similarPropertyIds at the given index.
-
setSimilarPropertyIds
Similar property IDs.
repeated string similar_property_ids = 17;- Parameters:
index- The index to set the value at.value- The similarPropertyIds to set.- Returns:
- This builder for chaining.
-
addSimilarPropertyIds
Similar property IDs.
repeated string similar_property_ids = 17;- Parameters:
value- The similarPropertyIds to add.- Returns:
- This builder for chaining.
-
addAllSimilarPropertyIds
Similar property IDs.
repeated string similar_property_ids = 17;- Parameters:
values- The similarPropertyIds to add.- Returns:
- This builder for chaining.
-
clearSimilarPropertyIds
Similar property IDs.
repeated string similar_property_ids = 17;- Returns:
- This builder for chaining.
-
addSimilarPropertyIdsBytes
public DynamicHotelsAndRentalsAsset.Builder addSimilarPropertyIdsBytes(com.google.protobuf.ByteString value) Similar property IDs.
repeated string similar_property_ids = 17;- Parameters:
value- The bytes of the similarPropertyIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DynamicHotelsAndRentalsAsset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
-
mergeUnknownFields
public final DynamicHotelsAndRentalsAsset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicHotelsAndRentalsAsset.Builder>
-