com.google.ads.googleads.v17.common.DynamicFlightsAsset 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 flights asset.
*
*
* Protobuf type {@code google.ads.googleads.v17.common.DynamicFlightsAsset}
*/
public final class DynamicFlightsAsset extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.DynamicFlightsAsset)
DynamicFlightsAssetOrBuilder {
private static final long serialVersionUID = 0L;
// Use DynamicFlightsAsset.newBuilder() to construct.
private DynamicFlightsAsset(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DynamicFlightsAsset() {
destinationId_ = "";
originId_ = "";
flightDescription_ = "";
imageUrl_ = "";
destinationName_ = "";
originName_ = "";
flightPrice_ = "";
flightSalePrice_ = "";
formattedPrice_ = "";
formattedSalePrice_ = "";
androidAppLink_ = "";
iosAppLink_ = "";
similarDestinationIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
customMapping_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DynamicFlightsAsset();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicFlightsAsset_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_DynamicFlightsAsset_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.common.DynamicFlightsAsset.class, com.google.ads.googleads.v17.common.DynamicFlightsAsset.Builder.class);
}
public static final int DESTINATION_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object destinationId_ = "";
/**
*
* Required. Destination ID which can be any sequence of letters and digits,
* and must be unique and match the values of remarketing tag. Required.
*
*
* string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The destinationId.
*/
@java.lang.Override
public java.lang.String getDestinationId() {
java.lang.Object ref = destinationId_;
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();
destinationId_ = s;
return s;
}
}
/**
*
* Required. Destination ID which can be any sequence of letters and digits,
* and must be unique and match the values of remarketing tag. Required.
*
*
* string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for destinationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDestinationIdBytes() {
java.lang.Object ref = destinationId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
destinationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ORIGIN_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object originId_ = "";
/**
*
* Origin ID which can be any sequence of letters and digits. The ID sequence
* (destination ID + origin ID) must be unique.
*
*
* string origin_id = 2;
* @return The originId.
*/
@java.lang.Override
public java.lang.String getOriginId() {
java.lang.Object ref = originId_;
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();
originId_ = s;
return s;
}
}
/**
*
* Origin ID which can be any sequence of letters and digits. The ID sequence
* (destination ID + origin ID) must be unique.
*
*
* string origin_id = 2;
* @return The bytes for originId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOriginIdBytes() {
java.lang.Object ref = originId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
originId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FLIGHT_DESCRIPTION_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object flightDescription_ = "";
/**
*
* Required. Flight description, for example, Book your ticket. Required.
*
*
* string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];
* @return The flightDescription.
*/
@java.lang.Override
public java.lang.String getFlightDescription() {
java.lang.Object ref = flightDescription_;
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();
flightDescription_ = s;
return s;
}
}
/**
*
* Required. Flight description, for example, Book your ticket. Required.
*
*
* string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for flightDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFlightDescriptionBytes() {
java.lang.Object ref = flightDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
flightDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMAGE_URL_FIELD_NUMBER = 4;
@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 = 4;
* @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 = 4;
* @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 DESTINATION_NAME_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object destinationName_ = "";
/**
*
* Destination name, for example, Paris.
*
*
* string destination_name = 5;
* @return The destinationName.
*/
@java.lang.Override
public java.lang.String getDestinationName() {
java.lang.Object ref = destinationName_;
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();
destinationName_ = s;
return s;
}
}
/**
*
* Destination name, for example, Paris.
*
*
* string destination_name = 5;
* @return The bytes for destinationName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDestinationNameBytes() {
java.lang.Object ref = destinationName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
destinationName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ORIGIN_NAME_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object originName_ = "";
/**
*
* Origin name, for example, London.
*
*
* string origin_name = 6;
* @return The originName.
*/
@java.lang.Override
public java.lang.String getOriginName() {
java.lang.Object ref = originName_;
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();
originName_ = s;
return s;
}
}
/**
*
* Origin name, for example, London.
*
*
* string origin_name = 6;
* @return The bytes for originName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOriginNameBytes() {
java.lang.Object ref = originName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
originName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FLIGHT_PRICE_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object flightPrice_ = "";
/**
*
* Flight price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
*
*
* string flight_price = 7;
* @return The flightPrice.
*/
@java.lang.Override
public java.lang.String getFlightPrice() {
java.lang.Object ref = flightPrice_;
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();
flightPrice_ = s;
return s;
}
}
/**
*
* Flight price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
*
*
* string flight_price = 7;
* @return The bytes for flightPrice.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFlightPriceBytes() {
java.lang.Object ref = flightPrice_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
flightPrice_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FLIGHT_SALE_PRICE_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object flightSalePrice_ = "";
/**
*
* Flight sale price which can be number followed by the alphabetic currency
* code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00
* USD. Must be less than the 'flight_price' field.
*
*
* string flight_sale_price = 8;
* @return The flightSalePrice.
*/
@java.lang.Override
public java.lang.String getFlightSalePrice() {
java.lang.Object ref = flightSalePrice_;
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();
flightSalePrice_ = s;
return s;
}
}
/**
*
* Flight sale price which can be number followed by the alphabetic currency
* code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00
* USD. Must be less than the 'flight_price' field.
*
*
* string flight_sale_price = 8;
* @return The bytes for flightSalePrice.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFlightSalePriceBytes() {
java.lang.Object ref = flightSalePrice_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
flightSalePrice_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FORMATTED_PRICE_FIELD_NUMBER = 9;
@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 $100.00.
*
*
* string formatted_price = 9;
* @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 $100.00.
*
*
* string formatted_price = 9;
* @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 FORMATTED_SALE_PRICE_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object formattedSalePrice_ = "";
/**
*
* Formatted sale price which can be any characters. If set, this attribute
* will be used instead of 'sale price', for example, On sale for $80.00.
*
*
* string formatted_sale_price = 10;
* @return The formattedSalePrice.
*/
@java.lang.Override
public java.lang.String getFormattedSalePrice() {
java.lang.Object ref = formattedSalePrice_;
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();
formattedSalePrice_ = s;
return s;
}
}
/**
*
* Formatted sale price which can be any characters. If set, this attribute
* will be used instead of 'sale price', for example, On sale for $80.00.
*
*
* string formatted_sale_price = 10;
* @return The bytes for formattedSalePrice.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFormattedSalePriceBytes() {
java.lang.Object ref = formattedSalePrice_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
formattedSalePrice_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ANDROID_APP_LINK_FIELD_NUMBER = 11;
@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 = 11;
* @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 = 11;
* @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 = 12;
@SuppressWarnings("serial")
private volatile java.lang.Object iosAppLink_ = "";
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 12;
* @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 = 12;
* @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 = 13;
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 = 13;
* @return The iosAppStoreId.
*/
@java.lang.Override
public long getIosAppStoreId() {
return iosAppStoreId_;
}
public static final int SIMILAR_DESTINATION_IDS_FIELD_NUMBER = 14;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList similarDestinationIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @return A list containing the similarDestinationIds.
*/
public com.google.protobuf.ProtocolStringList
getSimilarDestinationIdsList() {
return similarDestinationIds_;
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @return The count of similarDestinationIds.
*/
public int getSimilarDestinationIdsCount() {
return similarDestinationIds_.size();
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @param index The index of the element to return.
* @return The similarDestinationIds at the given index.
*/
public java.lang.String getSimilarDestinationIds(int index) {
return similarDestinationIds_.get(index);
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @param index The index of the value to return.
* @return The bytes of the similarDestinationIds at the given index.
*/
public com.google.protobuf.ByteString
getSimilarDestinationIdsBytes(int index) {
return similarDestinationIds_.getByteString(index);
}
public static final int CUSTOM_MAPPING_FIELD_NUMBER = 15;
@SuppressWarnings("serial")
private volatile java.lang.Object customMapping_ = "";
/**
*
* A custom field which can be multiple key to values mapping separated by
* delimiters (",", "|" and ":"), in the forms of
* "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ...
* ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" for example, wifi:
* most | aircraft: 320, 77W | flights: 42 | legroom: 32".
*
*
* string custom_mapping = 15;
* @return The customMapping.
*/
@java.lang.Override
public java.lang.String getCustomMapping() {
java.lang.Object ref = customMapping_;
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();
customMapping_ = s;
return s;
}
}
/**
*
* A custom field which can be multiple key to values mapping separated by
* delimiters (",", "|" and ":"), in the forms of
* "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ...
* ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" for example, wifi:
* most | aircraft: 320, 77W | flights: 42 | legroom: 32".
*
*
* string custom_mapping = 15;
* @return The bytes for customMapping.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCustomMappingBytes() {
java.lang.Object ref = customMapping_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
customMapping_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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(destinationId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destinationId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(originId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, originId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flightDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, flightDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, imageUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, destinationName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(originName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, originName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flightPrice_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, flightPrice_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flightSalePrice_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, flightSalePrice_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedPrice_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, formattedPrice_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedSalePrice_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, formattedSalePrice_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(androidAppLink_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, androidAppLink_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iosAppLink_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, iosAppLink_);
}
if (iosAppStoreId_ != 0L) {
output.writeInt64(13, iosAppStoreId_);
}
for (int i = 0; i < similarDestinationIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, similarDestinationIds_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customMapping_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, customMapping_);
}
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(destinationId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destinationId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(originId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, originId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flightDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, flightDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, imageUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, destinationName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(originName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, originName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flightPrice_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, flightPrice_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flightSalePrice_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, flightSalePrice_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedPrice_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, formattedPrice_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedSalePrice_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, formattedSalePrice_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(androidAppLink_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, androidAppLink_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iosAppLink_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, iosAppLink_);
}
if (iosAppStoreId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(13, iosAppStoreId_);
}
{
int dataSize = 0;
for (int i = 0; i < similarDestinationIds_.size(); i++) {
dataSize += computeStringSizeNoTag(similarDestinationIds_.getRaw(i));
}
size += dataSize;
size += 1 * getSimilarDestinationIdsList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customMapping_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, customMapping_);
}
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.DynamicFlightsAsset)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.common.DynamicFlightsAsset other = (com.google.ads.googleads.v17.common.DynamicFlightsAsset) obj;
if (!getDestinationId()
.equals(other.getDestinationId())) return false;
if (!getOriginId()
.equals(other.getOriginId())) return false;
if (!getFlightDescription()
.equals(other.getFlightDescription())) return false;
if (!getImageUrl()
.equals(other.getImageUrl())) return false;
if (!getDestinationName()
.equals(other.getDestinationName())) return false;
if (!getOriginName()
.equals(other.getOriginName())) return false;
if (!getFlightPrice()
.equals(other.getFlightPrice())) return false;
if (!getFlightSalePrice()
.equals(other.getFlightSalePrice())) return false;
if (!getFormattedPrice()
.equals(other.getFormattedPrice())) return false;
if (!getFormattedSalePrice()
.equals(other.getFormattedSalePrice())) return false;
if (!getAndroidAppLink()
.equals(other.getAndroidAppLink())) return false;
if (!getIosAppLink()
.equals(other.getIosAppLink())) return false;
if (getIosAppStoreId()
!= other.getIosAppStoreId()) return false;
if (!getSimilarDestinationIdsList()
.equals(other.getSimilarDestinationIdsList())) return false;
if (!getCustomMapping()
.equals(other.getCustomMapping())) 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) + DESTINATION_ID_FIELD_NUMBER;
hash = (53 * hash) + getDestinationId().hashCode();
hash = (37 * hash) + ORIGIN_ID_FIELD_NUMBER;
hash = (53 * hash) + getOriginId().hashCode();
hash = (37 * hash) + FLIGHT_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getFlightDescription().hashCode();
hash = (37 * hash) + IMAGE_URL_FIELD_NUMBER;
hash = (53 * hash) + getImageUrl().hashCode();
hash = (37 * hash) + DESTINATION_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDestinationName().hashCode();
hash = (37 * hash) + ORIGIN_NAME_FIELD_NUMBER;
hash = (53 * hash) + getOriginName().hashCode();
hash = (37 * hash) + FLIGHT_PRICE_FIELD_NUMBER;
hash = (53 * hash) + getFlightPrice().hashCode();
hash = (37 * hash) + FLIGHT_SALE_PRICE_FIELD_NUMBER;
hash = (53 * hash) + getFlightSalePrice().hashCode();
hash = (37 * hash) + FORMATTED_PRICE_FIELD_NUMBER;
hash = (53 * hash) + getFormattedPrice().hashCode();
hash = (37 * hash) + FORMATTED_SALE_PRICE_FIELD_NUMBER;
hash = (53 * hash) + getFormattedSalePrice().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 (getSimilarDestinationIdsCount() > 0) {
hash = (37 * hash) + SIMILAR_DESTINATION_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSimilarDestinationIdsList().hashCode();
}
hash = (37 * hash) + CUSTOM_MAPPING_FIELD_NUMBER;
hash = (53 * hash) + getCustomMapping().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v17.common.DynamicFlightsAsset parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.DynamicFlightsAsset 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.DynamicFlightsAsset parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.DynamicFlightsAsset 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.DynamicFlightsAsset parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.DynamicFlightsAsset 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.DynamicFlightsAsset 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.DynamicFlightsAsset 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.DynamicFlightsAsset 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.DynamicFlightsAsset 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.DynamicFlightsAsset 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.DynamicFlightsAsset 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.DynamicFlightsAsset 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 flights asset.
*
*
* Protobuf type {@code google.ads.googleads.v17.common.DynamicFlightsAsset}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.DynamicFlightsAsset)
com.google.ads.googleads.v17.common.DynamicFlightsAssetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicFlightsAsset_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_DynamicFlightsAsset_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.common.DynamicFlightsAsset.class, com.google.ads.googleads.v17.common.DynamicFlightsAsset.Builder.class);
}
// Construct using com.google.ads.googleads.v17.common.DynamicFlightsAsset.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
destinationId_ = "";
originId_ = "";
flightDescription_ = "";
imageUrl_ = "";
destinationName_ = "";
originName_ = "";
flightPrice_ = "";
flightSalePrice_ = "";
formattedPrice_ = "";
formattedSalePrice_ = "";
androidAppLink_ = "";
iosAppLink_ = "";
iosAppStoreId_ = 0L;
similarDestinationIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
customMapping_ = "";
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_DynamicFlightsAsset_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.DynamicFlightsAsset getDefaultInstanceForType() {
return com.google.ads.googleads.v17.common.DynamicFlightsAsset.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.common.DynamicFlightsAsset build() {
com.google.ads.googleads.v17.common.DynamicFlightsAsset result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.DynamicFlightsAsset buildPartial() {
com.google.ads.googleads.v17.common.DynamicFlightsAsset result = new com.google.ads.googleads.v17.common.DynamicFlightsAsset(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.ads.googleads.v17.common.DynamicFlightsAsset result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.destinationId_ = destinationId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.originId_ = originId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.flightDescription_ = flightDescription_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.imageUrl_ = imageUrl_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.destinationName_ = destinationName_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.originName_ = originName_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.flightPrice_ = flightPrice_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.flightSalePrice_ = flightSalePrice_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.formattedPrice_ = formattedPrice_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.formattedSalePrice_ = formattedSalePrice_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.androidAppLink_ = androidAppLink_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.iosAppLink_ = iosAppLink_;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.iosAppStoreId_ = iosAppStoreId_;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
similarDestinationIds_.makeImmutable();
result.similarDestinationIds_ = similarDestinationIds_;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.customMapping_ = customMapping_;
}
}
@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.DynamicFlightsAsset) {
return mergeFrom((com.google.ads.googleads.v17.common.DynamicFlightsAsset)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.common.DynamicFlightsAsset other) {
if (other == com.google.ads.googleads.v17.common.DynamicFlightsAsset.getDefaultInstance()) return this;
if (!other.getDestinationId().isEmpty()) {
destinationId_ = other.destinationId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getOriginId().isEmpty()) {
originId_ = other.originId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getFlightDescription().isEmpty()) {
flightDescription_ = other.flightDescription_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getImageUrl().isEmpty()) {
imageUrl_ = other.imageUrl_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getDestinationName().isEmpty()) {
destinationName_ = other.destinationName_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getOriginName().isEmpty()) {
originName_ = other.originName_;
bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getFlightPrice().isEmpty()) {
flightPrice_ = other.flightPrice_;
bitField0_ |= 0x00000040;
onChanged();
}
if (!other.getFlightSalePrice().isEmpty()) {
flightSalePrice_ = other.flightSalePrice_;
bitField0_ |= 0x00000080;
onChanged();
}
if (!other.getFormattedPrice().isEmpty()) {
formattedPrice_ = other.formattedPrice_;
bitField0_ |= 0x00000100;
onChanged();
}
if (!other.getFormattedSalePrice().isEmpty()) {
formattedSalePrice_ = other.formattedSalePrice_;
bitField0_ |= 0x00000200;
onChanged();
}
if (!other.getAndroidAppLink().isEmpty()) {
androidAppLink_ = other.androidAppLink_;
bitField0_ |= 0x00000400;
onChanged();
}
if (!other.getIosAppLink().isEmpty()) {
iosAppLink_ = other.iosAppLink_;
bitField0_ |= 0x00000800;
onChanged();
}
if (other.getIosAppStoreId() != 0L) {
setIosAppStoreId(other.getIosAppStoreId());
}
if (!other.similarDestinationIds_.isEmpty()) {
if (similarDestinationIds_.isEmpty()) {
similarDestinationIds_ = other.similarDestinationIds_;
bitField0_ |= 0x00002000;
} else {
ensureSimilarDestinationIdsIsMutable();
similarDestinationIds_.addAll(other.similarDestinationIds_);
}
onChanged();
}
if (!other.getCustomMapping().isEmpty()) {
customMapping_ = other.customMapping_;
bitField0_ |= 0x00004000;
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: {
destinationId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
originId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
flightDescription_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
imageUrl_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
destinationName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
originName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
flightPrice_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
flightSalePrice_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
formattedPrice_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
formattedSalePrice_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
androidAppLink_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 90
case 98: {
iosAppLink_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 98
case 104: {
iosAppStoreId_ = input.readInt64();
bitField0_ |= 0x00001000;
break;
} // case 104
case 114: {
java.lang.String s = input.readStringRequireUtf8();
ensureSimilarDestinationIdsIsMutable();
similarDestinationIds_.add(s);
break;
} // case 114
case 122: {
customMapping_ = input.readStringRequireUtf8();
bitField0_ |= 0x00004000;
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 destinationId_ = "";
/**
*
* Required. Destination ID which can be any sequence of letters and digits,
* and must be unique and match the values of remarketing tag. Required.
*
*
* string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The destinationId.
*/
public java.lang.String getDestinationId() {
java.lang.Object ref = destinationId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
destinationId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Required. Destination ID which can be any sequence of letters and digits,
* and must be unique and match the values of remarketing tag. Required.
*
*
* string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for destinationId.
*/
public com.google.protobuf.ByteString
getDestinationIdBytes() {
java.lang.Object ref = destinationId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
destinationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Required. Destination ID which can be any sequence of letters and digits,
* and must be unique and match the values of remarketing tag. Required.
*
*
* string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @param value The destinationId to set.
* @return This builder for chaining.
*/
public Builder setDestinationId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
destinationId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Required. Destination ID which can be any sequence of letters and digits,
* and must be unique and match the values of remarketing tag. Required.
*
*
* string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return This builder for chaining.
*/
public Builder clearDestinationId() {
destinationId_ = getDefaultInstance().getDestinationId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Required. Destination ID which can be any sequence of letters and digits,
* and must be unique and match the values of remarketing tag. Required.
*
*
* string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @param value The bytes for destinationId to set.
* @return This builder for chaining.
*/
public Builder setDestinationIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
destinationId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object originId_ = "";
/**
*
* Origin ID which can be any sequence of letters and digits. The ID sequence
* (destination ID + origin ID) must be unique.
*
*
* string origin_id = 2;
* @return The originId.
*/
public java.lang.String getOriginId() {
java.lang.Object ref = originId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
originId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Origin ID which can be any sequence of letters and digits. The ID sequence
* (destination ID + origin ID) must be unique.
*
*
* string origin_id = 2;
* @return The bytes for originId.
*/
public com.google.protobuf.ByteString
getOriginIdBytes() {
java.lang.Object ref = originId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
originId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Origin ID which can be any sequence of letters and digits. The ID sequence
* (destination ID + origin ID) must be unique.
*
*
* string origin_id = 2;
* @param value The originId to set.
* @return This builder for chaining.
*/
public Builder setOriginId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
originId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Origin ID which can be any sequence of letters and digits. The ID sequence
* (destination ID + origin ID) must be unique.
*
*
* string origin_id = 2;
* @return This builder for chaining.
*/
public Builder clearOriginId() {
originId_ = getDefaultInstance().getOriginId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* Origin ID which can be any sequence of letters and digits. The ID sequence
* (destination ID + origin ID) must be unique.
*
*
* string origin_id = 2;
* @param value The bytes for originId to set.
* @return This builder for chaining.
*/
public Builder setOriginIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
originId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object flightDescription_ = "";
/**
*
* Required. Flight description, for example, Book your ticket. Required.
*
*
* string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];
* @return The flightDescription.
*/
public java.lang.String getFlightDescription() {
java.lang.Object ref = flightDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
flightDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Required. Flight description, for example, Book your ticket. Required.
*
*
* string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for flightDescription.
*/
public com.google.protobuf.ByteString
getFlightDescriptionBytes() {
java.lang.Object ref = flightDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
flightDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Required. Flight description, for example, Book your ticket. Required.
*
*
* string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];
* @param value The flightDescription to set.
* @return This builder for chaining.
*/
public Builder setFlightDescription(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
flightDescription_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* Required. Flight description, for example, Book your ticket. Required.
*
*
* string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];
* @return This builder for chaining.
*/
public Builder clearFlightDescription() {
flightDescription_ = getDefaultInstance().getFlightDescription();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* Required. Flight description, for example, Book your ticket. Required.
*
*
* string flight_description = 3 [(.google.api.field_behavior) = REQUIRED];
* @param value The bytes for flightDescription to set.
* @return This builder for chaining.
*/
public Builder setFlightDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
flightDescription_ = value;
bitField0_ |= 0x00000004;
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 = 4;
* @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 = 4;
* @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 = 4;
* @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_ |= 0x00000008;
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 = 4;
* @return This builder for chaining.
*/
public Builder clearImageUrl() {
imageUrl_ = getDefaultInstance().getImageUrl();
bitField0_ = (bitField0_ & ~0x00000008);
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 = 4;
* @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_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object destinationName_ = "";
/**
*
* Destination name, for example, Paris.
*
*
* string destination_name = 5;
* @return The destinationName.
*/
public java.lang.String getDestinationName() {
java.lang.Object ref = destinationName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
destinationName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Destination name, for example, Paris.
*
*
* string destination_name = 5;
* @return The bytes for destinationName.
*/
public com.google.protobuf.ByteString
getDestinationNameBytes() {
java.lang.Object ref = destinationName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
destinationName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Destination name, for example, Paris.
*
*
* string destination_name = 5;
* @param value The destinationName to set.
* @return This builder for chaining.
*/
public Builder setDestinationName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
destinationName_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* Destination name, for example, Paris.
*
*
* string destination_name = 5;
* @return This builder for chaining.
*/
public Builder clearDestinationName() {
destinationName_ = getDefaultInstance().getDestinationName();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
*
* Destination name, for example, Paris.
*
*
* string destination_name = 5;
* @param value The bytes for destinationName to set.
* @return This builder for chaining.
*/
public Builder setDestinationNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
destinationName_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object originName_ = "";
/**
*
* Origin name, for example, London.
*
*
* string origin_name = 6;
* @return The originName.
*/
public java.lang.String getOriginName() {
java.lang.Object ref = originName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
originName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Origin name, for example, London.
*
*
* string origin_name = 6;
* @return The bytes for originName.
*/
public com.google.protobuf.ByteString
getOriginNameBytes() {
java.lang.Object ref = originName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
originName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Origin name, for example, London.
*
*
* string origin_name = 6;
* @param value The originName to set.
* @return This builder for chaining.
*/
public Builder setOriginName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
originName_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Origin name, for example, London.
*
*
* string origin_name = 6;
* @return This builder for chaining.
*/
public Builder clearOriginName() {
originName_ = getDefaultInstance().getOriginName();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
*
* Origin name, for example, London.
*
*
* string origin_name = 6;
* @param value The bytes for originName to set.
* @return This builder for chaining.
*/
public Builder setOriginNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
originName_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object flightPrice_ = "";
/**
*
* Flight price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
*
*
* string flight_price = 7;
* @return The flightPrice.
*/
public java.lang.String getFlightPrice() {
java.lang.Object ref = flightPrice_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
flightPrice_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Flight price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
*
*
* string flight_price = 7;
* @return The bytes for flightPrice.
*/
public com.google.protobuf.ByteString
getFlightPriceBytes() {
java.lang.Object ref = flightPrice_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
flightPrice_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Flight price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
*
*
* string flight_price = 7;
* @param value The flightPrice to set.
* @return This builder for chaining.
*/
public Builder setFlightPrice(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
flightPrice_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Flight price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
*
*
* string flight_price = 7;
* @return This builder for chaining.
*/
public Builder clearFlightPrice() {
flightPrice_ = getDefaultInstance().getFlightPrice();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
*
* Flight price which can be number followed by the alphabetic currency code,
* ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
*
*
* string flight_price = 7;
* @param value The bytes for flightPrice to set.
* @return This builder for chaining.
*/
public Builder setFlightPriceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
flightPrice_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object flightSalePrice_ = "";
/**
*
* Flight sale price which can be number followed by the alphabetic currency
* code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00
* USD. Must be less than the 'flight_price' field.
*
*
* string flight_sale_price = 8;
* @return The flightSalePrice.
*/
public java.lang.String getFlightSalePrice() {
java.lang.Object ref = flightSalePrice_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
flightSalePrice_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Flight sale price which can be number followed by the alphabetic currency
* code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00
* USD. Must be less than the 'flight_price' field.
*
*
* string flight_sale_price = 8;
* @return The bytes for flightSalePrice.
*/
public com.google.protobuf.ByteString
getFlightSalePriceBytes() {
java.lang.Object ref = flightSalePrice_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
flightSalePrice_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Flight sale price which can be number followed by the alphabetic currency
* code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00
* USD. Must be less than the 'flight_price' field.
*
*
* string flight_sale_price = 8;
* @param value The flightSalePrice to set.
* @return This builder for chaining.
*/
public Builder setFlightSalePrice(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
flightSalePrice_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Flight sale price which can be number followed by the alphabetic currency
* code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00
* USD. Must be less than the 'flight_price' field.
*
*
* string flight_sale_price = 8;
* @return This builder for chaining.
*/
public Builder clearFlightSalePrice() {
flightSalePrice_ = getDefaultInstance().getFlightSalePrice();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
*
* Flight sale price which can be number followed by the alphabetic currency
* code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00
* USD. Must be less than the 'flight_price' field.
*
*
* string flight_sale_price = 8;
* @param value The bytes for flightSalePrice to set.
* @return This builder for chaining.
*/
public Builder setFlightSalePriceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
flightSalePrice_ = value;
bitField0_ |= 0x00000080;
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 $100.00.
*
*
* string formatted_price = 9;
* @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 $100.00.
*
*
* string formatted_price = 9;
* @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 $100.00.
*
*
* string formatted_price = 9;
* @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_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Formatted price which can be any characters. If set, this attribute will be
* used instead of 'price', for example, Starting at $100.00.
*
*
* string formatted_price = 9;
* @return This builder for chaining.
*/
public Builder clearFormattedPrice() {
formattedPrice_ = getDefaultInstance().getFormattedPrice();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
*
* Formatted price which can be any characters. If set, this attribute will be
* used instead of 'price', for example, Starting at $100.00.
*
*
* string formatted_price = 9;
* @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_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object formattedSalePrice_ = "";
/**
*
* Formatted sale price which can be any characters. If set, this attribute
* will be used instead of 'sale price', for example, On sale for $80.00.
*
*
* string formatted_sale_price = 10;
* @return The formattedSalePrice.
*/
public java.lang.String getFormattedSalePrice() {
java.lang.Object ref = formattedSalePrice_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
formattedSalePrice_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Formatted sale price which can be any characters. If set, this attribute
* will be used instead of 'sale price', for example, On sale for $80.00.
*
*
* string formatted_sale_price = 10;
* @return The bytes for formattedSalePrice.
*/
public com.google.protobuf.ByteString
getFormattedSalePriceBytes() {
java.lang.Object ref = formattedSalePrice_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
formattedSalePrice_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Formatted sale price which can be any characters. If set, this attribute
* will be used instead of 'sale price', for example, On sale for $80.00.
*
*
* string formatted_sale_price = 10;
* @param value The formattedSalePrice to set.
* @return This builder for chaining.
*/
public Builder setFormattedSalePrice(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
formattedSalePrice_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* Formatted sale price which can be any characters. If set, this attribute
* will be used instead of 'sale price', for example, On sale for $80.00.
*
*
* string formatted_sale_price = 10;
* @return This builder for chaining.
*/
public Builder clearFormattedSalePrice() {
formattedSalePrice_ = getDefaultInstance().getFormattedSalePrice();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
*
* Formatted sale price which can be any characters. If set, this attribute
* will be used instead of 'sale price', for example, On sale for $80.00.
*
*
* string formatted_sale_price = 10;
* @param value The bytes for formattedSalePrice to set.
* @return This builder for chaining.
*/
public Builder setFormattedSalePriceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
formattedSalePrice_ = value;
bitField0_ |= 0x00000200;
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 = 11;
* @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 = 11;
* @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 = 11;
* @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_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 11;
* @return This builder for chaining.
*/
public Builder clearAndroidAppLink() {
androidAppLink_ = getDefaultInstance().getAndroidAppLink();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 11;
* @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_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object iosAppLink_ = "";
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 12;
* @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 = 12;
* @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 = 12;
* @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_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 12;
* @return This builder for chaining.
*/
public Builder clearIosAppLink() {
iosAppLink_ = getDefaultInstance().getIosAppLink();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 12;
* @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_ |= 0x00000800;
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 = 13;
* @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 = 13;
* @param value The iosAppStoreId to set.
* @return This builder for chaining.
*/
public Builder setIosAppStoreId(long value) {
iosAppStoreId_ = value;
bitField0_ |= 0x00001000;
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 = 13;
* @return This builder for chaining.
*/
public Builder clearIosAppStoreId() {
bitField0_ = (bitField0_ & ~0x00001000);
iosAppStoreId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList similarDestinationIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureSimilarDestinationIdsIsMutable() {
if (!similarDestinationIds_.isModifiable()) {
similarDestinationIds_ = new com.google.protobuf.LazyStringArrayList(similarDestinationIds_);
}
bitField0_ |= 0x00002000;
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @return A list containing the similarDestinationIds.
*/
public com.google.protobuf.ProtocolStringList
getSimilarDestinationIdsList() {
similarDestinationIds_.makeImmutable();
return similarDestinationIds_;
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @return The count of similarDestinationIds.
*/
public int getSimilarDestinationIdsCount() {
return similarDestinationIds_.size();
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @param index The index of the element to return.
* @return The similarDestinationIds at the given index.
*/
public java.lang.String getSimilarDestinationIds(int index) {
return similarDestinationIds_.get(index);
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @param index The index of the value to return.
* @return The bytes of the similarDestinationIds at the given index.
*/
public com.google.protobuf.ByteString
getSimilarDestinationIdsBytes(int index) {
return similarDestinationIds_.getByteString(index);
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @param index The index to set the value at.
* @param value The similarDestinationIds to set.
* @return This builder for chaining.
*/
public Builder setSimilarDestinationIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureSimilarDestinationIdsIsMutable();
similarDestinationIds_.set(index, value);
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @param value The similarDestinationIds to add.
* @return This builder for chaining.
*/
public Builder addSimilarDestinationIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureSimilarDestinationIdsIsMutable();
similarDestinationIds_.add(value);
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @param values The similarDestinationIds to add.
* @return This builder for chaining.
*/
public Builder addAllSimilarDestinationIds(
java.lang.Iterable values) {
ensureSimilarDestinationIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, similarDestinationIds_);
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @return This builder for chaining.
*/
public Builder clearSimilarDestinationIds() {
similarDestinationIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00002000);;
onChanged();
return this;
}
/**
*
* Similar destination IDs, for example, PAR,LON.
*
*
* repeated string similar_destination_ids = 14;
* @param value The bytes of the similarDestinationIds to add.
* @return This builder for chaining.
*/
public Builder addSimilarDestinationIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureSimilarDestinationIdsIsMutable();
similarDestinationIds_.add(value);
bitField0_ |= 0x00002000;
onChanged();
return this;
}
private java.lang.Object customMapping_ = "";
/**
*
* A custom field which can be multiple key to values mapping separated by
* delimiters (",", "|" and ":"), in the forms of
* "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ...
* ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" for example, wifi:
* most | aircraft: 320, 77W | flights: 42 | legroom: 32".
*
*
* string custom_mapping = 15;
* @return The customMapping.
*/
public java.lang.String getCustomMapping() {
java.lang.Object ref = customMapping_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
customMapping_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* A custom field which can be multiple key to values mapping separated by
* delimiters (",", "|" and ":"), in the forms of
* "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ...
* ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" for example, wifi:
* most | aircraft: 320, 77W | flights: 42 | legroom: 32".
*
*
* string custom_mapping = 15;
* @return The bytes for customMapping.
*/
public com.google.protobuf.ByteString
getCustomMappingBytes() {
java.lang.Object ref = customMapping_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
customMapping_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* A custom field which can be multiple key to values mapping separated by
* delimiters (",", "|" and ":"), in the forms of
* "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ...
* ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" for example, wifi:
* most | aircraft: 320, 77W | flights: 42 | legroom: 32".
*
*
* string custom_mapping = 15;
* @param value The customMapping to set.
* @return This builder for chaining.
*/
public Builder setCustomMapping(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
customMapping_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
*
* A custom field which can be multiple key to values mapping separated by
* delimiters (",", "|" and ":"), in the forms of
* "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ...
* ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" for example, wifi:
* most | aircraft: 320, 77W | flights: 42 | legroom: 32".
*
*
* string custom_mapping = 15;
* @return This builder for chaining.
*/
public Builder clearCustomMapping() {
customMapping_ = getDefaultInstance().getCustomMapping();
bitField0_ = (bitField0_ & ~0x00004000);
onChanged();
return this;
}
/**
*
* A custom field which can be multiple key to values mapping separated by
* delimiters (",", "|" and ":"), in the forms of
* "<KEY_1>: <VALUE_1>, <VALUE_2>, ... ,<VALUE_N> | <KEY_2>: <VALUE_1>, ...
* ,<VALUE_N> | ... | <KEY_N>: <VALUE_1>, ... ,<VALUE_N>" for example, wifi:
* most | aircraft: 320, 77W | flights: 42 | legroom: 32".
*
*
* string custom_mapping = 15;
* @param value The bytes for customMapping to set.
* @return This builder for chaining.
*/
public Builder setCustomMappingBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
customMapping_ = 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.DynamicFlightsAsset)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.DynamicFlightsAsset)
private static final com.google.ads.googleads.v17.common.DynamicFlightsAsset DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.DynamicFlightsAsset();
}
public static com.google.ads.googleads.v17.common.DynamicFlightsAsset getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DynamicFlightsAsset 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.DynamicFlightsAsset getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy