com.google.ads.googleads.v17.common.Segments 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/segments.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.common;
/**
*
* Segment only fields.
*
*
* Protobuf type {@code google.ads.googleads.v17.common.Segments}
*/
public final class Segments extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.Segments)
SegmentsOrBuilder {
private static final long serialVersionUID = 0L;
// Use Segments.newBuilder() to construct.
private Segments(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Segments() {
activityCity_ = "";
activityCountry_ = "";
activityState_ = "";
externalActivityId_ = "";
adDestinationType_ = 0;
adFormatType_ = 0;
adNetworkType_ = 0;
adGroup_ = "";
assetGroup_ = "";
auctionInsightDomain_ = "";
campaign_ = "";
clickType_ = 0;
conversionAction_ = "";
conversionActionCategory_ = 0;
conversionActionName_ = "";
conversionAttributionEventType_ = 0;
conversionLagBucket_ = 0;
conversionOrAdjustmentLagBucket_ = 0;
date_ = "";
dayOfWeek_ = 0;
device_ = 0;
externalConversionSource_ = 0;
geoTargetAirport_ = "";
geoTargetCanton_ = "";
geoTargetCity_ = "";
geoTargetCountry_ = "";
geoTargetCounty_ = "";
geoTargetDistrict_ = "";
geoTargetMetro_ = "";
geoTargetMostSpecificLocation_ = "";
geoTargetPostalCode_ = "";
geoTargetProvince_ = "";
geoTargetRegion_ = "";
geoTargetState_ = "";
hotelCheckInDate_ = "";
hotelCheckInDayOfWeek_ = 0;
hotelCity_ = "";
hotelCountry_ = "";
hotelDateSelectionType_ = 0;
hotelRateRuleId_ = "";
hotelRateType_ = 0;
hotelPriceBucket_ = 0;
hotelState_ = "";
month_ = "";
monthOfYear_ = 0;
partnerHotelId_ = "";
placeholderType_ = 0;
productCategoryLevel1_ = "";
productCategoryLevel2_ = "";
productCategoryLevel3_ = "";
productCategoryLevel4_ = "";
productCategoryLevel5_ = "";
productBrand_ = "";
productChannel_ = 0;
productChannelExclusivity_ = 0;
productCondition_ = 0;
productCountry_ = "";
productCustomAttribute0_ = "";
productCustomAttribute1_ = "";
productCustomAttribute2_ = "";
productCustomAttribute3_ = "";
productCustomAttribute4_ = "";
productFeedLabel_ = "";
productItemId_ = "";
productLanguage_ = "";
productStoreId_ = "";
productTitle_ = "";
productTypeL1_ = "";
productTypeL2_ = "";
productTypeL3_ = "";
productTypeL4_ = "";
productTypeL5_ = "";
quarter_ = "";
recommendationType_ = 0;
searchEngineResultsPageType_ = 0;
searchSubcategory_ = "";
searchTerm_ = "";
searchTermMatchType_ = 0;
slot_ = 0;
conversionValueRulePrimaryDimension_ = 0;
webpage_ = "";
week_ = "";
skAdNetworkUserType_ = 0;
skAdNetworkAdEventType_ = 0;
skAdNetworkAttributionCredit_ = 0;
skAdNetworkCoarseConversionValue_ = 0;
skAdNetworkSourceDomain_ = "";
skAdNetworkSourceType_ = 0;
skAdNetworkVersion_ = "";
newVersusReturningCustomers_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Segments();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.common.SegmentsProto.internal_static_google_ads_googleads_v17_common_Segments_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.common.SegmentsProto.internal_static_google_ads_googleads_v17_common_Segments_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.common.Segments.class, com.google.ads.googleads.v17.common.Segments.Builder.class);
}
private int bitField0_;
private int bitField1_;
private int bitField2_;
public static final int ACTIVITY_ACCOUNT_ID_FIELD_NUMBER = 148;
private long activityAccountId_ = 0L;
/**
*
* Activity account ID.
*
*
* optional int64 activity_account_id = 148;
* @return Whether the activityAccountId field is set.
*/
@java.lang.Override
public boolean hasActivityAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Activity account ID.
*
*
* optional int64 activity_account_id = 148;
* @return The activityAccountId.
*/
@java.lang.Override
public long getActivityAccountId() {
return activityAccountId_;
}
public static final int ACTIVITY_CITY_FIELD_NUMBER = 185;
@SuppressWarnings("serial")
private volatile java.lang.Object activityCity_ = "";
/**
*
* The city where the travel activity is available.
*
*
* optional string activity_city = 185;
* @return Whether the activityCity field is set.
*/
@java.lang.Override
public boolean hasActivityCity() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* The city where the travel activity is available.
*
*
* optional string activity_city = 185;
* @return The activityCity.
*/
@java.lang.Override
public java.lang.String getActivityCity() {
java.lang.Object ref = activityCity_;
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();
activityCity_ = s;
return s;
}
}
/**
*
* The city where the travel activity is available.
*
*
* optional string activity_city = 185;
* @return The bytes for activityCity.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getActivityCityBytes() {
java.lang.Object ref = activityCity_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
activityCity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACTIVITY_COUNTRY_FIELD_NUMBER = 186;
@SuppressWarnings("serial")
private volatile java.lang.Object activityCountry_ = "";
/**
*
* The country where the travel activity is available.
*
*
* optional string activity_country = 186;
* @return Whether the activityCountry field is set.
*/
@java.lang.Override
public boolean hasActivityCountry() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The country where the travel activity is available.
*
*
* optional string activity_country = 186;
* @return The activityCountry.
*/
@java.lang.Override
public java.lang.String getActivityCountry() {
java.lang.Object ref = activityCountry_;
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();
activityCountry_ = s;
return s;
}
}
/**
*
* The country where the travel activity is available.
*
*
* optional string activity_country = 186;
* @return The bytes for activityCountry.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getActivityCountryBytes() {
java.lang.Object ref = activityCountry_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
activityCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACTIVITY_RATING_FIELD_NUMBER = 149;
private long activityRating_ = 0L;
/**
*
* Activity rating.
*
*
* optional int64 activity_rating = 149;
* @return Whether the activityRating field is set.
*/
@java.lang.Override
public boolean hasActivityRating() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Activity rating.
*
*
* optional int64 activity_rating = 149;
* @return The activityRating.
*/
@java.lang.Override
public long getActivityRating() {
return activityRating_;
}
public static final int ACTIVITY_STATE_FIELD_NUMBER = 187;
@SuppressWarnings("serial")
private volatile java.lang.Object activityState_ = "";
/**
*
* The state where the travel activity is available.
*
*
* optional string activity_state = 187;
* @return Whether the activityState field is set.
*/
@java.lang.Override
public boolean hasActivityState() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* The state where the travel activity is available.
*
*
* optional string activity_state = 187;
* @return The activityState.
*/
@java.lang.Override
public java.lang.String getActivityState() {
java.lang.Object ref = activityState_;
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();
activityState_ = s;
return s;
}
}
/**
*
* The state where the travel activity is available.
*
*
* optional string activity_state = 187;
* @return The bytes for activityState.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getActivityStateBytes() {
java.lang.Object ref = activityState_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
activityState_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXTERNAL_ACTIVITY_ID_FIELD_NUMBER = 150;
@SuppressWarnings("serial")
private volatile java.lang.Object externalActivityId_ = "";
/**
*
* Advertiser supplied activity ID.
*
*
* optional string external_activity_id = 150;
* @return Whether the externalActivityId field is set.
*/
@java.lang.Override
public boolean hasExternalActivityId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Advertiser supplied activity ID.
*
*
* optional string external_activity_id = 150;
* @return The externalActivityId.
*/
@java.lang.Override
public java.lang.String getExternalActivityId() {
java.lang.Object ref = externalActivityId_;
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();
externalActivityId_ = s;
return s;
}
}
/**
*
* Advertiser supplied activity ID.
*
*
* optional string external_activity_id = 150;
* @return The bytes for externalActivityId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExternalActivityIdBytes() {
java.lang.Object ref = externalActivityId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalActivityId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AD_DESTINATION_TYPE_FIELD_NUMBER = 136;
private int adDestinationType_ = 0;
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136;
* @return The enum numeric value on the wire for adDestinationType.
*/
@java.lang.Override public int getAdDestinationTypeValue() {
return adDestinationType_;
}
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136;
* @return The adDestinationType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType getAdDestinationType() {
com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType result = com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType.forNumber(adDestinationType_);
return result == null ? com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType.UNRECOGNIZED : result;
}
public static final int AD_FORMAT_TYPE_FIELD_NUMBER = 191;
private int adFormatType_ = 0;
/**
*
* Ad Format type.
*
*
* .google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType ad_format_type = 191;
* @return The enum numeric value on the wire for adFormatType.
*/
@java.lang.Override public int getAdFormatTypeValue() {
return adFormatType_;
}
/**
*
* Ad Format type.
*
*
* .google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType ad_format_type = 191;
* @return The adFormatType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType getAdFormatType() {
com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType result = com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType.forNumber(adFormatType_);
return result == null ? com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType.UNRECOGNIZED : result;
}
public static final int AD_NETWORK_TYPE_FIELD_NUMBER = 3;
private int adNetworkType_ = 0;
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3;
* @return The enum numeric value on the wire for adNetworkType.
*/
@java.lang.Override public int getAdNetworkTypeValue() {
return adNetworkType_;
}
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3;
* @return The adNetworkType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType getAdNetworkType() {
com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType result = com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType.forNumber(adNetworkType_);
return result == null ? com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType.UNRECOGNIZED : result;
}
public static final int AD_GROUP_FIELD_NUMBER = 158;
@SuppressWarnings("serial")
private volatile java.lang.Object adGroup_ = "";
/**
*
* Resource name of the ad group.
*
*
* optional string ad_group = 158;
* @return Whether the adGroup field is set.
*/
@java.lang.Override
public boolean hasAdGroup() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Resource name of the ad group.
*
*
* optional string ad_group = 158;
* @return The adGroup.
*/
@java.lang.Override
public java.lang.String getAdGroup() {
java.lang.Object ref = adGroup_;
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();
adGroup_ = s;
return s;
}
}
/**
*
* Resource name of the ad group.
*
*
* optional string ad_group = 158;
* @return The bytes for adGroup.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdGroupBytes() {
java.lang.Object ref = adGroup_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroup_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ASSET_GROUP_FIELD_NUMBER = 159;
@SuppressWarnings("serial")
private volatile java.lang.Object assetGroup_ = "";
/**
*
* Resource name of the asset group.
*
*
* optional string asset_group = 159;
* @return Whether the assetGroup field is set.
*/
@java.lang.Override
public boolean hasAssetGroup() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Resource name of the asset group.
*
*
* optional string asset_group = 159;
* @return The assetGroup.
*/
@java.lang.Override
public java.lang.String getAssetGroup() {
java.lang.Object ref = assetGroup_;
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();
assetGroup_ = s;
return s;
}
}
/**
*
* Resource name of the asset group.
*
*
* optional string asset_group = 159;
* @return The bytes for assetGroup.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAssetGroupBytes() {
java.lang.Object ref = assetGroup_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
assetGroup_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AUCTION_INSIGHT_DOMAIN_FIELD_NUMBER = 145;
@SuppressWarnings("serial")
private volatile java.lang.Object auctionInsightDomain_ = "";
/**
*
* Domain (visible URL) of a participant in the Auction Insights report.
*
*
* optional string auction_insight_domain = 145;
* @return Whether the auctionInsightDomain field is set.
*/
@java.lang.Override
public boolean hasAuctionInsightDomain() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Domain (visible URL) of a participant in the Auction Insights report.
*
*
* optional string auction_insight_domain = 145;
* @return The auctionInsightDomain.
*/
@java.lang.Override
public java.lang.String getAuctionInsightDomain() {
java.lang.Object ref = auctionInsightDomain_;
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();
auctionInsightDomain_ = s;
return s;
}
}
/**
*
* Domain (visible URL) of a participant in the Auction Insights report.
*
*
* optional string auction_insight_domain = 145;
* @return The bytes for auctionInsightDomain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAuctionInsightDomainBytes() {
java.lang.Object ref = auctionInsightDomain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
auctionInsightDomain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BUDGET_CAMPAIGN_ASSOCIATION_STATUS_FIELD_NUMBER = 134;
private com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budgetCampaignAssociationStatus_;
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
* @return Whether the budgetCampaignAssociationStatus field is set.
*/
@java.lang.Override
public boolean hasBudgetCampaignAssociationStatus() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
* @return The budgetCampaignAssociationStatus.
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus getBudgetCampaignAssociationStatus() {
return budgetCampaignAssociationStatus_ == null ? com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus.getDefaultInstance() : budgetCampaignAssociationStatus_;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatusOrBuilder getBudgetCampaignAssociationStatusOrBuilder() {
return budgetCampaignAssociationStatus_ == null ? com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus.getDefaultInstance() : budgetCampaignAssociationStatus_;
}
public static final int CAMPAIGN_FIELD_NUMBER = 157;
@SuppressWarnings("serial")
private volatile java.lang.Object campaign_ = "";
/**
*
* Resource name of the campaign.
*
*
* optional string campaign = 157;
* @return Whether the campaign field is set.
*/
@java.lang.Override
public boolean hasCampaign() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Resource name of the campaign.
*
*
* optional string campaign = 157;
* @return The campaign.
*/
@java.lang.Override
public java.lang.String getCampaign() {
java.lang.Object ref = campaign_;
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();
campaign_ = s;
return s;
}
}
/**
*
* Resource name of the campaign.
*
*
* optional string campaign = 157;
* @return The bytes for campaign.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCampaignBytes() {
java.lang.Object ref = campaign_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaign_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLICK_TYPE_FIELD_NUMBER = 26;
private int clickType_ = 0;
/**
*
* Click type.
*
*
* .google.ads.googleads.v17.enums.ClickTypeEnum.ClickType click_type = 26;
* @return The enum numeric value on the wire for clickType.
*/
@java.lang.Override public int getClickTypeValue() {
return clickType_;
}
/**
*
* Click type.
*
*
* .google.ads.googleads.v17.enums.ClickTypeEnum.ClickType click_type = 26;
* @return The clickType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType getClickType() {
com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType result = com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType.forNumber(clickType_);
return result == null ? com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType.UNRECOGNIZED : result;
}
public static final int CONVERSION_ACTION_FIELD_NUMBER = 113;
@SuppressWarnings("serial")
private volatile java.lang.Object conversionAction_ = "";
/**
*
* Resource name of the conversion action.
*
*
* optional string conversion_action = 113 [(.google.api.resource_reference) = { ... }
* @return Whether the conversionAction field is set.
*/
@java.lang.Override
public boolean hasConversionAction() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* Resource name of the conversion action.
*
*
* optional string conversion_action = 113 [(.google.api.resource_reference) = { ... }
* @return The conversionAction.
*/
@java.lang.Override
public java.lang.String getConversionAction() {
java.lang.Object ref = conversionAction_;
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();
conversionAction_ = s;
return s;
}
}
/**
*
* Resource name of the conversion action.
*
*
* optional string conversion_action = 113 [(.google.api.resource_reference) = { ... }
* @return The bytes for conversionAction.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getConversionActionBytes() {
java.lang.Object ref = conversionAction_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
conversionAction_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONVERSION_ACTION_CATEGORY_FIELD_NUMBER = 53;
private int conversionActionCategory_ = 0;
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53;
* @return The enum numeric value on the wire for conversionActionCategory.
*/
@java.lang.Override public int getConversionActionCategoryValue() {
return conversionActionCategory_;
}
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53;
* @return The conversionActionCategory.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory getConversionActionCategory() {
com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory result = com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory.forNumber(conversionActionCategory_);
return result == null ? com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory.UNRECOGNIZED : result;
}
public static final int CONVERSION_ACTION_NAME_FIELD_NUMBER = 114;
@SuppressWarnings("serial")
private volatile java.lang.Object conversionActionName_ = "";
/**
*
* Conversion action name.
*
*
* optional string conversion_action_name = 114;
* @return Whether the conversionActionName field is set.
*/
@java.lang.Override
public boolean hasConversionActionName() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* Conversion action name.
*
*
* optional string conversion_action_name = 114;
* @return The conversionActionName.
*/
@java.lang.Override
public java.lang.String getConversionActionName() {
java.lang.Object ref = conversionActionName_;
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();
conversionActionName_ = s;
return s;
}
}
/**
*
* Conversion action name.
*
*
* optional string conversion_action_name = 114;
* @return The bytes for conversionActionName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getConversionActionNameBytes() {
java.lang.Object ref = conversionActionName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
conversionActionName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONVERSION_ADJUSTMENT_FIELD_NUMBER = 115;
private boolean conversionAdjustment_ = false;
/**
*
* This segments your conversion columns by the original conversion and
* conversion value versus the delta if conversions were adjusted. False row
* has the data as originally stated; While true row has the delta between
* data now and the data as originally stated. Summing the two together
* results post-adjustment data.
*
*
* optional bool conversion_adjustment = 115;
* @return Whether the conversionAdjustment field is set.
*/
@java.lang.Override
public boolean hasConversionAdjustment() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
* This segments your conversion columns by the original conversion and
* conversion value versus the delta if conversions were adjusted. False row
* has the data as originally stated; While true row has the delta between
* data now and the data as originally stated. Summing the two together
* results post-adjustment data.
*
*
* optional bool conversion_adjustment = 115;
* @return The conversionAdjustment.
*/
@java.lang.Override
public boolean getConversionAdjustment() {
return conversionAdjustment_;
}
public static final int CONVERSION_ATTRIBUTION_EVENT_TYPE_FIELD_NUMBER = 2;
private int conversionAttributionEventType_ = 0;
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2;
* @return The enum numeric value on the wire for conversionAttributionEventType.
*/
@java.lang.Override public int getConversionAttributionEventTypeValue() {
return conversionAttributionEventType_;
}
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2;
* @return The conversionAttributionEventType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType getConversionAttributionEventType() {
com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType result = com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.forNumber(conversionAttributionEventType_);
return result == null ? com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.UNRECOGNIZED : result;
}
public static final int CONVERSION_LAG_BUCKET_FIELD_NUMBER = 50;
private int conversionLagBucket_ = 0;
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50;
* @return The enum numeric value on the wire for conversionLagBucket.
*/
@java.lang.Override public int getConversionLagBucketValue() {
return conversionLagBucket_;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50;
* @return The conversionLagBucket.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket getConversionLagBucket() {
com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket result = com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket.forNumber(conversionLagBucket_);
return result == null ? com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket.UNRECOGNIZED : result;
}
public static final int CONVERSION_OR_ADJUSTMENT_LAG_BUCKET_FIELD_NUMBER = 51;
private int conversionOrAdjustmentLagBucket_ = 0;
/**
*
* An enum value representing the number of days between the impression and
* the conversion or between the impression and adjustments to the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51;
* @return The enum numeric value on the wire for conversionOrAdjustmentLagBucket.
*/
@java.lang.Override public int getConversionOrAdjustmentLagBucketValue() {
return conversionOrAdjustmentLagBucket_;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion or between the impression and adjustments to the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51;
* @return The conversionOrAdjustmentLagBucket.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket getConversionOrAdjustmentLagBucket() {
com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket result = com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.forNumber(conversionOrAdjustmentLagBucket_);
return result == null ? com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.UNRECOGNIZED : result;
}
public static final int DATE_FIELD_NUMBER = 79;
@SuppressWarnings("serial")
private volatile java.lang.Object date_ = "";
/**
*
* Date to which metrics apply.
* yyyy-MM-dd format, for example, 2018-04-17.
*
*
* optional string date = 79;
* @return Whether the date field is set.
*/
@java.lang.Override
public boolean hasDate() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
*
* Date to which metrics apply.
* yyyy-MM-dd format, for example, 2018-04-17.
*
*
* optional string date = 79;
* @return The date.
*/
@java.lang.Override
public java.lang.String getDate() {
java.lang.Object ref = date_;
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();
date_ = s;
return s;
}
}
/**
*
* Date to which metrics apply.
* yyyy-MM-dd format, for example, 2018-04-17.
*
*
* optional string date = 79;
* @return The bytes for date.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDateBytes() {
java.lang.Object ref = date_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
date_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DAY_OF_WEEK_FIELD_NUMBER = 5;
private int dayOfWeek_ = 0;
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
* @return The enum numeric value on the wire for dayOfWeek.
*/
@java.lang.Override public int getDayOfWeekValue() {
return dayOfWeek_;
}
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
* @return The dayOfWeek.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek getDayOfWeek() {
com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek result = com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.forNumber(dayOfWeek_);
return result == null ? com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.UNRECOGNIZED : result;
}
public static final int DEVICE_FIELD_NUMBER = 1;
private int device_ = 0;
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v17.enums.DeviceEnum.Device device = 1;
* @return The enum numeric value on the wire for device.
*/
@java.lang.Override public int getDeviceValue() {
return device_;
}
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v17.enums.DeviceEnum.Device device = 1;
* @return The device.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.DeviceEnum.Device getDevice() {
com.google.ads.googleads.v17.enums.DeviceEnum.Device result = com.google.ads.googleads.v17.enums.DeviceEnum.Device.forNumber(device_);
return result == null ? com.google.ads.googleads.v17.enums.DeviceEnum.Device.UNRECOGNIZED : result;
}
public static final int EXTERNAL_CONVERSION_SOURCE_FIELD_NUMBER = 55;
private int externalConversionSource_ = 0;
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55;
* @return The enum numeric value on the wire for externalConversionSource.
*/
@java.lang.Override public int getExternalConversionSourceValue() {
return externalConversionSource_;
}
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55;
* @return The externalConversionSource.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource getExternalConversionSource() {
com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource result = com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource.forNumber(externalConversionSource_);
return result == null ? com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource.UNRECOGNIZED : result;
}
public static final int GEO_TARGET_AIRPORT_FIELD_NUMBER = 116;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetAirport_ = "";
/**
*
* Resource name of the geo target constant that represents an airport.
*
*
* optional string geo_target_airport = 116;
* @return Whether the geoTargetAirport field is set.
*/
@java.lang.Override
public boolean hasGeoTargetAirport() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
*
* Resource name of the geo target constant that represents an airport.
*
*
* optional string geo_target_airport = 116;
* @return The geoTargetAirport.
*/
@java.lang.Override
public java.lang.String getGeoTargetAirport() {
java.lang.Object ref = geoTargetAirport_;
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();
geoTargetAirport_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents an airport.
*
*
* optional string geo_target_airport = 116;
* @return The bytes for geoTargetAirport.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetAirportBytes() {
java.lang.Object ref = geoTargetAirport_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetAirport_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_CANTON_FIELD_NUMBER = 117;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetCanton_ = "";
/**
*
* Resource name of the geo target constant that represents a canton.
*
*
* optional string geo_target_canton = 117;
* @return Whether the geoTargetCanton field is set.
*/
@java.lang.Override
public boolean hasGeoTargetCanton() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a canton.
*
*
* optional string geo_target_canton = 117;
* @return The geoTargetCanton.
*/
@java.lang.Override
public java.lang.String getGeoTargetCanton() {
java.lang.Object ref = geoTargetCanton_;
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();
geoTargetCanton_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents a canton.
*
*
* optional string geo_target_canton = 117;
* @return The bytes for geoTargetCanton.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetCantonBytes() {
java.lang.Object ref = geoTargetCanton_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetCanton_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_CITY_FIELD_NUMBER = 118;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetCity_ = "";
/**
*
* Resource name of the geo target constant that represents a city.
*
*
* optional string geo_target_city = 118;
* @return Whether the geoTargetCity field is set.
*/
@java.lang.Override
public boolean hasGeoTargetCity() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a city.
*
*
* optional string geo_target_city = 118;
* @return The geoTargetCity.
*/
@java.lang.Override
public java.lang.String getGeoTargetCity() {
java.lang.Object ref = geoTargetCity_;
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();
geoTargetCity_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents a city.
*
*
* optional string geo_target_city = 118;
* @return The bytes for geoTargetCity.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetCityBytes() {
java.lang.Object ref = geoTargetCity_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetCity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_COUNTRY_FIELD_NUMBER = 119;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetCountry_ = "";
/**
*
* Resource name of the geo target constant that represents a country.
*
*
* optional string geo_target_country = 119;
* @return Whether the geoTargetCountry field is set.
*/
@java.lang.Override
public boolean hasGeoTargetCountry() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a country.
*
*
* optional string geo_target_country = 119;
* @return The geoTargetCountry.
*/
@java.lang.Override
public java.lang.String getGeoTargetCountry() {
java.lang.Object ref = geoTargetCountry_;
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();
geoTargetCountry_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents a country.
*
*
* optional string geo_target_country = 119;
* @return The bytes for geoTargetCountry.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetCountryBytes() {
java.lang.Object ref = geoTargetCountry_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_COUNTY_FIELD_NUMBER = 120;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetCounty_ = "";
/**
*
* Resource name of the geo target constant that represents a county.
*
*
* optional string geo_target_county = 120;
* @return Whether the geoTargetCounty field is set.
*/
@java.lang.Override
public boolean hasGeoTargetCounty() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a county.
*
*
* optional string geo_target_county = 120;
* @return The geoTargetCounty.
*/
@java.lang.Override
public java.lang.String getGeoTargetCounty() {
java.lang.Object ref = geoTargetCounty_;
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();
geoTargetCounty_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents a county.
*
*
* optional string geo_target_county = 120;
* @return The bytes for geoTargetCounty.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetCountyBytes() {
java.lang.Object ref = geoTargetCounty_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetCounty_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_DISTRICT_FIELD_NUMBER = 121;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetDistrict_ = "";
/**
*
* Resource name of the geo target constant that represents a district.
*
*
* optional string geo_target_district = 121;
* @return Whether the geoTargetDistrict field is set.
*/
@java.lang.Override
public boolean hasGeoTargetDistrict() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a district.
*
*
* optional string geo_target_district = 121;
* @return The geoTargetDistrict.
*/
@java.lang.Override
public java.lang.String getGeoTargetDistrict() {
java.lang.Object ref = geoTargetDistrict_;
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();
geoTargetDistrict_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents a district.
*
*
* optional string geo_target_district = 121;
* @return The bytes for geoTargetDistrict.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetDistrictBytes() {
java.lang.Object ref = geoTargetDistrict_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetDistrict_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_METRO_FIELD_NUMBER = 122;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetMetro_ = "";
/**
*
* Resource name of the geo target constant that represents a metro.
*
*
* optional string geo_target_metro = 122;
* @return Whether the geoTargetMetro field is set.
*/
@java.lang.Override
public boolean hasGeoTargetMetro() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a metro.
*
*
* optional string geo_target_metro = 122;
* @return The geoTargetMetro.
*/
@java.lang.Override
public java.lang.String getGeoTargetMetro() {
java.lang.Object ref = geoTargetMetro_;
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();
geoTargetMetro_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents a metro.
*
*
* optional string geo_target_metro = 122;
* @return The bytes for geoTargetMetro.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetMetroBytes() {
java.lang.Object ref = geoTargetMetro_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetMetro_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_MOST_SPECIFIC_LOCATION_FIELD_NUMBER = 123;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetMostSpecificLocation_ = "";
/**
*
* Resource name of the geo target constant that represents the most
* specific location.
*
*
* optional string geo_target_most_specific_location = 123;
* @return Whether the geoTargetMostSpecificLocation field is set.
*/
@java.lang.Override
public boolean hasGeoTargetMostSpecificLocation() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
*
* Resource name of the geo target constant that represents the most
* specific location.
*
*
* optional string geo_target_most_specific_location = 123;
* @return The geoTargetMostSpecificLocation.
*/
@java.lang.Override
public java.lang.String getGeoTargetMostSpecificLocation() {
java.lang.Object ref = geoTargetMostSpecificLocation_;
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();
geoTargetMostSpecificLocation_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents the most
* specific location.
*
*
* optional string geo_target_most_specific_location = 123;
* @return The bytes for geoTargetMostSpecificLocation.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetMostSpecificLocationBytes() {
java.lang.Object ref = geoTargetMostSpecificLocation_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetMostSpecificLocation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_POSTAL_CODE_FIELD_NUMBER = 124;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetPostalCode_ = "";
/**
*
* Resource name of the geo target constant that represents a postal code.
*
*
* optional string geo_target_postal_code = 124;
* @return Whether the geoTargetPostalCode field is set.
*/
@java.lang.Override
public boolean hasGeoTargetPostalCode() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a postal code.
*
*
* optional string geo_target_postal_code = 124;
* @return The geoTargetPostalCode.
*/
@java.lang.Override
public java.lang.String getGeoTargetPostalCode() {
java.lang.Object ref = geoTargetPostalCode_;
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();
geoTargetPostalCode_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents a postal code.
*
*
* optional string geo_target_postal_code = 124;
* @return The bytes for geoTargetPostalCode.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetPostalCodeBytes() {
java.lang.Object ref = geoTargetPostalCode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetPostalCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_PROVINCE_FIELD_NUMBER = 125;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetProvince_ = "";
/**
*
* Resource name of the geo target constant that represents a province.
*
*
* optional string geo_target_province = 125;
* @return Whether the geoTargetProvince field is set.
*/
@java.lang.Override
public boolean hasGeoTargetProvince() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a province.
*
*
* optional string geo_target_province = 125;
* @return The geoTargetProvince.
*/
@java.lang.Override
public java.lang.String getGeoTargetProvince() {
java.lang.Object ref = geoTargetProvince_;
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();
geoTargetProvince_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents a province.
*
*
* optional string geo_target_province = 125;
* @return The bytes for geoTargetProvince.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetProvinceBytes() {
java.lang.Object ref = geoTargetProvince_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetProvince_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_REGION_FIELD_NUMBER = 126;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetRegion_ = "";
/**
*
* Resource name of the geo target constant that represents a region.
*
*
* optional string geo_target_region = 126;
* @return Whether the geoTargetRegion field is set.
*/
@java.lang.Override
public boolean hasGeoTargetRegion() {
return ((bitField0_ & 0x02000000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a region.
*
*
* optional string geo_target_region = 126;
* @return The geoTargetRegion.
*/
@java.lang.Override
public java.lang.String getGeoTargetRegion() {
java.lang.Object ref = geoTargetRegion_;
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();
geoTargetRegion_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents a region.
*
*
* optional string geo_target_region = 126;
* @return The bytes for geoTargetRegion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetRegionBytes() {
java.lang.Object ref = geoTargetRegion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetRegion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GEO_TARGET_STATE_FIELD_NUMBER = 127;
@SuppressWarnings("serial")
private volatile java.lang.Object geoTargetState_ = "";
/**
*
* Resource name of the geo target constant that represents a state.
*
*
* optional string geo_target_state = 127;
* @return Whether the geoTargetState field is set.
*/
@java.lang.Override
public boolean hasGeoTargetState() {
return ((bitField0_ & 0x04000000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a state.
*
*
* optional string geo_target_state = 127;
* @return The geoTargetState.
*/
@java.lang.Override
public java.lang.String getGeoTargetState() {
java.lang.Object ref = geoTargetState_;
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();
geoTargetState_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant that represents a state.
*
*
* optional string geo_target_state = 127;
* @return The bytes for geoTargetState.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeoTargetStateBytes() {
java.lang.Object ref = geoTargetState_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetState_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HOTEL_BOOKING_WINDOW_DAYS_FIELD_NUMBER = 135;
private long hotelBookingWindowDays_ = 0L;
/**
*
* Hotel booking window in days.
*
*
* optional int64 hotel_booking_window_days = 135;
* @return Whether the hotelBookingWindowDays field is set.
*/
@java.lang.Override
public boolean hasHotelBookingWindowDays() {
return ((bitField0_ & 0x08000000) != 0);
}
/**
*
* Hotel booking window in days.
*
*
* optional int64 hotel_booking_window_days = 135;
* @return The hotelBookingWindowDays.
*/
@java.lang.Override
public long getHotelBookingWindowDays() {
return hotelBookingWindowDays_;
}
public static final int HOTEL_CENTER_ID_FIELD_NUMBER = 80;
private long hotelCenterId_ = 0L;
/**
*
* Hotel center ID.
*
*
* optional int64 hotel_center_id = 80;
* @return Whether the hotelCenterId field is set.
*/
@java.lang.Override
public boolean hasHotelCenterId() {
return ((bitField0_ & 0x10000000) != 0);
}
/**
*
* Hotel center ID.
*
*
* optional int64 hotel_center_id = 80;
* @return The hotelCenterId.
*/
@java.lang.Override
public long getHotelCenterId() {
return hotelCenterId_;
}
public static final int HOTEL_CHECK_IN_DATE_FIELD_NUMBER = 81;
@SuppressWarnings("serial")
private volatile java.lang.Object hotelCheckInDate_ = "";
/**
*
* Hotel check-in date. Formatted as yyyy-MM-dd.
*
*
* optional string hotel_check_in_date = 81;
* @return Whether the hotelCheckInDate field is set.
*/
@java.lang.Override
public boolean hasHotelCheckInDate() {
return ((bitField0_ & 0x20000000) != 0);
}
/**
*
* Hotel check-in date. Formatted as yyyy-MM-dd.
*
*
* optional string hotel_check_in_date = 81;
* @return The hotelCheckInDate.
*/
@java.lang.Override
public java.lang.String getHotelCheckInDate() {
java.lang.Object ref = hotelCheckInDate_;
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();
hotelCheckInDate_ = s;
return s;
}
}
/**
*
* Hotel check-in date. Formatted as yyyy-MM-dd.
*
*
* optional string hotel_check_in_date = 81;
* @return The bytes for hotelCheckInDate.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHotelCheckInDateBytes() {
java.lang.Object ref = hotelCheckInDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotelCheckInDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HOTEL_CHECK_IN_DAY_OF_WEEK_FIELD_NUMBER = 9;
private int hotelCheckInDayOfWeek_ = 0;
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9;
* @return The enum numeric value on the wire for hotelCheckInDayOfWeek.
*/
@java.lang.Override public int getHotelCheckInDayOfWeekValue() {
return hotelCheckInDayOfWeek_;
}
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9;
* @return The hotelCheckInDayOfWeek.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek getHotelCheckInDayOfWeek() {
com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek result = com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.forNumber(hotelCheckInDayOfWeek_);
return result == null ? com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.UNRECOGNIZED : result;
}
public static final int HOTEL_CITY_FIELD_NUMBER = 82;
@SuppressWarnings("serial")
private volatile java.lang.Object hotelCity_ = "";
/**
*
* Hotel city.
*
*
* optional string hotel_city = 82;
* @return Whether the hotelCity field is set.
*/
@java.lang.Override
public boolean hasHotelCity() {
return ((bitField0_ & 0x40000000) != 0);
}
/**
*
* Hotel city.
*
*
* optional string hotel_city = 82;
* @return The hotelCity.
*/
@java.lang.Override
public java.lang.String getHotelCity() {
java.lang.Object ref = hotelCity_;
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();
hotelCity_ = s;
return s;
}
}
/**
*
* Hotel city.
*
*
* optional string hotel_city = 82;
* @return The bytes for hotelCity.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHotelCityBytes() {
java.lang.Object ref = hotelCity_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotelCity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HOTEL_CLASS_FIELD_NUMBER = 83;
private int hotelClass_ = 0;
/**
*
* Hotel class.
*
*
* optional int32 hotel_class = 83;
* @return Whether the hotelClass field is set.
*/
@java.lang.Override
public boolean hasHotelClass() {
return ((bitField0_ & 0x80000000) != 0);
}
/**
*
* Hotel class.
*
*
* optional int32 hotel_class = 83;
* @return The hotelClass.
*/
@java.lang.Override
public int getHotelClass() {
return hotelClass_;
}
public static final int HOTEL_COUNTRY_FIELD_NUMBER = 84;
@SuppressWarnings("serial")
private volatile java.lang.Object hotelCountry_ = "";
/**
*
* Hotel country.
*
*
* optional string hotel_country = 84;
* @return Whether the hotelCountry field is set.
*/
@java.lang.Override
public boolean hasHotelCountry() {
return ((bitField1_ & 0x00000001) != 0);
}
/**
*
* Hotel country.
*
*
* optional string hotel_country = 84;
* @return The hotelCountry.
*/
@java.lang.Override
public java.lang.String getHotelCountry() {
java.lang.Object ref = hotelCountry_;
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();
hotelCountry_ = s;
return s;
}
}
/**
*
* Hotel country.
*
*
* optional string hotel_country = 84;
* @return The bytes for hotelCountry.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHotelCountryBytes() {
java.lang.Object ref = hotelCountry_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotelCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HOTEL_DATE_SELECTION_TYPE_FIELD_NUMBER = 13;
private int hotelDateSelectionType_ = 0;
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13;
* @return The enum numeric value on the wire for hotelDateSelectionType.
*/
@java.lang.Override public int getHotelDateSelectionTypeValue() {
return hotelDateSelectionType_;
}
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13;
* @return The hotelDateSelectionType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType getHotelDateSelectionType() {
com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType result = com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.forNumber(hotelDateSelectionType_);
return result == null ? com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.UNRECOGNIZED : result;
}
public static final int HOTEL_LENGTH_OF_STAY_FIELD_NUMBER = 85;
private int hotelLengthOfStay_ = 0;
/**
*
* Hotel length of stay.
*
*
* optional int32 hotel_length_of_stay = 85;
* @return Whether the hotelLengthOfStay field is set.
*/
@java.lang.Override
public boolean hasHotelLengthOfStay() {
return ((bitField1_ & 0x00000002) != 0);
}
/**
*
* Hotel length of stay.
*
*
* optional int32 hotel_length_of_stay = 85;
* @return The hotelLengthOfStay.
*/
@java.lang.Override
public int getHotelLengthOfStay() {
return hotelLengthOfStay_;
}
public static final int HOTEL_RATE_RULE_ID_FIELD_NUMBER = 86;
@SuppressWarnings("serial")
private volatile java.lang.Object hotelRateRuleId_ = "";
/**
*
* Hotel rate rule ID.
*
*
* optional string hotel_rate_rule_id = 86;
* @return Whether the hotelRateRuleId field is set.
*/
@java.lang.Override
public boolean hasHotelRateRuleId() {
return ((bitField1_ & 0x00000004) != 0);
}
/**
*
* Hotel rate rule ID.
*
*
* optional string hotel_rate_rule_id = 86;
* @return The hotelRateRuleId.
*/
@java.lang.Override
public java.lang.String getHotelRateRuleId() {
java.lang.Object ref = hotelRateRuleId_;
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();
hotelRateRuleId_ = s;
return s;
}
}
/**
*
* Hotel rate rule ID.
*
*
* optional string hotel_rate_rule_id = 86;
* @return The bytes for hotelRateRuleId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHotelRateRuleIdBytes() {
java.lang.Object ref = hotelRateRuleId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotelRateRuleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HOTEL_RATE_TYPE_FIELD_NUMBER = 74;
private int hotelRateType_ = 0;
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74;
* @return The enum numeric value on the wire for hotelRateType.
*/
@java.lang.Override public int getHotelRateTypeValue() {
return hotelRateType_;
}
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74;
* @return The hotelRateType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType getHotelRateType() {
com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType result = com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType.forNumber(hotelRateType_);
return result == null ? com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType.UNRECOGNIZED : result;
}
public static final int HOTEL_PRICE_BUCKET_FIELD_NUMBER = 78;
private int hotelPriceBucket_ = 0;
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78;
* @return The enum numeric value on the wire for hotelPriceBucket.
*/
@java.lang.Override public int getHotelPriceBucketValue() {
return hotelPriceBucket_;
}
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78;
* @return The hotelPriceBucket.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket getHotelPriceBucket() {
com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket result = com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket.forNumber(hotelPriceBucket_);
return result == null ? com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket.UNRECOGNIZED : result;
}
public static final int HOTEL_STATE_FIELD_NUMBER = 87;
@SuppressWarnings("serial")
private volatile java.lang.Object hotelState_ = "";
/**
*
* Hotel state.
*
*
* optional string hotel_state = 87;
* @return Whether the hotelState field is set.
*/
@java.lang.Override
public boolean hasHotelState() {
return ((bitField1_ & 0x00000008) != 0);
}
/**
*
* Hotel state.
*
*
* optional string hotel_state = 87;
* @return The hotelState.
*/
@java.lang.Override
public java.lang.String getHotelState() {
java.lang.Object ref = hotelState_;
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();
hotelState_ = s;
return s;
}
}
/**
*
* Hotel state.
*
*
* optional string hotel_state = 87;
* @return The bytes for hotelState.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHotelStateBytes() {
java.lang.Object ref = hotelState_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotelState_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HOUR_FIELD_NUMBER = 88;
private int hour_ = 0;
/**
*
* Hour of day as a number between 0 and 23, inclusive.
*
*
* optional int32 hour = 88;
* @return Whether the hour field is set.
*/
@java.lang.Override
public boolean hasHour() {
return ((bitField1_ & 0x00000010) != 0);
}
/**
*
* Hour of day as a number between 0 and 23, inclusive.
*
*
* optional int32 hour = 88;
* @return The hour.
*/
@java.lang.Override
public int getHour() {
return hour_;
}
public static final int INTERACTION_ON_THIS_EXTENSION_FIELD_NUMBER = 89;
private boolean interactionOnThisExtension_ = false;
/**
*
* Only used with feed item metrics.
* Indicates whether the interaction metrics occurred on the feed item itself
* or a different extension or ad unit.
*
*
* optional bool interaction_on_this_extension = 89;
* @return Whether the interactionOnThisExtension field is set.
*/
@java.lang.Override
public boolean hasInteractionOnThisExtension() {
return ((bitField1_ & 0x00000020) != 0);
}
/**
*
* Only used with feed item metrics.
* Indicates whether the interaction metrics occurred on the feed item itself
* or a different extension or ad unit.
*
*
* optional bool interaction_on_this_extension = 89;
* @return The interactionOnThisExtension.
*/
@java.lang.Override
public boolean getInteractionOnThisExtension() {
return interactionOnThisExtension_;
}
public static final int KEYWORD_FIELD_NUMBER = 61;
private com.google.ads.googleads.v17.common.Keyword keyword_;
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
* @return Whether the keyword field is set.
*/
@java.lang.Override
public boolean hasKeyword() {
return ((bitField1_ & 0x00000040) != 0);
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
* @return The keyword.
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.Keyword getKeyword() {
return keyword_ == null ? com.google.ads.googleads.v17.common.Keyword.getDefaultInstance() : keyword_;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.KeywordOrBuilder getKeywordOrBuilder() {
return keyword_ == null ? com.google.ads.googleads.v17.common.Keyword.getDefaultInstance() : keyword_;
}
public static final int MONTH_FIELD_NUMBER = 90;
@SuppressWarnings("serial")
private volatile java.lang.Object month_ = "";
/**
*
* Month as represented by the date of the first day of a month. Formatted as
* yyyy-MM-dd.
*
*
* optional string month = 90;
* @return Whether the month field is set.
*/
@java.lang.Override
public boolean hasMonth() {
return ((bitField1_ & 0x00000080) != 0);
}
/**
*
* Month as represented by the date of the first day of a month. Formatted as
* yyyy-MM-dd.
*
*
* optional string month = 90;
* @return The month.
*/
@java.lang.Override
public java.lang.String getMonth() {
java.lang.Object ref = month_;
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();
month_ = s;
return s;
}
}
/**
*
* Month as represented by the date of the first day of a month. Formatted as
* yyyy-MM-dd.
*
*
* optional string month = 90;
* @return The bytes for month.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMonthBytes() {
java.lang.Object ref = month_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
month_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MONTH_OF_YEAR_FIELD_NUMBER = 18;
private int monthOfYear_ = 0;
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
* @return The enum numeric value on the wire for monthOfYear.
*/
@java.lang.Override public int getMonthOfYearValue() {
return monthOfYear_;
}
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
* @return The monthOfYear.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear getMonthOfYear() {
com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear result = com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear.forNumber(monthOfYear_);
return result == null ? com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear.UNRECOGNIZED : result;
}
public static final int PARTNER_HOTEL_ID_FIELD_NUMBER = 91;
@SuppressWarnings("serial")
private volatile java.lang.Object partnerHotelId_ = "";
/**
*
* Partner hotel ID.
*
*
* optional string partner_hotel_id = 91;
* @return Whether the partnerHotelId field is set.
*/
@java.lang.Override
public boolean hasPartnerHotelId() {
return ((bitField1_ & 0x00000100) != 0);
}
/**
*
* Partner hotel ID.
*
*
* optional string partner_hotel_id = 91;
* @return The partnerHotelId.
*/
@java.lang.Override
public java.lang.String getPartnerHotelId() {
java.lang.Object ref = partnerHotelId_;
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();
partnerHotelId_ = s;
return s;
}
}
/**
*
* Partner hotel ID.
*
*
* optional string partner_hotel_id = 91;
* @return The bytes for partnerHotelId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPartnerHotelIdBytes() {
java.lang.Object ref = partnerHotelId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partnerHotelId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PLACEHOLDER_TYPE_FIELD_NUMBER = 20;
private int placeholderType_ = 0;
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @return The enum numeric value on the wire for placeholderType.
*/
@java.lang.Override public int getPlaceholderTypeValue() {
return placeholderType_;
}
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @return The placeholderType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType getPlaceholderType() {
com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType result = com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType.forNumber(placeholderType_);
return result == null ? com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType.UNRECOGNIZED : result;
}
public static final int PRODUCT_AGGREGATOR_ID_FIELD_NUMBER = 132;
private long productAggregatorId_ = 0L;
/**
*
* Aggregator ID of the product.
*
*
* optional int64 product_aggregator_id = 132;
* @return Whether the productAggregatorId field is set.
*/
@java.lang.Override
public boolean hasProductAggregatorId() {
return ((bitField1_ & 0x00000200) != 0);
}
/**
*
* Aggregator ID of the product.
*
*
* optional int64 product_aggregator_id = 132;
* @return The productAggregatorId.
*/
@java.lang.Override
public long getProductAggregatorId() {
return productAggregatorId_;
}
public static final int PRODUCT_CATEGORY_LEVEL1_FIELD_NUMBER = 161;
@SuppressWarnings("serial")
private volatile java.lang.Object productCategoryLevel1_ = "";
/**
*
* Category (level 1) of the product.
*
*
* optional string product_category_level1 = 161;
* @return Whether the productCategoryLevel1 field is set.
*/
@java.lang.Override
public boolean hasProductCategoryLevel1() {
return ((bitField1_ & 0x00000400) != 0);
}
/**
*
* Category (level 1) of the product.
*
*
* optional string product_category_level1 = 161;
* @return The productCategoryLevel1.
*/
@java.lang.Override
public java.lang.String getProductCategoryLevel1() {
java.lang.Object ref = productCategoryLevel1_;
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();
productCategoryLevel1_ = s;
return s;
}
}
/**
*
* Category (level 1) of the product.
*
*
* optional string product_category_level1 = 161;
* @return The bytes for productCategoryLevel1.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCategoryLevel1Bytes() {
java.lang.Object ref = productCategoryLevel1_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCategoryLevel1_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_CATEGORY_LEVEL2_FIELD_NUMBER = 162;
@SuppressWarnings("serial")
private volatile java.lang.Object productCategoryLevel2_ = "";
/**
*
* Category (level 2) of the product.
*
*
* optional string product_category_level2 = 162;
* @return Whether the productCategoryLevel2 field is set.
*/
@java.lang.Override
public boolean hasProductCategoryLevel2() {
return ((bitField1_ & 0x00000800) != 0);
}
/**
*
* Category (level 2) of the product.
*
*
* optional string product_category_level2 = 162;
* @return The productCategoryLevel2.
*/
@java.lang.Override
public java.lang.String getProductCategoryLevel2() {
java.lang.Object ref = productCategoryLevel2_;
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();
productCategoryLevel2_ = s;
return s;
}
}
/**
*
* Category (level 2) of the product.
*
*
* optional string product_category_level2 = 162;
* @return The bytes for productCategoryLevel2.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCategoryLevel2Bytes() {
java.lang.Object ref = productCategoryLevel2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCategoryLevel2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_CATEGORY_LEVEL3_FIELD_NUMBER = 163;
@SuppressWarnings("serial")
private volatile java.lang.Object productCategoryLevel3_ = "";
/**
*
* Category (level 3) of the product.
*
*
* optional string product_category_level3 = 163;
* @return Whether the productCategoryLevel3 field is set.
*/
@java.lang.Override
public boolean hasProductCategoryLevel3() {
return ((bitField1_ & 0x00001000) != 0);
}
/**
*
* Category (level 3) of the product.
*
*
* optional string product_category_level3 = 163;
* @return The productCategoryLevel3.
*/
@java.lang.Override
public java.lang.String getProductCategoryLevel3() {
java.lang.Object ref = productCategoryLevel3_;
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();
productCategoryLevel3_ = s;
return s;
}
}
/**
*
* Category (level 3) of the product.
*
*
* optional string product_category_level3 = 163;
* @return The bytes for productCategoryLevel3.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCategoryLevel3Bytes() {
java.lang.Object ref = productCategoryLevel3_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCategoryLevel3_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_CATEGORY_LEVEL4_FIELD_NUMBER = 164;
@SuppressWarnings("serial")
private volatile java.lang.Object productCategoryLevel4_ = "";
/**
*
* Category (level 4) of the product.
*
*
* optional string product_category_level4 = 164;
* @return Whether the productCategoryLevel4 field is set.
*/
@java.lang.Override
public boolean hasProductCategoryLevel4() {
return ((bitField1_ & 0x00002000) != 0);
}
/**
*
* Category (level 4) of the product.
*
*
* optional string product_category_level4 = 164;
* @return The productCategoryLevel4.
*/
@java.lang.Override
public java.lang.String getProductCategoryLevel4() {
java.lang.Object ref = productCategoryLevel4_;
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();
productCategoryLevel4_ = s;
return s;
}
}
/**
*
* Category (level 4) of the product.
*
*
* optional string product_category_level4 = 164;
* @return The bytes for productCategoryLevel4.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCategoryLevel4Bytes() {
java.lang.Object ref = productCategoryLevel4_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCategoryLevel4_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_CATEGORY_LEVEL5_FIELD_NUMBER = 165;
@SuppressWarnings("serial")
private volatile java.lang.Object productCategoryLevel5_ = "";
/**
*
* Category (level 5) of the product.
*
*
* optional string product_category_level5 = 165;
* @return Whether the productCategoryLevel5 field is set.
*/
@java.lang.Override
public boolean hasProductCategoryLevel5() {
return ((bitField1_ & 0x00004000) != 0);
}
/**
*
* Category (level 5) of the product.
*
*
* optional string product_category_level5 = 165;
* @return The productCategoryLevel5.
*/
@java.lang.Override
public java.lang.String getProductCategoryLevel5() {
java.lang.Object ref = productCategoryLevel5_;
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();
productCategoryLevel5_ = s;
return s;
}
}
/**
*
* Category (level 5) of the product.
*
*
* optional string product_category_level5 = 165;
* @return The bytes for productCategoryLevel5.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCategoryLevel5Bytes() {
java.lang.Object ref = productCategoryLevel5_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCategoryLevel5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_BRAND_FIELD_NUMBER = 97;
@SuppressWarnings("serial")
private volatile java.lang.Object productBrand_ = "";
/**
*
* Brand of the product.
*
*
* optional string product_brand = 97;
* @return Whether the productBrand field is set.
*/
@java.lang.Override
public boolean hasProductBrand() {
return ((bitField1_ & 0x00008000) != 0);
}
/**
*
* Brand of the product.
*
*
* optional string product_brand = 97;
* @return The productBrand.
*/
@java.lang.Override
public java.lang.String getProductBrand() {
java.lang.Object ref = productBrand_;
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();
productBrand_ = s;
return s;
}
}
/**
*
* Brand of the product.
*
*
* optional string product_brand = 97;
* @return The bytes for productBrand.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductBrandBytes() {
java.lang.Object ref = productBrand_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBrand_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_CHANNEL_FIELD_NUMBER = 30;
private int productChannel_ = 0;
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @return The enum numeric value on the wire for productChannel.
*/
@java.lang.Override public int getProductChannelValue() {
return productChannel_;
}
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @return The productChannel.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel getProductChannel() {
com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel result = com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel.forNumber(productChannel_);
return result == null ? com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel.UNRECOGNIZED : result;
}
public static final int PRODUCT_CHANNEL_EXCLUSIVITY_FIELD_NUMBER = 31;
private int productChannelExclusivity_ = 0;
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31;
* @return The enum numeric value on the wire for productChannelExclusivity.
*/
@java.lang.Override public int getProductChannelExclusivityValue() {
return productChannelExclusivity_;
}
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31;
* @return The productChannelExclusivity.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity getProductChannelExclusivity() {
com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity result = com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.forNumber(productChannelExclusivity_);
return result == null ? com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.UNRECOGNIZED : result;
}
public static final int PRODUCT_CONDITION_FIELD_NUMBER = 32;
private int productCondition_ = 0;
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @return The enum numeric value on the wire for productCondition.
*/
@java.lang.Override public int getProductConditionValue() {
return productCondition_;
}
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @return The productCondition.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition getProductCondition() {
com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition result = com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition.forNumber(productCondition_);
return result == null ? com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition.UNRECOGNIZED : result;
}
public static final int PRODUCT_COUNTRY_FIELD_NUMBER = 98;
@SuppressWarnings("serial")
private volatile java.lang.Object productCountry_ = "";
/**
*
* Resource name of the geo target constant for the country of sale of the
* product.
*
*
* optional string product_country = 98;
* @return Whether the productCountry field is set.
*/
@java.lang.Override
public boolean hasProductCountry() {
return ((bitField1_ & 0x00010000) != 0);
}
/**
*
* Resource name of the geo target constant for the country of sale of the
* product.
*
*
* optional string product_country = 98;
* @return The productCountry.
*/
@java.lang.Override
public java.lang.String getProductCountry() {
java.lang.Object ref = productCountry_;
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();
productCountry_ = s;
return s;
}
}
/**
*
* Resource name of the geo target constant for the country of sale of the
* product.
*
*
* optional string product_country = 98;
* @return The bytes for productCountry.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCountryBytes() {
java.lang.Object ref = productCountry_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_CUSTOM_ATTRIBUTE0_FIELD_NUMBER = 99;
@SuppressWarnings("serial")
private volatile java.lang.Object productCustomAttribute0_ = "";
/**
*
* Custom attribute 0 of the product.
*
*
* optional string product_custom_attribute0 = 99;
* @return Whether the productCustomAttribute0 field is set.
*/
@java.lang.Override
public boolean hasProductCustomAttribute0() {
return ((bitField1_ & 0x00020000) != 0);
}
/**
*
* Custom attribute 0 of the product.
*
*
* optional string product_custom_attribute0 = 99;
* @return The productCustomAttribute0.
*/
@java.lang.Override
public java.lang.String getProductCustomAttribute0() {
java.lang.Object ref = productCustomAttribute0_;
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();
productCustomAttribute0_ = s;
return s;
}
}
/**
*
* Custom attribute 0 of the product.
*
*
* optional string product_custom_attribute0 = 99;
* @return The bytes for productCustomAttribute0.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCustomAttribute0Bytes() {
java.lang.Object ref = productCustomAttribute0_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCustomAttribute0_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_CUSTOM_ATTRIBUTE1_FIELD_NUMBER = 100;
@SuppressWarnings("serial")
private volatile java.lang.Object productCustomAttribute1_ = "";
/**
*
* Custom attribute 1 of the product.
*
*
* optional string product_custom_attribute1 = 100;
* @return Whether the productCustomAttribute1 field is set.
*/
@java.lang.Override
public boolean hasProductCustomAttribute1() {
return ((bitField1_ & 0x00040000) != 0);
}
/**
*
* Custom attribute 1 of the product.
*
*
* optional string product_custom_attribute1 = 100;
* @return The productCustomAttribute1.
*/
@java.lang.Override
public java.lang.String getProductCustomAttribute1() {
java.lang.Object ref = productCustomAttribute1_;
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();
productCustomAttribute1_ = s;
return s;
}
}
/**
*
* Custom attribute 1 of the product.
*
*
* optional string product_custom_attribute1 = 100;
* @return The bytes for productCustomAttribute1.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCustomAttribute1Bytes() {
java.lang.Object ref = productCustomAttribute1_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCustomAttribute1_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_CUSTOM_ATTRIBUTE2_FIELD_NUMBER = 101;
@SuppressWarnings("serial")
private volatile java.lang.Object productCustomAttribute2_ = "";
/**
*
* Custom attribute 2 of the product.
*
*
* optional string product_custom_attribute2 = 101;
* @return Whether the productCustomAttribute2 field is set.
*/
@java.lang.Override
public boolean hasProductCustomAttribute2() {
return ((bitField1_ & 0x00080000) != 0);
}
/**
*
* Custom attribute 2 of the product.
*
*
* optional string product_custom_attribute2 = 101;
* @return The productCustomAttribute2.
*/
@java.lang.Override
public java.lang.String getProductCustomAttribute2() {
java.lang.Object ref = productCustomAttribute2_;
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();
productCustomAttribute2_ = s;
return s;
}
}
/**
*
* Custom attribute 2 of the product.
*
*
* optional string product_custom_attribute2 = 101;
* @return The bytes for productCustomAttribute2.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCustomAttribute2Bytes() {
java.lang.Object ref = productCustomAttribute2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCustomAttribute2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_CUSTOM_ATTRIBUTE3_FIELD_NUMBER = 102;
@SuppressWarnings("serial")
private volatile java.lang.Object productCustomAttribute3_ = "";
/**
*
* Custom attribute 3 of the product.
*
*
* optional string product_custom_attribute3 = 102;
* @return Whether the productCustomAttribute3 field is set.
*/
@java.lang.Override
public boolean hasProductCustomAttribute3() {
return ((bitField1_ & 0x00100000) != 0);
}
/**
*
* Custom attribute 3 of the product.
*
*
* optional string product_custom_attribute3 = 102;
* @return The productCustomAttribute3.
*/
@java.lang.Override
public java.lang.String getProductCustomAttribute3() {
java.lang.Object ref = productCustomAttribute3_;
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();
productCustomAttribute3_ = s;
return s;
}
}
/**
*
* Custom attribute 3 of the product.
*
*
* optional string product_custom_attribute3 = 102;
* @return The bytes for productCustomAttribute3.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCustomAttribute3Bytes() {
java.lang.Object ref = productCustomAttribute3_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCustomAttribute3_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_CUSTOM_ATTRIBUTE4_FIELD_NUMBER = 103;
@SuppressWarnings("serial")
private volatile java.lang.Object productCustomAttribute4_ = "";
/**
*
* Custom attribute 4 of the product.
*
*
* optional string product_custom_attribute4 = 103;
* @return Whether the productCustomAttribute4 field is set.
*/
@java.lang.Override
public boolean hasProductCustomAttribute4() {
return ((bitField1_ & 0x00200000) != 0);
}
/**
*
* Custom attribute 4 of the product.
*
*
* optional string product_custom_attribute4 = 103;
* @return The productCustomAttribute4.
*/
@java.lang.Override
public java.lang.String getProductCustomAttribute4() {
java.lang.Object ref = productCustomAttribute4_;
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();
productCustomAttribute4_ = s;
return s;
}
}
/**
*
* Custom attribute 4 of the product.
*
*
* optional string product_custom_attribute4 = 103;
* @return The bytes for productCustomAttribute4.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductCustomAttribute4Bytes() {
java.lang.Object ref = productCustomAttribute4_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCustomAttribute4_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_FEED_LABEL_FIELD_NUMBER = 147;
@SuppressWarnings("serial")
private volatile java.lang.Object productFeedLabel_ = "";
/**
*
* Feed label of the product.
*
*
* optional string product_feed_label = 147;
* @return Whether the productFeedLabel field is set.
*/
@java.lang.Override
public boolean hasProductFeedLabel() {
return ((bitField1_ & 0x00400000) != 0);
}
/**
*
* Feed label of the product.
*
*
* optional string product_feed_label = 147;
* @return The productFeedLabel.
*/
@java.lang.Override
public java.lang.String getProductFeedLabel() {
java.lang.Object ref = productFeedLabel_;
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();
productFeedLabel_ = s;
return s;
}
}
/**
*
* Feed label of the product.
*
*
* optional string product_feed_label = 147;
* @return The bytes for productFeedLabel.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductFeedLabelBytes() {
java.lang.Object ref = productFeedLabel_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productFeedLabel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_ITEM_ID_FIELD_NUMBER = 104;
@SuppressWarnings("serial")
private volatile java.lang.Object productItemId_ = "";
/**
*
* Item ID of the product.
*
*
* optional string product_item_id = 104;
* @return Whether the productItemId field is set.
*/
@java.lang.Override
public boolean hasProductItemId() {
return ((bitField1_ & 0x00800000) != 0);
}
/**
*
* Item ID of the product.
*
*
* optional string product_item_id = 104;
* @return The productItemId.
*/
@java.lang.Override
public java.lang.String getProductItemId() {
java.lang.Object ref = productItemId_;
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();
productItemId_ = s;
return s;
}
}
/**
*
* Item ID of the product.
*
*
* optional string product_item_id = 104;
* @return The bytes for productItemId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductItemIdBytes() {
java.lang.Object ref = productItemId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productItemId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_LANGUAGE_FIELD_NUMBER = 105;
@SuppressWarnings("serial")
private volatile java.lang.Object productLanguage_ = "";
/**
*
* Resource name of the language constant for the language of the product.
*
*
* optional string product_language = 105;
* @return Whether the productLanguage field is set.
*/
@java.lang.Override
public boolean hasProductLanguage() {
return ((bitField1_ & 0x01000000) != 0);
}
/**
*
* Resource name of the language constant for the language of the product.
*
*
* optional string product_language = 105;
* @return The productLanguage.
*/
@java.lang.Override
public java.lang.String getProductLanguage() {
java.lang.Object ref = productLanguage_;
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();
productLanguage_ = s;
return s;
}
}
/**
*
* Resource name of the language constant for the language of the product.
*
*
* optional string product_language = 105;
* @return The bytes for productLanguage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductLanguageBytes() {
java.lang.Object ref = productLanguage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productLanguage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_MERCHANT_ID_FIELD_NUMBER = 133;
private long productMerchantId_ = 0L;
/**
*
* Merchant ID of the product.
*
*
* optional int64 product_merchant_id = 133;
* @return Whether the productMerchantId field is set.
*/
@java.lang.Override
public boolean hasProductMerchantId() {
return ((bitField1_ & 0x02000000) != 0);
}
/**
*
* Merchant ID of the product.
*
*
* optional int64 product_merchant_id = 133;
* @return The productMerchantId.
*/
@java.lang.Override
public long getProductMerchantId() {
return productMerchantId_;
}
public static final int PRODUCT_STORE_ID_FIELD_NUMBER = 106;
@SuppressWarnings("serial")
private volatile java.lang.Object productStoreId_ = "";
/**
*
* Store ID of the product.
*
*
* optional string product_store_id = 106;
* @return Whether the productStoreId field is set.
*/
@java.lang.Override
public boolean hasProductStoreId() {
return ((bitField1_ & 0x04000000) != 0);
}
/**
*
* Store ID of the product.
*
*
* optional string product_store_id = 106;
* @return The productStoreId.
*/
@java.lang.Override
public java.lang.String getProductStoreId() {
java.lang.Object ref = productStoreId_;
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();
productStoreId_ = s;
return s;
}
}
/**
*
* Store ID of the product.
*
*
* optional string product_store_id = 106;
* @return The bytes for productStoreId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductStoreIdBytes() {
java.lang.Object ref = productStoreId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productStoreId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_TITLE_FIELD_NUMBER = 107;
@SuppressWarnings("serial")
private volatile java.lang.Object productTitle_ = "";
/**
*
* Title of the product.
*
*
* optional string product_title = 107;
* @return Whether the productTitle field is set.
*/
@java.lang.Override
public boolean hasProductTitle() {
return ((bitField1_ & 0x08000000) != 0);
}
/**
*
* Title of the product.
*
*
* optional string product_title = 107;
* @return The productTitle.
*/
@java.lang.Override
public java.lang.String getProductTitle() {
java.lang.Object ref = productTitle_;
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();
productTitle_ = s;
return s;
}
}
/**
*
* Title of the product.
*
*
* optional string product_title = 107;
* @return The bytes for productTitle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductTitleBytes() {
java.lang.Object ref = productTitle_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_TYPE_L1_FIELD_NUMBER = 108;
@SuppressWarnings("serial")
private volatile java.lang.Object productTypeL1_ = "";
/**
*
* Type (level 1) of the product.
*
*
* optional string product_type_l1 = 108;
* @return Whether the productTypeL1 field is set.
*/
@java.lang.Override
public boolean hasProductTypeL1() {
return ((bitField1_ & 0x10000000) != 0);
}
/**
*
* Type (level 1) of the product.
*
*
* optional string product_type_l1 = 108;
* @return The productTypeL1.
*/
@java.lang.Override
public java.lang.String getProductTypeL1() {
java.lang.Object ref = productTypeL1_;
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();
productTypeL1_ = s;
return s;
}
}
/**
*
* Type (level 1) of the product.
*
*
* optional string product_type_l1 = 108;
* @return The bytes for productTypeL1.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductTypeL1Bytes() {
java.lang.Object ref = productTypeL1_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTypeL1_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_TYPE_L2_FIELD_NUMBER = 109;
@SuppressWarnings("serial")
private volatile java.lang.Object productTypeL2_ = "";
/**
*
* Type (level 2) of the product.
*
*
* optional string product_type_l2 = 109;
* @return Whether the productTypeL2 field is set.
*/
@java.lang.Override
public boolean hasProductTypeL2() {
return ((bitField1_ & 0x20000000) != 0);
}
/**
*
* Type (level 2) of the product.
*
*
* optional string product_type_l2 = 109;
* @return The productTypeL2.
*/
@java.lang.Override
public java.lang.String getProductTypeL2() {
java.lang.Object ref = productTypeL2_;
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();
productTypeL2_ = s;
return s;
}
}
/**
*
* Type (level 2) of the product.
*
*
* optional string product_type_l2 = 109;
* @return The bytes for productTypeL2.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductTypeL2Bytes() {
java.lang.Object ref = productTypeL2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTypeL2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_TYPE_L3_FIELD_NUMBER = 110;
@SuppressWarnings("serial")
private volatile java.lang.Object productTypeL3_ = "";
/**
*
* Type (level 3) of the product.
*
*
* optional string product_type_l3 = 110;
* @return Whether the productTypeL3 field is set.
*/
@java.lang.Override
public boolean hasProductTypeL3() {
return ((bitField1_ & 0x40000000) != 0);
}
/**
*
* Type (level 3) of the product.
*
*
* optional string product_type_l3 = 110;
* @return The productTypeL3.
*/
@java.lang.Override
public java.lang.String getProductTypeL3() {
java.lang.Object ref = productTypeL3_;
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();
productTypeL3_ = s;
return s;
}
}
/**
*
* Type (level 3) of the product.
*
*
* optional string product_type_l3 = 110;
* @return The bytes for productTypeL3.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductTypeL3Bytes() {
java.lang.Object ref = productTypeL3_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTypeL3_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_TYPE_L4_FIELD_NUMBER = 111;
@SuppressWarnings("serial")
private volatile java.lang.Object productTypeL4_ = "";
/**
*
* Type (level 4) of the product.
*
*
* optional string product_type_l4 = 111;
* @return Whether the productTypeL4 field is set.
*/
@java.lang.Override
public boolean hasProductTypeL4() {
return ((bitField1_ & 0x80000000) != 0);
}
/**
*
* Type (level 4) of the product.
*
*
* optional string product_type_l4 = 111;
* @return The productTypeL4.
*/
@java.lang.Override
public java.lang.String getProductTypeL4() {
java.lang.Object ref = productTypeL4_;
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();
productTypeL4_ = s;
return s;
}
}
/**
*
* Type (level 4) of the product.
*
*
* optional string product_type_l4 = 111;
* @return The bytes for productTypeL4.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductTypeL4Bytes() {
java.lang.Object ref = productTypeL4_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTypeL4_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_TYPE_L5_FIELD_NUMBER = 112;
@SuppressWarnings("serial")
private volatile java.lang.Object productTypeL5_ = "";
/**
*
* Type (level 5) of the product.
*
*
* optional string product_type_l5 = 112;
* @return Whether the productTypeL5 field is set.
*/
@java.lang.Override
public boolean hasProductTypeL5() {
return ((bitField2_ & 0x00000001) != 0);
}
/**
*
* Type (level 5) of the product.
*
*
* optional string product_type_l5 = 112;
* @return The productTypeL5.
*/
@java.lang.Override
public java.lang.String getProductTypeL5() {
java.lang.Object ref = productTypeL5_;
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();
productTypeL5_ = s;
return s;
}
}
/**
*
* Type (level 5) of the product.
*
*
* optional string product_type_l5 = 112;
* @return The bytes for productTypeL5.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductTypeL5Bytes() {
java.lang.Object ref = productTypeL5_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTypeL5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int QUARTER_FIELD_NUMBER = 128;
@SuppressWarnings("serial")
private volatile java.lang.Object quarter_ = "";
/**
*
* Quarter as represented by the date of the first day of a quarter.
* Uses the calendar year for quarters, for example, the second quarter of
* 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
*
*
* optional string quarter = 128;
* @return Whether the quarter field is set.
*/
@java.lang.Override
public boolean hasQuarter() {
return ((bitField2_ & 0x00000002) != 0);
}
/**
*
* Quarter as represented by the date of the first day of a quarter.
* Uses the calendar year for quarters, for example, the second quarter of
* 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
*
*
* optional string quarter = 128;
* @return The quarter.
*/
@java.lang.Override
public java.lang.String getQuarter() {
java.lang.Object ref = quarter_;
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();
quarter_ = s;
return s;
}
}
/**
*
* Quarter as represented by the date of the first day of a quarter.
* Uses the calendar year for quarters, for example, the second quarter of
* 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
*
*
* optional string quarter = 128;
* @return The bytes for quarter.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQuarterBytes() {
java.lang.Object ref = quarter_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
quarter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RECOMMENDATION_TYPE_FIELD_NUMBER = 140;
private int recommendationType_ = 0;
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @return The enum numeric value on the wire for recommendationType.
*/
@java.lang.Override public int getRecommendationTypeValue() {
return recommendationType_;
}
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @return The recommendationType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType getRecommendationType() {
com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType result = com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType.forNumber(recommendationType_);
return result == null ? com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType.UNRECOGNIZED : result;
}
public static final int SEARCH_ENGINE_RESULTS_PAGE_TYPE_FIELD_NUMBER = 70;
private int searchEngineResultsPageType_ = 0;
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70;
* @return The enum numeric value on the wire for searchEngineResultsPageType.
*/
@java.lang.Override public int getSearchEngineResultsPageTypeValue() {
return searchEngineResultsPageType_;
}
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70;
* @return The searchEngineResultsPageType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType getSearchEngineResultsPageType() {
com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType result = com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.forNumber(searchEngineResultsPageType_);
return result == null ? com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.UNRECOGNIZED : result;
}
public static final int SEARCH_SUBCATEGORY_FIELD_NUMBER = 155;
@SuppressWarnings("serial")
private volatile java.lang.Object searchSubcategory_ = "";
/**
*
* A search term subcategory. An empty string denotes the catch-all
* subcategory for search terms that didn't fit into another subcategory.
*
*
* optional string search_subcategory = 155;
* @return Whether the searchSubcategory field is set.
*/
@java.lang.Override
public boolean hasSearchSubcategory() {
return ((bitField2_ & 0x00000004) != 0);
}
/**
*
* A search term subcategory. An empty string denotes the catch-all
* subcategory for search terms that didn't fit into another subcategory.
*
*
* optional string search_subcategory = 155;
* @return The searchSubcategory.
*/
@java.lang.Override
public java.lang.String getSearchSubcategory() {
java.lang.Object ref = searchSubcategory_;
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();
searchSubcategory_ = s;
return s;
}
}
/**
*
* A search term subcategory. An empty string denotes the catch-all
* subcategory for search terms that didn't fit into another subcategory.
*
*
* optional string search_subcategory = 155;
* @return The bytes for searchSubcategory.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSearchSubcategoryBytes() {
java.lang.Object ref = searchSubcategory_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchSubcategory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SEARCH_TERM_FIELD_NUMBER = 156;
@SuppressWarnings("serial")
private volatile java.lang.Object searchTerm_ = "";
/**
*
* A search term.
*
*
* optional string search_term = 156;
* @return Whether the searchTerm field is set.
*/
@java.lang.Override
public boolean hasSearchTerm() {
return ((bitField2_ & 0x00000008) != 0);
}
/**
*
* A search term.
*
*
* optional string search_term = 156;
* @return The searchTerm.
*/
@java.lang.Override
public java.lang.String getSearchTerm() {
java.lang.Object ref = searchTerm_;
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();
searchTerm_ = s;
return s;
}
}
/**
*
* A search term.
*
*
* optional string search_term = 156;
* @return The bytes for searchTerm.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSearchTermBytes() {
java.lang.Object ref = searchTerm_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchTerm_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SEARCH_TERM_MATCH_TYPE_FIELD_NUMBER = 22;
private int searchTermMatchType_ = 0;
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22;
* @return The enum numeric value on the wire for searchTermMatchType.
*/
@java.lang.Override public int getSearchTermMatchTypeValue() {
return searchTermMatchType_;
}
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22;
* @return The searchTermMatchType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType getSearchTermMatchType() {
com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType result = com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType.forNumber(searchTermMatchType_);
return result == null ? com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType.UNRECOGNIZED : result;
}
public static final int SLOT_FIELD_NUMBER = 23;
private int slot_ = 0;
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v17.enums.SlotEnum.Slot slot = 23;
* @return The enum numeric value on the wire for slot.
*/
@java.lang.Override public int getSlotValue() {
return slot_;
}
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v17.enums.SlotEnum.Slot slot = 23;
* @return The slot.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.SlotEnum.Slot getSlot() {
com.google.ads.googleads.v17.enums.SlotEnum.Slot result = com.google.ads.googleads.v17.enums.SlotEnum.Slot.forNumber(slot_);
return result == null ? com.google.ads.googleads.v17.enums.SlotEnum.Slot.UNRECOGNIZED : result;
}
public static final int CONVERSION_VALUE_RULE_PRIMARY_DIMENSION_FIELD_NUMBER = 138;
private int conversionValueRulePrimaryDimension_ = 0;
/**
*
* Primary dimension of applied conversion value rules.
* NO_RULE_APPLIED shows the total recorded value of conversions that
* do not have a value rule applied.
* ORIGINAL shows the original value of conversions to which a value rule
* has been applied.
* GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value
* rules were applied.
*
*
* .google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138;
* @return The enum numeric value on the wire for conversionValueRulePrimaryDimension.
*/
@java.lang.Override public int getConversionValueRulePrimaryDimensionValue() {
return conversionValueRulePrimaryDimension_;
}
/**
*
* Primary dimension of applied conversion value rules.
* NO_RULE_APPLIED shows the total recorded value of conversions that
* do not have a value rule applied.
* ORIGINAL shows the original value of conversions to which a value rule
* has been applied.
* GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value
* rules were applied.
*
*
* .google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138;
* @return The conversionValueRulePrimaryDimension.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension getConversionValueRulePrimaryDimension() {
com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension result = com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.forNumber(conversionValueRulePrimaryDimension_);
return result == null ? com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.UNRECOGNIZED : result;
}
public static final int WEBPAGE_FIELD_NUMBER = 129;
@SuppressWarnings("serial")
private volatile java.lang.Object webpage_ = "";
/**
*
* Resource name of the ad group criterion that represents webpage criterion.
*
*
* optional string webpage = 129;
* @return Whether the webpage field is set.
*/
@java.lang.Override
public boolean hasWebpage() {
return ((bitField2_ & 0x00000010) != 0);
}
/**
*
* Resource name of the ad group criterion that represents webpage criterion.
*
*
* optional string webpage = 129;
* @return The webpage.
*/
@java.lang.Override
public java.lang.String getWebpage() {
java.lang.Object ref = webpage_;
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();
webpage_ = s;
return s;
}
}
/**
*
* Resource name of the ad group criterion that represents webpage criterion.
*
*
* optional string webpage = 129;
* @return The bytes for webpage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebpageBytes() {
java.lang.Object ref = webpage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webpage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEEK_FIELD_NUMBER = 130;
@SuppressWarnings("serial")
private volatile java.lang.Object week_ = "";
/**
*
* Week as defined as Monday through Sunday, and represented by the date of
* Monday. Formatted as yyyy-MM-dd.
*
*
* optional string week = 130;
* @return Whether the week field is set.
*/
@java.lang.Override
public boolean hasWeek() {
return ((bitField2_ & 0x00000020) != 0);
}
/**
*
* Week as defined as Monday through Sunday, and represented by the date of
* Monday. Formatted as yyyy-MM-dd.
*
*
* optional string week = 130;
* @return The week.
*/
@java.lang.Override
public java.lang.String getWeek() {
java.lang.Object ref = week_;
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();
week_ = s;
return s;
}
}
/**
*
* Week as defined as Monday through Sunday, and represented by the date of
* Monday. Formatted as yyyy-MM-dd.
*
*
* optional string week = 130;
* @return The bytes for week.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWeekBytes() {
java.lang.Object ref = week_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
week_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int YEAR_FIELD_NUMBER = 131;
private int year_ = 0;
/**
*
* Year, formatted as yyyy.
*
*
* optional int32 year = 131;
* @return Whether the year field is set.
*/
@java.lang.Override
public boolean hasYear() {
return ((bitField2_ & 0x00000040) != 0);
}
/**
*
* Year, formatted as yyyy.
*
*
* optional int32 year = 131;
* @return The year.
*/
@java.lang.Override
public int getYear() {
return year_;
}
public static final int SK_AD_NETWORK_FINE_CONVERSION_VALUE_FIELD_NUMBER = 137;
private long skAdNetworkFineConversionValue_ = 0L;
/**
*
* iOS Store Kit Ad Network conversion value.
* Null value means this segment is not applicable, for example, non-iOS
* campaign.
*
*
* optional int64 sk_ad_network_fine_conversion_value = 137;
* @return Whether the skAdNetworkFineConversionValue field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkFineConversionValue() {
return ((bitField2_ & 0x00000080) != 0);
}
/**
*
* iOS Store Kit Ad Network conversion value.
* Null value means this segment is not applicable, for example, non-iOS
* campaign.
*
*
* optional int64 sk_ad_network_fine_conversion_value = 137;
* @return The skAdNetworkFineConversionValue.
*/
@java.lang.Override
public long getSkAdNetworkFineConversionValue() {
return skAdNetworkFineConversionValue_;
}
public static final int SK_AD_NETWORK_REDISTRIBUTED_FINE_CONVERSION_VALUE_FIELD_NUMBER = 190;
private long skAdNetworkRedistributedFineConversionValue_ = 0L;
/**
*
* iOS Store Kit Ad Network redistributed fine conversion value.
*
* Google uses modeling on observed conversion values(obtained
* from Apple) to calculate conversions from SKAN postbacks where
* NULLs are returned. This column represents the sum of the modeled
* conversion values and the observed conversion values. See
* https://support.google.com/google-ads/answer/14892597
* to lean more.
*
*
* optional int64 sk_ad_network_redistributed_fine_conversion_value = 190;
* @return Whether the skAdNetworkRedistributedFineConversionValue field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkRedistributedFineConversionValue() {
return ((bitField2_ & 0x00000100) != 0);
}
/**
*
* iOS Store Kit Ad Network redistributed fine conversion value.
*
* Google uses modeling on observed conversion values(obtained
* from Apple) to calculate conversions from SKAN postbacks where
* NULLs are returned. This column represents the sum of the modeled
* conversion values and the observed conversion values. See
* https://support.google.com/google-ads/answer/14892597
* to lean more.
*
*
* optional int64 sk_ad_network_redistributed_fine_conversion_value = 190;
* @return The skAdNetworkRedistributedFineConversionValue.
*/
@java.lang.Override
public long getSkAdNetworkRedistributedFineConversionValue() {
return skAdNetworkRedistributedFineConversionValue_;
}
public static final int SK_AD_NETWORK_USER_TYPE_FIELD_NUMBER = 141;
private int skAdNetworkUserType_ = 0;
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141;
* @return The enum numeric value on the wire for skAdNetworkUserType.
*/
@java.lang.Override public int getSkAdNetworkUserTypeValue() {
return skAdNetworkUserType_;
}
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141;
* @return The skAdNetworkUserType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType getSkAdNetworkUserType() {
com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType result = com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.forNumber(skAdNetworkUserType_);
return result == null ? com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.UNRECOGNIZED : result;
}
public static final int SK_AD_NETWORK_AD_EVENT_TYPE_FIELD_NUMBER = 142;
private int skAdNetworkAdEventType_ = 0;
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142;
* @return The enum numeric value on the wire for skAdNetworkAdEventType.
*/
@java.lang.Override public int getSkAdNetworkAdEventTypeValue() {
return skAdNetworkAdEventType_;
}
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142;
* @return The skAdNetworkAdEventType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType getSkAdNetworkAdEventType() {
com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType result = com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.forNumber(skAdNetworkAdEventType_);
return result == null ? com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.UNRECOGNIZED : result;
}
public static final int SK_AD_NETWORK_SOURCE_APP_FIELD_NUMBER = 143;
private com.google.ads.googleads.v17.common.SkAdNetworkSourceApp skAdNetworkSourceApp_;
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
* @return Whether the skAdNetworkSourceApp field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkSourceApp() {
return ((bitField2_ & 0x00000200) != 0);
}
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
* @return The skAdNetworkSourceApp.
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.SkAdNetworkSourceApp getSkAdNetworkSourceApp() {
return skAdNetworkSourceApp_ == null ? com.google.ads.googleads.v17.common.SkAdNetworkSourceApp.getDefaultInstance() : skAdNetworkSourceApp_;
}
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.SkAdNetworkSourceAppOrBuilder getSkAdNetworkSourceAppOrBuilder() {
return skAdNetworkSourceApp_ == null ? com.google.ads.googleads.v17.common.SkAdNetworkSourceApp.getDefaultInstance() : skAdNetworkSourceApp_;
}
public static final int SK_AD_NETWORK_ATTRIBUTION_CREDIT_FIELD_NUMBER = 144;
private int skAdNetworkAttributionCredit_ = 0;
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144;
* @return The enum numeric value on the wire for skAdNetworkAttributionCredit.
*/
@java.lang.Override public int getSkAdNetworkAttributionCreditValue() {
return skAdNetworkAttributionCredit_;
}
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144;
* @return The skAdNetworkAttributionCredit.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit getSkAdNetworkAttributionCredit() {
com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit result = com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.forNumber(skAdNetworkAttributionCredit_);
return result == null ? com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.UNRECOGNIZED : result;
}
public static final int SK_AD_NETWORK_COARSE_CONVERSION_VALUE_FIELD_NUMBER = 151;
private int skAdNetworkCoarseConversionValue_ = 0;
/**
*
* iOS Store Kit Ad Network coarse conversion value.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue sk_ad_network_coarse_conversion_value = 151;
* @return The enum numeric value on the wire for skAdNetworkCoarseConversionValue.
*/
@java.lang.Override public int getSkAdNetworkCoarseConversionValueValue() {
return skAdNetworkCoarseConversionValue_;
}
/**
*
* iOS Store Kit Ad Network coarse conversion value.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue sk_ad_network_coarse_conversion_value = 151;
* @return The skAdNetworkCoarseConversionValue.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue getSkAdNetworkCoarseConversionValue() {
com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue result = com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue.forNumber(skAdNetworkCoarseConversionValue_);
return result == null ? com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue.UNRECOGNIZED : result;
}
public static final int SK_AD_NETWORK_SOURCE_DOMAIN_FIELD_NUMBER = 152;
@SuppressWarnings("serial")
private volatile java.lang.Object skAdNetworkSourceDomain_ = "";
/**
*
* Website where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional string sk_ad_network_source_domain = 152;
* @return Whether the skAdNetworkSourceDomain field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkSourceDomain() {
return ((bitField2_ & 0x00000400) != 0);
}
/**
*
* Website where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional string sk_ad_network_source_domain = 152;
* @return The skAdNetworkSourceDomain.
*/
@java.lang.Override
public java.lang.String getSkAdNetworkSourceDomain() {
java.lang.Object ref = skAdNetworkSourceDomain_;
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();
skAdNetworkSourceDomain_ = s;
return s;
}
}
/**
*
* Website where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional string sk_ad_network_source_domain = 152;
* @return The bytes for skAdNetworkSourceDomain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSkAdNetworkSourceDomainBytes() {
java.lang.Object ref = skAdNetworkSourceDomain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
skAdNetworkSourceDomain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SK_AD_NETWORK_SOURCE_TYPE_FIELD_NUMBER = 153;
private int skAdNetworkSourceType_ = 0;
/**
*
* The source type where the ad that drove the iOS Store Kit Ad Network
* install was shown. Null value means this segment is not applicable, for
* example, non-iOS campaign, or neither source domain nor source app were
* present in any postbacks sent by Apple.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType sk_ad_network_source_type = 153;
* @return The enum numeric value on the wire for skAdNetworkSourceType.
*/
@java.lang.Override public int getSkAdNetworkSourceTypeValue() {
return skAdNetworkSourceType_;
}
/**
*
* The source type where the ad that drove the iOS Store Kit Ad Network
* install was shown. Null value means this segment is not applicable, for
* example, non-iOS campaign, or neither source domain nor source app were
* present in any postbacks sent by Apple.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType sk_ad_network_source_type = 153;
* @return The skAdNetworkSourceType.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType getSkAdNetworkSourceType() {
com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType result = com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType.forNumber(skAdNetworkSourceType_);
return result == null ? com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType.UNRECOGNIZED : result;
}
public static final int SK_AD_NETWORK_POSTBACK_SEQUENCE_INDEX_FIELD_NUMBER = 154;
private long skAdNetworkPostbackSequenceIndex_ = 0L;
/**
*
* iOS Store Kit Ad Network postback sequence index.
*
*
* optional int64 sk_ad_network_postback_sequence_index = 154;
* @return Whether the skAdNetworkPostbackSequenceIndex field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkPostbackSequenceIndex() {
return ((bitField2_ & 0x00000800) != 0);
}
/**
*
* iOS Store Kit Ad Network postback sequence index.
*
*
* optional int64 sk_ad_network_postback_sequence_index = 154;
* @return The skAdNetworkPostbackSequenceIndex.
*/
@java.lang.Override
public long getSkAdNetworkPostbackSequenceIndex() {
return skAdNetworkPostbackSequenceIndex_;
}
public static final int SK_AD_NETWORK_VERSION_FIELD_NUMBER = 192;
@SuppressWarnings("serial")
private volatile java.lang.Object skAdNetworkVersion_ = "";
/**
*
* The version of the SKAdNetwork API used.
*
*
* optional string sk_ad_network_version = 192;
* @return Whether the skAdNetworkVersion field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkVersion() {
return ((bitField2_ & 0x00001000) != 0);
}
/**
*
* The version of the SKAdNetwork API used.
*
*
* optional string sk_ad_network_version = 192;
* @return The skAdNetworkVersion.
*/
@java.lang.Override
public java.lang.String getSkAdNetworkVersion() {
java.lang.Object ref = skAdNetworkVersion_;
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();
skAdNetworkVersion_ = s;
return s;
}
}
/**
*
* The version of the SKAdNetwork API used.
*
*
* optional string sk_ad_network_version = 192;
* @return The bytes for skAdNetworkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSkAdNetworkVersionBytes() {
java.lang.Object ref = skAdNetworkVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
skAdNetworkVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ASSET_INTERACTION_TARGET_FIELD_NUMBER = 139;
private com.google.ads.googleads.v17.common.AssetInteractionTarget assetInteractionTarget_;
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
* @return Whether the assetInteractionTarget field is set.
*/
@java.lang.Override
public boolean hasAssetInteractionTarget() {
return ((bitField2_ & 0x00002000) != 0);
}
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
* @return The assetInteractionTarget.
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.AssetInteractionTarget getAssetInteractionTarget() {
return assetInteractionTarget_ == null ? com.google.ads.googleads.v17.common.AssetInteractionTarget.getDefaultInstance() : assetInteractionTarget_;
}
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.AssetInteractionTargetOrBuilder getAssetInteractionTargetOrBuilder() {
return assetInteractionTarget_ == null ? com.google.ads.googleads.v17.common.AssetInteractionTarget.getDefaultInstance() : assetInteractionTarget_;
}
public static final int NEW_VERSUS_RETURNING_CUSTOMERS_FIELD_NUMBER = 160;
private int newVersusReturningCustomers_ = 0;
/**
*
* This is for segmenting conversions by whether the user is a new customer
* or a returning customer. This segmentation is typically used to measure
* the impact of customer acquisition goal.
*
*
* .google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket new_versus_returning_customers = 160;
* @return The enum numeric value on the wire for newVersusReturningCustomers.
*/
@java.lang.Override public int getNewVersusReturningCustomersValue() {
return newVersusReturningCustomers_;
}
/**
*
* This is for segmenting conversions by whether the user is a new customer
* or a returning customer. This segmentation is typically used to measure
* the impact of customer acquisition goal.
*
*
* .google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket new_versus_returning_customers = 160;
* @return The newVersusReturningCustomers.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket getNewVersusReturningCustomers() {
com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket result = com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket.forNumber(newVersusReturningCustomers_);
return result == null ? com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket.UNRECOGNIZED : result;
}
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 (device_ != com.google.ads.googleads.v17.enums.DeviceEnum.Device.UNSPECIFIED.getNumber()) {
output.writeEnum(1, device_);
}
if (conversionAttributionEventType_ != com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.UNSPECIFIED.getNumber()) {
output.writeEnum(2, conversionAttributionEventType_);
}
if (adNetworkType_ != com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType.UNSPECIFIED.getNumber()) {
output.writeEnum(3, adNetworkType_);
}
if (dayOfWeek_ != com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.UNSPECIFIED.getNumber()) {
output.writeEnum(5, dayOfWeek_);
}
if (hotelCheckInDayOfWeek_ != com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.UNSPECIFIED.getNumber()) {
output.writeEnum(9, hotelCheckInDayOfWeek_);
}
if (hotelDateSelectionType_ != com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.UNSPECIFIED.getNumber()) {
output.writeEnum(13, hotelDateSelectionType_);
}
if (monthOfYear_ != com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear.UNSPECIFIED.getNumber()) {
output.writeEnum(18, monthOfYear_);
}
if (placeholderType_ != com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType.UNSPECIFIED.getNumber()) {
output.writeEnum(20, placeholderType_);
}
if (searchTermMatchType_ != com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType.UNSPECIFIED.getNumber()) {
output.writeEnum(22, searchTermMatchType_);
}
if (slot_ != com.google.ads.googleads.v17.enums.SlotEnum.Slot.UNSPECIFIED.getNumber()) {
output.writeEnum(23, slot_);
}
if (clickType_ != com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType.UNSPECIFIED.getNumber()) {
output.writeEnum(26, clickType_);
}
if (productChannel_ != com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel.UNSPECIFIED.getNumber()) {
output.writeEnum(30, productChannel_);
}
if (productChannelExclusivity_ != com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.UNSPECIFIED.getNumber()) {
output.writeEnum(31, productChannelExclusivity_);
}
if (productCondition_ != com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition.UNSPECIFIED.getNumber()) {
output.writeEnum(32, productCondition_);
}
if (conversionLagBucket_ != com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket.UNSPECIFIED.getNumber()) {
output.writeEnum(50, conversionLagBucket_);
}
if (conversionOrAdjustmentLagBucket_ != com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.UNSPECIFIED.getNumber()) {
output.writeEnum(51, conversionOrAdjustmentLagBucket_);
}
if (conversionActionCategory_ != com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory.UNSPECIFIED.getNumber()) {
output.writeEnum(53, conversionActionCategory_);
}
if (externalConversionSource_ != com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource.UNSPECIFIED.getNumber()) {
output.writeEnum(55, externalConversionSource_);
}
if (((bitField1_ & 0x00000040) != 0)) {
output.writeMessage(61, getKeyword());
}
if (searchEngineResultsPageType_ != com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.UNSPECIFIED.getNumber()) {
output.writeEnum(70, searchEngineResultsPageType_);
}
if (hotelRateType_ != com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType.UNSPECIFIED.getNumber()) {
output.writeEnum(74, hotelRateType_);
}
if (hotelPriceBucket_ != com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket.UNSPECIFIED.getNumber()) {
output.writeEnum(78, hotelPriceBucket_);
}
if (((bitField0_ & 0x00004000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 79, date_);
}
if (((bitField0_ & 0x10000000) != 0)) {
output.writeInt64(80, hotelCenterId_);
}
if (((bitField0_ & 0x20000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 81, hotelCheckInDate_);
}
if (((bitField0_ & 0x40000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 82, hotelCity_);
}
if (((bitField0_ & 0x80000000) != 0)) {
output.writeInt32(83, hotelClass_);
}
if (((bitField1_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 84, hotelCountry_);
}
if (((bitField1_ & 0x00000002) != 0)) {
output.writeInt32(85, hotelLengthOfStay_);
}
if (((bitField1_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 86, hotelRateRuleId_);
}
if (((bitField1_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 87, hotelState_);
}
if (((bitField1_ & 0x00000010) != 0)) {
output.writeInt32(88, hour_);
}
if (((bitField1_ & 0x00000020) != 0)) {
output.writeBool(89, interactionOnThisExtension_);
}
if (((bitField1_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 90, month_);
}
if (((bitField1_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 91, partnerHotelId_);
}
if (((bitField1_ & 0x00008000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 97, productBrand_);
}
if (((bitField1_ & 0x00010000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 98, productCountry_);
}
if (((bitField1_ & 0x00020000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 99, productCustomAttribute0_);
}
if (((bitField1_ & 0x00040000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 100, productCustomAttribute1_);
}
if (((bitField1_ & 0x00080000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 101, productCustomAttribute2_);
}
if (((bitField1_ & 0x00100000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 102, productCustomAttribute3_);
}
if (((bitField1_ & 0x00200000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 103, productCustomAttribute4_);
}
if (((bitField1_ & 0x00800000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 104, productItemId_);
}
if (((bitField1_ & 0x01000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 105, productLanguage_);
}
if (((bitField1_ & 0x04000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 106, productStoreId_);
}
if (((bitField1_ & 0x08000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 107, productTitle_);
}
if (((bitField1_ & 0x10000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 108, productTypeL1_);
}
if (((bitField1_ & 0x20000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 109, productTypeL2_);
}
if (((bitField1_ & 0x40000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 110, productTypeL3_);
}
if (((bitField1_ & 0x80000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 111, productTypeL4_);
}
if (((bitField2_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 112, productTypeL5_);
}
if (((bitField0_ & 0x00000800) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 113, conversionAction_);
}
if (((bitField0_ & 0x00001000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 114, conversionActionName_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeBool(115, conversionAdjustment_);
}
if (((bitField0_ & 0x00008000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 116, geoTargetAirport_);
}
if (((bitField0_ & 0x00010000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 117, geoTargetCanton_);
}
if (((bitField0_ & 0x00020000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 118, geoTargetCity_);
}
if (((bitField0_ & 0x00040000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 119, geoTargetCountry_);
}
if (((bitField0_ & 0x00080000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 120, geoTargetCounty_);
}
if (((bitField0_ & 0x00100000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 121, geoTargetDistrict_);
}
if (((bitField0_ & 0x00200000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 122, geoTargetMetro_);
}
if (((bitField0_ & 0x00400000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 123, geoTargetMostSpecificLocation_);
}
if (((bitField0_ & 0x00800000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 124, geoTargetPostalCode_);
}
if (((bitField0_ & 0x01000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 125, geoTargetProvince_);
}
if (((bitField0_ & 0x02000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 126, geoTargetRegion_);
}
if (((bitField0_ & 0x04000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 127, geoTargetState_);
}
if (((bitField2_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 128, quarter_);
}
if (((bitField2_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 129, webpage_);
}
if (((bitField2_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 130, week_);
}
if (((bitField2_ & 0x00000040) != 0)) {
output.writeInt32(131, year_);
}
if (((bitField1_ & 0x00000200) != 0)) {
output.writeInt64(132, productAggregatorId_);
}
if (((bitField1_ & 0x02000000) != 0)) {
output.writeInt64(133, productMerchantId_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeMessage(134, getBudgetCampaignAssociationStatus());
}
if (((bitField0_ & 0x08000000) != 0)) {
output.writeInt64(135, hotelBookingWindowDays_);
}
if (adDestinationType_ != com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType.UNSPECIFIED.getNumber()) {
output.writeEnum(136, adDestinationType_);
}
if (((bitField2_ & 0x00000080) != 0)) {
output.writeInt64(137, skAdNetworkFineConversionValue_);
}
if (conversionValueRulePrimaryDimension_ != com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.UNSPECIFIED.getNumber()) {
output.writeEnum(138, conversionValueRulePrimaryDimension_);
}
if (((bitField2_ & 0x00002000) != 0)) {
output.writeMessage(139, getAssetInteractionTarget());
}
if (recommendationType_ != com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType.UNSPECIFIED.getNumber()) {
output.writeEnum(140, recommendationType_);
}
if (skAdNetworkUserType_ != com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.UNSPECIFIED.getNumber()) {
output.writeEnum(141, skAdNetworkUserType_);
}
if (skAdNetworkAdEventType_ != com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.UNSPECIFIED.getNumber()) {
output.writeEnum(142, skAdNetworkAdEventType_);
}
if (((bitField2_ & 0x00000200) != 0)) {
output.writeMessage(143, getSkAdNetworkSourceApp());
}
if (skAdNetworkAttributionCredit_ != com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.UNSPECIFIED.getNumber()) {
output.writeEnum(144, skAdNetworkAttributionCredit_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 145, auctionInsightDomain_);
}
if (((bitField1_ & 0x00400000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 147, productFeedLabel_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(148, activityAccountId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(149, activityRating_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 150, externalActivityId_);
}
if (skAdNetworkCoarseConversionValue_ != com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue.UNSPECIFIED.getNumber()) {
output.writeEnum(151, skAdNetworkCoarseConversionValue_);
}
if (((bitField2_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 152, skAdNetworkSourceDomain_);
}
if (skAdNetworkSourceType_ != com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType.UNSPECIFIED.getNumber()) {
output.writeEnum(153, skAdNetworkSourceType_);
}
if (((bitField2_ & 0x00000800) != 0)) {
output.writeInt64(154, skAdNetworkPostbackSequenceIndex_);
}
if (((bitField2_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 155, searchSubcategory_);
}
if (((bitField2_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 156, searchTerm_);
}
if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 157, campaign_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 158, adGroup_);
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 159, assetGroup_);
}
if (newVersusReturningCustomers_ != com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket.UNSPECIFIED.getNumber()) {
output.writeEnum(160, newVersusReturningCustomers_);
}
if (((bitField1_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 161, productCategoryLevel1_);
}
if (((bitField1_ & 0x00000800) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 162, productCategoryLevel2_);
}
if (((bitField1_ & 0x00001000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 163, productCategoryLevel3_);
}
if (((bitField1_ & 0x00002000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 164, productCategoryLevel4_);
}
if (((bitField1_ & 0x00004000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 165, productCategoryLevel5_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 185, activityCity_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 186, activityCountry_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 187, activityState_);
}
if (((bitField2_ & 0x00000100) != 0)) {
output.writeInt64(190, skAdNetworkRedistributedFineConversionValue_);
}
if (adFormatType_ != com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType.UNSPECIFIED.getNumber()) {
output.writeEnum(191, adFormatType_);
}
if (((bitField2_ & 0x00001000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 192, skAdNetworkVersion_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (device_ != com.google.ads.googleads.v17.enums.DeviceEnum.Device.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, device_);
}
if (conversionAttributionEventType_ != com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, conversionAttributionEventType_);
}
if (adNetworkType_ != com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, adNetworkType_);
}
if (dayOfWeek_ != com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, dayOfWeek_);
}
if (hotelCheckInDayOfWeek_ != com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, hotelCheckInDayOfWeek_);
}
if (hotelDateSelectionType_ != com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(13, hotelDateSelectionType_);
}
if (monthOfYear_ != com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(18, monthOfYear_);
}
if (placeholderType_ != com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(20, placeholderType_);
}
if (searchTermMatchType_ != com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(22, searchTermMatchType_);
}
if (slot_ != com.google.ads.googleads.v17.enums.SlotEnum.Slot.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(23, slot_);
}
if (clickType_ != com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(26, clickType_);
}
if (productChannel_ != com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(30, productChannel_);
}
if (productChannelExclusivity_ != com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(31, productChannelExclusivity_);
}
if (productCondition_ != com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(32, productCondition_);
}
if (conversionLagBucket_ != com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(50, conversionLagBucket_);
}
if (conversionOrAdjustmentLagBucket_ != com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(51, conversionOrAdjustmentLagBucket_);
}
if (conversionActionCategory_ != com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(53, conversionActionCategory_);
}
if (externalConversionSource_ != com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(55, externalConversionSource_);
}
if (((bitField1_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(61, getKeyword());
}
if (searchEngineResultsPageType_ != com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(70, searchEngineResultsPageType_);
}
if (hotelRateType_ != com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(74, hotelRateType_);
}
if (hotelPriceBucket_ != com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(78, hotelPriceBucket_);
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(79, date_);
}
if (((bitField0_ & 0x10000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(80, hotelCenterId_);
}
if (((bitField0_ & 0x20000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(81, hotelCheckInDate_);
}
if (((bitField0_ & 0x40000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(82, hotelCity_);
}
if (((bitField0_ & 0x80000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(83, hotelClass_);
}
if (((bitField1_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(84, hotelCountry_);
}
if (((bitField1_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(85, hotelLengthOfStay_);
}
if (((bitField1_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(86, hotelRateRuleId_);
}
if (((bitField1_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(87, hotelState_);
}
if (((bitField1_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(88, hour_);
}
if (((bitField1_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(89, interactionOnThisExtension_);
}
if (((bitField1_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(90, month_);
}
if (((bitField1_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(91, partnerHotelId_);
}
if (((bitField1_ & 0x00008000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(97, productBrand_);
}
if (((bitField1_ & 0x00010000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(98, productCountry_);
}
if (((bitField1_ & 0x00020000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(99, productCustomAttribute0_);
}
if (((bitField1_ & 0x00040000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, productCustomAttribute1_);
}
if (((bitField1_ & 0x00080000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(101, productCustomAttribute2_);
}
if (((bitField1_ & 0x00100000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(102, productCustomAttribute3_);
}
if (((bitField1_ & 0x00200000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(103, productCustomAttribute4_);
}
if (((bitField1_ & 0x00800000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(104, productItemId_);
}
if (((bitField1_ & 0x01000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(105, productLanguage_);
}
if (((bitField1_ & 0x04000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(106, productStoreId_);
}
if (((bitField1_ & 0x08000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(107, productTitle_);
}
if (((bitField1_ & 0x10000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(108, productTypeL1_);
}
if (((bitField1_ & 0x20000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(109, productTypeL2_);
}
if (((bitField1_ & 0x40000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(110, productTypeL3_);
}
if (((bitField1_ & 0x80000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(111, productTypeL4_);
}
if (((bitField2_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(112, productTypeL5_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(113, conversionAction_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(114, conversionActionName_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(115, conversionAdjustment_);
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(116, geoTargetAirport_);
}
if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(117, geoTargetCanton_);
}
if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(118, geoTargetCity_);
}
if (((bitField0_ & 0x00040000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(119, geoTargetCountry_);
}
if (((bitField0_ & 0x00080000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(120, geoTargetCounty_);
}
if (((bitField0_ & 0x00100000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(121, geoTargetDistrict_);
}
if (((bitField0_ & 0x00200000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(122, geoTargetMetro_);
}
if (((bitField0_ & 0x00400000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(123, geoTargetMostSpecificLocation_);
}
if (((bitField0_ & 0x00800000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(124, geoTargetPostalCode_);
}
if (((bitField0_ & 0x01000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(125, geoTargetProvince_);
}
if (((bitField0_ & 0x02000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(126, geoTargetRegion_);
}
if (((bitField0_ & 0x04000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(127, geoTargetState_);
}
if (((bitField2_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(128, quarter_);
}
if (((bitField2_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(129, webpage_);
}
if (((bitField2_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(130, week_);
}
if (((bitField2_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(131, year_);
}
if (((bitField1_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(132, productAggregatorId_);
}
if (((bitField1_ & 0x02000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(133, productMerchantId_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(134, getBudgetCampaignAssociationStatus());
}
if (((bitField0_ & 0x08000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(135, hotelBookingWindowDays_);
}
if (adDestinationType_ != com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(136, adDestinationType_);
}
if (((bitField2_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(137, skAdNetworkFineConversionValue_);
}
if (conversionValueRulePrimaryDimension_ != com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(138, conversionValueRulePrimaryDimension_);
}
if (((bitField2_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(139, getAssetInteractionTarget());
}
if (recommendationType_ != com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(140, recommendationType_);
}
if (skAdNetworkUserType_ != com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(141, skAdNetworkUserType_);
}
if (skAdNetworkAdEventType_ != com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(142, skAdNetworkAdEventType_);
}
if (((bitField2_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(143, getSkAdNetworkSourceApp());
}
if (skAdNetworkAttributionCredit_ != com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(144, skAdNetworkAttributionCredit_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(145, auctionInsightDomain_);
}
if (((bitField1_ & 0x00400000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(147, productFeedLabel_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(148, activityAccountId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(149, activityRating_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(150, externalActivityId_);
}
if (skAdNetworkCoarseConversionValue_ != com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(151, skAdNetworkCoarseConversionValue_);
}
if (((bitField2_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(152, skAdNetworkSourceDomain_);
}
if (skAdNetworkSourceType_ != com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(153, skAdNetworkSourceType_);
}
if (((bitField2_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(154, skAdNetworkPostbackSequenceIndex_);
}
if (((bitField2_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(155, searchSubcategory_);
}
if (((bitField2_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(156, searchTerm_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(157, campaign_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(158, adGroup_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(159, assetGroup_);
}
if (newVersusReturningCustomers_ != com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(160, newVersusReturningCustomers_);
}
if (((bitField1_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(161, productCategoryLevel1_);
}
if (((bitField1_ & 0x00000800) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(162, productCategoryLevel2_);
}
if (((bitField1_ & 0x00001000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(163, productCategoryLevel3_);
}
if (((bitField1_ & 0x00002000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(164, productCategoryLevel4_);
}
if (((bitField1_ & 0x00004000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(165, productCategoryLevel5_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(185, activityCity_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(186, activityCountry_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(187, activityState_);
}
if (((bitField2_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(190, skAdNetworkRedistributedFineConversionValue_);
}
if (adFormatType_ != com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(191, adFormatType_);
}
if (((bitField2_ & 0x00001000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(192, skAdNetworkVersion_);
}
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.Segments)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.common.Segments other = (com.google.ads.googleads.v17.common.Segments) obj;
if (hasActivityAccountId() != other.hasActivityAccountId()) return false;
if (hasActivityAccountId()) {
if (getActivityAccountId()
!= other.getActivityAccountId()) return false;
}
if (hasActivityCity() != other.hasActivityCity()) return false;
if (hasActivityCity()) {
if (!getActivityCity()
.equals(other.getActivityCity())) return false;
}
if (hasActivityCountry() != other.hasActivityCountry()) return false;
if (hasActivityCountry()) {
if (!getActivityCountry()
.equals(other.getActivityCountry())) return false;
}
if (hasActivityRating() != other.hasActivityRating()) return false;
if (hasActivityRating()) {
if (getActivityRating()
!= other.getActivityRating()) return false;
}
if (hasActivityState() != other.hasActivityState()) return false;
if (hasActivityState()) {
if (!getActivityState()
.equals(other.getActivityState())) return false;
}
if (hasExternalActivityId() != other.hasExternalActivityId()) return false;
if (hasExternalActivityId()) {
if (!getExternalActivityId()
.equals(other.getExternalActivityId())) return false;
}
if (adDestinationType_ != other.adDestinationType_) return false;
if (adFormatType_ != other.adFormatType_) return false;
if (adNetworkType_ != other.adNetworkType_) return false;
if (hasAdGroup() != other.hasAdGroup()) return false;
if (hasAdGroup()) {
if (!getAdGroup()
.equals(other.getAdGroup())) return false;
}
if (hasAssetGroup() != other.hasAssetGroup()) return false;
if (hasAssetGroup()) {
if (!getAssetGroup()
.equals(other.getAssetGroup())) return false;
}
if (hasAuctionInsightDomain() != other.hasAuctionInsightDomain()) return false;
if (hasAuctionInsightDomain()) {
if (!getAuctionInsightDomain()
.equals(other.getAuctionInsightDomain())) return false;
}
if (hasBudgetCampaignAssociationStatus() != other.hasBudgetCampaignAssociationStatus()) return false;
if (hasBudgetCampaignAssociationStatus()) {
if (!getBudgetCampaignAssociationStatus()
.equals(other.getBudgetCampaignAssociationStatus())) return false;
}
if (hasCampaign() != other.hasCampaign()) return false;
if (hasCampaign()) {
if (!getCampaign()
.equals(other.getCampaign())) return false;
}
if (clickType_ != other.clickType_) return false;
if (hasConversionAction() != other.hasConversionAction()) return false;
if (hasConversionAction()) {
if (!getConversionAction()
.equals(other.getConversionAction())) return false;
}
if (conversionActionCategory_ != other.conversionActionCategory_) return false;
if (hasConversionActionName() != other.hasConversionActionName()) return false;
if (hasConversionActionName()) {
if (!getConversionActionName()
.equals(other.getConversionActionName())) return false;
}
if (hasConversionAdjustment() != other.hasConversionAdjustment()) return false;
if (hasConversionAdjustment()) {
if (getConversionAdjustment()
!= other.getConversionAdjustment()) return false;
}
if (conversionAttributionEventType_ != other.conversionAttributionEventType_) return false;
if (conversionLagBucket_ != other.conversionLagBucket_) return false;
if (conversionOrAdjustmentLagBucket_ != other.conversionOrAdjustmentLagBucket_) return false;
if (hasDate() != other.hasDate()) return false;
if (hasDate()) {
if (!getDate()
.equals(other.getDate())) return false;
}
if (dayOfWeek_ != other.dayOfWeek_) return false;
if (device_ != other.device_) return false;
if (externalConversionSource_ != other.externalConversionSource_) return false;
if (hasGeoTargetAirport() != other.hasGeoTargetAirport()) return false;
if (hasGeoTargetAirport()) {
if (!getGeoTargetAirport()
.equals(other.getGeoTargetAirport())) return false;
}
if (hasGeoTargetCanton() != other.hasGeoTargetCanton()) return false;
if (hasGeoTargetCanton()) {
if (!getGeoTargetCanton()
.equals(other.getGeoTargetCanton())) return false;
}
if (hasGeoTargetCity() != other.hasGeoTargetCity()) return false;
if (hasGeoTargetCity()) {
if (!getGeoTargetCity()
.equals(other.getGeoTargetCity())) return false;
}
if (hasGeoTargetCountry() != other.hasGeoTargetCountry()) return false;
if (hasGeoTargetCountry()) {
if (!getGeoTargetCountry()
.equals(other.getGeoTargetCountry())) return false;
}
if (hasGeoTargetCounty() != other.hasGeoTargetCounty()) return false;
if (hasGeoTargetCounty()) {
if (!getGeoTargetCounty()
.equals(other.getGeoTargetCounty())) return false;
}
if (hasGeoTargetDistrict() != other.hasGeoTargetDistrict()) return false;
if (hasGeoTargetDistrict()) {
if (!getGeoTargetDistrict()
.equals(other.getGeoTargetDistrict())) return false;
}
if (hasGeoTargetMetro() != other.hasGeoTargetMetro()) return false;
if (hasGeoTargetMetro()) {
if (!getGeoTargetMetro()
.equals(other.getGeoTargetMetro())) return false;
}
if (hasGeoTargetMostSpecificLocation() != other.hasGeoTargetMostSpecificLocation()) return false;
if (hasGeoTargetMostSpecificLocation()) {
if (!getGeoTargetMostSpecificLocation()
.equals(other.getGeoTargetMostSpecificLocation())) return false;
}
if (hasGeoTargetPostalCode() != other.hasGeoTargetPostalCode()) return false;
if (hasGeoTargetPostalCode()) {
if (!getGeoTargetPostalCode()
.equals(other.getGeoTargetPostalCode())) return false;
}
if (hasGeoTargetProvince() != other.hasGeoTargetProvince()) return false;
if (hasGeoTargetProvince()) {
if (!getGeoTargetProvince()
.equals(other.getGeoTargetProvince())) return false;
}
if (hasGeoTargetRegion() != other.hasGeoTargetRegion()) return false;
if (hasGeoTargetRegion()) {
if (!getGeoTargetRegion()
.equals(other.getGeoTargetRegion())) return false;
}
if (hasGeoTargetState() != other.hasGeoTargetState()) return false;
if (hasGeoTargetState()) {
if (!getGeoTargetState()
.equals(other.getGeoTargetState())) return false;
}
if (hasHotelBookingWindowDays() != other.hasHotelBookingWindowDays()) return false;
if (hasHotelBookingWindowDays()) {
if (getHotelBookingWindowDays()
!= other.getHotelBookingWindowDays()) return false;
}
if (hasHotelCenterId() != other.hasHotelCenterId()) return false;
if (hasHotelCenterId()) {
if (getHotelCenterId()
!= other.getHotelCenterId()) return false;
}
if (hasHotelCheckInDate() != other.hasHotelCheckInDate()) return false;
if (hasHotelCheckInDate()) {
if (!getHotelCheckInDate()
.equals(other.getHotelCheckInDate())) return false;
}
if (hotelCheckInDayOfWeek_ != other.hotelCheckInDayOfWeek_) return false;
if (hasHotelCity() != other.hasHotelCity()) return false;
if (hasHotelCity()) {
if (!getHotelCity()
.equals(other.getHotelCity())) return false;
}
if (hasHotelClass() != other.hasHotelClass()) return false;
if (hasHotelClass()) {
if (getHotelClass()
!= other.getHotelClass()) return false;
}
if (hasHotelCountry() != other.hasHotelCountry()) return false;
if (hasHotelCountry()) {
if (!getHotelCountry()
.equals(other.getHotelCountry())) return false;
}
if (hotelDateSelectionType_ != other.hotelDateSelectionType_) return false;
if (hasHotelLengthOfStay() != other.hasHotelLengthOfStay()) return false;
if (hasHotelLengthOfStay()) {
if (getHotelLengthOfStay()
!= other.getHotelLengthOfStay()) return false;
}
if (hasHotelRateRuleId() != other.hasHotelRateRuleId()) return false;
if (hasHotelRateRuleId()) {
if (!getHotelRateRuleId()
.equals(other.getHotelRateRuleId())) return false;
}
if (hotelRateType_ != other.hotelRateType_) return false;
if (hotelPriceBucket_ != other.hotelPriceBucket_) return false;
if (hasHotelState() != other.hasHotelState()) return false;
if (hasHotelState()) {
if (!getHotelState()
.equals(other.getHotelState())) return false;
}
if (hasHour() != other.hasHour()) return false;
if (hasHour()) {
if (getHour()
!= other.getHour()) return false;
}
if (hasInteractionOnThisExtension() != other.hasInteractionOnThisExtension()) return false;
if (hasInteractionOnThisExtension()) {
if (getInteractionOnThisExtension()
!= other.getInteractionOnThisExtension()) return false;
}
if (hasKeyword() != other.hasKeyword()) return false;
if (hasKeyword()) {
if (!getKeyword()
.equals(other.getKeyword())) return false;
}
if (hasMonth() != other.hasMonth()) return false;
if (hasMonth()) {
if (!getMonth()
.equals(other.getMonth())) return false;
}
if (monthOfYear_ != other.monthOfYear_) return false;
if (hasPartnerHotelId() != other.hasPartnerHotelId()) return false;
if (hasPartnerHotelId()) {
if (!getPartnerHotelId()
.equals(other.getPartnerHotelId())) return false;
}
if (placeholderType_ != other.placeholderType_) return false;
if (hasProductAggregatorId() != other.hasProductAggregatorId()) return false;
if (hasProductAggregatorId()) {
if (getProductAggregatorId()
!= other.getProductAggregatorId()) return false;
}
if (hasProductCategoryLevel1() != other.hasProductCategoryLevel1()) return false;
if (hasProductCategoryLevel1()) {
if (!getProductCategoryLevel1()
.equals(other.getProductCategoryLevel1())) return false;
}
if (hasProductCategoryLevel2() != other.hasProductCategoryLevel2()) return false;
if (hasProductCategoryLevel2()) {
if (!getProductCategoryLevel2()
.equals(other.getProductCategoryLevel2())) return false;
}
if (hasProductCategoryLevel3() != other.hasProductCategoryLevel3()) return false;
if (hasProductCategoryLevel3()) {
if (!getProductCategoryLevel3()
.equals(other.getProductCategoryLevel3())) return false;
}
if (hasProductCategoryLevel4() != other.hasProductCategoryLevel4()) return false;
if (hasProductCategoryLevel4()) {
if (!getProductCategoryLevel4()
.equals(other.getProductCategoryLevel4())) return false;
}
if (hasProductCategoryLevel5() != other.hasProductCategoryLevel5()) return false;
if (hasProductCategoryLevel5()) {
if (!getProductCategoryLevel5()
.equals(other.getProductCategoryLevel5())) return false;
}
if (hasProductBrand() != other.hasProductBrand()) return false;
if (hasProductBrand()) {
if (!getProductBrand()
.equals(other.getProductBrand())) return false;
}
if (productChannel_ != other.productChannel_) return false;
if (productChannelExclusivity_ != other.productChannelExclusivity_) return false;
if (productCondition_ != other.productCondition_) return false;
if (hasProductCountry() != other.hasProductCountry()) return false;
if (hasProductCountry()) {
if (!getProductCountry()
.equals(other.getProductCountry())) return false;
}
if (hasProductCustomAttribute0() != other.hasProductCustomAttribute0()) return false;
if (hasProductCustomAttribute0()) {
if (!getProductCustomAttribute0()
.equals(other.getProductCustomAttribute0())) return false;
}
if (hasProductCustomAttribute1() != other.hasProductCustomAttribute1()) return false;
if (hasProductCustomAttribute1()) {
if (!getProductCustomAttribute1()
.equals(other.getProductCustomAttribute1())) return false;
}
if (hasProductCustomAttribute2() != other.hasProductCustomAttribute2()) return false;
if (hasProductCustomAttribute2()) {
if (!getProductCustomAttribute2()
.equals(other.getProductCustomAttribute2())) return false;
}
if (hasProductCustomAttribute3() != other.hasProductCustomAttribute3()) return false;
if (hasProductCustomAttribute3()) {
if (!getProductCustomAttribute3()
.equals(other.getProductCustomAttribute3())) return false;
}
if (hasProductCustomAttribute4() != other.hasProductCustomAttribute4()) return false;
if (hasProductCustomAttribute4()) {
if (!getProductCustomAttribute4()
.equals(other.getProductCustomAttribute4())) return false;
}
if (hasProductFeedLabel() != other.hasProductFeedLabel()) return false;
if (hasProductFeedLabel()) {
if (!getProductFeedLabel()
.equals(other.getProductFeedLabel())) return false;
}
if (hasProductItemId() != other.hasProductItemId()) return false;
if (hasProductItemId()) {
if (!getProductItemId()
.equals(other.getProductItemId())) return false;
}
if (hasProductLanguage() != other.hasProductLanguage()) return false;
if (hasProductLanguage()) {
if (!getProductLanguage()
.equals(other.getProductLanguage())) return false;
}
if (hasProductMerchantId() != other.hasProductMerchantId()) return false;
if (hasProductMerchantId()) {
if (getProductMerchantId()
!= other.getProductMerchantId()) return false;
}
if (hasProductStoreId() != other.hasProductStoreId()) return false;
if (hasProductStoreId()) {
if (!getProductStoreId()
.equals(other.getProductStoreId())) return false;
}
if (hasProductTitle() != other.hasProductTitle()) return false;
if (hasProductTitle()) {
if (!getProductTitle()
.equals(other.getProductTitle())) return false;
}
if (hasProductTypeL1() != other.hasProductTypeL1()) return false;
if (hasProductTypeL1()) {
if (!getProductTypeL1()
.equals(other.getProductTypeL1())) return false;
}
if (hasProductTypeL2() != other.hasProductTypeL2()) return false;
if (hasProductTypeL2()) {
if (!getProductTypeL2()
.equals(other.getProductTypeL2())) return false;
}
if (hasProductTypeL3() != other.hasProductTypeL3()) return false;
if (hasProductTypeL3()) {
if (!getProductTypeL3()
.equals(other.getProductTypeL3())) return false;
}
if (hasProductTypeL4() != other.hasProductTypeL4()) return false;
if (hasProductTypeL4()) {
if (!getProductTypeL4()
.equals(other.getProductTypeL4())) return false;
}
if (hasProductTypeL5() != other.hasProductTypeL5()) return false;
if (hasProductTypeL5()) {
if (!getProductTypeL5()
.equals(other.getProductTypeL5())) return false;
}
if (hasQuarter() != other.hasQuarter()) return false;
if (hasQuarter()) {
if (!getQuarter()
.equals(other.getQuarter())) return false;
}
if (recommendationType_ != other.recommendationType_) return false;
if (searchEngineResultsPageType_ != other.searchEngineResultsPageType_) return false;
if (hasSearchSubcategory() != other.hasSearchSubcategory()) return false;
if (hasSearchSubcategory()) {
if (!getSearchSubcategory()
.equals(other.getSearchSubcategory())) return false;
}
if (hasSearchTerm() != other.hasSearchTerm()) return false;
if (hasSearchTerm()) {
if (!getSearchTerm()
.equals(other.getSearchTerm())) return false;
}
if (searchTermMatchType_ != other.searchTermMatchType_) return false;
if (slot_ != other.slot_) return false;
if (conversionValueRulePrimaryDimension_ != other.conversionValueRulePrimaryDimension_) return false;
if (hasWebpage() != other.hasWebpage()) return false;
if (hasWebpage()) {
if (!getWebpage()
.equals(other.getWebpage())) return false;
}
if (hasWeek() != other.hasWeek()) return false;
if (hasWeek()) {
if (!getWeek()
.equals(other.getWeek())) return false;
}
if (hasYear() != other.hasYear()) return false;
if (hasYear()) {
if (getYear()
!= other.getYear()) return false;
}
if (hasSkAdNetworkFineConversionValue() != other.hasSkAdNetworkFineConversionValue()) return false;
if (hasSkAdNetworkFineConversionValue()) {
if (getSkAdNetworkFineConversionValue()
!= other.getSkAdNetworkFineConversionValue()) return false;
}
if (hasSkAdNetworkRedistributedFineConversionValue() != other.hasSkAdNetworkRedistributedFineConversionValue()) return false;
if (hasSkAdNetworkRedistributedFineConversionValue()) {
if (getSkAdNetworkRedistributedFineConversionValue()
!= other.getSkAdNetworkRedistributedFineConversionValue()) return false;
}
if (skAdNetworkUserType_ != other.skAdNetworkUserType_) return false;
if (skAdNetworkAdEventType_ != other.skAdNetworkAdEventType_) return false;
if (hasSkAdNetworkSourceApp() != other.hasSkAdNetworkSourceApp()) return false;
if (hasSkAdNetworkSourceApp()) {
if (!getSkAdNetworkSourceApp()
.equals(other.getSkAdNetworkSourceApp())) return false;
}
if (skAdNetworkAttributionCredit_ != other.skAdNetworkAttributionCredit_) return false;
if (skAdNetworkCoarseConversionValue_ != other.skAdNetworkCoarseConversionValue_) return false;
if (hasSkAdNetworkSourceDomain() != other.hasSkAdNetworkSourceDomain()) return false;
if (hasSkAdNetworkSourceDomain()) {
if (!getSkAdNetworkSourceDomain()
.equals(other.getSkAdNetworkSourceDomain())) return false;
}
if (skAdNetworkSourceType_ != other.skAdNetworkSourceType_) return false;
if (hasSkAdNetworkPostbackSequenceIndex() != other.hasSkAdNetworkPostbackSequenceIndex()) return false;
if (hasSkAdNetworkPostbackSequenceIndex()) {
if (getSkAdNetworkPostbackSequenceIndex()
!= other.getSkAdNetworkPostbackSequenceIndex()) return false;
}
if (hasSkAdNetworkVersion() != other.hasSkAdNetworkVersion()) return false;
if (hasSkAdNetworkVersion()) {
if (!getSkAdNetworkVersion()
.equals(other.getSkAdNetworkVersion())) return false;
}
if (hasAssetInteractionTarget() != other.hasAssetInteractionTarget()) return false;
if (hasAssetInteractionTarget()) {
if (!getAssetInteractionTarget()
.equals(other.getAssetInteractionTarget())) return false;
}
if (newVersusReturningCustomers_ != other.newVersusReturningCustomers_) 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();
if (hasActivityAccountId()) {
hash = (37 * hash) + ACTIVITY_ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getActivityAccountId());
}
if (hasActivityCity()) {
hash = (37 * hash) + ACTIVITY_CITY_FIELD_NUMBER;
hash = (53 * hash) + getActivityCity().hashCode();
}
if (hasActivityCountry()) {
hash = (37 * hash) + ACTIVITY_COUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getActivityCountry().hashCode();
}
if (hasActivityRating()) {
hash = (37 * hash) + ACTIVITY_RATING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getActivityRating());
}
if (hasActivityState()) {
hash = (37 * hash) + ACTIVITY_STATE_FIELD_NUMBER;
hash = (53 * hash) + getActivityState().hashCode();
}
if (hasExternalActivityId()) {
hash = (37 * hash) + EXTERNAL_ACTIVITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getExternalActivityId().hashCode();
}
hash = (37 * hash) + AD_DESTINATION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + adDestinationType_;
hash = (37 * hash) + AD_FORMAT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + adFormatType_;
hash = (37 * hash) + AD_NETWORK_TYPE_FIELD_NUMBER;
hash = (53 * hash) + adNetworkType_;
if (hasAdGroup()) {
hash = (37 * hash) + AD_GROUP_FIELD_NUMBER;
hash = (53 * hash) + getAdGroup().hashCode();
}
if (hasAssetGroup()) {
hash = (37 * hash) + ASSET_GROUP_FIELD_NUMBER;
hash = (53 * hash) + getAssetGroup().hashCode();
}
if (hasAuctionInsightDomain()) {
hash = (37 * hash) + AUCTION_INSIGHT_DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getAuctionInsightDomain().hashCode();
}
if (hasBudgetCampaignAssociationStatus()) {
hash = (37 * hash) + BUDGET_CAMPAIGN_ASSOCIATION_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getBudgetCampaignAssociationStatus().hashCode();
}
if (hasCampaign()) {
hash = (37 * hash) + CAMPAIGN_FIELD_NUMBER;
hash = (53 * hash) + getCampaign().hashCode();
}
hash = (37 * hash) + CLICK_TYPE_FIELD_NUMBER;
hash = (53 * hash) + clickType_;
if (hasConversionAction()) {
hash = (37 * hash) + CONVERSION_ACTION_FIELD_NUMBER;
hash = (53 * hash) + getConversionAction().hashCode();
}
hash = (37 * hash) + CONVERSION_ACTION_CATEGORY_FIELD_NUMBER;
hash = (53 * hash) + conversionActionCategory_;
if (hasConversionActionName()) {
hash = (37 * hash) + CONVERSION_ACTION_NAME_FIELD_NUMBER;
hash = (53 * hash) + getConversionActionName().hashCode();
}
if (hasConversionAdjustment()) {
hash = (37 * hash) + CONVERSION_ADJUSTMENT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getConversionAdjustment());
}
hash = (37 * hash) + CONVERSION_ATTRIBUTION_EVENT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + conversionAttributionEventType_;
hash = (37 * hash) + CONVERSION_LAG_BUCKET_FIELD_NUMBER;
hash = (53 * hash) + conversionLagBucket_;
hash = (37 * hash) + CONVERSION_OR_ADJUSTMENT_LAG_BUCKET_FIELD_NUMBER;
hash = (53 * hash) + conversionOrAdjustmentLagBucket_;
if (hasDate()) {
hash = (37 * hash) + DATE_FIELD_NUMBER;
hash = (53 * hash) + getDate().hashCode();
}
hash = (37 * hash) + DAY_OF_WEEK_FIELD_NUMBER;
hash = (53 * hash) + dayOfWeek_;
hash = (37 * hash) + DEVICE_FIELD_NUMBER;
hash = (53 * hash) + device_;
hash = (37 * hash) + EXTERNAL_CONVERSION_SOURCE_FIELD_NUMBER;
hash = (53 * hash) + externalConversionSource_;
if (hasGeoTargetAirport()) {
hash = (37 * hash) + GEO_TARGET_AIRPORT_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetAirport().hashCode();
}
if (hasGeoTargetCanton()) {
hash = (37 * hash) + GEO_TARGET_CANTON_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetCanton().hashCode();
}
if (hasGeoTargetCity()) {
hash = (37 * hash) + GEO_TARGET_CITY_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetCity().hashCode();
}
if (hasGeoTargetCountry()) {
hash = (37 * hash) + GEO_TARGET_COUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetCountry().hashCode();
}
if (hasGeoTargetCounty()) {
hash = (37 * hash) + GEO_TARGET_COUNTY_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetCounty().hashCode();
}
if (hasGeoTargetDistrict()) {
hash = (37 * hash) + GEO_TARGET_DISTRICT_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetDistrict().hashCode();
}
if (hasGeoTargetMetro()) {
hash = (37 * hash) + GEO_TARGET_METRO_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetMetro().hashCode();
}
if (hasGeoTargetMostSpecificLocation()) {
hash = (37 * hash) + GEO_TARGET_MOST_SPECIFIC_LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetMostSpecificLocation().hashCode();
}
if (hasGeoTargetPostalCode()) {
hash = (37 * hash) + GEO_TARGET_POSTAL_CODE_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetPostalCode().hashCode();
}
if (hasGeoTargetProvince()) {
hash = (37 * hash) + GEO_TARGET_PROVINCE_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetProvince().hashCode();
}
if (hasGeoTargetRegion()) {
hash = (37 * hash) + GEO_TARGET_REGION_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetRegion().hashCode();
}
if (hasGeoTargetState()) {
hash = (37 * hash) + GEO_TARGET_STATE_FIELD_NUMBER;
hash = (53 * hash) + getGeoTargetState().hashCode();
}
if (hasHotelBookingWindowDays()) {
hash = (37 * hash) + HOTEL_BOOKING_WINDOW_DAYS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getHotelBookingWindowDays());
}
if (hasHotelCenterId()) {
hash = (37 * hash) + HOTEL_CENTER_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getHotelCenterId());
}
if (hasHotelCheckInDate()) {
hash = (37 * hash) + HOTEL_CHECK_IN_DATE_FIELD_NUMBER;
hash = (53 * hash) + getHotelCheckInDate().hashCode();
}
hash = (37 * hash) + HOTEL_CHECK_IN_DAY_OF_WEEK_FIELD_NUMBER;
hash = (53 * hash) + hotelCheckInDayOfWeek_;
if (hasHotelCity()) {
hash = (37 * hash) + HOTEL_CITY_FIELD_NUMBER;
hash = (53 * hash) + getHotelCity().hashCode();
}
if (hasHotelClass()) {
hash = (37 * hash) + HOTEL_CLASS_FIELD_NUMBER;
hash = (53 * hash) + getHotelClass();
}
if (hasHotelCountry()) {
hash = (37 * hash) + HOTEL_COUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getHotelCountry().hashCode();
}
hash = (37 * hash) + HOTEL_DATE_SELECTION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + hotelDateSelectionType_;
if (hasHotelLengthOfStay()) {
hash = (37 * hash) + HOTEL_LENGTH_OF_STAY_FIELD_NUMBER;
hash = (53 * hash) + getHotelLengthOfStay();
}
if (hasHotelRateRuleId()) {
hash = (37 * hash) + HOTEL_RATE_RULE_ID_FIELD_NUMBER;
hash = (53 * hash) + getHotelRateRuleId().hashCode();
}
hash = (37 * hash) + HOTEL_RATE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + hotelRateType_;
hash = (37 * hash) + HOTEL_PRICE_BUCKET_FIELD_NUMBER;
hash = (53 * hash) + hotelPriceBucket_;
if (hasHotelState()) {
hash = (37 * hash) + HOTEL_STATE_FIELD_NUMBER;
hash = (53 * hash) + getHotelState().hashCode();
}
if (hasHour()) {
hash = (37 * hash) + HOUR_FIELD_NUMBER;
hash = (53 * hash) + getHour();
}
if (hasInteractionOnThisExtension()) {
hash = (37 * hash) + INTERACTION_ON_THIS_EXTENSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getInteractionOnThisExtension());
}
if (hasKeyword()) {
hash = (37 * hash) + KEYWORD_FIELD_NUMBER;
hash = (53 * hash) + getKeyword().hashCode();
}
if (hasMonth()) {
hash = (37 * hash) + MONTH_FIELD_NUMBER;
hash = (53 * hash) + getMonth().hashCode();
}
hash = (37 * hash) + MONTH_OF_YEAR_FIELD_NUMBER;
hash = (53 * hash) + monthOfYear_;
if (hasPartnerHotelId()) {
hash = (37 * hash) + PARTNER_HOTEL_ID_FIELD_NUMBER;
hash = (53 * hash) + getPartnerHotelId().hashCode();
}
hash = (37 * hash) + PLACEHOLDER_TYPE_FIELD_NUMBER;
hash = (53 * hash) + placeholderType_;
if (hasProductAggregatorId()) {
hash = (37 * hash) + PRODUCT_AGGREGATOR_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProductAggregatorId());
}
if (hasProductCategoryLevel1()) {
hash = (37 * hash) + PRODUCT_CATEGORY_LEVEL1_FIELD_NUMBER;
hash = (53 * hash) + getProductCategoryLevel1().hashCode();
}
if (hasProductCategoryLevel2()) {
hash = (37 * hash) + PRODUCT_CATEGORY_LEVEL2_FIELD_NUMBER;
hash = (53 * hash) + getProductCategoryLevel2().hashCode();
}
if (hasProductCategoryLevel3()) {
hash = (37 * hash) + PRODUCT_CATEGORY_LEVEL3_FIELD_NUMBER;
hash = (53 * hash) + getProductCategoryLevel3().hashCode();
}
if (hasProductCategoryLevel4()) {
hash = (37 * hash) + PRODUCT_CATEGORY_LEVEL4_FIELD_NUMBER;
hash = (53 * hash) + getProductCategoryLevel4().hashCode();
}
if (hasProductCategoryLevel5()) {
hash = (37 * hash) + PRODUCT_CATEGORY_LEVEL5_FIELD_NUMBER;
hash = (53 * hash) + getProductCategoryLevel5().hashCode();
}
if (hasProductBrand()) {
hash = (37 * hash) + PRODUCT_BRAND_FIELD_NUMBER;
hash = (53 * hash) + getProductBrand().hashCode();
}
hash = (37 * hash) + PRODUCT_CHANNEL_FIELD_NUMBER;
hash = (53 * hash) + productChannel_;
hash = (37 * hash) + PRODUCT_CHANNEL_EXCLUSIVITY_FIELD_NUMBER;
hash = (53 * hash) + productChannelExclusivity_;
hash = (37 * hash) + PRODUCT_CONDITION_FIELD_NUMBER;
hash = (53 * hash) + productCondition_;
if (hasProductCountry()) {
hash = (37 * hash) + PRODUCT_COUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getProductCountry().hashCode();
}
if (hasProductCustomAttribute0()) {
hash = (37 * hash) + PRODUCT_CUSTOM_ATTRIBUTE0_FIELD_NUMBER;
hash = (53 * hash) + getProductCustomAttribute0().hashCode();
}
if (hasProductCustomAttribute1()) {
hash = (37 * hash) + PRODUCT_CUSTOM_ATTRIBUTE1_FIELD_NUMBER;
hash = (53 * hash) + getProductCustomAttribute1().hashCode();
}
if (hasProductCustomAttribute2()) {
hash = (37 * hash) + PRODUCT_CUSTOM_ATTRIBUTE2_FIELD_NUMBER;
hash = (53 * hash) + getProductCustomAttribute2().hashCode();
}
if (hasProductCustomAttribute3()) {
hash = (37 * hash) + PRODUCT_CUSTOM_ATTRIBUTE3_FIELD_NUMBER;
hash = (53 * hash) + getProductCustomAttribute3().hashCode();
}
if (hasProductCustomAttribute4()) {
hash = (37 * hash) + PRODUCT_CUSTOM_ATTRIBUTE4_FIELD_NUMBER;
hash = (53 * hash) + getProductCustomAttribute4().hashCode();
}
if (hasProductFeedLabel()) {
hash = (37 * hash) + PRODUCT_FEED_LABEL_FIELD_NUMBER;
hash = (53 * hash) + getProductFeedLabel().hashCode();
}
if (hasProductItemId()) {
hash = (37 * hash) + PRODUCT_ITEM_ID_FIELD_NUMBER;
hash = (53 * hash) + getProductItemId().hashCode();
}
if (hasProductLanguage()) {
hash = (37 * hash) + PRODUCT_LANGUAGE_FIELD_NUMBER;
hash = (53 * hash) + getProductLanguage().hashCode();
}
if (hasProductMerchantId()) {
hash = (37 * hash) + PRODUCT_MERCHANT_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProductMerchantId());
}
if (hasProductStoreId()) {
hash = (37 * hash) + PRODUCT_STORE_ID_FIELD_NUMBER;
hash = (53 * hash) + getProductStoreId().hashCode();
}
if (hasProductTitle()) {
hash = (37 * hash) + PRODUCT_TITLE_FIELD_NUMBER;
hash = (53 * hash) + getProductTitle().hashCode();
}
if (hasProductTypeL1()) {
hash = (37 * hash) + PRODUCT_TYPE_L1_FIELD_NUMBER;
hash = (53 * hash) + getProductTypeL1().hashCode();
}
if (hasProductTypeL2()) {
hash = (37 * hash) + PRODUCT_TYPE_L2_FIELD_NUMBER;
hash = (53 * hash) + getProductTypeL2().hashCode();
}
if (hasProductTypeL3()) {
hash = (37 * hash) + PRODUCT_TYPE_L3_FIELD_NUMBER;
hash = (53 * hash) + getProductTypeL3().hashCode();
}
if (hasProductTypeL4()) {
hash = (37 * hash) + PRODUCT_TYPE_L4_FIELD_NUMBER;
hash = (53 * hash) + getProductTypeL4().hashCode();
}
if (hasProductTypeL5()) {
hash = (37 * hash) + PRODUCT_TYPE_L5_FIELD_NUMBER;
hash = (53 * hash) + getProductTypeL5().hashCode();
}
if (hasQuarter()) {
hash = (37 * hash) + QUARTER_FIELD_NUMBER;
hash = (53 * hash) + getQuarter().hashCode();
}
hash = (37 * hash) + RECOMMENDATION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + recommendationType_;
hash = (37 * hash) + SEARCH_ENGINE_RESULTS_PAGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + searchEngineResultsPageType_;
if (hasSearchSubcategory()) {
hash = (37 * hash) + SEARCH_SUBCATEGORY_FIELD_NUMBER;
hash = (53 * hash) + getSearchSubcategory().hashCode();
}
if (hasSearchTerm()) {
hash = (37 * hash) + SEARCH_TERM_FIELD_NUMBER;
hash = (53 * hash) + getSearchTerm().hashCode();
}
hash = (37 * hash) + SEARCH_TERM_MATCH_TYPE_FIELD_NUMBER;
hash = (53 * hash) + searchTermMatchType_;
hash = (37 * hash) + SLOT_FIELD_NUMBER;
hash = (53 * hash) + slot_;
hash = (37 * hash) + CONVERSION_VALUE_RULE_PRIMARY_DIMENSION_FIELD_NUMBER;
hash = (53 * hash) + conversionValueRulePrimaryDimension_;
if (hasWebpage()) {
hash = (37 * hash) + WEBPAGE_FIELD_NUMBER;
hash = (53 * hash) + getWebpage().hashCode();
}
if (hasWeek()) {
hash = (37 * hash) + WEEK_FIELD_NUMBER;
hash = (53 * hash) + getWeek().hashCode();
}
if (hasYear()) {
hash = (37 * hash) + YEAR_FIELD_NUMBER;
hash = (53 * hash) + getYear();
}
if (hasSkAdNetworkFineConversionValue()) {
hash = (37 * hash) + SK_AD_NETWORK_FINE_CONVERSION_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSkAdNetworkFineConversionValue());
}
if (hasSkAdNetworkRedistributedFineConversionValue()) {
hash = (37 * hash) + SK_AD_NETWORK_REDISTRIBUTED_FINE_CONVERSION_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSkAdNetworkRedistributedFineConversionValue());
}
hash = (37 * hash) + SK_AD_NETWORK_USER_TYPE_FIELD_NUMBER;
hash = (53 * hash) + skAdNetworkUserType_;
hash = (37 * hash) + SK_AD_NETWORK_AD_EVENT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + skAdNetworkAdEventType_;
if (hasSkAdNetworkSourceApp()) {
hash = (37 * hash) + SK_AD_NETWORK_SOURCE_APP_FIELD_NUMBER;
hash = (53 * hash) + getSkAdNetworkSourceApp().hashCode();
}
hash = (37 * hash) + SK_AD_NETWORK_ATTRIBUTION_CREDIT_FIELD_NUMBER;
hash = (53 * hash) + skAdNetworkAttributionCredit_;
hash = (37 * hash) + SK_AD_NETWORK_COARSE_CONVERSION_VALUE_FIELD_NUMBER;
hash = (53 * hash) + skAdNetworkCoarseConversionValue_;
if (hasSkAdNetworkSourceDomain()) {
hash = (37 * hash) + SK_AD_NETWORK_SOURCE_DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getSkAdNetworkSourceDomain().hashCode();
}
hash = (37 * hash) + SK_AD_NETWORK_SOURCE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + skAdNetworkSourceType_;
if (hasSkAdNetworkPostbackSequenceIndex()) {
hash = (37 * hash) + SK_AD_NETWORK_POSTBACK_SEQUENCE_INDEX_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSkAdNetworkPostbackSequenceIndex());
}
if (hasSkAdNetworkVersion()) {
hash = (37 * hash) + SK_AD_NETWORK_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getSkAdNetworkVersion().hashCode();
}
if (hasAssetInteractionTarget()) {
hash = (37 * hash) + ASSET_INTERACTION_TARGET_FIELD_NUMBER;
hash = (53 * hash) + getAssetInteractionTarget().hashCode();
}
hash = (37 * hash) + NEW_VERSUS_RETURNING_CUSTOMERS_FIELD_NUMBER;
hash = (53 * hash) + newVersusReturningCustomers_;
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v17.common.Segments parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.Segments 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.Segments parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.Segments 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.Segments parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.Segments 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.Segments 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.Segments 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.Segments 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.Segments 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.Segments 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.Segments 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.Segments 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;
}
/**
*
* Segment only fields.
*
*
* Protobuf type {@code google.ads.googleads.v17.common.Segments}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.Segments)
com.google.ads.googleads.v17.common.SegmentsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.common.SegmentsProto.internal_static_google_ads_googleads_v17_common_Segments_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.common.SegmentsProto.internal_static_google_ads_googleads_v17_common_Segments_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.common.Segments.class, com.google.ads.googleads.v17.common.Segments.Builder.class);
}
// Construct using com.google.ads.googleads.v17.common.Segments.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBudgetCampaignAssociationStatusFieldBuilder();
getKeywordFieldBuilder();
getSkAdNetworkSourceAppFieldBuilder();
getAssetInteractionTargetFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
bitField1_ = 0;
bitField2_ = 0;
bitField3_ = 0;
activityAccountId_ = 0L;
activityCity_ = "";
activityCountry_ = "";
activityRating_ = 0L;
activityState_ = "";
externalActivityId_ = "";
adDestinationType_ = 0;
adFormatType_ = 0;
adNetworkType_ = 0;
adGroup_ = "";
assetGroup_ = "";
auctionInsightDomain_ = "";
budgetCampaignAssociationStatus_ = null;
if (budgetCampaignAssociationStatusBuilder_ != null) {
budgetCampaignAssociationStatusBuilder_.dispose();
budgetCampaignAssociationStatusBuilder_ = null;
}
campaign_ = "";
clickType_ = 0;
conversionAction_ = "";
conversionActionCategory_ = 0;
conversionActionName_ = "";
conversionAdjustment_ = false;
conversionAttributionEventType_ = 0;
conversionLagBucket_ = 0;
conversionOrAdjustmentLagBucket_ = 0;
date_ = "";
dayOfWeek_ = 0;
device_ = 0;
externalConversionSource_ = 0;
geoTargetAirport_ = "";
geoTargetCanton_ = "";
geoTargetCity_ = "";
geoTargetCountry_ = "";
geoTargetCounty_ = "";
geoTargetDistrict_ = "";
geoTargetMetro_ = "";
geoTargetMostSpecificLocation_ = "";
geoTargetPostalCode_ = "";
geoTargetProvince_ = "";
geoTargetRegion_ = "";
geoTargetState_ = "";
hotelBookingWindowDays_ = 0L;
hotelCenterId_ = 0L;
hotelCheckInDate_ = "";
hotelCheckInDayOfWeek_ = 0;
hotelCity_ = "";
hotelClass_ = 0;
hotelCountry_ = "";
hotelDateSelectionType_ = 0;
hotelLengthOfStay_ = 0;
hotelRateRuleId_ = "";
hotelRateType_ = 0;
hotelPriceBucket_ = 0;
hotelState_ = "";
hour_ = 0;
interactionOnThisExtension_ = false;
keyword_ = null;
if (keywordBuilder_ != null) {
keywordBuilder_.dispose();
keywordBuilder_ = null;
}
month_ = "";
monthOfYear_ = 0;
partnerHotelId_ = "";
placeholderType_ = 0;
productAggregatorId_ = 0L;
productCategoryLevel1_ = "";
productCategoryLevel2_ = "";
productCategoryLevel3_ = "";
productCategoryLevel4_ = "";
productCategoryLevel5_ = "";
productBrand_ = "";
productChannel_ = 0;
productChannelExclusivity_ = 0;
productCondition_ = 0;
productCountry_ = "";
productCustomAttribute0_ = "";
productCustomAttribute1_ = "";
productCustomAttribute2_ = "";
productCustomAttribute3_ = "";
productCustomAttribute4_ = "";
productFeedLabel_ = "";
productItemId_ = "";
productLanguage_ = "";
productMerchantId_ = 0L;
productStoreId_ = "";
productTitle_ = "";
productTypeL1_ = "";
productTypeL2_ = "";
productTypeL3_ = "";
productTypeL4_ = "";
productTypeL5_ = "";
quarter_ = "";
recommendationType_ = 0;
searchEngineResultsPageType_ = 0;
searchSubcategory_ = "";
searchTerm_ = "";
searchTermMatchType_ = 0;
slot_ = 0;
conversionValueRulePrimaryDimension_ = 0;
webpage_ = "";
week_ = "";
year_ = 0;
skAdNetworkFineConversionValue_ = 0L;
skAdNetworkRedistributedFineConversionValue_ = 0L;
skAdNetworkUserType_ = 0;
skAdNetworkAdEventType_ = 0;
skAdNetworkSourceApp_ = null;
if (skAdNetworkSourceAppBuilder_ != null) {
skAdNetworkSourceAppBuilder_.dispose();
skAdNetworkSourceAppBuilder_ = null;
}
skAdNetworkAttributionCredit_ = 0;
skAdNetworkCoarseConversionValue_ = 0;
skAdNetworkSourceDomain_ = "";
skAdNetworkSourceType_ = 0;
skAdNetworkPostbackSequenceIndex_ = 0L;
skAdNetworkVersion_ = "";
assetInteractionTarget_ = null;
if (assetInteractionTargetBuilder_ != null) {
assetInteractionTargetBuilder_.dispose();
assetInteractionTargetBuilder_ = null;
}
newVersusReturningCustomers_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v17.common.SegmentsProto.internal_static_google_ads_googleads_v17_common_Segments_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.Segments getDefaultInstanceForType() {
return com.google.ads.googleads.v17.common.Segments.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.common.Segments build() {
com.google.ads.googleads.v17.common.Segments result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.Segments buildPartial() {
com.google.ads.googleads.v17.common.Segments result = new com.google.ads.googleads.v17.common.Segments(this);
if (bitField0_ != 0) { buildPartial0(result); }
if (bitField1_ != 0) { buildPartial1(result); }
if (bitField2_ != 0) { buildPartial2(result); }
if (bitField3_ != 0) { buildPartial3(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.ads.googleads.v17.common.Segments result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.activityAccountId_ = activityAccountId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.activityCity_ = activityCity_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.activityCountry_ = activityCountry_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.activityRating_ = activityRating_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.activityState_ = activityState_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.externalActivityId_ = externalActivityId_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.adDestinationType_ = adDestinationType_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.adFormatType_ = adFormatType_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.adNetworkType_ = adNetworkType_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.adGroup_ = adGroup_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.assetGroup_ = assetGroup_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.auctionInsightDomain_ = auctionInsightDomain_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.budgetCampaignAssociationStatus_ = budgetCampaignAssociationStatusBuilder_ == null
? budgetCampaignAssociationStatus_
: budgetCampaignAssociationStatusBuilder_.build();
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.campaign_ = campaign_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.clickType_ = clickType_;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.conversionAction_ = conversionAction_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.conversionActionCategory_ = conversionActionCategory_;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.conversionActionName_ = conversionActionName_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
result.conversionAdjustment_ = conversionAdjustment_;
to_bitField0_ |= 0x00002000;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
result.conversionAttributionEventType_ = conversionAttributionEventType_;
}
if (((from_bitField0_ & 0x00100000) != 0)) {
result.conversionLagBucket_ = conversionLagBucket_;
}
if (((from_bitField0_ & 0x00200000) != 0)) {
result.conversionOrAdjustmentLagBucket_ = conversionOrAdjustmentLagBucket_;
}
if (((from_bitField0_ & 0x00400000) != 0)) {
result.date_ = date_;
to_bitField0_ |= 0x00004000;
}
if (((from_bitField0_ & 0x00800000) != 0)) {
result.dayOfWeek_ = dayOfWeek_;
}
if (((from_bitField0_ & 0x01000000) != 0)) {
result.device_ = device_;
}
if (((from_bitField0_ & 0x02000000) != 0)) {
result.externalConversionSource_ = externalConversionSource_;
}
if (((from_bitField0_ & 0x04000000) != 0)) {
result.geoTargetAirport_ = geoTargetAirport_;
to_bitField0_ |= 0x00008000;
}
if (((from_bitField0_ & 0x08000000) != 0)) {
result.geoTargetCanton_ = geoTargetCanton_;
to_bitField0_ |= 0x00010000;
}
if (((from_bitField0_ & 0x10000000) != 0)) {
result.geoTargetCity_ = geoTargetCity_;
to_bitField0_ |= 0x00020000;
}
if (((from_bitField0_ & 0x20000000) != 0)) {
result.geoTargetCountry_ = geoTargetCountry_;
to_bitField0_ |= 0x00040000;
}
if (((from_bitField0_ & 0x40000000) != 0)) {
result.geoTargetCounty_ = geoTargetCounty_;
to_bitField0_ |= 0x00080000;
}
if (((from_bitField0_ & 0x80000000) != 0)) {
result.geoTargetDistrict_ = geoTargetDistrict_;
to_bitField0_ |= 0x00100000;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartial1(com.google.ads.googleads.v17.common.Segments result) {
int from_bitField1_ = bitField1_;
int to_bitField0_ = 0;
if (((from_bitField1_ & 0x00000001) != 0)) {
result.geoTargetMetro_ = geoTargetMetro_;
to_bitField0_ |= 0x00200000;
}
if (((from_bitField1_ & 0x00000002) != 0)) {
result.geoTargetMostSpecificLocation_ = geoTargetMostSpecificLocation_;
to_bitField0_ |= 0x00400000;
}
if (((from_bitField1_ & 0x00000004) != 0)) {
result.geoTargetPostalCode_ = geoTargetPostalCode_;
to_bitField0_ |= 0x00800000;
}
if (((from_bitField1_ & 0x00000008) != 0)) {
result.geoTargetProvince_ = geoTargetProvince_;
to_bitField0_ |= 0x01000000;
}
if (((from_bitField1_ & 0x00000010) != 0)) {
result.geoTargetRegion_ = geoTargetRegion_;
to_bitField0_ |= 0x02000000;
}
if (((from_bitField1_ & 0x00000020) != 0)) {
result.geoTargetState_ = geoTargetState_;
to_bitField0_ |= 0x04000000;
}
if (((from_bitField1_ & 0x00000040) != 0)) {
result.hotelBookingWindowDays_ = hotelBookingWindowDays_;
to_bitField0_ |= 0x08000000;
}
if (((from_bitField1_ & 0x00000080) != 0)) {
result.hotelCenterId_ = hotelCenterId_;
to_bitField0_ |= 0x10000000;
}
if (((from_bitField1_ & 0x00000100) != 0)) {
result.hotelCheckInDate_ = hotelCheckInDate_;
to_bitField0_ |= 0x20000000;
}
if (((from_bitField1_ & 0x00000200) != 0)) {
result.hotelCheckInDayOfWeek_ = hotelCheckInDayOfWeek_;
}
if (((from_bitField1_ & 0x00000400) != 0)) {
result.hotelCity_ = hotelCity_;
to_bitField0_ |= 0x40000000;
}
if (((from_bitField1_ & 0x00000800) != 0)) {
result.hotelClass_ = hotelClass_;
to_bitField0_ |= 0x80000000;
}
int to_bitField1_ = 0;
if (((from_bitField1_ & 0x00001000) != 0)) {
result.hotelCountry_ = hotelCountry_;
to_bitField1_ |= 0x00000001;
}
if (((from_bitField1_ & 0x00002000) != 0)) {
result.hotelDateSelectionType_ = hotelDateSelectionType_;
}
if (((from_bitField1_ & 0x00004000) != 0)) {
result.hotelLengthOfStay_ = hotelLengthOfStay_;
to_bitField1_ |= 0x00000002;
}
if (((from_bitField1_ & 0x00008000) != 0)) {
result.hotelRateRuleId_ = hotelRateRuleId_;
to_bitField1_ |= 0x00000004;
}
if (((from_bitField1_ & 0x00010000) != 0)) {
result.hotelRateType_ = hotelRateType_;
}
if (((from_bitField1_ & 0x00020000) != 0)) {
result.hotelPriceBucket_ = hotelPriceBucket_;
}
if (((from_bitField1_ & 0x00040000) != 0)) {
result.hotelState_ = hotelState_;
to_bitField1_ |= 0x00000008;
}
if (((from_bitField1_ & 0x00080000) != 0)) {
result.hour_ = hour_;
to_bitField1_ |= 0x00000010;
}
if (((from_bitField1_ & 0x00100000) != 0)) {
result.interactionOnThisExtension_ = interactionOnThisExtension_;
to_bitField1_ |= 0x00000020;
}
if (((from_bitField1_ & 0x00200000) != 0)) {
result.keyword_ = keywordBuilder_ == null
? keyword_
: keywordBuilder_.build();
to_bitField1_ |= 0x00000040;
}
if (((from_bitField1_ & 0x00400000) != 0)) {
result.month_ = month_;
to_bitField1_ |= 0x00000080;
}
if (((from_bitField1_ & 0x00800000) != 0)) {
result.monthOfYear_ = monthOfYear_;
}
if (((from_bitField1_ & 0x01000000) != 0)) {
result.partnerHotelId_ = partnerHotelId_;
to_bitField1_ |= 0x00000100;
}
if (((from_bitField1_ & 0x02000000) != 0)) {
result.placeholderType_ = placeholderType_;
}
if (((from_bitField1_ & 0x04000000) != 0)) {
result.productAggregatorId_ = productAggregatorId_;
to_bitField1_ |= 0x00000200;
}
if (((from_bitField1_ & 0x08000000) != 0)) {
result.productCategoryLevel1_ = productCategoryLevel1_;
to_bitField1_ |= 0x00000400;
}
if (((from_bitField1_ & 0x10000000) != 0)) {
result.productCategoryLevel2_ = productCategoryLevel2_;
to_bitField1_ |= 0x00000800;
}
if (((from_bitField1_ & 0x20000000) != 0)) {
result.productCategoryLevel3_ = productCategoryLevel3_;
to_bitField1_ |= 0x00001000;
}
if (((from_bitField1_ & 0x40000000) != 0)) {
result.productCategoryLevel4_ = productCategoryLevel4_;
to_bitField1_ |= 0x00002000;
}
if (((from_bitField1_ & 0x80000000) != 0)) {
result.productCategoryLevel5_ = productCategoryLevel5_;
to_bitField1_ |= 0x00004000;
}
result.bitField0_ |= to_bitField0_;
result.bitField1_ |= to_bitField1_;
}
private void buildPartial2(com.google.ads.googleads.v17.common.Segments result) {
int from_bitField2_ = bitField2_;
int to_bitField1_ = 0;
if (((from_bitField2_ & 0x00000001) != 0)) {
result.productBrand_ = productBrand_;
to_bitField1_ |= 0x00008000;
}
if (((from_bitField2_ & 0x00000002) != 0)) {
result.productChannel_ = productChannel_;
}
if (((from_bitField2_ & 0x00000004) != 0)) {
result.productChannelExclusivity_ = productChannelExclusivity_;
}
if (((from_bitField2_ & 0x00000008) != 0)) {
result.productCondition_ = productCondition_;
}
if (((from_bitField2_ & 0x00000010) != 0)) {
result.productCountry_ = productCountry_;
to_bitField1_ |= 0x00010000;
}
if (((from_bitField2_ & 0x00000020) != 0)) {
result.productCustomAttribute0_ = productCustomAttribute0_;
to_bitField1_ |= 0x00020000;
}
if (((from_bitField2_ & 0x00000040) != 0)) {
result.productCustomAttribute1_ = productCustomAttribute1_;
to_bitField1_ |= 0x00040000;
}
if (((from_bitField2_ & 0x00000080) != 0)) {
result.productCustomAttribute2_ = productCustomAttribute2_;
to_bitField1_ |= 0x00080000;
}
if (((from_bitField2_ & 0x00000100) != 0)) {
result.productCustomAttribute3_ = productCustomAttribute3_;
to_bitField1_ |= 0x00100000;
}
if (((from_bitField2_ & 0x00000200) != 0)) {
result.productCustomAttribute4_ = productCustomAttribute4_;
to_bitField1_ |= 0x00200000;
}
if (((from_bitField2_ & 0x00000400) != 0)) {
result.productFeedLabel_ = productFeedLabel_;
to_bitField1_ |= 0x00400000;
}
if (((from_bitField2_ & 0x00000800) != 0)) {
result.productItemId_ = productItemId_;
to_bitField1_ |= 0x00800000;
}
if (((from_bitField2_ & 0x00001000) != 0)) {
result.productLanguage_ = productLanguage_;
to_bitField1_ |= 0x01000000;
}
if (((from_bitField2_ & 0x00002000) != 0)) {
result.productMerchantId_ = productMerchantId_;
to_bitField1_ |= 0x02000000;
}
if (((from_bitField2_ & 0x00004000) != 0)) {
result.productStoreId_ = productStoreId_;
to_bitField1_ |= 0x04000000;
}
if (((from_bitField2_ & 0x00008000) != 0)) {
result.productTitle_ = productTitle_;
to_bitField1_ |= 0x08000000;
}
if (((from_bitField2_ & 0x00010000) != 0)) {
result.productTypeL1_ = productTypeL1_;
to_bitField1_ |= 0x10000000;
}
if (((from_bitField2_ & 0x00020000) != 0)) {
result.productTypeL2_ = productTypeL2_;
to_bitField1_ |= 0x20000000;
}
if (((from_bitField2_ & 0x00040000) != 0)) {
result.productTypeL3_ = productTypeL3_;
to_bitField1_ |= 0x40000000;
}
if (((from_bitField2_ & 0x00080000) != 0)) {
result.productTypeL4_ = productTypeL4_;
to_bitField1_ |= 0x80000000;
}
int to_bitField2_ = 0;
if (((from_bitField2_ & 0x00100000) != 0)) {
result.productTypeL5_ = productTypeL5_;
to_bitField2_ |= 0x00000001;
}
if (((from_bitField2_ & 0x00200000) != 0)) {
result.quarter_ = quarter_;
to_bitField2_ |= 0x00000002;
}
if (((from_bitField2_ & 0x00400000) != 0)) {
result.recommendationType_ = recommendationType_;
}
if (((from_bitField2_ & 0x00800000) != 0)) {
result.searchEngineResultsPageType_ = searchEngineResultsPageType_;
}
if (((from_bitField2_ & 0x01000000) != 0)) {
result.searchSubcategory_ = searchSubcategory_;
to_bitField2_ |= 0x00000004;
}
if (((from_bitField2_ & 0x02000000) != 0)) {
result.searchTerm_ = searchTerm_;
to_bitField2_ |= 0x00000008;
}
if (((from_bitField2_ & 0x04000000) != 0)) {
result.searchTermMatchType_ = searchTermMatchType_;
}
if (((from_bitField2_ & 0x08000000) != 0)) {
result.slot_ = slot_;
}
if (((from_bitField2_ & 0x10000000) != 0)) {
result.conversionValueRulePrimaryDimension_ = conversionValueRulePrimaryDimension_;
}
if (((from_bitField2_ & 0x20000000) != 0)) {
result.webpage_ = webpage_;
to_bitField2_ |= 0x00000010;
}
if (((from_bitField2_ & 0x40000000) != 0)) {
result.week_ = week_;
to_bitField2_ |= 0x00000020;
}
if (((from_bitField2_ & 0x80000000) != 0)) {
result.year_ = year_;
to_bitField2_ |= 0x00000040;
}
result.bitField1_ |= to_bitField1_;
result.bitField2_ |= to_bitField2_;
}
private void buildPartial3(com.google.ads.googleads.v17.common.Segments result) {
int from_bitField3_ = bitField3_;
int to_bitField2_ = 0;
if (((from_bitField3_ & 0x00000001) != 0)) {
result.skAdNetworkFineConversionValue_ = skAdNetworkFineConversionValue_;
to_bitField2_ |= 0x00000080;
}
if (((from_bitField3_ & 0x00000002) != 0)) {
result.skAdNetworkRedistributedFineConversionValue_ = skAdNetworkRedistributedFineConversionValue_;
to_bitField2_ |= 0x00000100;
}
if (((from_bitField3_ & 0x00000004) != 0)) {
result.skAdNetworkUserType_ = skAdNetworkUserType_;
}
if (((from_bitField3_ & 0x00000008) != 0)) {
result.skAdNetworkAdEventType_ = skAdNetworkAdEventType_;
}
if (((from_bitField3_ & 0x00000010) != 0)) {
result.skAdNetworkSourceApp_ = skAdNetworkSourceAppBuilder_ == null
? skAdNetworkSourceApp_
: skAdNetworkSourceAppBuilder_.build();
to_bitField2_ |= 0x00000200;
}
if (((from_bitField3_ & 0x00000020) != 0)) {
result.skAdNetworkAttributionCredit_ = skAdNetworkAttributionCredit_;
}
if (((from_bitField3_ & 0x00000040) != 0)) {
result.skAdNetworkCoarseConversionValue_ = skAdNetworkCoarseConversionValue_;
}
if (((from_bitField3_ & 0x00000080) != 0)) {
result.skAdNetworkSourceDomain_ = skAdNetworkSourceDomain_;
to_bitField2_ |= 0x00000400;
}
if (((from_bitField3_ & 0x00000100) != 0)) {
result.skAdNetworkSourceType_ = skAdNetworkSourceType_;
}
if (((from_bitField3_ & 0x00000200) != 0)) {
result.skAdNetworkPostbackSequenceIndex_ = skAdNetworkPostbackSequenceIndex_;
to_bitField2_ |= 0x00000800;
}
if (((from_bitField3_ & 0x00000400) != 0)) {
result.skAdNetworkVersion_ = skAdNetworkVersion_;
to_bitField2_ |= 0x00001000;
}
if (((from_bitField3_ & 0x00000800) != 0)) {
result.assetInteractionTarget_ = assetInteractionTargetBuilder_ == null
? assetInteractionTarget_
: assetInteractionTargetBuilder_.build();
to_bitField2_ |= 0x00002000;
}
if (((from_bitField3_ & 0x00001000) != 0)) {
result.newVersusReturningCustomers_ = newVersusReturningCustomers_;
}
result.bitField2_ |= to_bitField2_;
}
@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.Segments) {
return mergeFrom((com.google.ads.googleads.v17.common.Segments)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.common.Segments other) {
if (other == com.google.ads.googleads.v17.common.Segments.getDefaultInstance()) return this;
if (other.hasActivityAccountId()) {
setActivityAccountId(other.getActivityAccountId());
}
if (other.hasActivityCity()) {
activityCity_ = other.activityCity_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasActivityCountry()) {
activityCountry_ = other.activityCountry_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasActivityRating()) {
setActivityRating(other.getActivityRating());
}
if (other.hasActivityState()) {
activityState_ = other.activityState_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasExternalActivityId()) {
externalActivityId_ = other.externalActivityId_;
bitField0_ |= 0x00000020;
onChanged();
}
if (other.adDestinationType_ != 0) {
setAdDestinationTypeValue(other.getAdDestinationTypeValue());
}
if (other.adFormatType_ != 0) {
setAdFormatTypeValue(other.getAdFormatTypeValue());
}
if (other.adNetworkType_ != 0) {
setAdNetworkTypeValue(other.getAdNetworkTypeValue());
}
if (other.hasAdGroup()) {
adGroup_ = other.adGroup_;
bitField0_ |= 0x00000200;
onChanged();
}
if (other.hasAssetGroup()) {
assetGroup_ = other.assetGroup_;
bitField0_ |= 0x00000400;
onChanged();
}
if (other.hasAuctionInsightDomain()) {
auctionInsightDomain_ = other.auctionInsightDomain_;
bitField0_ |= 0x00000800;
onChanged();
}
if (other.hasBudgetCampaignAssociationStatus()) {
mergeBudgetCampaignAssociationStatus(other.getBudgetCampaignAssociationStatus());
}
if (other.hasCampaign()) {
campaign_ = other.campaign_;
bitField0_ |= 0x00002000;
onChanged();
}
if (other.clickType_ != 0) {
setClickTypeValue(other.getClickTypeValue());
}
if (other.hasConversionAction()) {
conversionAction_ = other.conversionAction_;
bitField0_ |= 0x00008000;
onChanged();
}
if (other.conversionActionCategory_ != 0) {
setConversionActionCategoryValue(other.getConversionActionCategoryValue());
}
if (other.hasConversionActionName()) {
conversionActionName_ = other.conversionActionName_;
bitField0_ |= 0x00020000;
onChanged();
}
if (other.hasConversionAdjustment()) {
setConversionAdjustment(other.getConversionAdjustment());
}
if (other.conversionAttributionEventType_ != 0) {
setConversionAttributionEventTypeValue(other.getConversionAttributionEventTypeValue());
}
if (other.conversionLagBucket_ != 0) {
setConversionLagBucketValue(other.getConversionLagBucketValue());
}
if (other.conversionOrAdjustmentLagBucket_ != 0) {
setConversionOrAdjustmentLagBucketValue(other.getConversionOrAdjustmentLagBucketValue());
}
if (other.hasDate()) {
date_ = other.date_;
bitField0_ |= 0x00400000;
onChanged();
}
if (other.dayOfWeek_ != 0) {
setDayOfWeekValue(other.getDayOfWeekValue());
}
if (other.device_ != 0) {
setDeviceValue(other.getDeviceValue());
}
if (other.externalConversionSource_ != 0) {
setExternalConversionSourceValue(other.getExternalConversionSourceValue());
}
if (other.hasGeoTargetAirport()) {
geoTargetAirport_ = other.geoTargetAirport_;
bitField0_ |= 0x04000000;
onChanged();
}
if (other.hasGeoTargetCanton()) {
geoTargetCanton_ = other.geoTargetCanton_;
bitField0_ |= 0x08000000;
onChanged();
}
if (other.hasGeoTargetCity()) {
geoTargetCity_ = other.geoTargetCity_;
bitField0_ |= 0x10000000;
onChanged();
}
if (other.hasGeoTargetCountry()) {
geoTargetCountry_ = other.geoTargetCountry_;
bitField0_ |= 0x20000000;
onChanged();
}
if (other.hasGeoTargetCounty()) {
geoTargetCounty_ = other.geoTargetCounty_;
bitField0_ |= 0x40000000;
onChanged();
}
if (other.hasGeoTargetDistrict()) {
geoTargetDistrict_ = other.geoTargetDistrict_;
bitField0_ |= 0x80000000;
onChanged();
}
if (other.hasGeoTargetMetro()) {
geoTargetMetro_ = other.geoTargetMetro_;
bitField1_ |= 0x00000001;
onChanged();
}
if (other.hasGeoTargetMostSpecificLocation()) {
geoTargetMostSpecificLocation_ = other.geoTargetMostSpecificLocation_;
bitField1_ |= 0x00000002;
onChanged();
}
if (other.hasGeoTargetPostalCode()) {
geoTargetPostalCode_ = other.geoTargetPostalCode_;
bitField1_ |= 0x00000004;
onChanged();
}
if (other.hasGeoTargetProvince()) {
geoTargetProvince_ = other.geoTargetProvince_;
bitField1_ |= 0x00000008;
onChanged();
}
if (other.hasGeoTargetRegion()) {
geoTargetRegion_ = other.geoTargetRegion_;
bitField1_ |= 0x00000010;
onChanged();
}
if (other.hasGeoTargetState()) {
geoTargetState_ = other.geoTargetState_;
bitField1_ |= 0x00000020;
onChanged();
}
if (other.hasHotelBookingWindowDays()) {
setHotelBookingWindowDays(other.getHotelBookingWindowDays());
}
if (other.hasHotelCenterId()) {
setHotelCenterId(other.getHotelCenterId());
}
if (other.hasHotelCheckInDate()) {
hotelCheckInDate_ = other.hotelCheckInDate_;
bitField1_ |= 0x00000100;
onChanged();
}
if (other.hotelCheckInDayOfWeek_ != 0) {
setHotelCheckInDayOfWeekValue(other.getHotelCheckInDayOfWeekValue());
}
if (other.hasHotelCity()) {
hotelCity_ = other.hotelCity_;
bitField1_ |= 0x00000400;
onChanged();
}
if (other.hasHotelClass()) {
setHotelClass(other.getHotelClass());
}
if (other.hasHotelCountry()) {
hotelCountry_ = other.hotelCountry_;
bitField1_ |= 0x00001000;
onChanged();
}
if (other.hotelDateSelectionType_ != 0) {
setHotelDateSelectionTypeValue(other.getHotelDateSelectionTypeValue());
}
if (other.hasHotelLengthOfStay()) {
setHotelLengthOfStay(other.getHotelLengthOfStay());
}
if (other.hasHotelRateRuleId()) {
hotelRateRuleId_ = other.hotelRateRuleId_;
bitField1_ |= 0x00008000;
onChanged();
}
if (other.hotelRateType_ != 0) {
setHotelRateTypeValue(other.getHotelRateTypeValue());
}
if (other.hotelPriceBucket_ != 0) {
setHotelPriceBucketValue(other.getHotelPriceBucketValue());
}
if (other.hasHotelState()) {
hotelState_ = other.hotelState_;
bitField1_ |= 0x00040000;
onChanged();
}
if (other.hasHour()) {
setHour(other.getHour());
}
if (other.hasInteractionOnThisExtension()) {
setInteractionOnThisExtension(other.getInteractionOnThisExtension());
}
if (other.hasKeyword()) {
mergeKeyword(other.getKeyword());
}
if (other.hasMonth()) {
month_ = other.month_;
bitField1_ |= 0x00400000;
onChanged();
}
if (other.monthOfYear_ != 0) {
setMonthOfYearValue(other.getMonthOfYearValue());
}
if (other.hasPartnerHotelId()) {
partnerHotelId_ = other.partnerHotelId_;
bitField1_ |= 0x01000000;
onChanged();
}
if (other.placeholderType_ != 0) {
setPlaceholderTypeValue(other.getPlaceholderTypeValue());
}
if (other.hasProductAggregatorId()) {
setProductAggregatorId(other.getProductAggregatorId());
}
if (other.hasProductCategoryLevel1()) {
productCategoryLevel1_ = other.productCategoryLevel1_;
bitField1_ |= 0x08000000;
onChanged();
}
if (other.hasProductCategoryLevel2()) {
productCategoryLevel2_ = other.productCategoryLevel2_;
bitField1_ |= 0x10000000;
onChanged();
}
if (other.hasProductCategoryLevel3()) {
productCategoryLevel3_ = other.productCategoryLevel3_;
bitField1_ |= 0x20000000;
onChanged();
}
if (other.hasProductCategoryLevel4()) {
productCategoryLevel4_ = other.productCategoryLevel4_;
bitField1_ |= 0x40000000;
onChanged();
}
if (other.hasProductCategoryLevel5()) {
productCategoryLevel5_ = other.productCategoryLevel5_;
bitField1_ |= 0x80000000;
onChanged();
}
if (other.hasProductBrand()) {
productBrand_ = other.productBrand_;
bitField2_ |= 0x00000001;
onChanged();
}
if (other.productChannel_ != 0) {
setProductChannelValue(other.getProductChannelValue());
}
if (other.productChannelExclusivity_ != 0) {
setProductChannelExclusivityValue(other.getProductChannelExclusivityValue());
}
if (other.productCondition_ != 0) {
setProductConditionValue(other.getProductConditionValue());
}
if (other.hasProductCountry()) {
productCountry_ = other.productCountry_;
bitField2_ |= 0x00000010;
onChanged();
}
if (other.hasProductCustomAttribute0()) {
productCustomAttribute0_ = other.productCustomAttribute0_;
bitField2_ |= 0x00000020;
onChanged();
}
if (other.hasProductCustomAttribute1()) {
productCustomAttribute1_ = other.productCustomAttribute1_;
bitField2_ |= 0x00000040;
onChanged();
}
if (other.hasProductCustomAttribute2()) {
productCustomAttribute2_ = other.productCustomAttribute2_;
bitField2_ |= 0x00000080;
onChanged();
}
if (other.hasProductCustomAttribute3()) {
productCustomAttribute3_ = other.productCustomAttribute3_;
bitField2_ |= 0x00000100;
onChanged();
}
if (other.hasProductCustomAttribute4()) {
productCustomAttribute4_ = other.productCustomAttribute4_;
bitField2_ |= 0x00000200;
onChanged();
}
if (other.hasProductFeedLabel()) {
productFeedLabel_ = other.productFeedLabel_;
bitField2_ |= 0x00000400;
onChanged();
}
if (other.hasProductItemId()) {
productItemId_ = other.productItemId_;
bitField2_ |= 0x00000800;
onChanged();
}
if (other.hasProductLanguage()) {
productLanguage_ = other.productLanguage_;
bitField2_ |= 0x00001000;
onChanged();
}
if (other.hasProductMerchantId()) {
setProductMerchantId(other.getProductMerchantId());
}
if (other.hasProductStoreId()) {
productStoreId_ = other.productStoreId_;
bitField2_ |= 0x00004000;
onChanged();
}
if (other.hasProductTitle()) {
productTitle_ = other.productTitle_;
bitField2_ |= 0x00008000;
onChanged();
}
if (other.hasProductTypeL1()) {
productTypeL1_ = other.productTypeL1_;
bitField2_ |= 0x00010000;
onChanged();
}
if (other.hasProductTypeL2()) {
productTypeL2_ = other.productTypeL2_;
bitField2_ |= 0x00020000;
onChanged();
}
if (other.hasProductTypeL3()) {
productTypeL3_ = other.productTypeL3_;
bitField2_ |= 0x00040000;
onChanged();
}
if (other.hasProductTypeL4()) {
productTypeL4_ = other.productTypeL4_;
bitField2_ |= 0x00080000;
onChanged();
}
if (other.hasProductTypeL5()) {
productTypeL5_ = other.productTypeL5_;
bitField2_ |= 0x00100000;
onChanged();
}
if (other.hasQuarter()) {
quarter_ = other.quarter_;
bitField2_ |= 0x00200000;
onChanged();
}
if (other.recommendationType_ != 0) {
setRecommendationTypeValue(other.getRecommendationTypeValue());
}
if (other.searchEngineResultsPageType_ != 0) {
setSearchEngineResultsPageTypeValue(other.getSearchEngineResultsPageTypeValue());
}
if (other.hasSearchSubcategory()) {
searchSubcategory_ = other.searchSubcategory_;
bitField2_ |= 0x01000000;
onChanged();
}
if (other.hasSearchTerm()) {
searchTerm_ = other.searchTerm_;
bitField2_ |= 0x02000000;
onChanged();
}
if (other.searchTermMatchType_ != 0) {
setSearchTermMatchTypeValue(other.getSearchTermMatchTypeValue());
}
if (other.slot_ != 0) {
setSlotValue(other.getSlotValue());
}
if (other.conversionValueRulePrimaryDimension_ != 0) {
setConversionValueRulePrimaryDimensionValue(other.getConversionValueRulePrimaryDimensionValue());
}
if (other.hasWebpage()) {
webpage_ = other.webpage_;
bitField2_ |= 0x20000000;
onChanged();
}
if (other.hasWeek()) {
week_ = other.week_;
bitField2_ |= 0x40000000;
onChanged();
}
if (other.hasYear()) {
setYear(other.getYear());
}
if (other.hasSkAdNetworkFineConversionValue()) {
setSkAdNetworkFineConversionValue(other.getSkAdNetworkFineConversionValue());
}
if (other.hasSkAdNetworkRedistributedFineConversionValue()) {
setSkAdNetworkRedistributedFineConversionValue(other.getSkAdNetworkRedistributedFineConversionValue());
}
if (other.skAdNetworkUserType_ != 0) {
setSkAdNetworkUserTypeValue(other.getSkAdNetworkUserTypeValue());
}
if (other.skAdNetworkAdEventType_ != 0) {
setSkAdNetworkAdEventTypeValue(other.getSkAdNetworkAdEventTypeValue());
}
if (other.hasSkAdNetworkSourceApp()) {
mergeSkAdNetworkSourceApp(other.getSkAdNetworkSourceApp());
}
if (other.skAdNetworkAttributionCredit_ != 0) {
setSkAdNetworkAttributionCreditValue(other.getSkAdNetworkAttributionCreditValue());
}
if (other.skAdNetworkCoarseConversionValue_ != 0) {
setSkAdNetworkCoarseConversionValueValue(other.getSkAdNetworkCoarseConversionValueValue());
}
if (other.hasSkAdNetworkSourceDomain()) {
skAdNetworkSourceDomain_ = other.skAdNetworkSourceDomain_;
bitField3_ |= 0x00000080;
onChanged();
}
if (other.skAdNetworkSourceType_ != 0) {
setSkAdNetworkSourceTypeValue(other.getSkAdNetworkSourceTypeValue());
}
if (other.hasSkAdNetworkPostbackSequenceIndex()) {
setSkAdNetworkPostbackSequenceIndex(other.getSkAdNetworkPostbackSequenceIndex());
}
if (other.hasSkAdNetworkVersion()) {
skAdNetworkVersion_ = other.skAdNetworkVersion_;
bitField3_ |= 0x00000400;
onChanged();
}
if (other.hasAssetInteractionTarget()) {
mergeAssetInteractionTarget(other.getAssetInteractionTarget());
}
if (other.newVersusReturningCustomers_ != 0) {
setNewVersusReturningCustomersValue(other.getNewVersusReturningCustomersValue());
}
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 8: {
device_ = input.readEnum();
bitField0_ |= 0x01000000;
break;
} // case 8
case 16: {
conversionAttributionEventType_ = input.readEnum();
bitField0_ |= 0x00080000;
break;
} // case 16
case 24: {
adNetworkType_ = input.readEnum();
bitField0_ |= 0x00000100;
break;
} // case 24
case 40: {
dayOfWeek_ = input.readEnum();
bitField0_ |= 0x00800000;
break;
} // case 40
case 72: {
hotelCheckInDayOfWeek_ = input.readEnum();
bitField1_ |= 0x00000200;
break;
} // case 72
case 104: {
hotelDateSelectionType_ = input.readEnum();
bitField1_ |= 0x00002000;
break;
} // case 104
case 144: {
monthOfYear_ = input.readEnum();
bitField1_ |= 0x00800000;
break;
} // case 144
case 160: {
placeholderType_ = input.readEnum();
bitField1_ |= 0x02000000;
break;
} // case 160
case 176: {
searchTermMatchType_ = input.readEnum();
bitField2_ |= 0x04000000;
break;
} // case 176
case 184: {
slot_ = input.readEnum();
bitField2_ |= 0x08000000;
break;
} // case 184
case 208: {
clickType_ = input.readEnum();
bitField0_ |= 0x00004000;
break;
} // case 208
case 240: {
productChannel_ = input.readEnum();
bitField2_ |= 0x00000002;
break;
} // case 240
case 248: {
productChannelExclusivity_ = input.readEnum();
bitField2_ |= 0x00000004;
break;
} // case 248
case 256: {
productCondition_ = input.readEnum();
bitField2_ |= 0x00000008;
break;
} // case 256
case 400: {
conversionLagBucket_ = input.readEnum();
bitField0_ |= 0x00100000;
break;
} // case 400
case 408: {
conversionOrAdjustmentLagBucket_ = input.readEnum();
bitField0_ |= 0x00200000;
break;
} // case 408
case 424: {
conversionActionCategory_ = input.readEnum();
bitField0_ |= 0x00010000;
break;
} // case 424
case 440: {
externalConversionSource_ = input.readEnum();
bitField0_ |= 0x02000000;
break;
} // case 440
case 490: {
input.readMessage(
getKeywordFieldBuilder().getBuilder(),
extensionRegistry);
bitField1_ |= 0x00200000;
break;
} // case 490
case 560: {
searchEngineResultsPageType_ = input.readEnum();
bitField2_ |= 0x00800000;
break;
} // case 560
case 592: {
hotelRateType_ = input.readEnum();
bitField1_ |= 0x00010000;
break;
} // case 592
case 624: {
hotelPriceBucket_ = input.readEnum();
bitField1_ |= 0x00020000;
break;
} // case 624
case 634: {
date_ = input.readStringRequireUtf8();
bitField0_ |= 0x00400000;
break;
} // case 634
case 640: {
hotelCenterId_ = input.readInt64();
bitField1_ |= 0x00000080;
break;
} // case 640
case 650: {
hotelCheckInDate_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000100;
break;
} // case 650
case 658: {
hotelCity_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000400;
break;
} // case 658
case 664: {
hotelClass_ = input.readInt32();
bitField1_ |= 0x00000800;
break;
} // case 664
case 674: {
hotelCountry_ = input.readStringRequireUtf8();
bitField1_ |= 0x00001000;
break;
} // case 674
case 680: {
hotelLengthOfStay_ = input.readInt32();
bitField1_ |= 0x00004000;
break;
} // case 680
case 690: {
hotelRateRuleId_ = input.readStringRequireUtf8();
bitField1_ |= 0x00008000;
break;
} // case 690
case 698: {
hotelState_ = input.readStringRequireUtf8();
bitField1_ |= 0x00040000;
break;
} // case 698
case 704: {
hour_ = input.readInt32();
bitField1_ |= 0x00080000;
break;
} // case 704
case 712: {
interactionOnThisExtension_ = input.readBool();
bitField1_ |= 0x00100000;
break;
} // case 712
case 722: {
month_ = input.readStringRequireUtf8();
bitField1_ |= 0x00400000;
break;
} // case 722
case 730: {
partnerHotelId_ = input.readStringRequireUtf8();
bitField1_ |= 0x01000000;
break;
} // case 730
case 778: {
productBrand_ = input.readStringRequireUtf8();
bitField2_ |= 0x00000001;
break;
} // case 778
case 786: {
productCountry_ = input.readStringRequireUtf8();
bitField2_ |= 0x00000010;
break;
} // case 786
case 794: {
productCustomAttribute0_ = input.readStringRequireUtf8();
bitField2_ |= 0x00000020;
break;
} // case 794
case 802: {
productCustomAttribute1_ = input.readStringRequireUtf8();
bitField2_ |= 0x00000040;
break;
} // case 802
case 810: {
productCustomAttribute2_ = input.readStringRequireUtf8();
bitField2_ |= 0x00000080;
break;
} // case 810
case 818: {
productCustomAttribute3_ = input.readStringRequireUtf8();
bitField2_ |= 0x00000100;
break;
} // case 818
case 826: {
productCustomAttribute4_ = input.readStringRequireUtf8();
bitField2_ |= 0x00000200;
break;
} // case 826
case 834: {
productItemId_ = input.readStringRequireUtf8();
bitField2_ |= 0x00000800;
break;
} // case 834
case 842: {
productLanguage_ = input.readStringRequireUtf8();
bitField2_ |= 0x00001000;
break;
} // case 842
case 850: {
productStoreId_ = input.readStringRequireUtf8();
bitField2_ |= 0x00004000;
break;
} // case 850
case 858: {
productTitle_ = input.readStringRequireUtf8();
bitField2_ |= 0x00008000;
break;
} // case 858
case 866: {
productTypeL1_ = input.readStringRequireUtf8();
bitField2_ |= 0x00010000;
break;
} // case 866
case 874: {
productTypeL2_ = input.readStringRequireUtf8();
bitField2_ |= 0x00020000;
break;
} // case 874
case 882: {
productTypeL3_ = input.readStringRequireUtf8();
bitField2_ |= 0x00040000;
break;
} // case 882
case 890: {
productTypeL4_ = input.readStringRequireUtf8();
bitField2_ |= 0x00080000;
break;
} // case 890
case 898: {
productTypeL5_ = input.readStringRequireUtf8();
bitField2_ |= 0x00100000;
break;
} // case 898
case 906: {
conversionAction_ = input.readStringRequireUtf8();
bitField0_ |= 0x00008000;
break;
} // case 906
case 914: {
conversionActionName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00020000;
break;
} // case 914
case 920: {
conversionAdjustment_ = input.readBool();
bitField0_ |= 0x00040000;
break;
} // case 920
case 930: {
geoTargetAirport_ = input.readStringRequireUtf8();
bitField0_ |= 0x04000000;
break;
} // case 930
case 938: {
geoTargetCanton_ = input.readStringRequireUtf8();
bitField0_ |= 0x08000000;
break;
} // case 938
case 946: {
geoTargetCity_ = input.readStringRequireUtf8();
bitField0_ |= 0x10000000;
break;
} // case 946
case 954: {
geoTargetCountry_ = input.readStringRequireUtf8();
bitField0_ |= 0x20000000;
break;
} // case 954
case 962: {
geoTargetCounty_ = input.readStringRequireUtf8();
bitField0_ |= 0x40000000;
break;
} // case 962
case 970: {
geoTargetDistrict_ = input.readStringRequireUtf8();
bitField0_ |= 0x80000000;
break;
} // case 970
case 978: {
geoTargetMetro_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000001;
break;
} // case 978
case 986: {
geoTargetMostSpecificLocation_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000002;
break;
} // case 986
case 994: {
geoTargetPostalCode_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000004;
break;
} // case 994
case 1002: {
geoTargetProvince_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000008;
break;
} // case 1002
case 1010: {
geoTargetRegion_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000010;
break;
} // case 1010
case 1018: {
geoTargetState_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000020;
break;
} // case 1018
case 1026: {
quarter_ = input.readStringRequireUtf8();
bitField2_ |= 0x00200000;
break;
} // case 1026
case 1034: {
webpage_ = input.readStringRequireUtf8();
bitField2_ |= 0x20000000;
break;
} // case 1034
case 1042: {
week_ = input.readStringRequireUtf8();
bitField2_ |= 0x40000000;
break;
} // case 1042
case 1048: {
year_ = input.readInt32();
bitField2_ |= 0x80000000;
break;
} // case 1048
case 1056: {
productAggregatorId_ = input.readInt64();
bitField1_ |= 0x04000000;
break;
} // case 1056
case 1064: {
productMerchantId_ = input.readInt64();
bitField2_ |= 0x00002000;
break;
} // case 1064
case 1074: {
input.readMessage(
getBudgetCampaignAssociationStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00001000;
break;
} // case 1074
case 1080: {
hotelBookingWindowDays_ = input.readInt64();
bitField1_ |= 0x00000040;
break;
} // case 1080
case 1088: {
adDestinationType_ = input.readEnum();
bitField0_ |= 0x00000040;
break;
} // case 1088
case 1096: {
skAdNetworkFineConversionValue_ = input.readInt64();
bitField3_ |= 0x00000001;
break;
} // case 1096
case 1104: {
conversionValueRulePrimaryDimension_ = input.readEnum();
bitField2_ |= 0x10000000;
break;
} // case 1104
case 1114: {
input.readMessage(
getAssetInteractionTargetFieldBuilder().getBuilder(),
extensionRegistry);
bitField3_ |= 0x00000800;
break;
} // case 1114
case 1120: {
recommendationType_ = input.readEnum();
bitField2_ |= 0x00400000;
break;
} // case 1120
case 1128: {
skAdNetworkUserType_ = input.readEnum();
bitField3_ |= 0x00000004;
break;
} // case 1128
case 1136: {
skAdNetworkAdEventType_ = input.readEnum();
bitField3_ |= 0x00000008;
break;
} // case 1136
case 1146: {
input.readMessage(
getSkAdNetworkSourceAppFieldBuilder().getBuilder(),
extensionRegistry);
bitField3_ |= 0x00000010;
break;
} // case 1146
case 1152: {
skAdNetworkAttributionCredit_ = input.readEnum();
bitField3_ |= 0x00000020;
break;
} // case 1152
case 1162: {
auctionInsightDomain_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 1162
case 1178: {
productFeedLabel_ = input.readStringRequireUtf8();
bitField2_ |= 0x00000400;
break;
} // case 1178
case 1184: {
activityAccountId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 1184
case 1192: {
activityRating_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 1192
case 1202: {
externalActivityId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 1202
case 1208: {
skAdNetworkCoarseConversionValue_ = input.readEnum();
bitField3_ |= 0x00000040;
break;
} // case 1208
case 1218: {
skAdNetworkSourceDomain_ = input.readStringRequireUtf8();
bitField3_ |= 0x00000080;
break;
} // case 1218
case 1224: {
skAdNetworkSourceType_ = input.readEnum();
bitField3_ |= 0x00000100;
break;
} // case 1224
case 1232: {
skAdNetworkPostbackSequenceIndex_ = input.readInt64();
bitField3_ |= 0x00000200;
break;
} // case 1232
case 1242: {
searchSubcategory_ = input.readStringRequireUtf8();
bitField2_ |= 0x01000000;
break;
} // case 1242
case 1250: {
searchTerm_ = input.readStringRequireUtf8();
bitField2_ |= 0x02000000;
break;
} // case 1250
case 1258: {
campaign_ = input.readStringRequireUtf8();
bitField0_ |= 0x00002000;
break;
} // case 1258
case 1266: {
adGroup_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 1266
case 1274: {
assetGroup_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 1274
case 1280: {
newVersusReturningCustomers_ = input.readEnum();
bitField3_ |= 0x00001000;
break;
} // case 1280
case 1290: {
productCategoryLevel1_ = input.readStringRequireUtf8();
bitField1_ |= 0x08000000;
break;
} // case 1290
case 1298: {
productCategoryLevel2_ = input.readStringRequireUtf8();
bitField1_ |= 0x10000000;
break;
} // case 1298
case 1306: {
productCategoryLevel3_ = input.readStringRequireUtf8();
bitField1_ |= 0x20000000;
break;
} // case 1306
case 1314: {
productCategoryLevel4_ = input.readStringRequireUtf8();
bitField1_ |= 0x40000000;
break;
} // case 1314
case 1322: {
productCategoryLevel5_ = input.readStringRequireUtf8();
bitField1_ |= 0x80000000;
break;
} // case 1322
case 1482: {
activityCity_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 1482
case 1490: {
activityCountry_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 1490
case 1498: {
activityState_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 1498
case 1520: {
skAdNetworkRedistributedFineConversionValue_ = input.readInt64();
bitField3_ |= 0x00000002;
break;
} // case 1520
case 1528: {
adFormatType_ = input.readEnum();
bitField0_ |= 0x00000080;
break;
} // case 1528
case 1538: {
skAdNetworkVersion_ = input.readStringRequireUtf8();
bitField3_ |= 0x00000400;
break;
} // case 1538
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 int bitField1_;
private int bitField2_;
private int bitField3_;
private long activityAccountId_ ;
/**
*
* Activity account ID.
*
*
* optional int64 activity_account_id = 148;
* @return Whether the activityAccountId field is set.
*/
@java.lang.Override
public boolean hasActivityAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Activity account ID.
*
*
* optional int64 activity_account_id = 148;
* @return The activityAccountId.
*/
@java.lang.Override
public long getActivityAccountId() {
return activityAccountId_;
}
/**
*
* Activity account ID.
*
*
* optional int64 activity_account_id = 148;
* @param value The activityAccountId to set.
* @return This builder for chaining.
*/
public Builder setActivityAccountId(long value) {
activityAccountId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Activity account ID.
*
*
* optional int64 activity_account_id = 148;
* @return This builder for chaining.
*/
public Builder clearActivityAccountId() {
bitField0_ = (bitField0_ & ~0x00000001);
activityAccountId_ = 0L;
onChanged();
return this;
}
private java.lang.Object activityCity_ = "";
/**
*
* The city where the travel activity is available.
*
*
* optional string activity_city = 185;
* @return Whether the activityCity field is set.
*/
public boolean hasActivityCity() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* The city where the travel activity is available.
*
*
* optional string activity_city = 185;
* @return The activityCity.
*/
public java.lang.String getActivityCity() {
java.lang.Object ref = activityCity_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
activityCity_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The city where the travel activity is available.
*
*
* optional string activity_city = 185;
* @return The bytes for activityCity.
*/
public com.google.protobuf.ByteString
getActivityCityBytes() {
java.lang.Object ref = activityCity_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
activityCity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The city where the travel activity is available.
*
*
* optional string activity_city = 185;
* @param value The activityCity to set.
* @return This builder for chaining.
*/
public Builder setActivityCity(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
activityCity_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* The city where the travel activity is available.
*
*
* optional string activity_city = 185;
* @return This builder for chaining.
*/
public Builder clearActivityCity() {
activityCity_ = getDefaultInstance().getActivityCity();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* The city where the travel activity is available.
*
*
* optional string activity_city = 185;
* @param value The bytes for activityCity to set.
* @return This builder for chaining.
*/
public Builder setActivityCityBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
activityCity_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object activityCountry_ = "";
/**
*
* The country where the travel activity is available.
*
*
* optional string activity_country = 186;
* @return Whether the activityCountry field is set.
*/
public boolean hasActivityCountry() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The country where the travel activity is available.
*
*
* optional string activity_country = 186;
* @return The activityCountry.
*/
public java.lang.String getActivityCountry() {
java.lang.Object ref = activityCountry_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
activityCountry_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The country where the travel activity is available.
*
*
* optional string activity_country = 186;
* @return The bytes for activityCountry.
*/
public com.google.protobuf.ByteString
getActivityCountryBytes() {
java.lang.Object ref = activityCountry_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
activityCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The country where the travel activity is available.
*
*
* optional string activity_country = 186;
* @param value The activityCountry to set.
* @return This builder for chaining.
*/
public Builder setActivityCountry(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
activityCountry_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The country where the travel activity is available.
*
*
* optional string activity_country = 186;
* @return This builder for chaining.
*/
public Builder clearActivityCountry() {
activityCountry_ = getDefaultInstance().getActivityCountry();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* The country where the travel activity is available.
*
*
* optional string activity_country = 186;
* @param value The bytes for activityCountry to set.
* @return This builder for chaining.
*/
public Builder setActivityCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
activityCountry_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private long activityRating_ ;
/**
*
* Activity rating.
*
*
* optional int64 activity_rating = 149;
* @return Whether the activityRating field is set.
*/
@java.lang.Override
public boolean hasActivityRating() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Activity rating.
*
*
* optional int64 activity_rating = 149;
* @return The activityRating.
*/
@java.lang.Override
public long getActivityRating() {
return activityRating_;
}
/**
*
* Activity rating.
*
*
* optional int64 activity_rating = 149;
* @param value The activityRating to set.
* @return This builder for chaining.
*/
public Builder setActivityRating(long value) {
activityRating_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Activity rating.
*
*
* optional int64 activity_rating = 149;
* @return This builder for chaining.
*/
public Builder clearActivityRating() {
bitField0_ = (bitField0_ & ~0x00000008);
activityRating_ = 0L;
onChanged();
return this;
}
private java.lang.Object activityState_ = "";
/**
*
* The state where the travel activity is available.
*
*
* optional string activity_state = 187;
* @return Whether the activityState field is set.
*/
public boolean hasActivityState() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* The state where the travel activity is available.
*
*
* optional string activity_state = 187;
* @return The activityState.
*/
public java.lang.String getActivityState() {
java.lang.Object ref = activityState_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
activityState_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The state where the travel activity is available.
*
*
* optional string activity_state = 187;
* @return The bytes for activityState.
*/
public com.google.protobuf.ByteString
getActivityStateBytes() {
java.lang.Object ref = activityState_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
activityState_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The state where the travel activity is available.
*
*
* optional string activity_state = 187;
* @param value The activityState to set.
* @return This builder for chaining.
*/
public Builder setActivityState(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
activityState_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* The state where the travel activity is available.
*
*
* optional string activity_state = 187;
* @return This builder for chaining.
*/
public Builder clearActivityState() {
activityState_ = getDefaultInstance().getActivityState();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
*
* The state where the travel activity is available.
*
*
* optional string activity_state = 187;
* @param value The bytes for activityState to set.
* @return This builder for chaining.
*/
public Builder setActivityStateBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
activityState_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object externalActivityId_ = "";
/**
*
* Advertiser supplied activity ID.
*
*
* optional string external_activity_id = 150;
* @return Whether the externalActivityId field is set.
*/
public boolean hasExternalActivityId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Advertiser supplied activity ID.
*
*
* optional string external_activity_id = 150;
* @return The externalActivityId.
*/
public java.lang.String getExternalActivityId() {
java.lang.Object ref = externalActivityId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
externalActivityId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Advertiser supplied activity ID.
*
*
* optional string external_activity_id = 150;
* @return The bytes for externalActivityId.
*/
public com.google.protobuf.ByteString
getExternalActivityIdBytes() {
java.lang.Object ref = externalActivityId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalActivityId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Advertiser supplied activity ID.
*
*
* optional string external_activity_id = 150;
* @param value The externalActivityId to set.
* @return This builder for chaining.
*/
public Builder setExternalActivityId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
externalActivityId_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Advertiser supplied activity ID.
*
*
* optional string external_activity_id = 150;
* @return This builder for chaining.
*/
public Builder clearExternalActivityId() {
externalActivityId_ = getDefaultInstance().getExternalActivityId();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
*
* Advertiser supplied activity ID.
*
*
* optional string external_activity_id = 150;
* @param value The bytes for externalActivityId to set.
* @return This builder for chaining.
*/
public Builder setExternalActivityIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
externalActivityId_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private int adDestinationType_ = 0;
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136;
* @return The enum numeric value on the wire for adDestinationType.
*/
@java.lang.Override public int getAdDestinationTypeValue() {
return adDestinationType_;
}
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136;
* @param value The enum numeric value on the wire for adDestinationType to set.
* @return This builder for chaining.
*/
public Builder setAdDestinationTypeValue(int value) {
adDestinationType_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136;
* @return The adDestinationType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType getAdDestinationType() {
com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType result = com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType.forNumber(adDestinationType_);
return result == null ? com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType.UNRECOGNIZED : result;
}
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136;
* @param value The adDestinationType to set.
* @return This builder for chaining.
*/
public Builder setAdDestinationType(com.google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
adDestinationType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136;
* @return This builder for chaining.
*/
public Builder clearAdDestinationType() {
bitField0_ = (bitField0_ & ~0x00000040);
adDestinationType_ = 0;
onChanged();
return this;
}
private int adFormatType_ = 0;
/**
*
* Ad Format type.
*
*
* .google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType ad_format_type = 191;
* @return The enum numeric value on the wire for adFormatType.
*/
@java.lang.Override public int getAdFormatTypeValue() {
return adFormatType_;
}
/**
*
* Ad Format type.
*
*
* .google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType ad_format_type = 191;
* @param value The enum numeric value on the wire for adFormatType to set.
* @return This builder for chaining.
*/
public Builder setAdFormatTypeValue(int value) {
adFormatType_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Ad Format type.
*
*
* .google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType ad_format_type = 191;
* @return The adFormatType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType getAdFormatType() {
com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType result = com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType.forNumber(adFormatType_);
return result == null ? com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType.UNRECOGNIZED : result;
}
/**
*
* Ad Format type.
*
*
* .google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType ad_format_type = 191;
* @param value The adFormatType to set.
* @return This builder for chaining.
*/
public Builder setAdFormatType(com.google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
adFormatType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Ad Format type.
*
*
* .google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType ad_format_type = 191;
* @return This builder for chaining.
*/
public Builder clearAdFormatType() {
bitField0_ = (bitField0_ & ~0x00000080);
adFormatType_ = 0;
onChanged();
return this;
}
private int adNetworkType_ = 0;
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3;
* @return The enum numeric value on the wire for adNetworkType.
*/
@java.lang.Override public int getAdNetworkTypeValue() {
return adNetworkType_;
}
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3;
* @param value The enum numeric value on the wire for adNetworkType to set.
* @return This builder for chaining.
*/
public Builder setAdNetworkTypeValue(int value) {
adNetworkType_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3;
* @return The adNetworkType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType getAdNetworkType() {
com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType result = com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType.forNumber(adNetworkType_);
return result == null ? com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType.UNRECOGNIZED : result;
}
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3;
* @param value The adNetworkType to set.
* @return This builder for chaining.
*/
public Builder setAdNetworkType(com.google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
adNetworkType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v17.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3;
* @return This builder for chaining.
*/
public Builder clearAdNetworkType() {
bitField0_ = (bitField0_ & ~0x00000100);
adNetworkType_ = 0;
onChanged();
return this;
}
private java.lang.Object adGroup_ = "";
/**
*
* Resource name of the ad group.
*
*
* optional string ad_group = 158;
* @return Whether the adGroup field is set.
*/
public boolean hasAdGroup() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Resource name of the ad group.
*
*
* optional string ad_group = 158;
* @return The adGroup.
*/
public java.lang.String getAdGroup() {
java.lang.Object ref = adGroup_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
adGroup_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the ad group.
*
*
* optional string ad_group = 158;
* @return The bytes for adGroup.
*/
public com.google.protobuf.ByteString
getAdGroupBytes() {
java.lang.Object ref = adGroup_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroup_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the ad group.
*
*
* optional string ad_group = 158;
* @param value The adGroup to set.
* @return This builder for chaining.
*/
public Builder setAdGroup(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
adGroup_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* Resource name of the ad group.
*
*
* optional string ad_group = 158;
* @return This builder for chaining.
*/
public Builder clearAdGroup() {
adGroup_ = getDefaultInstance().getAdGroup();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
*
* Resource name of the ad group.
*
*
* optional string ad_group = 158;
* @param value The bytes for adGroup to set.
* @return This builder for chaining.
*/
public Builder setAdGroupBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
adGroup_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
private java.lang.Object assetGroup_ = "";
/**
*
* Resource name of the asset group.
*
*
* optional string asset_group = 159;
* @return Whether the assetGroup field is set.
*/
public boolean hasAssetGroup() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Resource name of the asset group.
*
*
* optional string asset_group = 159;
* @return The assetGroup.
*/
public java.lang.String getAssetGroup() {
java.lang.Object ref = assetGroup_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
assetGroup_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the asset group.
*
*
* optional string asset_group = 159;
* @return The bytes for assetGroup.
*/
public com.google.protobuf.ByteString
getAssetGroupBytes() {
java.lang.Object ref = assetGroup_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
assetGroup_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the asset group.
*
*
* optional string asset_group = 159;
* @param value The assetGroup to set.
* @return This builder for chaining.
*/
public Builder setAssetGroup(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
assetGroup_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* Resource name of the asset group.
*
*
* optional string asset_group = 159;
* @return This builder for chaining.
*/
public Builder clearAssetGroup() {
assetGroup_ = getDefaultInstance().getAssetGroup();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
*
* Resource name of the asset group.
*
*
* optional string asset_group = 159;
* @param value The bytes for assetGroup to set.
* @return This builder for chaining.
*/
public Builder setAssetGroupBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
assetGroup_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object auctionInsightDomain_ = "";
/**
*
* Domain (visible URL) of a participant in the Auction Insights report.
*
*
* optional string auction_insight_domain = 145;
* @return Whether the auctionInsightDomain field is set.
*/
public boolean hasAuctionInsightDomain() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* Domain (visible URL) of a participant in the Auction Insights report.
*
*
* optional string auction_insight_domain = 145;
* @return The auctionInsightDomain.
*/
public java.lang.String getAuctionInsightDomain() {
java.lang.Object ref = auctionInsightDomain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
auctionInsightDomain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Domain (visible URL) of a participant in the Auction Insights report.
*
*
* optional string auction_insight_domain = 145;
* @return The bytes for auctionInsightDomain.
*/
public com.google.protobuf.ByteString
getAuctionInsightDomainBytes() {
java.lang.Object ref = auctionInsightDomain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
auctionInsightDomain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Domain (visible URL) of a participant in the Auction Insights report.
*
*
* optional string auction_insight_domain = 145;
* @param value The auctionInsightDomain to set.
* @return This builder for chaining.
*/
public Builder setAuctionInsightDomain(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
auctionInsightDomain_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* Domain (visible URL) of a participant in the Auction Insights report.
*
*
* optional string auction_insight_domain = 145;
* @return This builder for chaining.
*/
public Builder clearAuctionInsightDomain() {
auctionInsightDomain_ = getDefaultInstance().getAuctionInsightDomain();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
*
* Domain (visible URL) of a participant in the Auction Insights report.
*
*
* optional string auction_insight_domain = 145;
* @param value The bytes for auctionInsightDomain to set.
* @return This builder for chaining.
*/
public Builder setAuctionInsightDomainBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
auctionInsightDomain_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budgetCampaignAssociationStatus_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus, com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus.Builder, com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatusOrBuilder> budgetCampaignAssociationStatusBuilder_;
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
* @return Whether the budgetCampaignAssociationStatus field is set.
*/
public boolean hasBudgetCampaignAssociationStatus() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
* @return The budgetCampaignAssociationStatus.
*/
public com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus getBudgetCampaignAssociationStatus() {
if (budgetCampaignAssociationStatusBuilder_ == null) {
return budgetCampaignAssociationStatus_ == null ? com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus.getDefaultInstance() : budgetCampaignAssociationStatus_;
} else {
return budgetCampaignAssociationStatusBuilder_.getMessage();
}
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public Builder setBudgetCampaignAssociationStatus(com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus value) {
if (budgetCampaignAssociationStatusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
budgetCampaignAssociationStatus_ = value;
} else {
budgetCampaignAssociationStatusBuilder_.setMessage(value);
}
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public Builder setBudgetCampaignAssociationStatus(
com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus.Builder builderForValue) {
if (budgetCampaignAssociationStatusBuilder_ == null) {
budgetCampaignAssociationStatus_ = builderForValue.build();
} else {
budgetCampaignAssociationStatusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public Builder mergeBudgetCampaignAssociationStatus(com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus value) {
if (budgetCampaignAssociationStatusBuilder_ == null) {
if (((bitField0_ & 0x00001000) != 0) &&
budgetCampaignAssociationStatus_ != null &&
budgetCampaignAssociationStatus_ != com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus.getDefaultInstance()) {
getBudgetCampaignAssociationStatusBuilder().mergeFrom(value);
} else {
budgetCampaignAssociationStatus_ = value;
}
} else {
budgetCampaignAssociationStatusBuilder_.mergeFrom(value);
}
if (budgetCampaignAssociationStatus_ != null) {
bitField0_ |= 0x00001000;
onChanged();
}
return this;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public Builder clearBudgetCampaignAssociationStatus() {
bitField0_ = (bitField0_ & ~0x00001000);
budgetCampaignAssociationStatus_ = null;
if (budgetCampaignAssociationStatusBuilder_ != null) {
budgetCampaignAssociationStatusBuilder_.dispose();
budgetCampaignAssociationStatusBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus.Builder getBudgetCampaignAssociationStatusBuilder() {
bitField0_ |= 0x00001000;
onChanged();
return getBudgetCampaignAssociationStatusFieldBuilder().getBuilder();
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatusOrBuilder getBudgetCampaignAssociationStatusOrBuilder() {
if (budgetCampaignAssociationStatusBuilder_ != null) {
return budgetCampaignAssociationStatusBuilder_.getMessageOrBuilder();
} else {
return budgetCampaignAssociationStatus_ == null ?
com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus.getDefaultInstance() : budgetCampaignAssociationStatus_;
}
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v17.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus, com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus.Builder, com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatusOrBuilder>
getBudgetCampaignAssociationStatusFieldBuilder() {
if (budgetCampaignAssociationStatusBuilder_ == null) {
budgetCampaignAssociationStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus, com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatus.Builder, com.google.ads.googleads.v17.common.BudgetCampaignAssociationStatusOrBuilder>(
getBudgetCampaignAssociationStatus(),
getParentForChildren(),
isClean());
budgetCampaignAssociationStatus_ = null;
}
return budgetCampaignAssociationStatusBuilder_;
}
private java.lang.Object campaign_ = "";
/**
*
* Resource name of the campaign.
*
*
* optional string campaign = 157;
* @return Whether the campaign field is set.
*/
public boolean hasCampaign() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
* Resource name of the campaign.
*
*
* optional string campaign = 157;
* @return The campaign.
*/
public java.lang.String getCampaign() {
java.lang.Object ref = campaign_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
campaign_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the campaign.
*
*
* optional string campaign = 157;
* @return The bytes for campaign.
*/
public com.google.protobuf.ByteString
getCampaignBytes() {
java.lang.Object ref = campaign_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaign_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the campaign.
*
*
* optional string campaign = 157;
* @param value The campaign to set.
* @return This builder for chaining.
*/
public Builder setCampaign(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
campaign_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
*
* Resource name of the campaign.
*
*
* optional string campaign = 157;
* @return This builder for chaining.
*/
public Builder clearCampaign() {
campaign_ = getDefaultInstance().getCampaign();
bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
return this;
}
/**
*
* Resource name of the campaign.
*
*
* optional string campaign = 157;
* @param value The bytes for campaign to set.
* @return This builder for chaining.
*/
public Builder setCampaignBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
campaign_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
private int clickType_ = 0;
/**
*
* Click type.
*
*
* .google.ads.googleads.v17.enums.ClickTypeEnum.ClickType click_type = 26;
* @return The enum numeric value on the wire for clickType.
*/
@java.lang.Override public int getClickTypeValue() {
return clickType_;
}
/**
*
* Click type.
*
*
* .google.ads.googleads.v17.enums.ClickTypeEnum.ClickType click_type = 26;
* @param value The enum numeric value on the wire for clickType to set.
* @return This builder for chaining.
*/
public Builder setClickTypeValue(int value) {
clickType_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
*
* Click type.
*
*
* .google.ads.googleads.v17.enums.ClickTypeEnum.ClickType click_type = 26;
* @return The clickType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType getClickType() {
com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType result = com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType.forNumber(clickType_);
return result == null ? com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType.UNRECOGNIZED : result;
}
/**
*
* Click type.
*
*
* .google.ads.googleads.v17.enums.ClickTypeEnum.ClickType click_type = 26;
* @param value The clickType to set.
* @return This builder for chaining.
*/
public Builder setClickType(com.google.ads.googleads.v17.enums.ClickTypeEnum.ClickType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
clickType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Click type.
*
*
* .google.ads.googleads.v17.enums.ClickTypeEnum.ClickType click_type = 26;
* @return This builder for chaining.
*/
public Builder clearClickType() {
bitField0_ = (bitField0_ & ~0x00004000);
clickType_ = 0;
onChanged();
return this;
}
private java.lang.Object conversionAction_ = "";
/**
*
* Resource name of the conversion action.
*
*
* optional string conversion_action = 113 [(.google.api.resource_reference) = { ... }
* @return Whether the conversionAction field is set.
*/
public boolean hasConversionAction() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
*
* Resource name of the conversion action.
*
*
* optional string conversion_action = 113 [(.google.api.resource_reference) = { ... }
* @return The conversionAction.
*/
public java.lang.String getConversionAction() {
java.lang.Object ref = conversionAction_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
conversionAction_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the conversion action.
*
*
* optional string conversion_action = 113 [(.google.api.resource_reference) = { ... }
* @return The bytes for conversionAction.
*/
public com.google.protobuf.ByteString
getConversionActionBytes() {
java.lang.Object ref = conversionAction_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
conversionAction_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the conversion action.
*
*
* optional string conversion_action = 113 [(.google.api.resource_reference) = { ... }
* @param value The conversionAction to set.
* @return This builder for chaining.
*/
public Builder setConversionAction(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
conversionAction_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
*
* Resource name of the conversion action.
*
*
* optional string conversion_action = 113 [(.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearConversionAction() {
conversionAction_ = getDefaultInstance().getConversionAction();
bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
return this;
}
/**
*
* Resource name of the conversion action.
*
*
* optional string conversion_action = 113 [(.google.api.resource_reference) = { ... }
* @param value The bytes for conversionAction to set.
* @return This builder for chaining.
*/
public Builder setConversionActionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
conversionAction_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
private int conversionActionCategory_ = 0;
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53;
* @return The enum numeric value on the wire for conversionActionCategory.
*/
@java.lang.Override public int getConversionActionCategoryValue() {
return conversionActionCategory_;
}
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53;
* @param value The enum numeric value on the wire for conversionActionCategory to set.
* @return This builder for chaining.
*/
public Builder setConversionActionCategoryValue(int value) {
conversionActionCategory_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53;
* @return The conversionActionCategory.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory getConversionActionCategory() {
com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory result = com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory.forNumber(conversionActionCategory_);
return result == null ? com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory.UNRECOGNIZED : result;
}
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53;
* @param value The conversionActionCategory to set.
* @return This builder for chaining.
*/
public Builder setConversionActionCategory(com.google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
conversionActionCategory_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v17.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53;
* @return This builder for chaining.
*/
public Builder clearConversionActionCategory() {
bitField0_ = (bitField0_ & ~0x00010000);
conversionActionCategory_ = 0;
onChanged();
return this;
}
private java.lang.Object conversionActionName_ = "";
/**
*
* Conversion action name.
*
*
* optional string conversion_action_name = 114;
* @return Whether the conversionActionName field is set.
*/
public boolean hasConversionActionName() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
*
* Conversion action name.
*
*
* optional string conversion_action_name = 114;
* @return The conversionActionName.
*/
public java.lang.String getConversionActionName() {
java.lang.Object ref = conversionActionName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
conversionActionName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Conversion action name.
*
*
* optional string conversion_action_name = 114;
* @return The bytes for conversionActionName.
*/
public com.google.protobuf.ByteString
getConversionActionNameBytes() {
java.lang.Object ref = conversionActionName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
conversionActionName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Conversion action name.
*
*
* optional string conversion_action_name = 114;
* @param value The conversionActionName to set.
* @return This builder for chaining.
*/
public Builder setConversionActionName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
conversionActionName_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
*
* Conversion action name.
*
*
* optional string conversion_action_name = 114;
* @return This builder for chaining.
*/
public Builder clearConversionActionName() {
conversionActionName_ = getDefaultInstance().getConversionActionName();
bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
return this;
}
/**
*
* Conversion action name.
*
*
* optional string conversion_action_name = 114;
* @param value The bytes for conversionActionName to set.
* @return This builder for chaining.
*/
public Builder setConversionActionNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
conversionActionName_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
private boolean conversionAdjustment_ ;
/**
*
* This segments your conversion columns by the original conversion and
* conversion value versus the delta if conversions were adjusted. False row
* has the data as originally stated; While true row has the delta between
* data now and the data as originally stated. Summing the two together
* results post-adjustment data.
*
*
* optional bool conversion_adjustment = 115;
* @return Whether the conversionAdjustment field is set.
*/
@java.lang.Override
public boolean hasConversionAdjustment() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
*
* This segments your conversion columns by the original conversion and
* conversion value versus the delta if conversions were adjusted. False row
* has the data as originally stated; While true row has the delta between
* data now and the data as originally stated. Summing the two together
* results post-adjustment data.
*
*
* optional bool conversion_adjustment = 115;
* @return The conversionAdjustment.
*/
@java.lang.Override
public boolean getConversionAdjustment() {
return conversionAdjustment_;
}
/**
*
* This segments your conversion columns by the original conversion and
* conversion value versus the delta if conversions were adjusted. False row
* has the data as originally stated; While true row has the delta between
* data now and the data as originally stated. Summing the two together
* results post-adjustment data.
*
*
* optional bool conversion_adjustment = 115;
* @param value The conversionAdjustment to set.
* @return This builder for chaining.
*/
public Builder setConversionAdjustment(boolean value) {
conversionAdjustment_ = value;
bitField0_ |= 0x00040000;
onChanged();
return this;
}
/**
*
* This segments your conversion columns by the original conversion and
* conversion value versus the delta if conversions were adjusted. False row
* has the data as originally stated; While true row has the delta between
* data now and the data as originally stated. Summing the two together
* results post-adjustment data.
*
*
* optional bool conversion_adjustment = 115;
* @return This builder for chaining.
*/
public Builder clearConversionAdjustment() {
bitField0_ = (bitField0_ & ~0x00040000);
conversionAdjustment_ = false;
onChanged();
return this;
}
private int conversionAttributionEventType_ = 0;
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2;
* @return The enum numeric value on the wire for conversionAttributionEventType.
*/
@java.lang.Override public int getConversionAttributionEventTypeValue() {
return conversionAttributionEventType_;
}
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2;
* @param value The enum numeric value on the wire for conversionAttributionEventType to set.
* @return This builder for chaining.
*/
public Builder setConversionAttributionEventTypeValue(int value) {
conversionAttributionEventType_ = value;
bitField0_ |= 0x00080000;
onChanged();
return this;
}
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2;
* @return The conversionAttributionEventType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType getConversionAttributionEventType() {
com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType result = com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.forNumber(conversionAttributionEventType_);
return result == null ? com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.UNRECOGNIZED : result;
}
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2;
* @param value The conversionAttributionEventType to set.
* @return This builder for chaining.
*/
public Builder setConversionAttributionEventType(com.google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00080000;
conversionAttributionEventType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v17.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2;
* @return This builder for chaining.
*/
public Builder clearConversionAttributionEventType() {
bitField0_ = (bitField0_ & ~0x00080000);
conversionAttributionEventType_ = 0;
onChanged();
return this;
}
private int conversionLagBucket_ = 0;
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50;
* @return The enum numeric value on the wire for conversionLagBucket.
*/
@java.lang.Override public int getConversionLagBucketValue() {
return conversionLagBucket_;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50;
* @param value The enum numeric value on the wire for conversionLagBucket to set.
* @return This builder for chaining.
*/
public Builder setConversionLagBucketValue(int value) {
conversionLagBucket_ = value;
bitField0_ |= 0x00100000;
onChanged();
return this;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50;
* @return The conversionLagBucket.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket getConversionLagBucket() {
com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket result = com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket.forNumber(conversionLagBucket_);
return result == null ? com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket.UNRECOGNIZED : result;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50;
* @param value The conversionLagBucket to set.
* @return This builder for chaining.
*/
public Builder setConversionLagBucket(com.google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00100000;
conversionLagBucket_ = value.getNumber();
onChanged();
return this;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50;
* @return This builder for chaining.
*/
public Builder clearConversionLagBucket() {
bitField0_ = (bitField0_ & ~0x00100000);
conversionLagBucket_ = 0;
onChanged();
return this;
}
private int conversionOrAdjustmentLagBucket_ = 0;
/**
*
* An enum value representing the number of days between the impression and
* the conversion or between the impression and adjustments to the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51;
* @return The enum numeric value on the wire for conversionOrAdjustmentLagBucket.
*/
@java.lang.Override public int getConversionOrAdjustmentLagBucketValue() {
return conversionOrAdjustmentLagBucket_;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion or between the impression and adjustments to the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51;
* @param value The enum numeric value on the wire for conversionOrAdjustmentLagBucket to set.
* @return This builder for chaining.
*/
public Builder setConversionOrAdjustmentLagBucketValue(int value) {
conversionOrAdjustmentLagBucket_ = value;
bitField0_ |= 0x00200000;
onChanged();
return this;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion or between the impression and adjustments to the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51;
* @return The conversionOrAdjustmentLagBucket.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket getConversionOrAdjustmentLagBucket() {
com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket result = com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.forNumber(conversionOrAdjustmentLagBucket_);
return result == null ? com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.UNRECOGNIZED : result;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion or between the impression and adjustments to the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51;
* @param value The conversionOrAdjustmentLagBucket to set.
* @return This builder for chaining.
*/
public Builder setConversionOrAdjustmentLagBucket(com.google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00200000;
conversionOrAdjustmentLagBucket_ = value.getNumber();
onChanged();
return this;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion or between the impression and adjustments to the conversion.
*
*
* .google.ads.googleads.v17.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51;
* @return This builder for chaining.
*/
public Builder clearConversionOrAdjustmentLagBucket() {
bitField0_ = (bitField0_ & ~0x00200000);
conversionOrAdjustmentLagBucket_ = 0;
onChanged();
return this;
}
private java.lang.Object date_ = "";
/**
*
* Date to which metrics apply.
* yyyy-MM-dd format, for example, 2018-04-17.
*
*
* optional string date = 79;
* @return Whether the date field is set.
*/
public boolean hasDate() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
*
* Date to which metrics apply.
* yyyy-MM-dd format, for example, 2018-04-17.
*
*
* optional string date = 79;
* @return The date.
*/
public java.lang.String getDate() {
java.lang.Object ref = date_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
date_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Date to which metrics apply.
* yyyy-MM-dd format, for example, 2018-04-17.
*
*
* optional string date = 79;
* @return The bytes for date.
*/
public com.google.protobuf.ByteString
getDateBytes() {
java.lang.Object ref = date_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
date_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Date to which metrics apply.
* yyyy-MM-dd format, for example, 2018-04-17.
*
*
* optional string date = 79;
* @param value The date to set.
* @return This builder for chaining.
*/
public Builder setDate(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
date_ = value;
bitField0_ |= 0x00400000;
onChanged();
return this;
}
/**
*
* Date to which metrics apply.
* yyyy-MM-dd format, for example, 2018-04-17.
*
*
* optional string date = 79;
* @return This builder for chaining.
*/
public Builder clearDate() {
date_ = getDefaultInstance().getDate();
bitField0_ = (bitField0_ & ~0x00400000);
onChanged();
return this;
}
/**
*
* Date to which metrics apply.
* yyyy-MM-dd format, for example, 2018-04-17.
*
*
* optional string date = 79;
* @param value The bytes for date to set.
* @return This builder for chaining.
*/
public Builder setDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
date_ = value;
bitField0_ |= 0x00400000;
onChanged();
return this;
}
private int dayOfWeek_ = 0;
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
* @return The enum numeric value on the wire for dayOfWeek.
*/
@java.lang.Override public int getDayOfWeekValue() {
return dayOfWeek_;
}
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
* @param value The enum numeric value on the wire for dayOfWeek to set.
* @return This builder for chaining.
*/
public Builder setDayOfWeekValue(int value) {
dayOfWeek_ = value;
bitField0_ |= 0x00800000;
onChanged();
return this;
}
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
* @return The dayOfWeek.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek getDayOfWeek() {
com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek result = com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.forNumber(dayOfWeek_);
return result == null ? com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.UNRECOGNIZED : result;
}
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
* @param value The dayOfWeek to set.
* @return This builder for chaining.
*/
public Builder setDayOfWeek(com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00800000;
dayOfWeek_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
* @return This builder for chaining.
*/
public Builder clearDayOfWeek() {
bitField0_ = (bitField0_ & ~0x00800000);
dayOfWeek_ = 0;
onChanged();
return this;
}
private int device_ = 0;
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v17.enums.DeviceEnum.Device device = 1;
* @return The enum numeric value on the wire for device.
*/
@java.lang.Override public int getDeviceValue() {
return device_;
}
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v17.enums.DeviceEnum.Device device = 1;
* @param value The enum numeric value on the wire for device to set.
* @return This builder for chaining.
*/
public Builder setDeviceValue(int value) {
device_ = value;
bitField0_ |= 0x01000000;
onChanged();
return this;
}
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v17.enums.DeviceEnum.Device device = 1;
* @return The device.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.DeviceEnum.Device getDevice() {
com.google.ads.googleads.v17.enums.DeviceEnum.Device result = com.google.ads.googleads.v17.enums.DeviceEnum.Device.forNumber(device_);
return result == null ? com.google.ads.googleads.v17.enums.DeviceEnum.Device.UNRECOGNIZED : result;
}
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v17.enums.DeviceEnum.Device device = 1;
* @param value The device to set.
* @return This builder for chaining.
*/
public Builder setDevice(com.google.ads.googleads.v17.enums.DeviceEnum.Device value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x01000000;
device_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v17.enums.DeviceEnum.Device device = 1;
* @return This builder for chaining.
*/
public Builder clearDevice() {
bitField0_ = (bitField0_ & ~0x01000000);
device_ = 0;
onChanged();
return this;
}
private int externalConversionSource_ = 0;
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55;
* @return The enum numeric value on the wire for externalConversionSource.
*/
@java.lang.Override public int getExternalConversionSourceValue() {
return externalConversionSource_;
}
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55;
* @param value The enum numeric value on the wire for externalConversionSource to set.
* @return This builder for chaining.
*/
public Builder setExternalConversionSourceValue(int value) {
externalConversionSource_ = value;
bitField0_ |= 0x02000000;
onChanged();
return this;
}
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55;
* @return The externalConversionSource.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource getExternalConversionSource() {
com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource result = com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource.forNumber(externalConversionSource_);
return result == null ? com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource.UNRECOGNIZED : result;
}
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55;
* @param value The externalConversionSource to set.
* @return This builder for chaining.
*/
public Builder setExternalConversionSource(com.google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x02000000;
externalConversionSource_ = value.getNumber();
onChanged();
return this;
}
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v17.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55;
* @return This builder for chaining.
*/
public Builder clearExternalConversionSource() {
bitField0_ = (bitField0_ & ~0x02000000);
externalConversionSource_ = 0;
onChanged();
return this;
}
private java.lang.Object geoTargetAirport_ = "";
/**
*
* Resource name of the geo target constant that represents an airport.
*
*
* optional string geo_target_airport = 116;
* @return Whether the geoTargetAirport field is set.
*/
public boolean hasGeoTargetAirport() {
return ((bitField0_ & 0x04000000) != 0);
}
/**
*
* Resource name of the geo target constant that represents an airport.
*
*
* optional string geo_target_airport = 116;
* @return The geoTargetAirport.
*/
public java.lang.String getGeoTargetAirport() {
java.lang.Object ref = geoTargetAirport_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetAirport_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents an airport.
*
*
* optional string geo_target_airport = 116;
* @return The bytes for geoTargetAirport.
*/
public com.google.protobuf.ByteString
getGeoTargetAirportBytes() {
java.lang.Object ref = geoTargetAirport_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetAirport_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents an airport.
*
*
* optional string geo_target_airport = 116;
* @param value The geoTargetAirport to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetAirport(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetAirport_ = value;
bitField0_ |= 0x04000000;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents an airport.
*
*
* optional string geo_target_airport = 116;
* @return This builder for chaining.
*/
public Builder clearGeoTargetAirport() {
geoTargetAirport_ = getDefaultInstance().getGeoTargetAirport();
bitField0_ = (bitField0_ & ~0x04000000);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents an airport.
*
*
* optional string geo_target_airport = 116;
* @param value The bytes for geoTargetAirport to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetAirportBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetAirport_ = value;
bitField0_ |= 0x04000000;
onChanged();
return this;
}
private java.lang.Object geoTargetCanton_ = "";
/**
*
* Resource name of the geo target constant that represents a canton.
*
*
* optional string geo_target_canton = 117;
* @return Whether the geoTargetCanton field is set.
*/
public boolean hasGeoTargetCanton() {
return ((bitField0_ & 0x08000000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a canton.
*
*
* optional string geo_target_canton = 117;
* @return The geoTargetCanton.
*/
public java.lang.String getGeoTargetCanton() {
java.lang.Object ref = geoTargetCanton_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetCanton_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a canton.
*
*
* optional string geo_target_canton = 117;
* @return The bytes for geoTargetCanton.
*/
public com.google.protobuf.ByteString
getGeoTargetCantonBytes() {
java.lang.Object ref = geoTargetCanton_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetCanton_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a canton.
*
*
* optional string geo_target_canton = 117;
* @param value The geoTargetCanton to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetCanton(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetCanton_ = value;
bitField0_ |= 0x08000000;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a canton.
*
*
* optional string geo_target_canton = 117;
* @return This builder for chaining.
*/
public Builder clearGeoTargetCanton() {
geoTargetCanton_ = getDefaultInstance().getGeoTargetCanton();
bitField0_ = (bitField0_ & ~0x08000000);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a canton.
*
*
* optional string geo_target_canton = 117;
* @param value The bytes for geoTargetCanton to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetCantonBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetCanton_ = value;
bitField0_ |= 0x08000000;
onChanged();
return this;
}
private java.lang.Object geoTargetCity_ = "";
/**
*
* Resource name of the geo target constant that represents a city.
*
*
* optional string geo_target_city = 118;
* @return Whether the geoTargetCity field is set.
*/
public boolean hasGeoTargetCity() {
return ((bitField0_ & 0x10000000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a city.
*
*
* optional string geo_target_city = 118;
* @return The geoTargetCity.
*/
public java.lang.String getGeoTargetCity() {
java.lang.Object ref = geoTargetCity_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetCity_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a city.
*
*
* optional string geo_target_city = 118;
* @return The bytes for geoTargetCity.
*/
public com.google.protobuf.ByteString
getGeoTargetCityBytes() {
java.lang.Object ref = geoTargetCity_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetCity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a city.
*
*
* optional string geo_target_city = 118;
* @param value The geoTargetCity to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetCity(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetCity_ = value;
bitField0_ |= 0x10000000;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a city.
*
*
* optional string geo_target_city = 118;
* @return This builder for chaining.
*/
public Builder clearGeoTargetCity() {
geoTargetCity_ = getDefaultInstance().getGeoTargetCity();
bitField0_ = (bitField0_ & ~0x10000000);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a city.
*
*
* optional string geo_target_city = 118;
* @param value The bytes for geoTargetCity to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetCityBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetCity_ = value;
bitField0_ |= 0x10000000;
onChanged();
return this;
}
private java.lang.Object geoTargetCountry_ = "";
/**
*
* Resource name of the geo target constant that represents a country.
*
*
* optional string geo_target_country = 119;
* @return Whether the geoTargetCountry field is set.
*/
public boolean hasGeoTargetCountry() {
return ((bitField0_ & 0x20000000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a country.
*
*
* optional string geo_target_country = 119;
* @return The geoTargetCountry.
*/
public java.lang.String getGeoTargetCountry() {
java.lang.Object ref = geoTargetCountry_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetCountry_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a country.
*
*
* optional string geo_target_country = 119;
* @return The bytes for geoTargetCountry.
*/
public com.google.protobuf.ByteString
getGeoTargetCountryBytes() {
java.lang.Object ref = geoTargetCountry_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a country.
*
*
* optional string geo_target_country = 119;
* @param value The geoTargetCountry to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetCountry(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetCountry_ = value;
bitField0_ |= 0x20000000;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a country.
*
*
* optional string geo_target_country = 119;
* @return This builder for chaining.
*/
public Builder clearGeoTargetCountry() {
geoTargetCountry_ = getDefaultInstance().getGeoTargetCountry();
bitField0_ = (bitField0_ & ~0x20000000);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a country.
*
*
* optional string geo_target_country = 119;
* @param value The bytes for geoTargetCountry to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetCountry_ = value;
bitField0_ |= 0x20000000;
onChanged();
return this;
}
private java.lang.Object geoTargetCounty_ = "";
/**
*
* Resource name of the geo target constant that represents a county.
*
*
* optional string geo_target_county = 120;
* @return Whether the geoTargetCounty field is set.
*/
public boolean hasGeoTargetCounty() {
return ((bitField0_ & 0x40000000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a county.
*
*
* optional string geo_target_county = 120;
* @return The geoTargetCounty.
*/
public java.lang.String getGeoTargetCounty() {
java.lang.Object ref = geoTargetCounty_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetCounty_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a county.
*
*
* optional string geo_target_county = 120;
* @return The bytes for geoTargetCounty.
*/
public com.google.protobuf.ByteString
getGeoTargetCountyBytes() {
java.lang.Object ref = geoTargetCounty_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetCounty_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a county.
*
*
* optional string geo_target_county = 120;
* @param value The geoTargetCounty to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetCounty(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetCounty_ = value;
bitField0_ |= 0x40000000;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a county.
*
*
* optional string geo_target_county = 120;
* @return This builder for chaining.
*/
public Builder clearGeoTargetCounty() {
geoTargetCounty_ = getDefaultInstance().getGeoTargetCounty();
bitField0_ = (bitField0_ & ~0x40000000);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a county.
*
*
* optional string geo_target_county = 120;
* @param value The bytes for geoTargetCounty to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetCountyBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetCounty_ = value;
bitField0_ |= 0x40000000;
onChanged();
return this;
}
private java.lang.Object geoTargetDistrict_ = "";
/**
*
* Resource name of the geo target constant that represents a district.
*
*
* optional string geo_target_district = 121;
* @return Whether the geoTargetDistrict field is set.
*/
public boolean hasGeoTargetDistrict() {
return ((bitField0_ & 0x80000000) != 0);
}
/**
*
* Resource name of the geo target constant that represents a district.
*
*
* optional string geo_target_district = 121;
* @return The geoTargetDistrict.
*/
public java.lang.String getGeoTargetDistrict() {
java.lang.Object ref = geoTargetDistrict_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetDistrict_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a district.
*
*
* optional string geo_target_district = 121;
* @return The bytes for geoTargetDistrict.
*/
public com.google.protobuf.ByteString
getGeoTargetDistrictBytes() {
java.lang.Object ref = geoTargetDistrict_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetDistrict_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a district.
*
*
* optional string geo_target_district = 121;
* @param value The geoTargetDistrict to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetDistrict(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetDistrict_ = value;
bitField0_ |= 0x80000000;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a district.
*
*
* optional string geo_target_district = 121;
* @return This builder for chaining.
*/
public Builder clearGeoTargetDistrict() {
geoTargetDistrict_ = getDefaultInstance().getGeoTargetDistrict();
bitField0_ = (bitField0_ & ~0x80000000);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a district.
*
*
* optional string geo_target_district = 121;
* @param value The bytes for geoTargetDistrict to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetDistrictBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetDistrict_ = value;
bitField0_ |= 0x80000000;
onChanged();
return this;
}
private java.lang.Object geoTargetMetro_ = "";
/**
*
* Resource name of the geo target constant that represents a metro.
*
*
* optional string geo_target_metro = 122;
* @return Whether the geoTargetMetro field is set.
*/
public boolean hasGeoTargetMetro() {
return ((bitField1_ & 0x00000001) != 0);
}
/**
*
* Resource name of the geo target constant that represents a metro.
*
*
* optional string geo_target_metro = 122;
* @return The geoTargetMetro.
*/
public java.lang.String getGeoTargetMetro() {
java.lang.Object ref = geoTargetMetro_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetMetro_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a metro.
*
*
* optional string geo_target_metro = 122;
* @return The bytes for geoTargetMetro.
*/
public com.google.protobuf.ByteString
getGeoTargetMetroBytes() {
java.lang.Object ref = geoTargetMetro_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetMetro_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a metro.
*
*
* optional string geo_target_metro = 122;
* @param value The geoTargetMetro to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetMetro(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetMetro_ = value;
bitField1_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a metro.
*
*
* optional string geo_target_metro = 122;
* @return This builder for chaining.
*/
public Builder clearGeoTargetMetro() {
geoTargetMetro_ = getDefaultInstance().getGeoTargetMetro();
bitField1_ = (bitField1_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a metro.
*
*
* optional string geo_target_metro = 122;
* @param value The bytes for geoTargetMetro to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetMetroBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetMetro_ = value;
bitField1_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object geoTargetMostSpecificLocation_ = "";
/**
*
* Resource name of the geo target constant that represents the most
* specific location.
*
*
* optional string geo_target_most_specific_location = 123;
* @return Whether the geoTargetMostSpecificLocation field is set.
*/
public boolean hasGeoTargetMostSpecificLocation() {
return ((bitField1_ & 0x00000002) != 0);
}
/**
*
* Resource name of the geo target constant that represents the most
* specific location.
*
*
* optional string geo_target_most_specific_location = 123;
* @return The geoTargetMostSpecificLocation.
*/
public java.lang.String getGeoTargetMostSpecificLocation() {
java.lang.Object ref = geoTargetMostSpecificLocation_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetMostSpecificLocation_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents the most
* specific location.
*
*
* optional string geo_target_most_specific_location = 123;
* @return The bytes for geoTargetMostSpecificLocation.
*/
public com.google.protobuf.ByteString
getGeoTargetMostSpecificLocationBytes() {
java.lang.Object ref = geoTargetMostSpecificLocation_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetMostSpecificLocation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents the most
* specific location.
*
*
* optional string geo_target_most_specific_location = 123;
* @param value The geoTargetMostSpecificLocation to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetMostSpecificLocation(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetMostSpecificLocation_ = value;
bitField1_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents the most
* specific location.
*
*
* optional string geo_target_most_specific_location = 123;
* @return This builder for chaining.
*/
public Builder clearGeoTargetMostSpecificLocation() {
geoTargetMostSpecificLocation_ = getDefaultInstance().getGeoTargetMostSpecificLocation();
bitField1_ = (bitField1_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents the most
* specific location.
*
*
* optional string geo_target_most_specific_location = 123;
* @param value The bytes for geoTargetMostSpecificLocation to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetMostSpecificLocationBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetMostSpecificLocation_ = value;
bitField1_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object geoTargetPostalCode_ = "";
/**
*
* Resource name of the geo target constant that represents a postal code.
*
*
* optional string geo_target_postal_code = 124;
* @return Whether the geoTargetPostalCode field is set.
*/
public boolean hasGeoTargetPostalCode() {
return ((bitField1_ & 0x00000004) != 0);
}
/**
*
* Resource name of the geo target constant that represents a postal code.
*
*
* optional string geo_target_postal_code = 124;
* @return The geoTargetPostalCode.
*/
public java.lang.String getGeoTargetPostalCode() {
java.lang.Object ref = geoTargetPostalCode_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetPostalCode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a postal code.
*
*
* optional string geo_target_postal_code = 124;
* @return The bytes for geoTargetPostalCode.
*/
public com.google.protobuf.ByteString
getGeoTargetPostalCodeBytes() {
java.lang.Object ref = geoTargetPostalCode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetPostalCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a postal code.
*
*
* optional string geo_target_postal_code = 124;
* @param value The geoTargetPostalCode to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetPostalCode(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetPostalCode_ = value;
bitField1_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a postal code.
*
*
* optional string geo_target_postal_code = 124;
* @return This builder for chaining.
*/
public Builder clearGeoTargetPostalCode() {
geoTargetPostalCode_ = getDefaultInstance().getGeoTargetPostalCode();
bitField1_ = (bitField1_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a postal code.
*
*
* optional string geo_target_postal_code = 124;
* @param value The bytes for geoTargetPostalCode to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetPostalCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetPostalCode_ = value;
bitField1_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object geoTargetProvince_ = "";
/**
*
* Resource name of the geo target constant that represents a province.
*
*
* optional string geo_target_province = 125;
* @return Whether the geoTargetProvince field is set.
*/
public boolean hasGeoTargetProvince() {
return ((bitField1_ & 0x00000008) != 0);
}
/**
*
* Resource name of the geo target constant that represents a province.
*
*
* optional string geo_target_province = 125;
* @return The geoTargetProvince.
*/
public java.lang.String getGeoTargetProvince() {
java.lang.Object ref = geoTargetProvince_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetProvince_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a province.
*
*
* optional string geo_target_province = 125;
* @return The bytes for geoTargetProvince.
*/
public com.google.protobuf.ByteString
getGeoTargetProvinceBytes() {
java.lang.Object ref = geoTargetProvince_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetProvince_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a province.
*
*
* optional string geo_target_province = 125;
* @param value The geoTargetProvince to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetProvince(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetProvince_ = value;
bitField1_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a province.
*
*
* optional string geo_target_province = 125;
* @return This builder for chaining.
*/
public Builder clearGeoTargetProvince() {
geoTargetProvince_ = getDefaultInstance().getGeoTargetProvince();
bitField1_ = (bitField1_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a province.
*
*
* optional string geo_target_province = 125;
* @param value The bytes for geoTargetProvince to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetProvinceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetProvince_ = value;
bitField1_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object geoTargetRegion_ = "";
/**
*
* Resource name of the geo target constant that represents a region.
*
*
* optional string geo_target_region = 126;
* @return Whether the geoTargetRegion field is set.
*/
public boolean hasGeoTargetRegion() {
return ((bitField1_ & 0x00000010) != 0);
}
/**
*
* Resource name of the geo target constant that represents a region.
*
*
* optional string geo_target_region = 126;
* @return The geoTargetRegion.
*/
public java.lang.String getGeoTargetRegion() {
java.lang.Object ref = geoTargetRegion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetRegion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a region.
*
*
* optional string geo_target_region = 126;
* @return The bytes for geoTargetRegion.
*/
public com.google.protobuf.ByteString
getGeoTargetRegionBytes() {
java.lang.Object ref = geoTargetRegion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetRegion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a region.
*
*
* optional string geo_target_region = 126;
* @param value The geoTargetRegion to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetRegion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetRegion_ = value;
bitField1_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a region.
*
*
* optional string geo_target_region = 126;
* @return This builder for chaining.
*/
public Builder clearGeoTargetRegion() {
geoTargetRegion_ = getDefaultInstance().getGeoTargetRegion();
bitField1_ = (bitField1_ & ~0x00000010);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a region.
*
*
* optional string geo_target_region = 126;
* @param value The bytes for geoTargetRegion to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetRegionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetRegion_ = value;
bitField1_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object geoTargetState_ = "";
/**
*
* Resource name of the geo target constant that represents a state.
*
*
* optional string geo_target_state = 127;
* @return Whether the geoTargetState field is set.
*/
public boolean hasGeoTargetState() {
return ((bitField1_ & 0x00000020) != 0);
}
/**
*
* Resource name of the geo target constant that represents a state.
*
*
* optional string geo_target_state = 127;
* @return The geoTargetState.
*/
public java.lang.String getGeoTargetState() {
java.lang.Object ref = geoTargetState_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geoTargetState_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a state.
*
*
* optional string geo_target_state = 127;
* @return The bytes for geoTargetState.
*/
public com.google.protobuf.ByteString
getGeoTargetStateBytes() {
java.lang.Object ref = geoTargetState_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geoTargetState_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant that represents a state.
*
*
* optional string geo_target_state = 127;
* @param value The geoTargetState to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetState(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
geoTargetState_ = value;
bitField1_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a state.
*
*
* optional string geo_target_state = 127;
* @return This builder for chaining.
*/
public Builder clearGeoTargetState() {
geoTargetState_ = getDefaultInstance().getGeoTargetState();
bitField1_ = (bitField1_ & ~0x00000020);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant that represents a state.
*
*
* optional string geo_target_state = 127;
* @param value The bytes for geoTargetState to set.
* @return This builder for chaining.
*/
public Builder setGeoTargetStateBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
geoTargetState_ = value;
bitField1_ |= 0x00000020;
onChanged();
return this;
}
private long hotelBookingWindowDays_ ;
/**
*
* Hotel booking window in days.
*
*
* optional int64 hotel_booking_window_days = 135;
* @return Whether the hotelBookingWindowDays field is set.
*/
@java.lang.Override
public boolean hasHotelBookingWindowDays() {
return ((bitField1_ & 0x00000040) != 0);
}
/**
*
* Hotel booking window in days.
*
*
* optional int64 hotel_booking_window_days = 135;
* @return The hotelBookingWindowDays.
*/
@java.lang.Override
public long getHotelBookingWindowDays() {
return hotelBookingWindowDays_;
}
/**
*
* Hotel booking window in days.
*
*
* optional int64 hotel_booking_window_days = 135;
* @param value The hotelBookingWindowDays to set.
* @return This builder for chaining.
*/
public Builder setHotelBookingWindowDays(long value) {
hotelBookingWindowDays_ = value;
bitField1_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Hotel booking window in days.
*
*
* optional int64 hotel_booking_window_days = 135;
* @return This builder for chaining.
*/
public Builder clearHotelBookingWindowDays() {
bitField1_ = (bitField1_ & ~0x00000040);
hotelBookingWindowDays_ = 0L;
onChanged();
return this;
}
private long hotelCenterId_ ;
/**
*
* Hotel center ID.
*
*
* optional int64 hotel_center_id = 80;
* @return Whether the hotelCenterId field is set.
*/
@java.lang.Override
public boolean hasHotelCenterId() {
return ((bitField1_ & 0x00000080) != 0);
}
/**
*
* Hotel center ID.
*
*
* optional int64 hotel_center_id = 80;
* @return The hotelCenterId.
*/
@java.lang.Override
public long getHotelCenterId() {
return hotelCenterId_;
}
/**
*
* Hotel center ID.
*
*
* optional int64 hotel_center_id = 80;
* @param value The hotelCenterId to set.
* @return This builder for chaining.
*/
public Builder setHotelCenterId(long value) {
hotelCenterId_ = value;
bitField1_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Hotel center ID.
*
*
* optional int64 hotel_center_id = 80;
* @return This builder for chaining.
*/
public Builder clearHotelCenterId() {
bitField1_ = (bitField1_ & ~0x00000080);
hotelCenterId_ = 0L;
onChanged();
return this;
}
private java.lang.Object hotelCheckInDate_ = "";
/**
*
* Hotel check-in date. Formatted as yyyy-MM-dd.
*
*
* optional string hotel_check_in_date = 81;
* @return Whether the hotelCheckInDate field is set.
*/
public boolean hasHotelCheckInDate() {
return ((bitField1_ & 0x00000100) != 0);
}
/**
*
* Hotel check-in date. Formatted as yyyy-MM-dd.
*
*
* optional string hotel_check_in_date = 81;
* @return The hotelCheckInDate.
*/
public java.lang.String getHotelCheckInDate() {
java.lang.Object ref = hotelCheckInDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hotelCheckInDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Hotel check-in date. Formatted as yyyy-MM-dd.
*
*
* optional string hotel_check_in_date = 81;
* @return The bytes for hotelCheckInDate.
*/
public com.google.protobuf.ByteString
getHotelCheckInDateBytes() {
java.lang.Object ref = hotelCheckInDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotelCheckInDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Hotel check-in date. Formatted as yyyy-MM-dd.
*
*
* optional string hotel_check_in_date = 81;
* @param value The hotelCheckInDate to set.
* @return This builder for chaining.
*/
public Builder setHotelCheckInDate(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
hotelCheckInDate_ = value;
bitField1_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Hotel check-in date. Formatted as yyyy-MM-dd.
*
*
* optional string hotel_check_in_date = 81;
* @return This builder for chaining.
*/
public Builder clearHotelCheckInDate() {
hotelCheckInDate_ = getDefaultInstance().getHotelCheckInDate();
bitField1_ = (bitField1_ & ~0x00000100);
onChanged();
return this;
}
/**
*
* Hotel check-in date. Formatted as yyyy-MM-dd.
*
*
* optional string hotel_check_in_date = 81;
* @param value The bytes for hotelCheckInDate to set.
* @return This builder for chaining.
*/
public Builder setHotelCheckInDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
hotelCheckInDate_ = value;
bitField1_ |= 0x00000100;
onChanged();
return this;
}
private int hotelCheckInDayOfWeek_ = 0;
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9;
* @return The enum numeric value on the wire for hotelCheckInDayOfWeek.
*/
@java.lang.Override public int getHotelCheckInDayOfWeekValue() {
return hotelCheckInDayOfWeek_;
}
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9;
* @param value The enum numeric value on the wire for hotelCheckInDayOfWeek to set.
* @return This builder for chaining.
*/
public Builder setHotelCheckInDayOfWeekValue(int value) {
hotelCheckInDayOfWeek_ = value;
bitField1_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9;
* @return The hotelCheckInDayOfWeek.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek getHotelCheckInDayOfWeek() {
com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek result = com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.forNumber(hotelCheckInDayOfWeek_);
return result == null ? com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek.UNRECOGNIZED : result;
}
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9;
* @param value The hotelCheckInDayOfWeek to set.
* @return This builder for chaining.
*/
public Builder setHotelCheckInDayOfWeek(com.google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek value) {
if (value == null) {
throw new NullPointerException();
}
bitField1_ |= 0x00000200;
hotelCheckInDayOfWeek_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v17.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9;
* @return This builder for chaining.
*/
public Builder clearHotelCheckInDayOfWeek() {
bitField1_ = (bitField1_ & ~0x00000200);
hotelCheckInDayOfWeek_ = 0;
onChanged();
return this;
}
private java.lang.Object hotelCity_ = "";
/**
*
* Hotel city.
*
*
* optional string hotel_city = 82;
* @return Whether the hotelCity field is set.
*/
public boolean hasHotelCity() {
return ((bitField1_ & 0x00000400) != 0);
}
/**
*
* Hotel city.
*
*
* optional string hotel_city = 82;
* @return The hotelCity.
*/
public java.lang.String getHotelCity() {
java.lang.Object ref = hotelCity_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hotelCity_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Hotel city.
*
*
* optional string hotel_city = 82;
* @return The bytes for hotelCity.
*/
public com.google.protobuf.ByteString
getHotelCityBytes() {
java.lang.Object ref = hotelCity_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotelCity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Hotel city.
*
*
* optional string hotel_city = 82;
* @param value The hotelCity to set.
* @return This builder for chaining.
*/
public Builder setHotelCity(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
hotelCity_ = value;
bitField1_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* Hotel city.
*
*
* optional string hotel_city = 82;
* @return This builder for chaining.
*/
public Builder clearHotelCity() {
hotelCity_ = getDefaultInstance().getHotelCity();
bitField1_ = (bitField1_ & ~0x00000400);
onChanged();
return this;
}
/**
*
* Hotel city.
*
*
* optional string hotel_city = 82;
* @param value The bytes for hotelCity to set.
* @return This builder for chaining.
*/
public Builder setHotelCityBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
hotelCity_ = value;
bitField1_ |= 0x00000400;
onChanged();
return this;
}
private int hotelClass_ ;
/**
*
* Hotel class.
*
*
* optional int32 hotel_class = 83;
* @return Whether the hotelClass field is set.
*/
@java.lang.Override
public boolean hasHotelClass() {
return ((bitField1_ & 0x00000800) != 0);
}
/**
*
* Hotel class.
*
*
* optional int32 hotel_class = 83;
* @return The hotelClass.
*/
@java.lang.Override
public int getHotelClass() {
return hotelClass_;
}
/**
*
* Hotel class.
*
*
* optional int32 hotel_class = 83;
* @param value The hotelClass to set.
* @return This builder for chaining.
*/
public Builder setHotelClass(int value) {
hotelClass_ = value;
bitField1_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* Hotel class.
*
*
* optional int32 hotel_class = 83;
* @return This builder for chaining.
*/
public Builder clearHotelClass() {
bitField1_ = (bitField1_ & ~0x00000800);
hotelClass_ = 0;
onChanged();
return this;
}
private java.lang.Object hotelCountry_ = "";
/**
*
* Hotel country.
*
*
* optional string hotel_country = 84;
* @return Whether the hotelCountry field is set.
*/
public boolean hasHotelCountry() {
return ((bitField1_ & 0x00001000) != 0);
}
/**
*
* Hotel country.
*
*
* optional string hotel_country = 84;
* @return The hotelCountry.
*/
public java.lang.String getHotelCountry() {
java.lang.Object ref = hotelCountry_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hotelCountry_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Hotel country.
*
*
* optional string hotel_country = 84;
* @return The bytes for hotelCountry.
*/
public com.google.protobuf.ByteString
getHotelCountryBytes() {
java.lang.Object ref = hotelCountry_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotelCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Hotel country.
*
*
* optional string hotel_country = 84;
* @param value The hotelCountry to set.
* @return This builder for chaining.
*/
public Builder setHotelCountry(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
hotelCountry_ = value;
bitField1_ |= 0x00001000;
onChanged();
return this;
}
/**
*
* Hotel country.
*
*
* optional string hotel_country = 84;
* @return This builder for chaining.
*/
public Builder clearHotelCountry() {
hotelCountry_ = getDefaultInstance().getHotelCountry();
bitField1_ = (bitField1_ & ~0x00001000);
onChanged();
return this;
}
/**
*
* Hotel country.
*
*
* optional string hotel_country = 84;
* @param value The bytes for hotelCountry to set.
* @return This builder for chaining.
*/
public Builder setHotelCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
hotelCountry_ = value;
bitField1_ |= 0x00001000;
onChanged();
return this;
}
private int hotelDateSelectionType_ = 0;
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13;
* @return The enum numeric value on the wire for hotelDateSelectionType.
*/
@java.lang.Override public int getHotelDateSelectionTypeValue() {
return hotelDateSelectionType_;
}
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13;
* @param value The enum numeric value on the wire for hotelDateSelectionType to set.
* @return This builder for chaining.
*/
public Builder setHotelDateSelectionTypeValue(int value) {
hotelDateSelectionType_ = value;
bitField1_ |= 0x00002000;
onChanged();
return this;
}
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13;
* @return The hotelDateSelectionType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType getHotelDateSelectionType() {
com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType result = com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.forNumber(hotelDateSelectionType_);
return result == null ? com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.UNRECOGNIZED : result;
}
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13;
* @param value The hotelDateSelectionType to set.
* @return This builder for chaining.
*/
public Builder setHotelDateSelectionType(com.google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType value) {
if (value == null) {
throw new NullPointerException();
}
bitField1_ |= 0x00002000;
hotelDateSelectionType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v17.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13;
* @return This builder for chaining.
*/
public Builder clearHotelDateSelectionType() {
bitField1_ = (bitField1_ & ~0x00002000);
hotelDateSelectionType_ = 0;
onChanged();
return this;
}
private int hotelLengthOfStay_ ;
/**
*
* Hotel length of stay.
*
*
* optional int32 hotel_length_of_stay = 85;
* @return Whether the hotelLengthOfStay field is set.
*/
@java.lang.Override
public boolean hasHotelLengthOfStay() {
return ((bitField1_ & 0x00004000) != 0);
}
/**
*
* Hotel length of stay.
*
*
* optional int32 hotel_length_of_stay = 85;
* @return The hotelLengthOfStay.
*/
@java.lang.Override
public int getHotelLengthOfStay() {
return hotelLengthOfStay_;
}
/**
*
* Hotel length of stay.
*
*
* optional int32 hotel_length_of_stay = 85;
* @param value The hotelLengthOfStay to set.
* @return This builder for chaining.
*/
public Builder setHotelLengthOfStay(int value) {
hotelLengthOfStay_ = value;
bitField1_ |= 0x00004000;
onChanged();
return this;
}
/**
*
* Hotel length of stay.
*
*
* optional int32 hotel_length_of_stay = 85;
* @return This builder for chaining.
*/
public Builder clearHotelLengthOfStay() {
bitField1_ = (bitField1_ & ~0x00004000);
hotelLengthOfStay_ = 0;
onChanged();
return this;
}
private java.lang.Object hotelRateRuleId_ = "";
/**
*
* Hotel rate rule ID.
*
*
* optional string hotel_rate_rule_id = 86;
* @return Whether the hotelRateRuleId field is set.
*/
public boolean hasHotelRateRuleId() {
return ((bitField1_ & 0x00008000) != 0);
}
/**
*
* Hotel rate rule ID.
*
*
* optional string hotel_rate_rule_id = 86;
* @return The hotelRateRuleId.
*/
public java.lang.String getHotelRateRuleId() {
java.lang.Object ref = hotelRateRuleId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hotelRateRuleId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Hotel rate rule ID.
*
*
* optional string hotel_rate_rule_id = 86;
* @return The bytes for hotelRateRuleId.
*/
public com.google.protobuf.ByteString
getHotelRateRuleIdBytes() {
java.lang.Object ref = hotelRateRuleId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotelRateRuleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Hotel rate rule ID.
*
*
* optional string hotel_rate_rule_id = 86;
* @param value The hotelRateRuleId to set.
* @return This builder for chaining.
*/
public Builder setHotelRateRuleId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
hotelRateRuleId_ = value;
bitField1_ |= 0x00008000;
onChanged();
return this;
}
/**
*
* Hotel rate rule ID.
*
*
* optional string hotel_rate_rule_id = 86;
* @return This builder for chaining.
*/
public Builder clearHotelRateRuleId() {
hotelRateRuleId_ = getDefaultInstance().getHotelRateRuleId();
bitField1_ = (bitField1_ & ~0x00008000);
onChanged();
return this;
}
/**
*
* Hotel rate rule ID.
*
*
* optional string hotel_rate_rule_id = 86;
* @param value The bytes for hotelRateRuleId to set.
* @return This builder for chaining.
*/
public Builder setHotelRateRuleIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
hotelRateRuleId_ = value;
bitField1_ |= 0x00008000;
onChanged();
return this;
}
private int hotelRateType_ = 0;
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74;
* @return The enum numeric value on the wire for hotelRateType.
*/
@java.lang.Override public int getHotelRateTypeValue() {
return hotelRateType_;
}
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74;
* @param value The enum numeric value on the wire for hotelRateType to set.
* @return This builder for chaining.
*/
public Builder setHotelRateTypeValue(int value) {
hotelRateType_ = value;
bitField1_ |= 0x00010000;
onChanged();
return this;
}
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74;
* @return The hotelRateType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType getHotelRateType() {
com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType result = com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType.forNumber(hotelRateType_);
return result == null ? com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType.UNRECOGNIZED : result;
}
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74;
* @param value The hotelRateType to set.
* @return This builder for chaining.
*/
public Builder setHotelRateType(com.google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType value) {
if (value == null) {
throw new NullPointerException();
}
bitField1_ |= 0x00010000;
hotelRateType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v17.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74;
* @return This builder for chaining.
*/
public Builder clearHotelRateType() {
bitField1_ = (bitField1_ & ~0x00010000);
hotelRateType_ = 0;
onChanged();
return this;
}
private int hotelPriceBucket_ = 0;
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78;
* @return The enum numeric value on the wire for hotelPriceBucket.
*/
@java.lang.Override public int getHotelPriceBucketValue() {
return hotelPriceBucket_;
}
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78;
* @param value The enum numeric value on the wire for hotelPriceBucket to set.
* @return This builder for chaining.
*/
public Builder setHotelPriceBucketValue(int value) {
hotelPriceBucket_ = value;
bitField1_ |= 0x00020000;
onChanged();
return this;
}
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78;
* @return The hotelPriceBucket.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket getHotelPriceBucket() {
com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket result = com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket.forNumber(hotelPriceBucket_);
return result == null ? com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket.UNRECOGNIZED : result;
}
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78;
* @param value The hotelPriceBucket to set.
* @return This builder for chaining.
*/
public Builder setHotelPriceBucket(com.google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket value) {
if (value == null) {
throw new NullPointerException();
}
bitField1_ |= 0x00020000;
hotelPriceBucket_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v17.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78;
* @return This builder for chaining.
*/
public Builder clearHotelPriceBucket() {
bitField1_ = (bitField1_ & ~0x00020000);
hotelPriceBucket_ = 0;
onChanged();
return this;
}
private java.lang.Object hotelState_ = "";
/**
*
* Hotel state.
*
*
* optional string hotel_state = 87;
* @return Whether the hotelState field is set.
*/
public boolean hasHotelState() {
return ((bitField1_ & 0x00040000) != 0);
}
/**
*
* Hotel state.
*
*
* optional string hotel_state = 87;
* @return The hotelState.
*/
public java.lang.String getHotelState() {
java.lang.Object ref = hotelState_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hotelState_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Hotel state.
*
*
* optional string hotel_state = 87;
* @return The bytes for hotelState.
*/
public com.google.protobuf.ByteString
getHotelStateBytes() {
java.lang.Object ref = hotelState_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hotelState_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Hotel state.
*
*
* optional string hotel_state = 87;
* @param value The hotelState to set.
* @return This builder for chaining.
*/
public Builder setHotelState(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
hotelState_ = value;
bitField1_ |= 0x00040000;
onChanged();
return this;
}
/**
*
* Hotel state.
*
*
* optional string hotel_state = 87;
* @return This builder for chaining.
*/
public Builder clearHotelState() {
hotelState_ = getDefaultInstance().getHotelState();
bitField1_ = (bitField1_ & ~0x00040000);
onChanged();
return this;
}
/**
*
* Hotel state.
*
*
* optional string hotel_state = 87;
* @param value The bytes for hotelState to set.
* @return This builder for chaining.
*/
public Builder setHotelStateBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
hotelState_ = value;
bitField1_ |= 0x00040000;
onChanged();
return this;
}
private int hour_ ;
/**
*
* Hour of day as a number between 0 and 23, inclusive.
*
*
* optional int32 hour = 88;
* @return Whether the hour field is set.
*/
@java.lang.Override
public boolean hasHour() {
return ((bitField1_ & 0x00080000) != 0);
}
/**
*
* Hour of day as a number between 0 and 23, inclusive.
*
*
* optional int32 hour = 88;
* @return The hour.
*/
@java.lang.Override
public int getHour() {
return hour_;
}
/**
*
* Hour of day as a number between 0 and 23, inclusive.
*
*
* optional int32 hour = 88;
* @param value The hour to set.
* @return This builder for chaining.
*/
public Builder setHour(int value) {
hour_ = value;
bitField1_ |= 0x00080000;
onChanged();
return this;
}
/**
*
* Hour of day as a number between 0 and 23, inclusive.
*
*
* optional int32 hour = 88;
* @return This builder for chaining.
*/
public Builder clearHour() {
bitField1_ = (bitField1_ & ~0x00080000);
hour_ = 0;
onChanged();
return this;
}
private boolean interactionOnThisExtension_ ;
/**
*
* Only used with feed item metrics.
* Indicates whether the interaction metrics occurred on the feed item itself
* or a different extension or ad unit.
*
*
* optional bool interaction_on_this_extension = 89;
* @return Whether the interactionOnThisExtension field is set.
*/
@java.lang.Override
public boolean hasInteractionOnThisExtension() {
return ((bitField1_ & 0x00100000) != 0);
}
/**
*
* Only used with feed item metrics.
* Indicates whether the interaction metrics occurred on the feed item itself
* or a different extension or ad unit.
*
*
* optional bool interaction_on_this_extension = 89;
* @return The interactionOnThisExtension.
*/
@java.lang.Override
public boolean getInteractionOnThisExtension() {
return interactionOnThisExtension_;
}
/**
*
* Only used with feed item metrics.
* Indicates whether the interaction metrics occurred on the feed item itself
* or a different extension or ad unit.
*
*
* optional bool interaction_on_this_extension = 89;
* @param value The interactionOnThisExtension to set.
* @return This builder for chaining.
*/
public Builder setInteractionOnThisExtension(boolean value) {
interactionOnThisExtension_ = value;
bitField1_ |= 0x00100000;
onChanged();
return this;
}
/**
*
* Only used with feed item metrics.
* Indicates whether the interaction metrics occurred on the feed item itself
* or a different extension or ad unit.
*
*
* optional bool interaction_on_this_extension = 89;
* @return This builder for chaining.
*/
public Builder clearInteractionOnThisExtension() {
bitField1_ = (bitField1_ & ~0x00100000);
interactionOnThisExtension_ = false;
onChanged();
return this;
}
private com.google.ads.googleads.v17.common.Keyword keyword_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.Keyword, com.google.ads.googleads.v17.common.Keyword.Builder, com.google.ads.googleads.v17.common.KeywordOrBuilder> keywordBuilder_;
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
* @return Whether the keyword field is set.
*/
public boolean hasKeyword() {
return ((bitField1_ & 0x00200000) != 0);
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
* @return The keyword.
*/
public com.google.ads.googleads.v17.common.Keyword getKeyword() {
if (keywordBuilder_ == null) {
return keyword_ == null ? com.google.ads.googleads.v17.common.Keyword.getDefaultInstance() : keyword_;
} else {
return keywordBuilder_.getMessage();
}
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
*/
public Builder setKeyword(com.google.ads.googleads.v17.common.Keyword value) {
if (keywordBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
keyword_ = value;
} else {
keywordBuilder_.setMessage(value);
}
bitField1_ |= 0x00200000;
onChanged();
return this;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
*/
public Builder setKeyword(
com.google.ads.googleads.v17.common.Keyword.Builder builderForValue) {
if (keywordBuilder_ == null) {
keyword_ = builderForValue.build();
} else {
keywordBuilder_.setMessage(builderForValue.build());
}
bitField1_ |= 0x00200000;
onChanged();
return this;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
*/
public Builder mergeKeyword(com.google.ads.googleads.v17.common.Keyword value) {
if (keywordBuilder_ == null) {
if (((bitField1_ & 0x00200000) != 0) &&
keyword_ != null &&
keyword_ != com.google.ads.googleads.v17.common.Keyword.getDefaultInstance()) {
getKeywordBuilder().mergeFrom(value);
} else {
keyword_ = value;
}
} else {
keywordBuilder_.mergeFrom(value);
}
if (keyword_ != null) {
bitField1_ |= 0x00200000;
onChanged();
}
return this;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
*/
public Builder clearKeyword() {
bitField1_ = (bitField1_ & ~0x00200000);
keyword_ = null;
if (keywordBuilder_ != null) {
keywordBuilder_.dispose();
keywordBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
*/
public com.google.ads.googleads.v17.common.Keyword.Builder getKeywordBuilder() {
bitField1_ |= 0x00200000;
onChanged();
return getKeywordFieldBuilder().getBuilder();
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
*/
public com.google.ads.googleads.v17.common.KeywordOrBuilder getKeywordOrBuilder() {
if (keywordBuilder_ != null) {
return keywordBuilder_.getMessageOrBuilder();
} else {
return keyword_ == null ?
com.google.ads.googleads.v17.common.Keyword.getDefaultInstance() : keyword_;
}
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v17.common.Keyword keyword = 61;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.Keyword, com.google.ads.googleads.v17.common.Keyword.Builder, com.google.ads.googleads.v17.common.KeywordOrBuilder>
getKeywordFieldBuilder() {
if (keywordBuilder_ == null) {
keywordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.Keyword, com.google.ads.googleads.v17.common.Keyword.Builder, com.google.ads.googleads.v17.common.KeywordOrBuilder>(
getKeyword(),
getParentForChildren(),
isClean());
keyword_ = null;
}
return keywordBuilder_;
}
private java.lang.Object month_ = "";
/**
*
* Month as represented by the date of the first day of a month. Formatted as
* yyyy-MM-dd.
*
*
* optional string month = 90;
* @return Whether the month field is set.
*/
public boolean hasMonth() {
return ((bitField1_ & 0x00400000) != 0);
}
/**
*
* Month as represented by the date of the first day of a month. Formatted as
* yyyy-MM-dd.
*
*
* optional string month = 90;
* @return The month.
*/
public java.lang.String getMonth() {
java.lang.Object ref = month_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
month_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Month as represented by the date of the first day of a month. Formatted as
* yyyy-MM-dd.
*
*
* optional string month = 90;
* @return The bytes for month.
*/
public com.google.protobuf.ByteString
getMonthBytes() {
java.lang.Object ref = month_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
month_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Month as represented by the date of the first day of a month. Formatted as
* yyyy-MM-dd.
*
*
* optional string month = 90;
* @param value The month to set.
* @return This builder for chaining.
*/
public Builder setMonth(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
month_ = value;
bitField1_ |= 0x00400000;
onChanged();
return this;
}
/**
*
* Month as represented by the date of the first day of a month. Formatted as
* yyyy-MM-dd.
*
*
* optional string month = 90;
* @return This builder for chaining.
*/
public Builder clearMonth() {
month_ = getDefaultInstance().getMonth();
bitField1_ = (bitField1_ & ~0x00400000);
onChanged();
return this;
}
/**
*
* Month as represented by the date of the first day of a month. Formatted as
* yyyy-MM-dd.
*
*
* optional string month = 90;
* @param value The bytes for month to set.
* @return This builder for chaining.
*/
public Builder setMonthBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
month_ = value;
bitField1_ |= 0x00400000;
onChanged();
return this;
}
private int monthOfYear_ = 0;
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
* @return The enum numeric value on the wire for monthOfYear.
*/
@java.lang.Override public int getMonthOfYearValue() {
return monthOfYear_;
}
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
* @param value The enum numeric value on the wire for monthOfYear to set.
* @return This builder for chaining.
*/
public Builder setMonthOfYearValue(int value) {
monthOfYear_ = value;
bitField1_ |= 0x00800000;
onChanged();
return this;
}
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
* @return The monthOfYear.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear getMonthOfYear() {
com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear result = com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear.forNumber(monthOfYear_);
return result == null ? com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear.UNRECOGNIZED : result;
}
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
* @param value The monthOfYear to set.
* @return This builder for chaining.
*/
public Builder setMonthOfYear(com.google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear value) {
if (value == null) {
throw new NullPointerException();
}
bitField1_ |= 0x00800000;
monthOfYear_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v17.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
* @return This builder for chaining.
*/
public Builder clearMonthOfYear() {
bitField1_ = (bitField1_ & ~0x00800000);
monthOfYear_ = 0;
onChanged();
return this;
}
private java.lang.Object partnerHotelId_ = "";
/**
*
* Partner hotel ID.
*
*
* optional string partner_hotel_id = 91;
* @return Whether the partnerHotelId field is set.
*/
public boolean hasPartnerHotelId() {
return ((bitField1_ & 0x01000000) != 0);
}
/**
*
* Partner hotel ID.
*
*
* optional string partner_hotel_id = 91;
* @return The partnerHotelId.
*/
public java.lang.String getPartnerHotelId() {
java.lang.Object ref = partnerHotelId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
partnerHotelId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Partner hotel ID.
*
*
* optional string partner_hotel_id = 91;
* @return The bytes for partnerHotelId.
*/
public com.google.protobuf.ByteString
getPartnerHotelIdBytes() {
java.lang.Object ref = partnerHotelId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partnerHotelId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Partner hotel ID.
*
*
* optional string partner_hotel_id = 91;
* @param value The partnerHotelId to set.
* @return This builder for chaining.
*/
public Builder setPartnerHotelId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
partnerHotelId_ = value;
bitField1_ |= 0x01000000;
onChanged();
return this;
}
/**
*
* Partner hotel ID.
*
*
* optional string partner_hotel_id = 91;
* @return This builder for chaining.
*/
public Builder clearPartnerHotelId() {
partnerHotelId_ = getDefaultInstance().getPartnerHotelId();
bitField1_ = (bitField1_ & ~0x01000000);
onChanged();
return this;
}
/**
*
* Partner hotel ID.
*
*
* optional string partner_hotel_id = 91;
* @param value The bytes for partnerHotelId to set.
* @return This builder for chaining.
*/
public Builder setPartnerHotelIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
partnerHotelId_ = value;
bitField1_ |= 0x01000000;
onChanged();
return this;
}
private int placeholderType_ = 0;
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @return The enum numeric value on the wire for placeholderType.
*/
@java.lang.Override public int getPlaceholderTypeValue() {
return placeholderType_;
}
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @param value The enum numeric value on the wire for placeholderType to set.
* @return This builder for chaining.
*/
public Builder setPlaceholderTypeValue(int value) {
placeholderType_ = value;
bitField1_ |= 0x02000000;
onChanged();
return this;
}
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @return The placeholderType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType getPlaceholderType() {
com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType result = com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType.forNumber(placeholderType_);
return result == null ? com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType.UNRECOGNIZED : result;
}
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @param value The placeholderType to set.
* @return This builder for chaining.
*/
public Builder setPlaceholderType(com.google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType value) {
if (value == null) {
throw new NullPointerException();
}
bitField1_ |= 0x02000000;
placeholderType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v17.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @return This builder for chaining.
*/
public Builder clearPlaceholderType() {
bitField1_ = (bitField1_ & ~0x02000000);
placeholderType_ = 0;
onChanged();
return this;
}
private long productAggregatorId_ ;
/**
*
* Aggregator ID of the product.
*
*
* optional int64 product_aggregator_id = 132;
* @return Whether the productAggregatorId field is set.
*/
@java.lang.Override
public boolean hasProductAggregatorId() {
return ((bitField1_ & 0x04000000) != 0);
}
/**
*
* Aggregator ID of the product.
*
*
* optional int64 product_aggregator_id = 132;
* @return The productAggregatorId.
*/
@java.lang.Override
public long getProductAggregatorId() {
return productAggregatorId_;
}
/**
*
* Aggregator ID of the product.
*
*
* optional int64 product_aggregator_id = 132;
* @param value The productAggregatorId to set.
* @return This builder for chaining.
*/
public Builder setProductAggregatorId(long value) {
productAggregatorId_ = value;
bitField1_ |= 0x04000000;
onChanged();
return this;
}
/**
*
* Aggregator ID of the product.
*
*
* optional int64 product_aggregator_id = 132;
* @return This builder for chaining.
*/
public Builder clearProductAggregatorId() {
bitField1_ = (bitField1_ & ~0x04000000);
productAggregatorId_ = 0L;
onChanged();
return this;
}
private java.lang.Object productCategoryLevel1_ = "";
/**
*
* Category (level 1) of the product.
*
*
* optional string product_category_level1 = 161;
* @return Whether the productCategoryLevel1 field is set.
*/
public boolean hasProductCategoryLevel1() {
return ((bitField1_ & 0x08000000) != 0);
}
/**
*
* Category (level 1) of the product.
*
*
* optional string product_category_level1 = 161;
* @return The productCategoryLevel1.
*/
public java.lang.String getProductCategoryLevel1() {
java.lang.Object ref = productCategoryLevel1_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCategoryLevel1_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Category (level 1) of the product.
*
*
* optional string product_category_level1 = 161;
* @return The bytes for productCategoryLevel1.
*/
public com.google.protobuf.ByteString
getProductCategoryLevel1Bytes() {
java.lang.Object ref = productCategoryLevel1_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCategoryLevel1_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Category (level 1) of the product.
*
*
* optional string product_category_level1 = 161;
* @param value The productCategoryLevel1 to set.
* @return This builder for chaining.
*/
public Builder setProductCategoryLevel1(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCategoryLevel1_ = value;
bitField1_ |= 0x08000000;
onChanged();
return this;
}
/**
*
* Category (level 1) of the product.
*
*
* optional string product_category_level1 = 161;
* @return This builder for chaining.
*/
public Builder clearProductCategoryLevel1() {
productCategoryLevel1_ = getDefaultInstance().getProductCategoryLevel1();
bitField1_ = (bitField1_ & ~0x08000000);
onChanged();
return this;
}
/**
*
* Category (level 1) of the product.
*
*
* optional string product_category_level1 = 161;
* @param value The bytes for productCategoryLevel1 to set.
* @return This builder for chaining.
*/
public Builder setProductCategoryLevel1Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCategoryLevel1_ = value;
bitField1_ |= 0x08000000;
onChanged();
return this;
}
private java.lang.Object productCategoryLevel2_ = "";
/**
*
* Category (level 2) of the product.
*
*
* optional string product_category_level2 = 162;
* @return Whether the productCategoryLevel2 field is set.
*/
public boolean hasProductCategoryLevel2() {
return ((bitField1_ & 0x10000000) != 0);
}
/**
*
* Category (level 2) of the product.
*
*
* optional string product_category_level2 = 162;
* @return The productCategoryLevel2.
*/
public java.lang.String getProductCategoryLevel2() {
java.lang.Object ref = productCategoryLevel2_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCategoryLevel2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Category (level 2) of the product.
*
*
* optional string product_category_level2 = 162;
* @return The bytes for productCategoryLevel2.
*/
public com.google.protobuf.ByteString
getProductCategoryLevel2Bytes() {
java.lang.Object ref = productCategoryLevel2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCategoryLevel2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Category (level 2) of the product.
*
*
* optional string product_category_level2 = 162;
* @param value The productCategoryLevel2 to set.
* @return This builder for chaining.
*/
public Builder setProductCategoryLevel2(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCategoryLevel2_ = value;
bitField1_ |= 0x10000000;
onChanged();
return this;
}
/**
*
* Category (level 2) of the product.
*
*
* optional string product_category_level2 = 162;
* @return This builder for chaining.
*/
public Builder clearProductCategoryLevel2() {
productCategoryLevel2_ = getDefaultInstance().getProductCategoryLevel2();
bitField1_ = (bitField1_ & ~0x10000000);
onChanged();
return this;
}
/**
*
* Category (level 2) of the product.
*
*
* optional string product_category_level2 = 162;
* @param value The bytes for productCategoryLevel2 to set.
* @return This builder for chaining.
*/
public Builder setProductCategoryLevel2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCategoryLevel2_ = value;
bitField1_ |= 0x10000000;
onChanged();
return this;
}
private java.lang.Object productCategoryLevel3_ = "";
/**
*
* Category (level 3) of the product.
*
*
* optional string product_category_level3 = 163;
* @return Whether the productCategoryLevel3 field is set.
*/
public boolean hasProductCategoryLevel3() {
return ((bitField1_ & 0x20000000) != 0);
}
/**
*
* Category (level 3) of the product.
*
*
* optional string product_category_level3 = 163;
* @return The productCategoryLevel3.
*/
public java.lang.String getProductCategoryLevel3() {
java.lang.Object ref = productCategoryLevel3_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCategoryLevel3_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Category (level 3) of the product.
*
*
* optional string product_category_level3 = 163;
* @return The bytes for productCategoryLevel3.
*/
public com.google.protobuf.ByteString
getProductCategoryLevel3Bytes() {
java.lang.Object ref = productCategoryLevel3_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCategoryLevel3_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Category (level 3) of the product.
*
*
* optional string product_category_level3 = 163;
* @param value The productCategoryLevel3 to set.
* @return This builder for chaining.
*/
public Builder setProductCategoryLevel3(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCategoryLevel3_ = value;
bitField1_ |= 0x20000000;
onChanged();
return this;
}
/**
*
* Category (level 3) of the product.
*
*
* optional string product_category_level3 = 163;
* @return This builder for chaining.
*/
public Builder clearProductCategoryLevel3() {
productCategoryLevel3_ = getDefaultInstance().getProductCategoryLevel3();
bitField1_ = (bitField1_ & ~0x20000000);
onChanged();
return this;
}
/**
*
* Category (level 3) of the product.
*
*
* optional string product_category_level3 = 163;
* @param value The bytes for productCategoryLevel3 to set.
* @return This builder for chaining.
*/
public Builder setProductCategoryLevel3Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCategoryLevel3_ = value;
bitField1_ |= 0x20000000;
onChanged();
return this;
}
private java.lang.Object productCategoryLevel4_ = "";
/**
*
* Category (level 4) of the product.
*
*
* optional string product_category_level4 = 164;
* @return Whether the productCategoryLevel4 field is set.
*/
public boolean hasProductCategoryLevel4() {
return ((bitField1_ & 0x40000000) != 0);
}
/**
*
* Category (level 4) of the product.
*
*
* optional string product_category_level4 = 164;
* @return The productCategoryLevel4.
*/
public java.lang.String getProductCategoryLevel4() {
java.lang.Object ref = productCategoryLevel4_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCategoryLevel4_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Category (level 4) of the product.
*
*
* optional string product_category_level4 = 164;
* @return The bytes for productCategoryLevel4.
*/
public com.google.protobuf.ByteString
getProductCategoryLevel4Bytes() {
java.lang.Object ref = productCategoryLevel4_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCategoryLevel4_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Category (level 4) of the product.
*
*
* optional string product_category_level4 = 164;
* @param value The productCategoryLevel4 to set.
* @return This builder for chaining.
*/
public Builder setProductCategoryLevel4(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCategoryLevel4_ = value;
bitField1_ |= 0x40000000;
onChanged();
return this;
}
/**
*
* Category (level 4) of the product.
*
*
* optional string product_category_level4 = 164;
* @return This builder for chaining.
*/
public Builder clearProductCategoryLevel4() {
productCategoryLevel4_ = getDefaultInstance().getProductCategoryLevel4();
bitField1_ = (bitField1_ & ~0x40000000);
onChanged();
return this;
}
/**
*
* Category (level 4) of the product.
*
*
* optional string product_category_level4 = 164;
* @param value The bytes for productCategoryLevel4 to set.
* @return This builder for chaining.
*/
public Builder setProductCategoryLevel4Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCategoryLevel4_ = value;
bitField1_ |= 0x40000000;
onChanged();
return this;
}
private java.lang.Object productCategoryLevel5_ = "";
/**
*
* Category (level 5) of the product.
*
*
* optional string product_category_level5 = 165;
* @return Whether the productCategoryLevel5 field is set.
*/
public boolean hasProductCategoryLevel5() {
return ((bitField1_ & 0x80000000) != 0);
}
/**
*
* Category (level 5) of the product.
*
*
* optional string product_category_level5 = 165;
* @return The productCategoryLevel5.
*/
public java.lang.String getProductCategoryLevel5() {
java.lang.Object ref = productCategoryLevel5_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCategoryLevel5_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Category (level 5) of the product.
*
*
* optional string product_category_level5 = 165;
* @return The bytes for productCategoryLevel5.
*/
public com.google.protobuf.ByteString
getProductCategoryLevel5Bytes() {
java.lang.Object ref = productCategoryLevel5_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCategoryLevel5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Category (level 5) of the product.
*
*
* optional string product_category_level5 = 165;
* @param value The productCategoryLevel5 to set.
* @return This builder for chaining.
*/
public Builder setProductCategoryLevel5(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCategoryLevel5_ = value;
bitField1_ |= 0x80000000;
onChanged();
return this;
}
/**
*
* Category (level 5) of the product.
*
*
* optional string product_category_level5 = 165;
* @return This builder for chaining.
*/
public Builder clearProductCategoryLevel5() {
productCategoryLevel5_ = getDefaultInstance().getProductCategoryLevel5();
bitField1_ = (bitField1_ & ~0x80000000);
onChanged();
return this;
}
/**
*
* Category (level 5) of the product.
*
*
* optional string product_category_level5 = 165;
* @param value The bytes for productCategoryLevel5 to set.
* @return This builder for chaining.
*/
public Builder setProductCategoryLevel5Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCategoryLevel5_ = value;
bitField1_ |= 0x80000000;
onChanged();
return this;
}
private java.lang.Object productBrand_ = "";
/**
*
* Brand of the product.
*
*
* optional string product_brand = 97;
* @return Whether the productBrand field is set.
*/
public boolean hasProductBrand() {
return ((bitField2_ & 0x00000001) != 0);
}
/**
*
* Brand of the product.
*
*
* optional string product_brand = 97;
* @return The productBrand.
*/
public java.lang.String getProductBrand() {
java.lang.Object ref = productBrand_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productBrand_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Brand of the product.
*
*
* optional string product_brand = 97;
* @return The bytes for productBrand.
*/
public com.google.protobuf.ByteString
getProductBrandBytes() {
java.lang.Object ref = productBrand_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBrand_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Brand of the product.
*
*
* optional string product_brand = 97;
* @param value The productBrand to set.
* @return This builder for chaining.
*/
public Builder setProductBrand(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productBrand_ = value;
bitField2_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Brand of the product.
*
*
* optional string product_brand = 97;
* @return This builder for chaining.
*/
public Builder clearProductBrand() {
productBrand_ = getDefaultInstance().getProductBrand();
bitField2_ = (bitField2_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Brand of the product.
*
*
* optional string product_brand = 97;
* @param value The bytes for productBrand to set.
* @return This builder for chaining.
*/
public Builder setProductBrandBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productBrand_ = value;
bitField2_ |= 0x00000001;
onChanged();
return this;
}
private int productChannel_ = 0;
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @return The enum numeric value on the wire for productChannel.
*/
@java.lang.Override public int getProductChannelValue() {
return productChannel_;
}
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @param value The enum numeric value on the wire for productChannel to set.
* @return This builder for chaining.
*/
public Builder setProductChannelValue(int value) {
productChannel_ = value;
bitField2_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @return The productChannel.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel getProductChannel() {
com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel result = com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel.forNumber(productChannel_);
return result == null ? com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel.UNRECOGNIZED : result;
}
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @param value The productChannel to set.
* @return This builder for chaining.
*/
public Builder setProductChannel(com.google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000002;
productChannel_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @return This builder for chaining.
*/
public Builder clearProductChannel() {
bitField2_ = (bitField2_ & ~0x00000002);
productChannel_ = 0;
onChanged();
return this;
}
private int productChannelExclusivity_ = 0;
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31;
* @return The enum numeric value on the wire for productChannelExclusivity.
*/
@java.lang.Override public int getProductChannelExclusivityValue() {
return productChannelExclusivity_;
}
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31;
* @param value The enum numeric value on the wire for productChannelExclusivity to set.
* @return This builder for chaining.
*/
public Builder setProductChannelExclusivityValue(int value) {
productChannelExclusivity_ = value;
bitField2_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31;
* @return The productChannelExclusivity.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity getProductChannelExclusivity() {
com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity result = com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.forNumber(productChannelExclusivity_);
return result == null ? com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.UNRECOGNIZED : result;
}
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31;
* @param value The productChannelExclusivity to set.
* @return This builder for chaining.
*/
public Builder setProductChannelExclusivity(com.google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000004;
productChannelExclusivity_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v17.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31;
* @return This builder for chaining.
*/
public Builder clearProductChannelExclusivity() {
bitField2_ = (bitField2_ & ~0x00000004);
productChannelExclusivity_ = 0;
onChanged();
return this;
}
private int productCondition_ = 0;
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @return The enum numeric value on the wire for productCondition.
*/
@java.lang.Override public int getProductConditionValue() {
return productCondition_;
}
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @param value The enum numeric value on the wire for productCondition to set.
* @return This builder for chaining.
*/
public Builder setProductConditionValue(int value) {
productCondition_ = value;
bitField2_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @return The productCondition.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition getProductCondition() {
com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition result = com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition.forNumber(productCondition_);
return result == null ? com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition.UNRECOGNIZED : result;
}
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @param value The productCondition to set.
* @return This builder for chaining.
*/
public Builder setProductCondition(com.google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00000008;
productCondition_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v17.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @return This builder for chaining.
*/
public Builder clearProductCondition() {
bitField2_ = (bitField2_ & ~0x00000008);
productCondition_ = 0;
onChanged();
return this;
}
private java.lang.Object productCountry_ = "";
/**
*
* Resource name of the geo target constant for the country of sale of the
* product.
*
*
* optional string product_country = 98;
* @return Whether the productCountry field is set.
*/
public boolean hasProductCountry() {
return ((bitField2_ & 0x00000010) != 0);
}
/**
*
* Resource name of the geo target constant for the country of sale of the
* product.
*
*
* optional string product_country = 98;
* @return The productCountry.
*/
public java.lang.String getProductCountry() {
java.lang.Object ref = productCountry_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCountry_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the geo target constant for the country of sale of the
* product.
*
*
* optional string product_country = 98;
* @return The bytes for productCountry.
*/
public com.google.protobuf.ByteString
getProductCountryBytes() {
java.lang.Object ref = productCountry_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the geo target constant for the country of sale of the
* product.
*
*
* optional string product_country = 98;
* @param value The productCountry to set.
* @return This builder for chaining.
*/
public Builder setProductCountry(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCountry_ = value;
bitField2_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant for the country of sale of the
* product.
*
*
* optional string product_country = 98;
* @return This builder for chaining.
*/
public Builder clearProductCountry() {
productCountry_ = getDefaultInstance().getProductCountry();
bitField2_ = (bitField2_ & ~0x00000010);
onChanged();
return this;
}
/**
*
* Resource name of the geo target constant for the country of sale of the
* product.
*
*
* optional string product_country = 98;
* @param value The bytes for productCountry to set.
* @return This builder for chaining.
*/
public Builder setProductCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCountry_ = value;
bitField2_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object productCustomAttribute0_ = "";
/**
*
* Custom attribute 0 of the product.
*
*
* optional string product_custom_attribute0 = 99;
* @return Whether the productCustomAttribute0 field is set.
*/
public boolean hasProductCustomAttribute0() {
return ((bitField2_ & 0x00000020) != 0);
}
/**
*
* Custom attribute 0 of the product.
*
*
* optional string product_custom_attribute0 = 99;
* @return The productCustomAttribute0.
*/
public java.lang.String getProductCustomAttribute0() {
java.lang.Object ref = productCustomAttribute0_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCustomAttribute0_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Custom attribute 0 of the product.
*
*
* optional string product_custom_attribute0 = 99;
* @return The bytes for productCustomAttribute0.
*/
public com.google.protobuf.ByteString
getProductCustomAttribute0Bytes() {
java.lang.Object ref = productCustomAttribute0_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCustomAttribute0_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Custom attribute 0 of the product.
*
*
* optional string product_custom_attribute0 = 99;
* @param value The productCustomAttribute0 to set.
* @return This builder for chaining.
*/
public Builder setProductCustomAttribute0(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCustomAttribute0_ = value;
bitField2_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Custom attribute 0 of the product.
*
*
* optional string product_custom_attribute0 = 99;
* @return This builder for chaining.
*/
public Builder clearProductCustomAttribute0() {
productCustomAttribute0_ = getDefaultInstance().getProductCustomAttribute0();
bitField2_ = (bitField2_ & ~0x00000020);
onChanged();
return this;
}
/**
*
* Custom attribute 0 of the product.
*
*
* optional string product_custom_attribute0 = 99;
* @param value The bytes for productCustomAttribute0 to set.
* @return This builder for chaining.
*/
public Builder setProductCustomAttribute0Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCustomAttribute0_ = value;
bitField2_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object productCustomAttribute1_ = "";
/**
*
* Custom attribute 1 of the product.
*
*
* optional string product_custom_attribute1 = 100;
* @return Whether the productCustomAttribute1 field is set.
*/
public boolean hasProductCustomAttribute1() {
return ((bitField2_ & 0x00000040) != 0);
}
/**
*
* Custom attribute 1 of the product.
*
*
* optional string product_custom_attribute1 = 100;
* @return The productCustomAttribute1.
*/
public java.lang.String getProductCustomAttribute1() {
java.lang.Object ref = productCustomAttribute1_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCustomAttribute1_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Custom attribute 1 of the product.
*
*
* optional string product_custom_attribute1 = 100;
* @return The bytes for productCustomAttribute1.
*/
public com.google.protobuf.ByteString
getProductCustomAttribute1Bytes() {
java.lang.Object ref = productCustomAttribute1_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCustomAttribute1_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Custom attribute 1 of the product.
*
*
* optional string product_custom_attribute1 = 100;
* @param value The productCustomAttribute1 to set.
* @return This builder for chaining.
*/
public Builder setProductCustomAttribute1(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCustomAttribute1_ = value;
bitField2_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Custom attribute 1 of the product.
*
*
* optional string product_custom_attribute1 = 100;
* @return This builder for chaining.
*/
public Builder clearProductCustomAttribute1() {
productCustomAttribute1_ = getDefaultInstance().getProductCustomAttribute1();
bitField2_ = (bitField2_ & ~0x00000040);
onChanged();
return this;
}
/**
*
* Custom attribute 1 of the product.
*
*
* optional string product_custom_attribute1 = 100;
* @param value The bytes for productCustomAttribute1 to set.
* @return This builder for chaining.
*/
public Builder setProductCustomAttribute1Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCustomAttribute1_ = value;
bitField2_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object productCustomAttribute2_ = "";
/**
*
* Custom attribute 2 of the product.
*
*
* optional string product_custom_attribute2 = 101;
* @return Whether the productCustomAttribute2 field is set.
*/
public boolean hasProductCustomAttribute2() {
return ((bitField2_ & 0x00000080) != 0);
}
/**
*
* Custom attribute 2 of the product.
*
*
* optional string product_custom_attribute2 = 101;
* @return The productCustomAttribute2.
*/
public java.lang.String getProductCustomAttribute2() {
java.lang.Object ref = productCustomAttribute2_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCustomAttribute2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Custom attribute 2 of the product.
*
*
* optional string product_custom_attribute2 = 101;
* @return The bytes for productCustomAttribute2.
*/
public com.google.protobuf.ByteString
getProductCustomAttribute2Bytes() {
java.lang.Object ref = productCustomAttribute2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCustomAttribute2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Custom attribute 2 of the product.
*
*
* optional string product_custom_attribute2 = 101;
* @param value The productCustomAttribute2 to set.
* @return This builder for chaining.
*/
public Builder setProductCustomAttribute2(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCustomAttribute2_ = value;
bitField2_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Custom attribute 2 of the product.
*
*
* optional string product_custom_attribute2 = 101;
* @return This builder for chaining.
*/
public Builder clearProductCustomAttribute2() {
productCustomAttribute2_ = getDefaultInstance().getProductCustomAttribute2();
bitField2_ = (bitField2_ & ~0x00000080);
onChanged();
return this;
}
/**
*
* Custom attribute 2 of the product.
*
*
* optional string product_custom_attribute2 = 101;
* @param value The bytes for productCustomAttribute2 to set.
* @return This builder for chaining.
*/
public Builder setProductCustomAttribute2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCustomAttribute2_ = value;
bitField2_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object productCustomAttribute3_ = "";
/**
*
* Custom attribute 3 of the product.
*
*
* optional string product_custom_attribute3 = 102;
* @return Whether the productCustomAttribute3 field is set.
*/
public boolean hasProductCustomAttribute3() {
return ((bitField2_ & 0x00000100) != 0);
}
/**
*
* Custom attribute 3 of the product.
*
*
* optional string product_custom_attribute3 = 102;
* @return The productCustomAttribute3.
*/
public java.lang.String getProductCustomAttribute3() {
java.lang.Object ref = productCustomAttribute3_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCustomAttribute3_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Custom attribute 3 of the product.
*
*
* optional string product_custom_attribute3 = 102;
* @return The bytes for productCustomAttribute3.
*/
public com.google.protobuf.ByteString
getProductCustomAttribute3Bytes() {
java.lang.Object ref = productCustomAttribute3_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCustomAttribute3_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Custom attribute 3 of the product.
*
*
* optional string product_custom_attribute3 = 102;
* @param value The productCustomAttribute3 to set.
* @return This builder for chaining.
*/
public Builder setProductCustomAttribute3(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCustomAttribute3_ = value;
bitField2_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Custom attribute 3 of the product.
*
*
* optional string product_custom_attribute3 = 102;
* @return This builder for chaining.
*/
public Builder clearProductCustomAttribute3() {
productCustomAttribute3_ = getDefaultInstance().getProductCustomAttribute3();
bitField2_ = (bitField2_ & ~0x00000100);
onChanged();
return this;
}
/**
*
* Custom attribute 3 of the product.
*
*
* optional string product_custom_attribute3 = 102;
* @param value The bytes for productCustomAttribute3 to set.
* @return This builder for chaining.
*/
public Builder setProductCustomAttribute3Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCustomAttribute3_ = value;
bitField2_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object productCustomAttribute4_ = "";
/**
*
* Custom attribute 4 of the product.
*
*
* optional string product_custom_attribute4 = 103;
* @return Whether the productCustomAttribute4 field is set.
*/
public boolean hasProductCustomAttribute4() {
return ((bitField2_ & 0x00000200) != 0);
}
/**
*
* Custom attribute 4 of the product.
*
*
* optional string product_custom_attribute4 = 103;
* @return The productCustomAttribute4.
*/
public java.lang.String getProductCustomAttribute4() {
java.lang.Object ref = productCustomAttribute4_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productCustomAttribute4_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Custom attribute 4 of the product.
*
*
* optional string product_custom_attribute4 = 103;
* @return The bytes for productCustomAttribute4.
*/
public com.google.protobuf.ByteString
getProductCustomAttribute4Bytes() {
java.lang.Object ref = productCustomAttribute4_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productCustomAttribute4_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Custom attribute 4 of the product.
*
*
* optional string product_custom_attribute4 = 103;
* @param value The productCustomAttribute4 to set.
* @return This builder for chaining.
*/
public Builder setProductCustomAttribute4(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productCustomAttribute4_ = value;
bitField2_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* Custom attribute 4 of the product.
*
*
* optional string product_custom_attribute4 = 103;
* @return This builder for chaining.
*/
public Builder clearProductCustomAttribute4() {
productCustomAttribute4_ = getDefaultInstance().getProductCustomAttribute4();
bitField2_ = (bitField2_ & ~0x00000200);
onChanged();
return this;
}
/**
*
* Custom attribute 4 of the product.
*
*
* optional string product_custom_attribute4 = 103;
* @param value The bytes for productCustomAttribute4 to set.
* @return This builder for chaining.
*/
public Builder setProductCustomAttribute4Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productCustomAttribute4_ = value;
bitField2_ |= 0x00000200;
onChanged();
return this;
}
private java.lang.Object productFeedLabel_ = "";
/**
*
* Feed label of the product.
*
*
* optional string product_feed_label = 147;
* @return Whether the productFeedLabel field is set.
*/
public boolean hasProductFeedLabel() {
return ((bitField2_ & 0x00000400) != 0);
}
/**
*
* Feed label of the product.
*
*
* optional string product_feed_label = 147;
* @return The productFeedLabel.
*/
public java.lang.String getProductFeedLabel() {
java.lang.Object ref = productFeedLabel_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productFeedLabel_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Feed label of the product.
*
*
* optional string product_feed_label = 147;
* @return The bytes for productFeedLabel.
*/
public com.google.protobuf.ByteString
getProductFeedLabelBytes() {
java.lang.Object ref = productFeedLabel_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productFeedLabel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Feed label of the product.
*
*
* optional string product_feed_label = 147;
* @param value The productFeedLabel to set.
* @return This builder for chaining.
*/
public Builder setProductFeedLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productFeedLabel_ = value;
bitField2_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* Feed label of the product.
*
*
* optional string product_feed_label = 147;
* @return This builder for chaining.
*/
public Builder clearProductFeedLabel() {
productFeedLabel_ = getDefaultInstance().getProductFeedLabel();
bitField2_ = (bitField2_ & ~0x00000400);
onChanged();
return this;
}
/**
*
* Feed label of the product.
*
*
* optional string product_feed_label = 147;
* @param value The bytes for productFeedLabel to set.
* @return This builder for chaining.
*/
public Builder setProductFeedLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productFeedLabel_ = value;
bitField2_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object productItemId_ = "";
/**
*
* Item ID of the product.
*
*
* optional string product_item_id = 104;
* @return Whether the productItemId field is set.
*/
public boolean hasProductItemId() {
return ((bitField2_ & 0x00000800) != 0);
}
/**
*
* Item ID of the product.
*
*
* optional string product_item_id = 104;
* @return The productItemId.
*/
public java.lang.String getProductItemId() {
java.lang.Object ref = productItemId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productItemId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Item ID of the product.
*
*
* optional string product_item_id = 104;
* @return The bytes for productItemId.
*/
public com.google.protobuf.ByteString
getProductItemIdBytes() {
java.lang.Object ref = productItemId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productItemId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Item ID of the product.
*
*
* optional string product_item_id = 104;
* @param value The productItemId to set.
* @return This builder for chaining.
*/
public Builder setProductItemId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productItemId_ = value;
bitField2_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* Item ID of the product.
*
*
* optional string product_item_id = 104;
* @return This builder for chaining.
*/
public Builder clearProductItemId() {
productItemId_ = getDefaultInstance().getProductItemId();
bitField2_ = (bitField2_ & ~0x00000800);
onChanged();
return this;
}
/**
*
* Item ID of the product.
*
*
* optional string product_item_id = 104;
* @param value The bytes for productItemId to set.
* @return This builder for chaining.
*/
public Builder setProductItemIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productItemId_ = value;
bitField2_ |= 0x00000800;
onChanged();
return this;
}
private java.lang.Object productLanguage_ = "";
/**
*
* Resource name of the language constant for the language of the product.
*
*
* optional string product_language = 105;
* @return Whether the productLanguage field is set.
*/
public boolean hasProductLanguage() {
return ((bitField2_ & 0x00001000) != 0);
}
/**
*
* Resource name of the language constant for the language of the product.
*
*
* optional string product_language = 105;
* @return The productLanguage.
*/
public java.lang.String getProductLanguage() {
java.lang.Object ref = productLanguage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productLanguage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the language constant for the language of the product.
*
*
* optional string product_language = 105;
* @return The bytes for productLanguage.
*/
public com.google.protobuf.ByteString
getProductLanguageBytes() {
java.lang.Object ref = productLanguage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productLanguage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the language constant for the language of the product.
*
*
* optional string product_language = 105;
* @param value The productLanguage to set.
* @return This builder for chaining.
*/
public Builder setProductLanguage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productLanguage_ = value;
bitField2_ |= 0x00001000;
onChanged();
return this;
}
/**
*
* Resource name of the language constant for the language of the product.
*
*
* optional string product_language = 105;
* @return This builder for chaining.
*/
public Builder clearProductLanguage() {
productLanguage_ = getDefaultInstance().getProductLanguage();
bitField2_ = (bitField2_ & ~0x00001000);
onChanged();
return this;
}
/**
*
* Resource name of the language constant for the language of the product.
*
*
* optional string product_language = 105;
* @param value The bytes for productLanguage to set.
* @return This builder for chaining.
*/
public Builder setProductLanguageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productLanguage_ = value;
bitField2_ |= 0x00001000;
onChanged();
return this;
}
private long productMerchantId_ ;
/**
*
* Merchant ID of the product.
*
*
* optional int64 product_merchant_id = 133;
* @return Whether the productMerchantId field is set.
*/
@java.lang.Override
public boolean hasProductMerchantId() {
return ((bitField2_ & 0x00002000) != 0);
}
/**
*
* Merchant ID of the product.
*
*
* optional int64 product_merchant_id = 133;
* @return The productMerchantId.
*/
@java.lang.Override
public long getProductMerchantId() {
return productMerchantId_;
}
/**
*
* Merchant ID of the product.
*
*
* optional int64 product_merchant_id = 133;
* @param value The productMerchantId to set.
* @return This builder for chaining.
*/
public Builder setProductMerchantId(long value) {
productMerchantId_ = value;
bitField2_ |= 0x00002000;
onChanged();
return this;
}
/**
*
* Merchant ID of the product.
*
*
* optional int64 product_merchant_id = 133;
* @return This builder for chaining.
*/
public Builder clearProductMerchantId() {
bitField2_ = (bitField2_ & ~0x00002000);
productMerchantId_ = 0L;
onChanged();
return this;
}
private java.lang.Object productStoreId_ = "";
/**
*
* Store ID of the product.
*
*
* optional string product_store_id = 106;
* @return Whether the productStoreId field is set.
*/
public boolean hasProductStoreId() {
return ((bitField2_ & 0x00004000) != 0);
}
/**
*
* Store ID of the product.
*
*
* optional string product_store_id = 106;
* @return The productStoreId.
*/
public java.lang.String getProductStoreId() {
java.lang.Object ref = productStoreId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productStoreId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Store ID of the product.
*
*
* optional string product_store_id = 106;
* @return The bytes for productStoreId.
*/
public com.google.protobuf.ByteString
getProductStoreIdBytes() {
java.lang.Object ref = productStoreId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productStoreId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Store ID of the product.
*
*
* optional string product_store_id = 106;
* @param value The productStoreId to set.
* @return This builder for chaining.
*/
public Builder setProductStoreId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productStoreId_ = value;
bitField2_ |= 0x00004000;
onChanged();
return this;
}
/**
*
* Store ID of the product.
*
*
* optional string product_store_id = 106;
* @return This builder for chaining.
*/
public Builder clearProductStoreId() {
productStoreId_ = getDefaultInstance().getProductStoreId();
bitField2_ = (bitField2_ & ~0x00004000);
onChanged();
return this;
}
/**
*
* Store ID of the product.
*
*
* optional string product_store_id = 106;
* @param value The bytes for productStoreId to set.
* @return This builder for chaining.
*/
public Builder setProductStoreIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productStoreId_ = value;
bitField2_ |= 0x00004000;
onChanged();
return this;
}
private java.lang.Object productTitle_ = "";
/**
*
* Title of the product.
*
*
* optional string product_title = 107;
* @return Whether the productTitle field is set.
*/
public boolean hasProductTitle() {
return ((bitField2_ & 0x00008000) != 0);
}
/**
*
* Title of the product.
*
*
* optional string product_title = 107;
* @return The productTitle.
*/
public java.lang.String getProductTitle() {
java.lang.Object ref = productTitle_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productTitle_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Title of the product.
*
*
* optional string product_title = 107;
* @return The bytes for productTitle.
*/
public com.google.protobuf.ByteString
getProductTitleBytes() {
java.lang.Object ref = productTitle_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Title of the product.
*
*
* optional string product_title = 107;
* @param value The productTitle to set.
* @return This builder for chaining.
*/
public Builder setProductTitle(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productTitle_ = value;
bitField2_ |= 0x00008000;
onChanged();
return this;
}
/**
*
* Title of the product.
*
*
* optional string product_title = 107;
* @return This builder for chaining.
*/
public Builder clearProductTitle() {
productTitle_ = getDefaultInstance().getProductTitle();
bitField2_ = (bitField2_ & ~0x00008000);
onChanged();
return this;
}
/**
*
* Title of the product.
*
*
* optional string product_title = 107;
* @param value The bytes for productTitle to set.
* @return This builder for chaining.
*/
public Builder setProductTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productTitle_ = value;
bitField2_ |= 0x00008000;
onChanged();
return this;
}
private java.lang.Object productTypeL1_ = "";
/**
*
* Type (level 1) of the product.
*
*
* optional string product_type_l1 = 108;
* @return Whether the productTypeL1 field is set.
*/
public boolean hasProductTypeL1() {
return ((bitField2_ & 0x00010000) != 0);
}
/**
*
* Type (level 1) of the product.
*
*
* optional string product_type_l1 = 108;
* @return The productTypeL1.
*/
public java.lang.String getProductTypeL1() {
java.lang.Object ref = productTypeL1_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productTypeL1_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Type (level 1) of the product.
*
*
* optional string product_type_l1 = 108;
* @return The bytes for productTypeL1.
*/
public com.google.protobuf.ByteString
getProductTypeL1Bytes() {
java.lang.Object ref = productTypeL1_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTypeL1_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Type (level 1) of the product.
*
*
* optional string product_type_l1 = 108;
* @param value The productTypeL1 to set.
* @return This builder for chaining.
*/
public Builder setProductTypeL1(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productTypeL1_ = value;
bitField2_ |= 0x00010000;
onChanged();
return this;
}
/**
*
* Type (level 1) of the product.
*
*
* optional string product_type_l1 = 108;
* @return This builder for chaining.
*/
public Builder clearProductTypeL1() {
productTypeL1_ = getDefaultInstance().getProductTypeL1();
bitField2_ = (bitField2_ & ~0x00010000);
onChanged();
return this;
}
/**
*
* Type (level 1) of the product.
*
*
* optional string product_type_l1 = 108;
* @param value The bytes for productTypeL1 to set.
* @return This builder for chaining.
*/
public Builder setProductTypeL1Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productTypeL1_ = value;
bitField2_ |= 0x00010000;
onChanged();
return this;
}
private java.lang.Object productTypeL2_ = "";
/**
*
* Type (level 2) of the product.
*
*
* optional string product_type_l2 = 109;
* @return Whether the productTypeL2 field is set.
*/
public boolean hasProductTypeL2() {
return ((bitField2_ & 0x00020000) != 0);
}
/**
*
* Type (level 2) of the product.
*
*
* optional string product_type_l2 = 109;
* @return The productTypeL2.
*/
public java.lang.String getProductTypeL2() {
java.lang.Object ref = productTypeL2_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productTypeL2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Type (level 2) of the product.
*
*
* optional string product_type_l2 = 109;
* @return The bytes for productTypeL2.
*/
public com.google.protobuf.ByteString
getProductTypeL2Bytes() {
java.lang.Object ref = productTypeL2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTypeL2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Type (level 2) of the product.
*
*
* optional string product_type_l2 = 109;
* @param value The productTypeL2 to set.
* @return This builder for chaining.
*/
public Builder setProductTypeL2(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productTypeL2_ = value;
bitField2_ |= 0x00020000;
onChanged();
return this;
}
/**
*
* Type (level 2) of the product.
*
*
* optional string product_type_l2 = 109;
* @return This builder for chaining.
*/
public Builder clearProductTypeL2() {
productTypeL2_ = getDefaultInstance().getProductTypeL2();
bitField2_ = (bitField2_ & ~0x00020000);
onChanged();
return this;
}
/**
*
* Type (level 2) of the product.
*
*
* optional string product_type_l2 = 109;
* @param value The bytes for productTypeL2 to set.
* @return This builder for chaining.
*/
public Builder setProductTypeL2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productTypeL2_ = value;
bitField2_ |= 0x00020000;
onChanged();
return this;
}
private java.lang.Object productTypeL3_ = "";
/**
*
* Type (level 3) of the product.
*
*
* optional string product_type_l3 = 110;
* @return Whether the productTypeL3 field is set.
*/
public boolean hasProductTypeL3() {
return ((bitField2_ & 0x00040000) != 0);
}
/**
*
* Type (level 3) of the product.
*
*
* optional string product_type_l3 = 110;
* @return The productTypeL3.
*/
public java.lang.String getProductTypeL3() {
java.lang.Object ref = productTypeL3_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productTypeL3_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Type (level 3) of the product.
*
*
* optional string product_type_l3 = 110;
* @return The bytes for productTypeL3.
*/
public com.google.protobuf.ByteString
getProductTypeL3Bytes() {
java.lang.Object ref = productTypeL3_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTypeL3_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Type (level 3) of the product.
*
*
* optional string product_type_l3 = 110;
* @param value The productTypeL3 to set.
* @return This builder for chaining.
*/
public Builder setProductTypeL3(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productTypeL3_ = value;
bitField2_ |= 0x00040000;
onChanged();
return this;
}
/**
*
* Type (level 3) of the product.
*
*
* optional string product_type_l3 = 110;
* @return This builder for chaining.
*/
public Builder clearProductTypeL3() {
productTypeL3_ = getDefaultInstance().getProductTypeL3();
bitField2_ = (bitField2_ & ~0x00040000);
onChanged();
return this;
}
/**
*
* Type (level 3) of the product.
*
*
* optional string product_type_l3 = 110;
* @param value The bytes for productTypeL3 to set.
* @return This builder for chaining.
*/
public Builder setProductTypeL3Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productTypeL3_ = value;
bitField2_ |= 0x00040000;
onChanged();
return this;
}
private java.lang.Object productTypeL4_ = "";
/**
*
* Type (level 4) of the product.
*
*
* optional string product_type_l4 = 111;
* @return Whether the productTypeL4 field is set.
*/
public boolean hasProductTypeL4() {
return ((bitField2_ & 0x00080000) != 0);
}
/**
*
* Type (level 4) of the product.
*
*
* optional string product_type_l4 = 111;
* @return The productTypeL4.
*/
public java.lang.String getProductTypeL4() {
java.lang.Object ref = productTypeL4_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productTypeL4_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Type (level 4) of the product.
*
*
* optional string product_type_l4 = 111;
* @return The bytes for productTypeL4.
*/
public com.google.protobuf.ByteString
getProductTypeL4Bytes() {
java.lang.Object ref = productTypeL4_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTypeL4_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Type (level 4) of the product.
*
*
* optional string product_type_l4 = 111;
* @param value The productTypeL4 to set.
* @return This builder for chaining.
*/
public Builder setProductTypeL4(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productTypeL4_ = value;
bitField2_ |= 0x00080000;
onChanged();
return this;
}
/**
*
* Type (level 4) of the product.
*
*
* optional string product_type_l4 = 111;
* @return This builder for chaining.
*/
public Builder clearProductTypeL4() {
productTypeL4_ = getDefaultInstance().getProductTypeL4();
bitField2_ = (bitField2_ & ~0x00080000);
onChanged();
return this;
}
/**
*
* Type (level 4) of the product.
*
*
* optional string product_type_l4 = 111;
* @param value The bytes for productTypeL4 to set.
* @return This builder for chaining.
*/
public Builder setProductTypeL4Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productTypeL4_ = value;
bitField2_ |= 0x00080000;
onChanged();
return this;
}
private java.lang.Object productTypeL5_ = "";
/**
*
* Type (level 5) of the product.
*
*
* optional string product_type_l5 = 112;
* @return Whether the productTypeL5 field is set.
*/
public boolean hasProductTypeL5() {
return ((bitField2_ & 0x00100000) != 0);
}
/**
*
* Type (level 5) of the product.
*
*
* optional string product_type_l5 = 112;
* @return The productTypeL5.
*/
public java.lang.String getProductTypeL5() {
java.lang.Object ref = productTypeL5_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productTypeL5_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Type (level 5) of the product.
*
*
* optional string product_type_l5 = 112;
* @return The bytes for productTypeL5.
*/
public com.google.protobuf.ByteString
getProductTypeL5Bytes() {
java.lang.Object ref = productTypeL5_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productTypeL5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Type (level 5) of the product.
*
*
* optional string product_type_l5 = 112;
* @param value The productTypeL5 to set.
* @return This builder for chaining.
*/
public Builder setProductTypeL5(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
productTypeL5_ = value;
bitField2_ |= 0x00100000;
onChanged();
return this;
}
/**
*
* Type (level 5) of the product.
*
*
* optional string product_type_l5 = 112;
* @return This builder for chaining.
*/
public Builder clearProductTypeL5() {
productTypeL5_ = getDefaultInstance().getProductTypeL5();
bitField2_ = (bitField2_ & ~0x00100000);
onChanged();
return this;
}
/**
*
* Type (level 5) of the product.
*
*
* optional string product_type_l5 = 112;
* @param value The bytes for productTypeL5 to set.
* @return This builder for chaining.
*/
public Builder setProductTypeL5Bytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
productTypeL5_ = value;
bitField2_ |= 0x00100000;
onChanged();
return this;
}
private java.lang.Object quarter_ = "";
/**
*
* Quarter as represented by the date of the first day of a quarter.
* Uses the calendar year for quarters, for example, the second quarter of
* 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
*
*
* optional string quarter = 128;
* @return Whether the quarter field is set.
*/
public boolean hasQuarter() {
return ((bitField2_ & 0x00200000) != 0);
}
/**
*
* Quarter as represented by the date of the first day of a quarter.
* Uses the calendar year for quarters, for example, the second quarter of
* 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
*
*
* optional string quarter = 128;
* @return The quarter.
*/
public java.lang.String getQuarter() {
java.lang.Object ref = quarter_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
quarter_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Quarter as represented by the date of the first day of a quarter.
* Uses the calendar year for quarters, for example, the second quarter of
* 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
*
*
* optional string quarter = 128;
* @return The bytes for quarter.
*/
public com.google.protobuf.ByteString
getQuarterBytes() {
java.lang.Object ref = quarter_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
quarter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Quarter as represented by the date of the first day of a quarter.
* Uses the calendar year for quarters, for example, the second quarter of
* 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
*
*
* optional string quarter = 128;
* @param value The quarter to set.
* @return This builder for chaining.
*/
public Builder setQuarter(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
quarter_ = value;
bitField2_ |= 0x00200000;
onChanged();
return this;
}
/**
*
* Quarter as represented by the date of the first day of a quarter.
* Uses the calendar year for quarters, for example, the second quarter of
* 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
*
*
* optional string quarter = 128;
* @return This builder for chaining.
*/
public Builder clearQuarter() {
quarter_ = getDefaultInstance().getQuarter();
bitField2_ = (bitField2_ & ~0x00200000);
onChanged();
return this;
}
/**
*
* Quarter as represented by the date of the first day of a quarter.
* Uses the calendar year for quarters, for example, the second quarter of
* 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
*
*
* optional string quarter = 128;
* @param value The bytes for quarter to set.
* @return This builder for chaining.
*/
public Builder setQuarterBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
quarter_ = value;
bitField2_ |= 0x00200000;
onChanged();
return this;
}
private int recommendationType_ = 0;
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @return The enum numeric value on the wire for recommendationType.
*/
@java.lang.Override public int getRecommendationTypeValue() {
return recommendationType_;
}
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @param value The enum numeric value on the wire for recommendationType to set.
* @return This builder for chaining.
*/
public Builder setRecommendationTypeValue(int value) {
recommendationType_ = value;
bitField2_ |= 0x00400000;
onChanged();
return this;
}
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @return The recommendationType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType getRecommendationType() {
com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType result = com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType.forNumber(recommendationType_);
return result == null ? com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType.UNRECOGNIZED : result;
}
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @param value The recommendationType to set.
* @return This builder for chaining.
*/
public Builder setRecommendationType(com.google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00400000;
recommendationType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v17.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @return This builder for chaining.
*/
public Builder clearRecommendationType() {
bitField2_ = (bitField2_ & ~0x00400000);
recommendationType_ = 0;
onChanged();
return this;
}
private int searchEngineResultsPageType_ = 0;
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70;
* @return The enum numeric value on the wire for searchEngineResultsPageType.
*/
@java.lang.Override public int getSearchEngineResultsPageTypeValue() {
return searchEngineResultsPageType_;
}
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70;
* @param value The enum numeric value on the wire for searchEngineResultsPageType to set.
* @return This builder for chaining.
*/
public Builder setSearchEngineResultsPageTypeValue(int value) {
searchEngineResultsPageType_ = value;
bitField2_ |= 0x00800000;
onChanged();
return this;
}
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70;
* @return The searchEngineResultsPageType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType getSearchEngineResultsPageType() {
com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType result = com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.forNumber(searchEngineResultsPageType_);
return result == null ? com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.UNRECOGNIZED : result;
}
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70;
* @param value The searchEngineResultsPageType to set.
* @return This builder for chaining.
*/
public Builder setSearchEngineResultsPageType(com.google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x00800000;
searchEngineResultsPageType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v17.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70;
* @return This builder for chaining.
*/
public Builder clearSearchEngineResultsPageType() {
bitField2_ = (bitField2_ & ~0x00800000);
searchEngineResultsPageType_ = 0;
onChanged();
return this;
}
private java.lang.Object searchSubcategory_ = "";
/**
*
* A search term subcategory. An empty string denotes the catch-all
* subcategory for search terms that didn't fit into another subcategory.
*
*
* optional string search_subcategory = 155;
* @return Whether the searchSubcategory field is set.
*/
public boolean hasSearchSubcategory() {
return ((bitField2_ & 0x01000000) != 0);
}
/**
*
* A search term subcategory. An empty string denotes the catch-all
* subcategory for search terms that didn't fit into another subcategory.
*
*
* optional string search_subcategory = 155;
* @return The searchSubcategory.
*/
public java.lang.String getSearchSubcategory() {
java.lang.Object ref = searchSubcategory_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
searchSubcategory_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* A search term subcategory. An empty string denotes the catch-all
* subcategory for search terms that didn't fit into another subcategory.
*
*
* optional string search_subcategory = 155;
* @return The bytes for searchSubcategory.
*/
public com.google.protobuf.ByteString
getSearchSubcategoryBytes() {
java.lang.Object ref = searchSubcategory_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchSubcategory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* A search term subcategory. An empty string denotes the catch-all
* subcategory for search terms that didn't fit into another subcategory.
*
*
* optional string search_subcategory = 155;
* @param value The searchSubcategory to set.
* @return This builder for chaining.
*/
public Builder setSearchSubcategory(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
searchSubcategory_ = value;
bitField2_ |= 0x01000000;
onChanged();
return this;
}
/**
*
* A search term subcategory. An empty string denotes the catch-all
* subcategory for search terms that didn't fit into another subcategory.
*
*
* optional string search_subcategory = 155;
* @return This builder for chaining.
*/
public Builder clearSearchSubcategory() {
searchSubcategory_ = getDefaultInstance().getSearchSubcategory();
bitField2_ = (bitField2_ & ~0x01000000);
onChanged();
return this;
}
/**
*
* A search term subcategory. An empty string denotes the catch-all
* subcategory for search terms that didn't fit into another subcategory.
*
*
* optional string search_subcategory = 155;
* @param value The bytes for searchSubcategory to set.
* @return This builder for chaining.
*/
public Builder setSearchSubcategoryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
searchSubcategory_ = value;
bitField2_ |= 0x01000000;
onChanged();
return this;
}
private java.lang.Object searchTerm_ = "";
/**
*
* A search term.
*
*
* optional string search_term = 156;
* @return Whether the searchTerm field is set.
*/
public boolean hasSearchTerm() {
return ((bitField2_ & 0x02000000) != 0);
}
/**
*
* A search term.
*
*
* optional string search_term = 156;
* @return The searchTerm.
*/
public java.lang.String getSearchTerm() {
java.lang.Object ref = searchTerm_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
searchTerm_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* A search term.
*
*
* optional string search_term = 156;
* @return The bytes for searchTerm.
*/
public com.google.protobuf.ByteString
getSearchTermBytes() {
java.lang.Object ref = searchTerm_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchTerm_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* A search term.
*
*
* optional string search_term = 156;
* @param value The searchTerm to set.
* @return This builder for chaining.
*/
public Builder setSearchTerm(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
searchTerm_ = value;
bitField2_ |= 0x02000000;
onChanged();
return this;
}
/**
*
* A search term.
*
*
* optional string search_term = 156;
* @return This builder for chaining.
*/
public Builder clearSearchTerm() {
searchTerm_ = getDefaultInstance().getSearchTerm();
bitField2_ = (bitField2_ & ~0x02000000);
onChanged();
return this;
}
/**
*
* A search term.
*
*
* optional string search_term = 156;
* @param value The bytes for searchTerm to set.
* @return This builder for chaining.
*/
public Builder setSearchTermBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
searchTerm_ = value;
bitField2_ |= 0x02000000;
onChanged();
return this;
}
private int searchTermMatchType_ = 0;
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22;
* @return The enum numeric value on the wire for searchTermMatchType.
*/
@java.lang.Override public int getSearchTermMatchTypeValue() {
return searchTermMatchType_;
}
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22;
* @param value The enum numeric value on the wire for searchTermMatchType to set.
* @return This builder for chaining.
*/
public Builder setSearchTermMatchTypeValue(int value) {
searchTermMatchType_ = value;
bitField2_ |= 0x04000000;
onChanged();
return this;
}
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22;
* @return The searchTermMatchType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType getSearchTermMatchType() {
com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType result = com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType.forNumber(searchTermMatchType_);
return result == null ? com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType.UNRECOGNIZED : result;
}
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22;
* @param value The searchTermMatchType to set.
* @return This builder for chaining.
*/
public Builder setSearchTermMatchType(com.google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x04000000;
searchTermMatchType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v17.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22;
* @return This builder for chaining.
*/
public Builder clearSearchTermMatchType() {
bitField2_ = (bitField2_ & ~0x04000000);
searchTermMatchType_ = 0;
onChanged();
return this;
}
private int slot_ = 0;
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v17.enums.SlotEnum.Slot slot = 23;
* @return The enum numeric value on the wire for slot.
*/
@java.lang.Override public int getSlotValue() {
return slot_;
}
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v17.enums.SlotEnum.Slot slot = 23;
* @param value The enum numeric value on the wire for slot to set.
* @return This builder for chaining.
*/
public Builder setSlotValue(int value) {
slot_ = value;
bitField2_ |= 0x08000000;
onChanged();
return this;
}
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v17.enums.SlotEnum.Slot slot = 23;
* @return The slot.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.SlotEnum.Slot getSlot() {
com.google.ads.googleads.v17.enums.SlotEnum.Slot result = com.google.ads.googleads.v17.enums.SlotEnum.Slot.forNumber(slot_);
return result == null ? com.google.ads.googleads.v17.enums.SlotEnum.Slot.UNRECOGNIZED : result;
}
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v17.enums.SlotEnum.Slot slot = 23;
* @param value The slot to set.
* @return This builder for chaining.
*/
public Builder setSlot(com.google.ads.googleads.v17.enums.SlotEnum.Slot value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x08000000;
slot_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v17.enums.SlotEnum.Slot slot = 23;
* @return This builder for chaining.
*/
public Builder clearSlot() {
bitField2_ = (bitField2_ & ~0x08000000);
slot_ = 0;
onChanged();
return this;
}
private int conversionValueRulePrimaryDimension_ = 0;
/**
*
* Primary dimension of applied conversion value rules.
* NO_RULE_APPLIED shows the total recorded value of conversions that
* do not have a value rule applied.
* ORIGINAL shows the original value of conversions to which a value rule
* has been applied.
* GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value
* rules were applied.
*
*
* .google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138;
* @return The enum numeric value on the wire for conversionValueRulePrimaryDimension.
*/
@java.lang.Override public int getConversionValueRulePrimaryDimensionValue() {
return conversionValueRulePrimaryDimension_;
}
/**
*
* Primary dimension of applied conversion value rules.
* NO_RULE_APPLIED shows the total recorded value of conversions that
* do not have a value rule applied.
* ORIGINAL shows the original value of conversions to which a value rule
* has been applied.
* GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value
* rules were applied.
*
*
* .google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138;
* @param value The enum numeric value on the wire for conversionValueRulePrimaryDimension to set.
* @return This builder for chaining.
*/
public Builder setConversionValueRulePrimaryDimensionValue(int value) {
conversionValueRulePrimaryDimension_ = value;
bitField2_ |= 0x10000000;
onChanged();
return this;
}
/**
*
* Primary dimension of applied conversion value rules.
* NO_RULE_APPLIED shows the total recorded value of conversions that
* do not have a value rule applied.
* ORIGINAL shows the original value of conversions to which a value rule
* has been applied.
* GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value
* rules were applied.
*
*
* .google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138;
* @return The conversionValueRulePrimaryDimension.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension getConversionValueRulePrimaryDimension() {
com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension result = com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.forNumber(conversionValueRulePrimaryDimension_);
return result == null ? com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.UNRECOGNIZED : result;
}
/**
*
* Primary dimension of applied conversion value rules.
* NO_RULE_APPLIED shows the total recorded value of conversions that
* do not have a value rule applied.
* ORIGINAL shows the original value of conversions to which a value rule
* has been applied.
* GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value
* rules were applied.
*
*
* .google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138;
* @param value The conversionValueRulePrimaryDimension to set.
* @return This builder for chaining.
*/
public Builder setConversionValueRulePrimaryDimension(com.google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension value) {
if (value == null) {
throw new NullPointerException();
}
bitField2_ |= 0x10000000;
conversionValueRulePrimaryDimension_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Primary dimension of applied conversion value rules.
* NO_RULE_APPLIED shows the total recorded value of conversions that
* do not have a value rule applied.
* ORIGINAL shows the original value of conversions to which a value rule
* has been applied.
* GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value
* rules were applied.
*
*
* .google.ads.googleads.v17.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138;
* @return This builder for chaining.
*/
public Builder clearConversionValueRulePrimaryDimension() {
bitField2_ = (bitField2_ & ~0x10000000);
conversionValueRulePrimaryDimension_ = 0;
onChanged();
return this;
}
private java.lang.Object webpage_ = "";
/**
*
* Resource name of the ad group criterion that represents webpage criterion.
*
*
* optional string webpage = 129;
* @return Whether the webpage field is set.
*/
public boolean hasWebpage() {
return ((bitField2_ & 0x20000000) != 0);
}
/**
*
* Resource name of the ad group criterion that represents webpage criterion.
*
*
* optional string webpage = 129;
* @return The webpage.
*/
public java.lang.String getWebpage() {
java.lang.Object ref = webpage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webpage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Resource name of the ad group criterion that represents webpage criterion.
*
*
* optional string webpage = 129;
* @return The bytes for webpage.
*/
public com.google.protobuf.ByteString
getWebpageBytes() {
java.lang.Object ref = webpage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webpage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Resource name of the ad group criterion that represents webpage criterion.
*
*
* optional string webpage = 129;
* @param value The webpage to set.
* @return This builder for chaining.
*/
public Builder setWebpage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
webpage_ = value;
bitField2_ |= 0x20000000;
onChanged();
return this;
}
/**
*
* Resource name of the ad group criterion that represents webpage criterion.
*
*
* optional string webpage = 129;
* @return This builder for chaining.
*/
public Builder clearWebpage() {
webpage_ = getDefaultInstance().getWebpage();
bitField2_ = (bitField2_ & ~0x20000000);
onChanged();
return this;
}
/**
*
* Resource name of the ad group criterion that represents webpage criterion.
*
*
* optional string webpage = 129;
* @param value The bytes for webpage to set.
* @return This builder for chaining.
*/
public Builder setWebpageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
webpage_ = value;
bitField2_ |= 0x20000000;
onChanged();
return this;
}
private java.lang.Object week_ = "";
/**
*
* Week as defined as Monday through Sunday, and represented by the date of
* Monday. Formatted as yyyy-MM-dd.
*
*
* optional string week = 130;
* @return Whether the week field is set.
*/
public boolean hasWeek() {
return ((bitField2_ & 0x40000000) != 0);
}
/**
*
* Week as defined as Monday through Sunday, and represented by the date of
* Monday. Formatted as yyyy-MM-dd.
*
*
* optional string week = 130;
* @return The week.
*/
public java.lang.String getWeek() {
java.lang.Object ref = week_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
week_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Week as defined as Monday through Sunday, and represented by the date of
* Monday. Formatted as yyyy-MM-dd.
*
*
* optional string week = 130;
* @return The bytes for week.
*/
public com.google.protobuf.ByteString
getWeekBytes() {
java.lang.Object ref = week_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
week_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Week as defined as Monday through Sunday, and represented by the date of
* Monday. Formatted as yyyy-MM-dd.
*
*
* optional string week = 130;
* @param value The week to set.
* @return This builder for chaining.
*/
public Builder setWeek(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
week_ = value;
bitField2_ |= 0x40000000;
onChanged();
return this;
}
/**
*
* Week as defined as Monday through Sunday, and represented by the date of
* Monday. Formatted as yyyy-MM-dd.
*
*
* optional string week = 130;
* @return This builder for chaining.
*/
public Builder clearWeek() {
week_ = getDefaultInstance().getWeek();
bitField2_ = (bitField2_ & ~0x40000000);
onChanged();
return this;
}
/**
*
* Week as defined as Monday through Sunday, and represented by the date of
* Monday. Formatted as yyyy-MM-dd.
*
*
* optional string week = 130;
* @param value The bytes for week to set.
* @return This builder for chaining.
*/
public Builder setWeekBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
week_ = value;
bitField2_ |= 0x40000000;
onChanged();
return this;
}
private int year_ ;
/**
*
* Year, formatted as yyyy.
*
*
* optional int32 year = 131;
* @return Whether the year field is set.
*/
@java.lang.Override
public boolean hasYear() {
return ((bitField2_ & 0x80000000) != 0);
}
/**
*
* Year, formatted as yyyy.
*
*
* optional int32 year = 131;
* @return The year.
*/
@java.lang.Override
public int getYear() {
return year_;
}
/**
*
* Year, formatted as yyyy.
*
*
* optional int32 year = 131;
* @param value The year to set.
* @return This builder for chaining.
*/
public Builder setYear(int value) {
year_ = value;
bitField2_ |= 0x80000000;
onChanged();
return this;
}
/**
*
* Year, formatted as yyyy.
*
*
* optional int32 year = 131;
* @return This builder for chaining.
*/
public Builder clearYear() {
bitField2_ = (bitField2_ & ~0x80000000);
year_ = 0;
onChanged();
return this;
}
private long skAdNetworkFineConversionValue_ ;
/**
*
* iOS Store Kit Ad Network conversion value.
* Null value means this segment is not applicable, for example, non-iOS
* campaign.
*
*
* optional int64 sk_ad_network_fine_conversion_value = 137;
* @return Whether the skAdNetworkFineConversionValue field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkFineConversionValue() {
return ((bitField3_ & 0x00000001) != 0);
}
/**
*
* iOS Store Kit Ad Network conversion value.
* Null value means this segment is not applicable, for example, non-iOS
* campaign.
*
*
* optional int64 sk_ad_network_fine_conversion_value = 137;
* @return The skAdNetworkFineConversionValue.
*/
@java.lang.Override
public long getSkAdNetworkFineConversionValue() {
return skAdNetworkFineConversionValue_;
}
/**
*
* iOS Store Kit Ad Network conversion value.
* Null value means this segment is not applicable, for example, non-iOS
* campaign.
*
*
* optional int64 sk_ad_network_fine_conversion_value = 137;
* @param value The skAdNetworkFineConversionValue to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkFineConversionValue(long value) {
skAdNetworkFineConversionValue_ = value;
bitField3_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network conversion value.
* Null value means this segment is not applicable, for example, non-iOS
* campaign.
*
*
* optional int64 sk_ad_network_fine_conversion_value = 137;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkFineConversionValue() {
bitField3_ = (bitField3_ & ~0x00000001);
skAdNetworkFineConversionValue_ = 0L;
onChanged();
return this;
}
private long skAdNetworkRedistributedFineConversionValue_ ;
/**
*
* iOS Store Kit Ad Network redistributed fine conversion value.
*
* Google uses modeling on observed conversion values(obtained
* from Apple) to calculate conversions from SKAN postbacks where
* NULLs are returned. This column represents the sum of the modeled
* conversion values and the observed conversion values. See
* https://support.google.com/google-ads/answer/14892597
* to lean more.
*
*
* optional int64 sk_ad_network_redistributed_fine_conversion_value = 190;
* @return Whether the skAdNetworkRedistributedFineConversionValue field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkRedistributedFineConversionValue() {
return ((bitField3_ & 0x00000002) != 0);
}
/**
*
* iOS Store Kit Ad Network redistributed fine conversion value.
*
* Google uses modeling on observed conversion values(obtained
* from Apple) to calculate conversions from SKAN postbacks where
* NULLs are returned. This column represents the sum of the modeled
* conversion values and the observed conversion values. See
* https://support.google.com/google-ads/answer/14892597
* to lean more.
*
*
* optional int64 sk_ad_network_redistributed_fine_conversion_value = 190;
* @return The skAdNetworkRedistributedFineConversionValue.
*/
@java.lang.Override
public long getSkAdNetworkRedistributedFineConversionValue() {
return skAdNetworkRedistributedFineConversionValue_;
}
/**
*
* iOS Store Kit Ad Network redistributed fine conversion value.
*
* Google uses modeling on observed conversion values(obtained
* from Apple) to calculate conversions from SKAN postbacks where
* NULLs are returned. This column represents the sum of the modeled
* conversion values and the observed conversion values. See
* https://support.google.com/google-ads/answer/14892597
* to lean more.
*
*
* optional int64 sk_ad_network_redistributed_fine_conversion_value = 190;
* @param value The skAdNetworkRedistributedFineConversionValue to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkRedistributedFineConversionValue(long value) {
skAdNetworkRedistributedFineConversionValue_ = value;
bitField3_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network redistributed fine conversion value.
*
* Google uses modeling on observed conversion values(obtained
* from Apple) to calculate conversions from SKAN postbacks where
* NULLs are returned. This column represents the sum of the modeled
* conversion values and the observed conversion values. See
* https://support.google.com/google-ads/answer/14892597
* to lean more.
*
*
* optional int64 sk_ad_network_redistributed_fine_conversion_value = 190;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkRedistributedFineConversionValue() {
bitField3_ = (bitField3_ & ~0x00000002);
skAdNetworkRedistributedFineConversionValue_ = 0L;
onChanged();
return this;
}
private int skAdNetworkUserType_ = 0;
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141;
* @return The enum numeric value on the wire for skAdNetworkUserType.
*/
@java.lang.Override public int getSkAdNetworkUserTypeValue() {
return skAdNetworkUserType_;
}
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141;
* @param value The enum numeric value on the wire for skAdNetworkUserType to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkUserTypeValue(int value) {
skAdNetworkUserType_ = value;
bitField3_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141;
* @return The skAdNetworkUserType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType getSkAdNetworkUserType() {
com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType result = com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.forNumber(skAdNetworkUserType_);
return result == null ? com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.UNRECOGNIZED : result;
}
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141;
* @param value The skAdNetworkUserType to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkUserType(com.google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType value) {
if (value == null) {
throw new NullPointerException();
}
bitField3_ |= 0x00000004;
skAdNetworkUserType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkUserType() {
bitField3_ = (bitField3_ & ~0x00000004);
skAdNetworkUserType_ = 0;
onChanged();
return this;
}
private int skAdNetworkAdEventType_ = 0;
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142;
* @return The enum numeric value on the wire for skAdNetworkAdEventType.
*/
@java.lang.Override public int getSkAdNetworkAdEventTypeValue() {
return skAdNetworkAdEventType_;
}
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142;
* @param value The enum numeric value on the wire for skAdNetworkAdEventType to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkAdEventTypeValue(int value) {
skAdNetworkAdEventType_ = value;
bitField3_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142;
* @return The skAdNetworkAdEventType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType getSkAdNetworkAdEventType() {
com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType result = com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.forNumber(skAdNetworkAdEventType_);
return result == null ? com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.UNRECOGNIZED : result;
}
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142;
* @param value The skAdNetworkAdEventType to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkAdEventType(com.google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType value) {
if (value == null) {
throw new NullPointerException();
}
bitField3_ |= 0x00000008;
skAdNetworkAdEventType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkAdEventType() {
bitField3_ = (bitField3_ & ~0x00000008);
skAdNetworkAdEventType_ = 0;
onChanged();
return this;
}
private com.google.ads.googleads.v17.common.SkAdNetworkSourceApp skAdNetworkSourceApp_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.SkAdNetworkSourceApp, com.google.ads.googleads.v17.common.SkAdNetworkSourceApp.Builder, com.google.ads.googleads.v17.common.SkAdNetworkSourceAppOrBuilder> skAdNetworkSourceAppBuilder_;
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
* @return Whether the skAdNetworkSourceApp field is set.
*/
public boolean hasSkAdNetworkSourceApp() {
return ((bitField3_ & 0x00000010) != 0);
}
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
* @return The skAdNetworkSourceApp.
*/
public com.google.ads.googleads.v17.common.SkAdNetworkSourceApp getSkAdNetworkSourceApp() {
if (skAdNetworkSourceAppBuilder_ == null) {
return skAdNetworkSourceApp_ == null ? com.google.ads.googleads.v17.common.SkAdNetworkSourceApp.getDefaultInstance() : skAdNetworkSourceApp_;
} else {
return skAdNetworkSourceAppBuilder_.getMessage();
}
}
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public Builder setSkAdNetworkSourceApp(com.google.ads.googleads.v17.common.SkAdNetworkSourceApp value) {
if (skAdNetworkSourceAppBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
skAdNetworkSourceApp_ = value;
} else {
skAdNetworkSourceAppBuilder_.setMessage(value);
}
bitField3_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public Builder setSkAdNetworkSourceApp(
com.google.ads.googleads.v17.common.SkAdNetworkSourceApp.Builder builderForValue) {
if (skAdNetworkSourceAppBuilder_ == null) {
skAdNetworkSourceApp_ = builderForValue.build();
} else {
skAdNetworkSourceAppBuilder_.setMessage(builderForValue.build());
}
bitField3_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public Builder mergeSkAdNetworkSourceApp(com.google.ads.googleads.v17.common.SkAdNetworkSourceApp value) {
if (skAdNetworkSourceAppBuilder_ == null) {
if (((bitField3_ & 0x00000010) != 0) &&
skAdNetworkSourceApp_ != null &&
skAdNetworkSourceApp_ != com.google.ads.googleads.v17.common.SkAdNetworkSourceApp.getDefaultInstance()) {
getSkAdNetworkSourceAppBuilder().mergeFrom(value);
} else {
skAdNetworkSourceApp_ = value;
}
} else {
skAdNetworkSourceAppBuilder_.mergeFrom(value);
}
if (skAdNetworkSourceApp_ != null) {
bitField3_ |= 0x00000010;
onChanged();
}
return this;
}
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public Builder clearSkAdNetworkSourceApp() {
bitField3_ = (bitField3_ & ~0x00000010);
skAdNetworkSourceApp_ = null;
if (skAdNetworkSourceAppBuilder_ != null) {
skAdNetworkSourceAppBuilder_.dispose();
skAdNetworkSourceAppBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public com.google.ads.googleads.v17.common.SkAdNetworkSourceApp.Builder getSkAdNetworkSourceAppBuilder() {
bitField3_ |= 0x00000010;
onChanged();
return getSkAdNetworkSourceAppFieldBuilder().getBuilder();
}
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public com.google.ads.googleads.v17.common.SkAdNetworkSourceAppOrBuilder getSkAdNetworkSourceAppOrBuilder() {
if (skAdNetworkSourceAppBuilder_ != null) {
return skAdNetworkSourceAppBuilder_.getMessageOrBuilder();
} else {
return skAdNetworkSourceApp_ == null ?
com.google.ads.googleads.v17.common.SkAdNetworkSourceApp.getDefaultInstance() : skAdNetworkSourceApp_;
}
}
/**
*
* App where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional .google.ads.googleads.v17.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.SkAdNetworkSourceApp, com.google.ads.googleads.v17.common.SkAdNetworkSourceApp.Builder, com.google.ads.googleads.v17.common.SkAdNetworkSourceAppOrBuilder>
getSkAdNetworkSourceAppFieldBuilder() {
if (skAdNetworkSourceAppBuilder_ == null) {
skAdNetworkSourceAppBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.SkAdNetworkSourceApp, com.google.ads.googleads.v17.common.SkAdNetworkSourceApp.Builder, com.google.ads.googleads.v17.common.SkAdNetworkSourceAppOrBuilder>(
getSkAdNetworkSourceApp(),
getParentForChildren(),
isClean());
skAdNetworkSourceApp_ = null;
}
return skAdNetworkSourceAppBuilder_;
}
private int skAdNetworkAttributionCredit_ = 0;
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144;
* @return The enum numeric value on the wire for skAdNetworkAttributionCredit.
*/
@java.lang.Override public int getSkAdNetworkAttributionCreditValue() {
return skAdNetworkAttributionCredit_;
}
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144;
* @param value The enum numeric value on the wire for skAdNetworkAttributionCredit to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkAttributionCreditValue(int value) {
skAdNetworkAttributionCredit_ = value;
bitField3_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144;
* @return The skAdNetworkAttributionCredit.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit getSkAdNetworkAttributionCredit() {
com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit result = com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.forNumber(skAdNetworkAttributionCredit_);
return result == null ? com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.UNRECOGNIZED : result;
}
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144;
* @param value The skAdNetworkAttributionCredit to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkAttributionCredit(com.google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit value) {
if (value == null) {
throw new NullPointerException();
}
bitField3_ |= 0x00000020;
skAdNetworkAttributionCredit_ = value.getNumber();
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkAttributionCredit() {
bitField3_ = (bitField3_ & ~0x00000020);
skAdNetworkAttributionCredit_ = 0;
onChanged();
return this;
}
private int skAdNetworkCoarseConversionValue_ = 0;
/**
*
* iOS Store Kit Ad Network coarse conversion value.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue sk_ad_network_coarse_conversion_value = 151;
* @return The enum numeric value on the wire for skAdNetworkCoarseConversionValue.
*/
@java.lang.Override public int getSkAdNetworkCoarseConversionValueValue() {
return skAdNetworkCoarseConversionValue_;
}
/**
*
* iOS Store Kit Ad Network coarse conversion value.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue sk_ad_network_coarse_conversion_value = 151;
* @param value The enum numeric value on the wire for skAdNetworkCoarseConversionValue to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkCoarseConversionValueValue(int value) {
skAdNetworkCoarseConversionValue_ = value;
bitField3_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network coarse conversion value.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue sk_ad_network_coarse_conversion_value = 151;
* @return The skAdNetworkCoarseConversionValue.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue getSkAdNetworkCoarseConversionValue() {
com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue result = com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue.forNumber(skAdNetworkCoarseConversionValue_);
return result == null ? com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue.UNRECOGNIZED : result;
}
/**
*
* iOS Store Kit Ad Network coarse conversion value.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue sk_ad_network_coarse_conversion_value = 151;
* @param value The skAdNetworkCoarseConversionValue to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkCoarseConversionValue(com.google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue value) {
if (value == null) {
throw new NullPointerException();
}
bitField3_ |= 0x00000040;
skAdNetworkCoarseConversionValue_ = value.getNumber();
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network coarse conversion value.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue sk_ad_network_coarse_conversion_value = 151;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkCoarseConversionValue() {
bitField3_ = (bitField3_ & ~0x00000040);
skAdNetworkCoarseConversionValue_ = 0;
onChanged();
return this;
}
private java.lang.Object skAdNetworkSourceDomain_ = "";
/**
*
* Website where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional string sk_ad_network_source_domain = 152;
* @return Whether the skAdNetworkSourceDomain field is set.
*/
public boolean hasSkAdNetworkSourceDomain() {
return ((bitField3_ & 0x00000080) != 0);
}
/**
*
* Website where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional string sk_ad_network_source_domain = 152;
* @return The skAdNetworkSourceDomain.
*/
public java.lang.String getSkAdNetworkSourceDomain() {
java.lang.Object ref = skAdNetworkSourceDomain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
skAdNetworkSourceDomain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Website where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional string sk_ad_network_source_domain = 152;
* @return The bytes for skAdNetworkSourceDomain.
*/
public com.google.protobuf.ByteString
getSkAdNetworkSourceDomainBytes() {
java.lang.Object ref = skAdNetworkSourceDomain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
skAdNetworkSourceDomain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Website where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional string sk_ad_network_source_domain = 152;
* @param value The skAdNetworkSourceDomain to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkSourceDomain(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
skAdNetworkSourceDomain_ = value;
bitField3_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Website where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional string sk_ad_network_source_domain = 152;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkSourceDomain() {
skAdNetworkSourceDomain_ = getDefaultInstance().getSkAdNetworkSourceDomain();
bitField3_ = (bitField3_ & ~0x00000080);
onChanged();
return this;
}
/**
*
* Website where the ad that drove the iOS Store Kit Ad Network install was
* shown. Null value means this segment is not applicable, for example,
* non-iOS campaign, or was not present in any postbacks sent by Apple.
*
*
* optional string sk_ad_network_source_domain = 152;
* @param value The bytes for skAdNetworkSourceDomain to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkSourceDomainBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
skAdNetworkSourceDomain_ = value;
bitField3_ |= 0x00000080;
onChanged();
return this;
}
private int skAdNetworkSourceType_ = 0;
/**
*
* The source type where the ad that drove the iOS Store Kit Ad Network
* install was shown. Null value means this segment is not applicable, for
* example, non-iOS campaign, or neither source domain nor source app were
* present in any postbacks sent by Apple.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType sk_ad_network_source_type = 153;
* @return The enum numeric value on the wire for skAdNetworkSourceType.
*/
@java.lang.Override public int getSkAdNetworkSourceTypeValue() {
return skAdNetworkSourceType_;
}
/**
*
* The source type where the ad that drove the iOS Store Kit Ad Network
* install was shown. Null value means this segment is not applicable, for
* example, non-iOS campaign, or neither source domain nor source app were
* present in any postbacks sent by Apple.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType sk_ad_network_source_type = 153;
* @param value The enum numeric value on the wire for skAdNetworkSourceType to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkSourceTypeValue(int value) {
skAdNetworkSourceType_ = value;
bitField3_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* The source type where the ad that drove the iOS Store Kit Ad Network
* install was shown. Null value means this segment is not applicable, for
* example, non-iOS campaign, or neither source domain nor source app were
* present in any postbacks sent by Apple.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType sk_ad_network_source_type = 153;
* @return The skAdNetworkSourceType.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType getSkAdNetworkSourceType() {
com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType result = com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType.forNumber(skAdNetworkSourceType_);
return result == null ? com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType.UNRECOGNIZED : result;
}
/**
*
* The source type where the ad that drove the iOS Store Kit Ad Network
* install was shown. Null value means this segment is not applicable, for
* example, non-iOS campaign, or neither source domain nor source app were
* present in any postbacks sent by Apple.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType sk_ad_network_source_type = 153;
* @param value The skAdNetworkSourceType to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkSourceType(com.google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType value) {
if (value == null) {
throw new NullPointerException();
}
bitField3_ |= 0x00000100;
skAdNetworkSourceType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* The source type where the ad that drove the iOS Store Kit Ad Network
* install was shown. Null value means this segment is not applicable, for
* example, non-iOS campaign, or neither source domain nor source app were
* present in any postbacks sent by Apple.
*
*
* .google.ads.googleads.v17.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType sk_ad_network_source_type = 153;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkSourceType() {
bitField3_ = (bitField3_ & ~0x00000100);
skAdNetworkSourceType_ = 0;
onChanged();
return this;
}
private long skAdNetworkPostbackSequenceIndex_ ;
/**
*
* iOS Store Kit Ad Network postback sequence index.
*
*
* optional int64 sk_ad_network_postback_sequence_index = 154;
* @return Whether the skAdNetworkPostbackSequenceIndex field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkPostbackSequenceIndex() {
return ((bitField3_ & 0x00000200) != 0);
}
/**
*
* iOS Store Kit Ad Network postback sequence index.
*
*
* optional int64 sk_ad_network_postback_sequence_index = 154;
* @return The skAdNetworkPostbackSequenceIndex.
*/
@java.lang.Override
public long getSkAdNetworkPostbackSequenceIndex() {
return skAdNetworkPostbackSequenceIndex_;
}
/**
*
* iOS Store Kit Ad Network postback sequence index.
*
*
* optional int64 sk_ad_network_postback_sequence_index = 154;
* @param value The skAdNetworkPostbackSequenceIndex to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkPostbackSequenceIndex(long value) {
skAdNetworkPostbackSequenceIndex_ = value;
bitField3_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network postback sequence index.
*
*
* optional int64 sk_ad_network_postback_sequence_index = 154;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkPostbackSequenceIndex() {
bitField3_ = (bitField3_ & ~0x00000200);
skAdNetworkPostbackSequenceIndex_ = 0L;
onChanged();
return this;
}
private java.lang.Object skAdNetworkVersion_ = "";
/**
*
* The version of the SKAdNetwork API used.
*
*
* optional string sk_ad_network_version = 192;
* @return Whether the skAdNetworkVersion field is set.
*/
public boolean hasSkAdNetworkVersion() {
return ((bitField3_ & 0x00000400) != 0);
}
/**
*
* The version of the SKAdNetwork API used.
*
*
* optional string sk_ad_network_version = 192;
* @return The skAdNetworkVersion.
*/
public java.lang.String getSkAdNetworkVersion() {
java.lang.Object ref = skAdNetworkVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
skAdNetworkVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The version of the SKAdNetwork API used.
*
*
* optional string sk_ad_network_version = 192;
* @return The bytes for skAdNetworkVersion.
*/
public com.google.protobuf.ByteString
getSkAdNetworkVersionBytes() {
java.lang.Object ref = skAdNetworkVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
skAdNetworkVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The version of the SKAdNetwork API used.
*
*
* optional string sk_ad_network_version = 192;
* @param value The skAdNetworkVersion to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkVersion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
skAdNetworkVersion_ = value;
bitField3_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* The version of the SKAdNetwork API used.
*
*
* optional string sk_ad_network_version = 192;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkVersion() {
skAdNetworkVersion_ = getDefaultInstance().getSkAdNetworkVersion();
bitField3_ = (bitField3_ & ~0x00000400);
onChanged();
return this;
}
/**
*
* The version of the SKAdNetwork API used.
*
*
* optional string sk_ad_network_version = 192;
* @param value The bytes for skAdNetworkVersion to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
skAdNetworkVersion_ = value;
bitField3_ |= 0x00000400;
onChanged();
return this;
}
private com.google.ads.googleads.v17.common.AssetInteractionTarget assetInteractionTarget_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.AssetInteractionTarget, com.google.ads.googleads.v17.common.AssetInteractionTarget.Builder, com.google.ads.googleads.v17.common.AssetInteractionTargetOrBuilder> assetInteractionTargetBuilder_;
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
* @return Whether the assetInteractionTarget field is set.
*/
public boolean hasAssetInteractionTarget() {
return ((bitField3_ & 0x00000800) != 0);
}
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
* @return The assetInteractionTarget.
*/
public com.google.ads.googleads.v17.common.AssetInteractionTarget getAssetInteractionTarget() {
if (assetInteractionTargetBuilder_ == null) {
return assetInteractionTarget_ == null ? com.google.ads.googleads.v17.common.AssetInteractionTarget.getDefaultInstance() : assetInteractionTarget_;
} else {
return assetInteractionTargetBuilder_.getMessage();
}
}
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public Builder setAssetInteractionTarget(com.google.ads.googleads.v17.common.AssetInteractionTarget value) {
if (assetInteractionTargetBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
assetInteractionTarget_ = value;
} else {
assetInteractionTargetBuilder_.setMessage(value);
}
bitField3_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public Builder setAssetInteractionTarget(
com.google.ads.googleads.v17.common.AssetInteractionTarget.Builder builderForValue) {
if (assetInteractionTargetBuilder_ == null) {
assetInteractionTarget_ = builderForValue.build();
} else {
assetInteractionTargetBuilder_.setMessage(builderForValue.build());
}
bitField3_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public Builder mergeAssetInteractionTarget(com.google.ads.googleads.v17.common.AssetInteractionTarget value) {
if (assetInteractionTargetBuilder_ == null) {
if (((bitField3_ & 0x00000800) != 0) &&
assetInteractionTarget_ != null &&
assetInteractionTarget_ != com.google.ads.googleads.v17.common.AssetInteractionTarget.getDefaultInstance()) {
getAssetInteractionTargetBuilder().mergeFrom(value);
} else {
assetInteractionTarget_ = value;
}
} else {
assetInteractionTargetBuilder_.mergeFrom(value);
}
if (assetInteractionTarget_ != null) {
bitField3_ |= 0x00000800;
onChanged();
}
return this;
}
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public Builder clearAssetInteractionTarget() {
bitField3_ = (bitField3_ & ~0x00000800);
assetInteractionTarget_ = null;
if (assetInteractionTargetBuilder_ != null) {
assetInteractionTargetBuilder_.dispose();
assetInteractionTargetBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public com.google.ads.googleads.v17.common.AssetInteractionTarget.Builder getAssetInteractionTargetBuilder() {
bitField3_ |= 0x00000800;
onChanged();
return getAssetInteractionTargetFieldBuilder().getBuilder();
}
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public com.google.ads.googleads.v17.common.AssetInteractionTargetOrBuilder getAssetInteractionTargetOrBuilder() {
if (assetInteractionTargetBuilder_ != null) {
return assetInteractionTargetBuilder_.getMessageOrBuilder();
} else {
return assetInteractionTarget_ == null ?
com.google.ads.googleads.v17.common.AssetInteractionTarget.getDefaultInstance() : assetInteractionTarget_;
}
}
/**
*
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself
* or a different asset or ad unit.
* Interactions (for example, clicks) are counted across all the parts of the
* served ad (for example, Ad itself and other components like Sitelinks) when
* they are served together. When interaction_on_this_asset is true, it means
* the interactions are on this specific asset and when
* interaction_on_this_asset is false, it means the interactions is not on
* this specific asset but on other parts of the served ad this asset is
* served with.
*
*
* optional .google.ads.googleads.v17.common.AssetInteractionTarget asset_interaction_target = 139;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.AssetInteractionTarget, com.google.ads.googleads.v17.common.AssetInteractionTarget.Builder, com.google.ads.googleads.v17.common.AssetInteractionTargetOrBuilder>
getAssetInteractionTargetFieldBuilder() {
if (assetInteractionTargetBuilder_ == null) {
assetInteractionTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.AssetInteractionTarget, com.google.ads.googleads.v17.common.AssetInteractionTarget.Builder, com.google.ads.googleads.v17.common.AssetInteractionTargetOrBuilder>(
getAssetInteractionTarget(),
getParentForChildren(),
isClean());
assetInteractionTarget_ = null;
}
return assetInteractionTargetBuilder_;
}
private int newVersusReturningCustomers_ = 0;
/**
*
* This is for segmenting conversions by whether the user is a new customer
* or a returning customer. This segmentation is typically used to measure
* the impact of customer acquisition goal.
*
*
* .google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket new_versus_returning_customers = 160;
* @return The enum numeric value on the wire for newVersusReturningCustomers.
*/
@java.lang.Override public int getNewVersusReturningCustomersValue() {
return newVersusReturningCustomers_;
}
/**
*
* This is for segmenting conversions by whether the user is a new customer
* or a returning customer. This segmentation is typically used to measure
* the impact of customer acquisition goal.
*
*
* .google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket new_versus_returning_customers = 160;
* @param value The enum numeric value on the wire for newVersusReturningCustomers to set.
* @return This builder for chaining.
*/
public Builder setNewVersusReturningCustomersValue(int value) {
newVersusReturningCustomers_ = value;
bitField3_ |= 0x00001000;
onChanged();
return this;
}
/**
*
* This is for segmenting conversions by whether the user is a new customer
* or a returning customer. This segmentation is typically used to measure
* the impact of customer acquisition goal.
*
*
* .google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket new_versus_returning_customers = 160;
* @return The newVersusReturningCustomers.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket getNewVersusReturningCustomers() {
com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket result = com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket.forNumber(newVersusReturningCustomers_);
return result == null ? com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket.UNRECOGNIZED : result;
}
/**
*
* This is for segmenting conversions by whether the user is a new customer
* or a returning customer. This segmentation is typically used to measure
* the impact of customer acquisition goal.
*
*
* .google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket new_versus_returning_customers = 160;
* @param value The newVersusReturningCustomers to set.
* @return This builder for chaining.
*/
public Builder setNewVersusReturningCustomers(com.google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket value) {
if (value == null) {
throw new NullPointerException();
}
bitField3_ |= 0x00001000;
newVersusReturningCustomers_ = value.getNumber();
onChanged();
return this;
}
/**
*
* This is for segmenting conversions by whether the user is a new customer
* or a returning customer. This segmentation is typically used to measure
* the impact of customer acquisition goal.
*
*
* .google.ads.googleads.v17.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket new_versus_returning_customers = 160;
* @return This builder for chaining.
*/
public Builder clearNewVersusReturningCustomers() {
bitField3_ = (bitField3_ & ~0x00001000);
newVersusReturningCustomers_ = 0;
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.Segments)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.Segments)
private static final com.google.ads.googleads.v17.common.Segments DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.Segments();
}
public static com.google.ads.googleads.v17.common.Segments getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Segments 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.Segments getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}