com.google.ads.googleads.v17.common.DynamicRealEstateAsset Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v17/common/asset_types.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.common;
/**
*
* A dynamic real estate asset.
*
*
* Protobuf type {@code google.ads.googleads.v17.common.DynamicRealEstateAsset}
*/
public final class DynamicRealEstateAsset extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.DynamicRealEstateAsset)
DynamicRealEstateAssetOrBuilder {
private static final long serialVersionUID = 0L;
// Use DynamicRealEstateAsset.newBuilder() to construct.
private DynamicRealEstateAsset(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DynamicRealEstateAsset() {
listingId_ = "";
listingName_ = "";
cityName_ = "";
description_ = "";
address_ = "";
price_ = "";
imageUrl_ = "";
propertyType_ = "";
listingType_ = "";
contextualKeywords_ =
com.google.protobuf.LazyStringArrayList.emptyList();
formattedPrice_ = "";
androidAppLink_ = "";
iosAppLink_ = "";
similarListingIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DynamicRealEstateAsset();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicRealEstateAsset_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicRealEstateAsset_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.common.DynamicRealEstateAsset.class, com.google.ads.googleads.v17.common.DynamicRealEstateAsset.Builder.class);
}
public static final int LISTING_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object listingId_ = "";
/**
*
* Required. Listing ID which can be any sequence of letters and digits, and
* must be unique and match the values of remarketing tag. Required.
*
*
* string listing_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The listingId.
*/
@java.lang.Override
public java.lang.String getListingId() {
java.lang.Object ref = listingId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
listingId_ = s;
return s;
}
}
/**
*
* Required. Listing ID which can be any sequence of letters and digits, and
* must be unique and match the values of remarketing tag. Required.
*
*
* string listing_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for listingId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getListingIdBytes() {
java.lang.Object ref = listingId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
listingId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LISTING_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object listingName_ = "";
/**
*
* Required. Listing name, for example, Boulevard Bungalow. Required.
*
*
* string listing_name = 2 [(.google.api.field_behavior) = REQUIRED];
* @return The listingName.
*/
@java.lang.Override
public java.lang.String getListingName() {
java.lang.Object ref = listingName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
listingName_ = s;
return s;
}
}
/**
*
* Required. Listing name, for example, Boulevard Bungalow. Required.
*
*
* string listing_name = 2 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for listingName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getListingNameBytes() {
java.lang.Object ref = listingName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
listingName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CITY_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object cityName_ = "";
/**
*
* City name, for example, Mountain View, California.
*
*
* string city_name = 3;
* @return The cityName.
*/
@java.lang.Override
public java.lang.String getCityName() {
java.lang.Object ref = cityName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cityName_ = s;
return s;
}
}
/**
*
* City name, for example, Mountain View, California.
*
*
* string city_name = 3;
* @return The bytes for cityName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCityNameBytes() {
java.lang.Object ref = cityName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cityName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object description_ = "";
/**
*
* Description, for example, 3 beds, 2 baths, 1568 sq. ft.
*
*
* string description = 4;
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
}
}
/**
*
* Description, for example, 3 beds, 2 baths, 1568 sq. ft.
*
*
* string description = 4;
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ADDRESS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object address_ = "";
/**
*
* 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 = 5;
* @return The address.
*/
@java.lang.Override
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
}
}
/**
*
* 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 = 5;
* @return The bytes for address.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRICE_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object price_ = "";
/**
*
* Price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00
* USD.
*
*
* string price = 6;
* @return The price.
*/
@java.lang.Override
public java.lang.String getPrice() {
java.lang.Object ref = price_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
price_ = s;
return s;
}
}
/**
*
* Price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00
* USD.
*
*
* string price = 6;
* @return The bytes for price.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPriceBytes() {
java.lang.Object ref = price_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
price_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMAGE_URL_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object imageUrl_ = "";
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 7;
* @return The imageUrl.
*/
@java.lang.Override
public java.lang.String getImageUrl() {
java.lang.Object ref = imageUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
imageUrl_ = s;
return s;
}
}
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 7;
* @return The bytes for imageUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getImageUrlBytes() {
java.lang.Object ref = imageUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROPERTY_TYPE_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object propertyType_ = "";
/**
*
* Property type, for example, House.
*
*
* string property_type = 8;
* @return The propertyType.
*/
@java.lang.Override
public java.lang.String getPropertyType() {
java.lang.Object ref = propertyType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
propertyType_ = s;
return s;
}
}
/**
*
* Property type, for example, House.
*
*
* string property_type = 8;
* @return The bytes for propertyType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPropertyTypeBytes() {
java.lang.Object ref = propertyType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
propertyType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LISTING_TYPE_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object listingType_ = "";
/**
*
* Listing type, for example, For sale.
*
*
* string listing_type = 9;
* @return The listingType.
*/
@java.lang.Override
public java.lang.String getListingType() {
java.lang.Object ref = listingType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
listingType_ = s;
return s;
}
}
/**
*
* Listing type, for example, For sale.
*
*
* string listing_type = 9;
* @return The bytes for listingType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getListingTypeBytes() {
java.lang.Object ref = listingType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
listingType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONTEXTUAL_KEYWORDS_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList contextualKeywords_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @return A list containing the contextualKeywords.
*/
public com.google.protobuf.ProtocolStringList
getContextualKeywordsList() {
return contextualKeywords_;
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @return The count of contextualKeywords.
*/
public int getContextualKeywordsCount() {
return contextualKeywords_.size();
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @param index The index of the element to return.
* @return The contextualKeywords at the given index.
*/
public java.lang.String getContextualKeywords(int index) {
return contextualKeywords_.get(index);
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @param index The index of the value to return.
* @return The bytes of the contextualKeywords at the given index.
*/
public com.google.protobuf.ByteString
getContextualKeywordsBytes(int index) {
return contextualKeywords_.getByteString(index);
}
public static final int FORMATTED_PRICE_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object formattedPrice_ = "";
/**
*
* Formatted price which can be any characters. If set, this attribute will be
* used instead of 'price', for example, Starting at $200,000.00.
*
*
* string formatted_price = 11;
* @return The formattedPrice.
*/
@java.lang.Override
public java.lang.String getFormattedPrice() {
java.lang.Object ref = formattedPrice_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
formattedPrice_ = s;
return s;
}
}
/**
*
* Formatted price which can be any characters. If set, this attribute will be
* used instead of 'price', for example, Starting at $200,000.00.
*
*
* string formatted_price = 11;
* @return The bytes for formattedPrice.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFormattedPriceBytes() {
java.lang.Object ref = formattedPrice_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
formattedPrice_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ANDROID_APP_LINK_FIELD_NUMBER = 12;
@SuppressWarnings("serial")
private volatile java.lang.Object androidAppLink_ = "";
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 12;
* @return The androidAppLink.
*/
@java.lang.Override
public java.lang.String getAndroidAppLink() {
java.lang.Object ref = androidAppLink_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
androidAppLink_ = s;
return s;
}
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 12;
* @return The bytes for androidAppLink.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAndroidAppLinkBytes() {
java.lang.Object ref = androidAppLink_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
androidAppLink_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IOS_APP_LINK_FIELD_NUMBER = 13;
@SuppressWarnings("serial")
private volatile java.lang.Object iosAppLink_ = "";
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @return The iosAppLink.
*/
@java.lang.Override
public java.lang.String getIosAppLink() {
java.lang.Object ref = iosAppLink_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
iosAppLink_ = s;
return s;
}
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @return The bytes for iosAppLink.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIosAppLinkBytes() {
java.lang.Object ref = iosAppLink_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
iosAppLink_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IOS_APP_STORE_ID_FIELD_NUMBER = 14;
private long iosAppStoreId_ = 0L;
/**
*
* 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;
* @return The iosAppStoreId.
*/
@java.lang.Override
public long getIosAppStoreId() {
return iosAppStoreId_;
}
public static final int SIMILAR_LISTING_IDS_FIELD_NUMBER = 15;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList similarListingIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @return A list containing the similarListingIds.
*/
public com.google.protobuf.ProtocolStringList
getSimilarListingIdsList() {
return similarListingIds_;
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @return The count of similarListingIds.
*/
public int getSimilarListingIdsCount() {
return similarListingIds_.size();
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @param index The index of the element to return.
* @return The similarListingIds at the given index.
*/
public java.lang.String getSimilarListingIds(int index) {
return similarListingIds_.get(index);
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @param index The index of the value to return.
* @return The bytes of the similarListingIds at the given index.
*/
public com.google.protobuf.ByteString
getSimilarListingIdsBytes(int index) {
return similarListingIds_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listingId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, listingId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listingName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, listingName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cityName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, cityName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, address_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(price_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, price_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, imageUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propertyType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, propertyType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listingType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, listingType_);
}
for (int i = 0; i < contextualKeywords_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, contextualKeywords_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedPrice_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, formattedPrice_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(androidAppLink_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, androidAppLink_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iosAppLink_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, iosAppLink_);
}
if (iosAppStoreId_ != 0L) {
output.writeInt64(14, iosAppStoreId_);
}
for (int i = 0; i < similarListingIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, similarListingIds_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listingId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, listingId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listingName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, listingName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cityName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cityName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, address_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(price_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, price_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, imageUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propertyType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, propertyType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listingType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, listingType_);
}
{
int dataSize = 0;
for (int i = 0; i < contextualKeywords_.size(); i++) {
dataSize += computeStringSizeNoTag(contextualKeywords_.getRaw(i));
}
size += dataSize;
size += 1 * getContextualKeywordsList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedPrice_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, formattedPrice_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(androidAppLink_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, androidAppLink_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iosAppLink_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, iosAppLink_);
}
if (iosAppStoreId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, iosAppStoreId_);
}
{
int dataSize = 0;
for (int i = 0; i < similarListingIds_.size(); i++) {
dataSize += computeStringSizeNoTag(similarListingIds_.getRaw(i));
}
size += dataSize;
size += 1 * getSimilarListingIdsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.ads.googleads.v17.common.DynamicRealEstateAsset)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.common.DynamicRealEstateAsset other = (com.google.ads.googleads.v17.common.DynamicRealEstateAsset) obj;
if (!getListingId()
.equals(other.getListingId())) return false;
if (!getListingName()
.equals(other.getListingName())) return false;
if (!getCityName()
.equals(other.getCityName())) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (!getAddress()
.equals(other.getAddress())) return false;
if (!getPrice()
.equals(other.getPrice())) return false;
if (!getImageUrl()
.equals(other.getImageUrl())) return false;
if (!getPropertyType()
.equals(other.getPropertyType())) return false;
if (!getListingType()
.equals(other.getListingType())) return false;
if (!getContextualKeywordsList()
.equals(other.getContextualKeywordsList())) return false;
if (!getFormattedPrice()
.equals(other.getFormattedPrice())) return false;
if (!getAndroidAppLink()
.equals(other.getAndroidAppLink())) return false;
if (!getIosAppLink()
.equals(other.getIosAppLink())) return false;
if (getIosAppStoreId()
!= other.getIosAppStoreId()) return false;
if (!getSimilarListingIdsList()
.equals(other.getSimilarListingIdsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + LISTING_ID_FIELD_NUMBER;
hash = (53 * hash) + getListingId().hashCode();
hash = (37 * hash) + LISTING_NAME_FIELD_NUMBER;
hash = (53 * hash) + getListingName().hashCode();
hash = (37 * hash) + CITY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getCityName().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddress().hashCode();
hash = (37 * hash) + PRICE_FIELD_NUMBER;
hash = (53 * hash) + getPrice().hashCode();
hash = (37 * hash) + IMAGE_URL_FIELD_NUMBER;
hash = (53 * hash) + getImageUrl().hashCode();
hash = (37 * hash) + PROPERTY_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getPropertyType().hashCode();
hash = (37 * hash) + LISTING_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getListingType().hashCode();
if (getContextualKeywordsCount() > 0) {
hash = (37 * hash) + CONTEXTUAL_KEYWORDS_FIELD_NUMBER;
hash = (53 * hash) + getContextualKeywordsList().hashCode();
}
hash = (37 * hash) + FORMATTED_PRICE_FIELD_NUMBER;
hash = (53 * hash) + getFormattedPrice().hashCode();
hash = (37 * hash) + ANDROID_APP_LINK_FIELD_NUMBER;
hash = (53 * hash) + getAndroidAppLink().hashCode();
hash = (37 * hash) + IOS_APP_LINK_FIELD_NUMBER;
hash = (53 * hash) + getIosAppLink().hashCode();
hash = (37 * hash) + IOS_APP_STORE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIosAppStoreId());
if (getSimilarListingIdsCount() > 0) {
hash = (37 * hash) + SIMILAR_LISTING_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSimilarListingIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.ads.googleads.v17.common.DynamicRealEstateAsset prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* A dynamic real estate asset.
*
*
* Protobuf type {@code google.ads.googleads.v17.common.DynamicRealEstateAsset}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.DynamicRealEstateAsset)
com.google.ads.googleads.v17.common.DynamicRealEstateAssetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicRealEstateAsset_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicRealEstateAsset_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.common.DynamicRealEstateAsset.class, com.google.ads.googleads.v17.common.DynamicRealEstateAsset.Builder.class);
}
// Construct using com.google.ads.googleads.v17.common.DynamicRealEstateAsset.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
listingId_ = "";
listingName_ = "";
cityName_ = "";
description_ = "";
address_ = "";
price_ = "";
imageUrl_ = "";
propertyType_ = "";
listingType_ = "";
contextualKeywords_ =
com.google.protobuf.LazyStringArrayList.emptyList();
formattedPrice_ = "";
androidAppLink_ = "";
iosAppLink_ = "";
iosAppStoreId_ = 0L;
similarListingIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicRealEstateAsset_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.DynamicRealEstateAsset getDefaultInstanceForType() {
return com.google.ads.googleads.v17.common.DynamicRealEstateAsset.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.common.DynamicRealEstateAsset build() {
com.google.ads.googleads.v17.common.DynamicRealEstateAsset result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.DynamicRealEstateAsset buildPartial() {
com.google.ads.googleads.v17.common.DynamicRealEstateAsset result = new com.google.ads.googleads.v17.common.DynamicRealEstateAsset(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.ads.googleads.v17.common.DynamicRealEstateAsset result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.listingId_ = listingId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.listingName_ = listingName_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.cityName_ = cityName_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.description_ = description_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.address_ = address_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.price_ = price_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.imageUrl_ = imageUrl_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.propertyType_ = propertyType_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.listingType_ = listingType_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
contextualKeywords_.makeImmutable();
result.contextualKeywords_ = contextualKeywords_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.formattedPrice_ = formattedPrice_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.androidAppLink_ = androidAppLink_;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.iosAppLink_ = iosAppLink_;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.iosAppStoreId_ = iosAppStoreId_;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
similarListingIds_.makeImmutable();
result.similarListingIds_ = similarListingIds_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.ads.googleads.v17.common.DynamicRealEstateAsset) {
return mergeFrom((com.google.ads.googleads.v17.common.DynamicRealEstateAsset)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.common.DynamicRealEstateAsset other) {
if (other == com.google.ads.googleads.v17.common.DynamicRealEstateAsset.getDefaultInstance()) return this;
if (!other.getListingId().isEmpty()) {
listingId_ = other.listingId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getListingName().isEmpty()) {
listingName_ = other.listingName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getCityName().isEmpty()) {
cityName_ = other.cityName_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getAddress().isEmpty()) {
address_ = other.address_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getPrice().isEmpty()) {
price_ = other.price_;
bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getImageUrl().isEmpty()) {
imageUrl_ = other.imageUrl_;
bitField0_ |= 0x00000040;
onChanged();
}
if (!other.getPropertyType().isEmpty()) {
propertyType_ = other.propertyType_;
bitField0_ |= 0x00000080;
onChanged();
}
if (!other.getListingType().isEmpty()) {
listingType_ = other.listingType_;
bitField0_ |= 0x00000100;
onChanged();
}
if (!other.contextualKeywords_.isEmpty()) {
if (contextualKeywords_.isEmpty()) {
contextualKeywords_ = other.contextualKeywords_;
bitField0_ |= 0x00000200;
} else {
ensureContextualKeywordsIsMutable();
contextualKeywords_.addAll(other.contextualKeywords_);
}
onChanged();
}
if (!other.getFormattedPrice().isEmpty()) {
formattedPrice_ = other.formattedPrice_;
bitField0_ |= 0x00000400;
onChanged();
}
if (!other.getAndroidAppLink().isEmpty()) {
androidAppLink_ = other.androidAppLink_;
bitField0_ |= 0x00000800;
onChanged();
}
if (!other.getIosAppLink().isEmpty()) {
iosAppLink_ = other.iosAppLink_;
bitField0_ |= 0x00001000;
onChanged();
}
if (other.getIosAppStoreId() != 0L) {
setIosAppStoreId(other.getIosAppStoreId());
}
if (!other.similarListingIds_.isEmpty()) {
if (similarListingIds_.isEmpty()) {
similarListingIds_ = other.similarListingIds_;
bitField0_ |= 0x00004000;
} else {
ensureSimilarListingIdsIsMutable();
similarListingIds_.addAll(other.similarListingIds_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
listingId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
listingName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
cityName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
description_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
address_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
price_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
imageUrl_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
propertyType_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
listingType_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
java.lang.String s = input.readStringRequireUtf8();
ensureContextualKeywordsIsMutable();
contextualKeywords_.add(s);
break;
} // case 82
case 90: {
formattedPrice_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 90
case 98: {
androidAppLink_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 98
case 106: {
iosAppLink_ = input.readStringRequireUtf8();
bitField0_ |= 0x00001000;
break;
} // case 106
case 112: {
iosAppStoreId_ = input.readInt64();
bitField0_ |= 0x00002000;
break;
} // case 112
case 122: {
java.lang.String s = input.readStringRequireUtf8();
ensureSimilarListingIdsIsMutable();
similarListingIds_.add(s);
break;
} // case 122
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object listingId_ = "";
/**
*
* Required. Listing ID which can be any sequence of letters and digits, and
* must be unique and match the values of remarketing tag. Required.
*
*
* string listing_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The listingId.
*/
public java.lang.String getListingId() {
java.lang.Object ref = listingId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
listingId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Required. Listing ID which can be any sequence of letters and digits, and
* must be unique and match the values of remarketing tag. Required.
*
*
* string listing_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for listingId.
*/
public com.google.protobuf.ByteString
getListingIdBytes() {
java.lang.Object ref = listingId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
listingId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Required. Listing ID which can be any sequence of letters and digits, and
* must be unique and match the values of remarketing tag. Required.
*
*
* string listing_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @param value The listingId to set.
* @return This builder for chaining.
*/
public Builder setListingId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
listingId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Required. Listing ID which can be any sequence of letters and digits, and
* must be unique and match the values of remarketing tag. Required.
*
*
* string listing_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return This builder for chaining.
*/
public Builder clearListingId() {
listingId_ = getDefaultInstance().getListingId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Required. Listing ID which can be any sequence of letters and digits, and
* must be unique and match the values of remarketing tag. Required.
*
*
* string listing_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @param value The bytes for listingId to set.
* @return This builder for chaining.
*/
public Builder setListingIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
listingId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object listingName_ = "";
/**
*
* Required. Listing name, for example, Boulevard Bungalow. Required.
*
*
* string listing_name = 2 [(.google.api.field_behavior) = REQUIRED];
* @return The listingName.
*/
public java.lang.String getListingName() {
java.lang.Object ref = listingName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
listingName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Required. Listing name, for example, Boulevard Bungalow. Required.
*
*
* string listing_name = 2 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for listingName.
*/
public com.google.protobuf.ByteString
getListingNameBytes() {
java.lang.Object ref = listingName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
listingName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Required. Listing name, for example, Boulevard Bungalow. Required.
*
*
* string listing_name = 2 [(.google.api.field_behavior) = REQUIRED];
* @param value The listingName to set.
* @return This builder for chaining.
*/
public Builder setListingName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
listingName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Required. Listing name, for example, Boulevard Bungalow. Required.
*
*
* string listing_name = 2 [(.google.api.field_behavior) = REQUIRED];
* @return This builder for chaining.
*/
public Builder clearListingName() {
listingName_ = getDefaultInstance().getListingName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* Required. Listing name, for example, Boulevard Bungalow. Required.
*
*
* string listing_name = 2 [(.google.api.field_behavior) = REQUIRED];
* @param value The bytes for listingName to set.
* @return This builder for chaining.
*/
public Builder setListingNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
listingName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object cityName_ = "";
/**
*
* City name, for example, Mountain View, California.
*
*
* string city_name = 3;
* @return The cityName.
*/
public java.lang.String getCityName() {
java.lang.Object ref = cityName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cityName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* City name, for example, Mountain View, California.
*
*
* string city_name = 3;
* @return The bytes for cityName.
*/
public com.google.protobuf.ByteString
getCityNameBytes() {
java.lang.Object ref = cityName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cityName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* City name, for example, Mountain View, California.
*
*
* string city_name = 3;
* @param value The cityName to set.
* @return This builder for chaining.
*/
public Builder setCityName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cityName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* City name, for example, Mountain View, California.
*
*
* string city_name = 3;
* @return This builder for chaining.
*/
public Builder clearCityName() {
cityName_ = getDefaultInstance().getCityName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* City name, for example, Mountain View, California.
*
*
* string city_name = 3;
* @param value The bytes for cityName to set.
* @return This builder for chaining.
*/
public Builder setCityNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
cityName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
*
* Description, for example, 3 beds, 2 baths, 1568 sq. ft.
*
*
* string description = 4;
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Description, for example, 3 beds, 2 baths, 1568 sq. ft.
*
*
* string description = 4;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Description, for example, 3 beds, 2 baths, 1568 sq. ft.
*
*
* string description = 4;
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
description_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Description, for example, 3 beds, 2 baths, 1568 sq. ft.
*
*
* string description = 4;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* Description, for example, 3 beds, 2 baths, 1568 sq. ft.
*
*
* string description = 4;
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
description_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object address_ = "";
/**
*
* 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 = 5;
* @return The address.
*/
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 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 = 5;
* @return The bytes for address.
*/
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 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 = 5;
* @param value The address to set.
* @return This builder for chaining.
*/
public Builder setAddress(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
address_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* 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 = 5;
* @return This builder for chaining.
*/
public Builder clearAddress() {
address_ = getDefaultInstance().getAddress();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
*
* 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 = 5;
* @param value The bytes for address to set.
* @return This builder for chaining.
*/
public Builder setAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
address_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object price_ = "";
/**
*
* Price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00
* USD.
*
*
* string price = 6;
* @return The price.
*/
public java.lang.String getPrice() {
java.lang.Object ref = price_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
price_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00
* USD.
*
*
* string price = 6;
* @return The bytes for price.
*/
public com.google.protobuf.ByteString
getPriceBytes() {
java.lang.Object ref = price_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
price_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00
* USD.
*
*
* string price = 6;
* @param value The price to set.
* @return This builder for chaining.
*/
public Builder setPrice(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
price_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00
* USD.
*
*
* string price = 6;
* @return This builder for chaining.
*/
public Builder clearPrice() {
price_ = getDefaultInstance().getPrice();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
*
* Price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00
* USD.
*
*
* string price = 6;
* @param value The bytes for price to set.
* @return This builder for chaining.
*/
public Builder setPriceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
price_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object imageUrl_ = "";
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 7;
* @return The imageUrl.
*/
public java.lang.String getImageUrl() {
java.lang.Object ref = imageUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
imageUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 7;
* @return The bytes for imageUrl.
*/
public com.google.protobuf.ByteString
getImageUrlBytes() {
java.lang.Object ref = imageUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 7;
* @param value The imageUrl to set.
* @return This builder for chaining.
*/
public Builder setImageUrl(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
imageUrl_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 7;
* @return This builder for chaining.
*/
public Builder clearImageUrl() {
imageUrl_ = getDefaultInstance().getImageUrl();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 7;
* @param value The bytes for imageUrl to set.
* @return This builder for chaining.
*/
public Builder setImageUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
imageUrl_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object propertyType_ = "";
/**
*
* Property type, for example, House.
*
*
* string property_type = 8;
* @return The propertyType.
*/
public java.lang.String getPropertyType() {
java.lang.Object ref = propertyType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
propertyType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Property type, for example, House.
*
*
* string property_type = 8;
* @return The bytes for propertyType.
*/
public com.google.protobuf.ByteString
getPropertyTypeBytes() {
java.lang.Object ref = propertyType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
propertyType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Property type, for example, House.
*
*
* string property_type = 8;
* @param value The propertyType to set.
* @return This builder for chaining.
*/
public Builder setPropertyType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
propertyType_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Property type, for example, House.
*
*
* string property_type = 8;
* @return This builder for chaining.
*/
public Builder clearPropertyType() {
propertyType_ = getDefaultInstance().getPropertyType();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
*
* Property type, for example, House.
*
*
* string property_type = 8;
* @param value The bytes for propertyType to set.
* @return This builder for chaining.
*/
public Builder setPropertyTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
propertyType_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object listingType_ = "";
/**
*
* Listing type, for example, For sale.
*
*
* string listing_type = 9;
* @return The listingType.
*/
public java.lang.String getListingType() {
java.lang.Object ref = listingType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
listingType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Listing type, for example, For sale.
*
*
* string listing_type = 9;
* @return The bytes for listingType.
*/
public com.google.protobuf.ByteString
getListingTypeBytes() {
java.lang.Object ref = listingType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
listingType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Listing type, for example, For sale.
*
*
* string listing_type = 9;
* @param value The listingType to set.
* @return This builder for chaining.
*/
public Builder setListingType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
listingType_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Listing type, for example, For sale.
*
*
* string listing_type = 9;
* @return This builder for chaining.
*/
public Builder clearListingType() {
listingType_ = getDefaultInstance().getListingType();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
*
* Listing type, for example, For sale.
*
*
* string listing_type = 9;
* @param value The bytes for listingType to set.
* @return This builder for chaining.
*/
public Builder setListingTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
listingType_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList contextualKeywords_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureContextualKeywordsIsMutable() {
if (!contextualKeywords_.isModifiable()) {
contextualKeywords_ = new com.google.protobuf.LazyStringArrayList(contextualKeywords_);
}
bitField0_ |= 0x00000200;
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @return A list containing the contextualKeywords.
*/
public com.google.protobuf.ProtocolStringList
getContextualKeywordsList() {
contextualKeywords_.makeImmutable();
return contextualKeywords_;
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @return The count of contextualKeywords.
*/
public int getContextualKeywordsCount() {
return contextualKeywords_.size();
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @param index The index of the element to return.
* @return The contextualKeywords at the given index.
*/
public java.lang.String getContextualKeywords(int index) {
return contextualKeywords_.get(index);
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @param index The index of the value to return.
* @return The bytes of the contextualKeywords at the given index.
*/
public com.google.protobuf.ByteString
getContextualKeywordsBytes(int index) {
return contextualKeywords_.getByteString(index);
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @param index The index to set the value at.
* @param value The contextualKeywords to set.
* @return This builder for chaining.
*/
public Builder setContextualKeywords(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureContextualKeywordsIsMutable();
contextualKeywords_.set(index, value);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @param value The contextualKeywords to add.
* @return This builder for chaining.
*/
public Builder addContextualKeywords(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureContextualKeywordsIsMutable();
contextualKeywords_.add(value);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @param values The contextualKeywords to add.
* @return This builder for chaining.
*/
public Builder addAllContextualKeywords(
java.lang.Iterable values) {
ensureContextualKeywordsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, contextualKeywords_);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @return This builder for chaining.
*/
public Builder clearContextualKeywords() {
contextualKeywords_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);;
onChanged();
return this;
}
/**
*
* Contextual keywords, for example, For sale; Houses for sale.
*
*
* repeated string contextual_keywords = 10;
* @param value The bytes of the contextualKeywords to add.
* @return This builder for chaining.
*/
public Builder addContextualKeywordsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureContextualKeywordsIsMutable();
contextualKeywords_.add(value);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
private java.lang.Object formattedPrice_ = "";
/**
*
* Formatted price which can be any characters. If set, this attribute will be
* used instead of 'price', for example, Starting at $200,000.00.
*
*
* string formatted_price = 11;
* @return The formattedPrice.
*/
public java.lang.String getFormattedPrice() {
java.lang.Object ref = formattedPrice_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
formattedPrice_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Formatted price which can be any characters. If set, this attribute will be
* used instead of 'price', for example, Starting at $200,000.00.
*
*
* string formatted_price = 11;
* @return The bytes for formattedPrice.
*/
public com.google.protobuf.ByteString
getFormattedPriceBytes() {
java.lang.Object ref = formattedPrice_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
formattedPrice_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Formatted price which can be any characters. If set, this attribute will be
* used instead of 'price', for example, Starting at $200,000.00.
*
*
* string formatted_price = 11;
* @param value The formattedPrice to set.
* @return This builder for chaining.
*/
public Builder setFormattedPrice(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
formattedPrice_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* Formatted price which can be any characters. If set, this attribute will be
* used instead of 'price', for example, Starting at $200,000.00.
*
*
* string formatted_price = 11;
* @return This builder for chaining.
*/
public Builder clearFormattedPrice() {
formattedPrice_ = getDefaultInstance().getFormattedPrice();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
*
* Formatted price which can be any characters. If set, this attribute will be
* used instead of 'price', for example, Starting at $200,000.00.
*
*
* string formatted_price = 11;
* @param value The bytes for formattedPrice to set.
* @return This builder for chaining.
*/
public Builder setFormattedPriceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
formattedPrice_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object androidAppLink_ = "";
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 12;
* @return The androidAppLink.
*/
public java.lang.String getAndroidAppLink() {
java.lang.Object ref = androidAppLink_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
androidAppLink_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 12;
* @return The bytes for androidAppLink.
*/
public com.google.protobuf.ByteString
getAndroidAppLinkBytes() {
java.lang.Object ref = androidAppLink_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
androidAppLink_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 12;
* @param value The androidAppLink to set.
* @return This builder for chaining.
*/
public Builder setAndroidAppLink(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
androidAppLink_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 12;
* @return This builder for chaining.
*/
public Builder clearAndroidAppLink() {
androidAppLink_ = getDefaultInstance().getAndroidAppLink();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 12;
* @param value The bytes for androidAppLink to set.
* @return This builder for chaining.
*/
public Builder setAndroidAppLinkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
androidAppLink_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private java.lang.Object iosAppLink_ = "";
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @return The iosAppLink.
*/
public java.lang.String getIosAppLink() {
java.lang.Object ref = iosAppLink_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
iosAppLink_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @return The bytes for iosAppLink.
*/
public com.google.protobuf.ByteString
getIosAppLinkBytes() {
java.lang.Object ref = iosAppLink_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
iosAppLink_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @param value The iosAppLink to set.
* @return This builder for chaining.
*/
public Builder setIosAppLink(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
iosAppLink_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @return This builder for chaining.
*/
public Builder clearIosAppLink() {
iosAppLink_ = getDefaultInstance().getIosAppLink();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @param value The bytes for iosAppLink to set.
* @return This builder for chaining.
*/
public Builder setIosAppLinkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
iosAppLink_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
private long iosAppStoreId_ ;
/**
*
* 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;
* @return The iosAppStoreId.
*/
@java.lang.Override
public long getIosAppStoreId() {
return iosAppStoreId_;
}
/**
*
* 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;
* @param value The iosAppStoreId to set.
* @return This builder for chaining.
*/
public Builder setIosAppStoreId(long value) {
iosAppStoreId_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
*
* 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;
* @return This builder for chaining.
*/
public Builder clearIosAppStoreId() {
bitField0_ = (bitField0_ & ~0x00002000);
iosAppStoreId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList similarListingIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureSimilarListingIdsIsMutable() {
if (!similarListingIds_.isModifiable()) {
similarListingIds_ = new com.google.protobuf.LazyStringArrayList(similarListingIds_);
}
bitField0_ |= 0x00004000;
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @return A list containing the similarListingIds.
*/
public com.google.protobuf.ProtocolStringList
getSimilarListingIdsList() {
similarListingIds_.makeImmutable();
return similarListingIds_;
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @return The count of similarListingIds.
*/
public int getSimilarListingIdsCount() {
return similarListingIds_.size();
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @param index The index of the element to return.
* @return The similarListingIds at the given index.
*/
public java.lang.String getSimilarListingIds(int index) {
return similarListingIds_.get(index);
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @param index The index of the value to return.
* @return The bytes of the similarListingIds at the given index.
*/
public com.google.protobuf.ByteString
getSimilarListingIdsBytes(int index) {
return similarListingIds_.getByteString(index);
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @param index The index to set the value at.
* @param value The similarListingIds to set.
* @return This builder for chaining.
*/
public Builder setSimilarListingIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureSimilarListingIdsIsMutable();
similarListingIds_.set(index, value);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @param value The similarListingIds to add.
* @return This builder for chaining.
*/
public Builder addSimilarListingIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureSimilarListingIdsIsMutable();
similarListingIds_.add(value);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @param values The similarListingIds to add.
* @return This builder for chaining.
*/
public Builder addAllSimilarListingIds(
java.lang.Iterable values) {
ensureSimilarListingIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, similarListingIds_);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @return This builder for chaining.
*/
public Builder clearSimilarListingIds() {
similarListingIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00004000);;
onChanged();
return this;
}
/**
*
* Similar listing IDs.
*
*
* repeated string similar_listing_ids = 15;
* @param value The bytes of the similarListingIds to add.
* @return This builder for chaining.
*/
public Builder addSimilarListingIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureSimilarListingIdsIsMutable();
similarListingIds_.add(value);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.ads.googleads.v17.common.DynamicRealEstateAsset)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.DynamicRealEstateAsset)
private static final com.google.ads.googleads.v17.common.DynamicRealEstateAsset DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.DynamicRealEstateAsset();
}
public static com.google.ads.googleads.v17.common.DynamicRealEstateAsset getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DynamicRealEstateAsset parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.DynamicRealEstateAsset getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy