com.google.ads.googleads.v10.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-v10 Show documentation
Show all versions of google-ads-stubs-v10 Show documentation
Stubs for GAAPI version google-ads-stubs-v10
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/common/segments.proto
package com.google.ads.googleads.v10.common;
/**
*
* Segment only fields.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Segments}
*/
public final class Segments extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v10.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() {
adDestinationType_ = 0;
adNetworkType_ = 0;
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;
productBiddingCategoryLevel1_ = "";
productBiddingCategoryLevel2_ = "";
productBiddingCategoryLevel3_ = "";
productBiddingCategoryLevel4_ = "";
productBiddingCategoryLevel5_ = "";
productBrand_ = "";
productChannel_ = 0;
productChannelExclusivity_ = 0;
productCondition_ = 0;
productCountry_ = "";
productCustomAttribute0_ = "";
productCustomAttribute1_ = "";
productCustomAttribute2_ = "";
productCustomAttribute3_ = "";
productCustomAttribute4_ = "";
productItemId_ = "";
productLanguage_ = "";
productStoreId_ = "";
productTitle_ = "";
productTypeL1_ = "";
productTypeL2_ = "";
productTypeL3_ = "";
productTypeL4_ = "";
productTypeL5_ = "";
quarter_ = "";
recommendationType_ = 0;
searchEngineResultsPageType_ = 0;
searchTermMatchType_ = 0;
slot_ = 0;
conversionValueRulePrimaryDimension_ = 0;
webpage_ = "";
week_ = "";
skAdNetworkUserType_ = 0;
skAdNetworkAdEventType_ = 0;
skAdNetworkAttributionCredit_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Segments();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.common.SegmentsProto.internal_static_google_ads_googleads_v10_common_Segments_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.SegmentsProto.internal_static_google_ads_googleads_v10_common_Segments_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Segments.class, com.google.ads.googleads.v10.common.Segments.Builder.class);
}
private int bitField0_;
private int bitField1_;
public static final int AD_DESTINATION_TYPE_FIELD_NUMBER = 136;
private int adDestinationType_;
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v10.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.v10.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136;
* @return The adDestinationType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType getAdDestinationType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType result = com.google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType.valueOf(adDestinationType_);
return result == null ? com.google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType.UNRECOGNIZED : result;
}
public static final int AD_NETWORK_TYPE_FIELD_NUMBER = 3;
private int adNetworkType_;
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v10.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.v10.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3;
* @return The adNetworkType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType getAdNetworkType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType result = com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType.valueOf(adNetworkType_);
return result == null ? com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType.UNRECOGNIZED : result;
}
public static final int BUDGET_CAMPAIGN_ASSOCIATION_STATUS_FIELD_NUMBER = 134;
private com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budgetCampaignAssociationStatus_;
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
* @return Whether the budgetCampaignAssociationStatus field is set.
*/
@java.lang.Override
public boolean hasBudgetCampaignAssociationStatus() {
return budgetCampaignAssociationStatus_ != null;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
* @return The budgetCampaignAssociationStatus.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus getBudgetCampaignAssociationStatus() {
return budgetCampaignAssociationStatus_ == null ? com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus.getDefaultInstance() : budgetCampaignAssociationStatus_;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatusOrBuilder getBudgetCampaignAssociationStatusOrBuilder() {
return getBudgetCampaignAssociationStatus();
}
public static final int CLICK_TYPE_FIELD_NUMBER = 26;
private int clickType_;
/**
*
* Click type.
*
*
* .google.ads.googleads.v10.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.v10.enums.ClickTypeEnum.ClickType click_type = 26;
* @return The clickType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType getClickType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType result = com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType.valueOf(clickType_);
return result == null ? com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType.UNRECOGNIZED : result;
}
public static final int CONVERSION_ACTION_FIELD_NUMBER = 113;
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_ & 0x00000001) != 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_;
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v10.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.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53;
* @return The conversionActionCategory.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory getConversionActionCategory() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory result = com.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory.valueOf(conversionActionCategory_);
return result == null ? com.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory.UNRECOGNIZED : result;
}
public static final int CONVERSION_ACTION_NAME_FIELD_NUMBER = 114;
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_ & 0x00000002) != 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_;
/**
*
* 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_ & 0x00000004) != 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_;
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v10.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.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2;
* @return The conversionAttributionEventType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType getConversionAttributionEventType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType result = com.google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.valueOf(conversionAttributionEventType_);
return result == null ? com.google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.UNRECOGNIZED : result;
}
public static final int CONVERSION_LAG_BUCKET_FIELD_NUMBER = 50;
private int conversionLagBucket_;
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v10.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.v10.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50;
* @return The conversionLagBucket.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket getConversionLagBucket() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket result = com.google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket.valueOf(conversionLagBucket_);
return result == null ? com.google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket.UNRECOGNIZED : result;
}
public static final int CONVERSION_OR_ADJUSTMENT_LAG_BUCKET_FIELD_NUMBER = 51;
private int 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.v10.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.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51;
* @return The conversionOrAdjustmentLagBucket.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket getConversionOrAdjustmentLagBucket() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket result = com.google.ads.googleads.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.valueOf(conversionOrAdjustmentLagBucket_);
return result == null ? com.google.ads.googleads.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.UNRECOGNIZED : result;
}
public static final int DATE_FIELD_NUMBER = 79;
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_ & 0x00000008) != 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_;
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v10.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.v10.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
* @return The dayOfWeek.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek getDayOfWeek() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek result = com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.valueOf(dayOfWeek_);
return result == null ? com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.UNRECOGNIZED : result;
}
public static final int DEVICE_FIELD_NUMBER = 1;
private int device_;
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v10.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.v10.enums.DeviceEnum.Device device = 1;
* @return The device.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.DeviceEnum.Device getDevice() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.DeviceEnum.Device result = com.google.ads.googleads.v10.enums.DeviceEnum.Device.valueOf(device_);
return result == null ? com.google.ads.googleads.v10.enums.DeviceEnum.Device.UNRECOGNIZED : result;
}
public static final int EXTERNAL_CONVERSION_SOURCE_FIELD_NUMBER = 55;
private int externalConversionSource_;
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v10.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.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55;
* @return The externalConversionSource.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource getExternalConversionSource() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource result = com.google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource.valueOf(externalConversionSource_);
return result == null ? com.google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource.UNRECOGNIZED : result;
}
public static final int GEO_TARGET_AIRPORT_FIELD_NUMBER = 116;
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_ & 0x00000010) != 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;
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_ & 0x00000020) != 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;
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_ & 0x00000040) != 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;
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_ & 0x00000080) != 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;
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_ & 0x00000100) != 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;
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_ & 0x00000200) != 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;
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_ & 0x00000400) != 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;
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_ & 0x00000800) != 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;
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_ & 0x00001000) != 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;
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_ & 0x00002000) != 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;
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_ & 0x00004000) != 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;
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_ & 0x00008000) != 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_;
/**
*
* 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_ & 0x00010000) != 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_;
/**
*
* Hotel center ID.
*
*
* optional int64 hotel_center_id = 80;
* @return Whether the hotelCenterId field is set.
*/
@java.lang.Override
public boolean hasHotelCenterId() {
return ((bitField0_ & 0x00020000) != 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;
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_ & 0x00040000) != 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_;
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v10.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.v10.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9;
* @return The hotelCheckInDayOfWeek.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek getHotelCheckInDayOfWeek() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek result = com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.valueOf(hotelCheckInDayOfWeek_);
return result == null ? com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.UNRECOGNIZED : result;
}
public static final int HOTEL_CITY_FIELD_NUMBER = 82;
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_ & 0x00080000) != 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_;
/**
*
* Hotel class.
*
*
* optional int32 hotel_class = 83;
* @return Whether the hotelClass field is set.
*/
@java.lang.Override
public boolean hasHotelClass() {
return ((bitField0_ & 0x00100000) != 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;
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 ((bitField0_ & 0x00200000) != 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_;
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v10.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.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13;
* @return The hotelDateSelectionType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType getHotelDateSelectionType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType result = com.google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.valueOf(hotelDateSelectionType_);
return result == null ? com.google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.UNRECOGNIZED : result;
}
public static final int HOTEL_LENGTH_OF_STAY_FIELD_NUMBER = 85;
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 ((bitField0_ & 0x00400000) != 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;
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 ((bitField0_ & 0x00800000) != 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_;
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v10.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.v10.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74;
* @return The hotelRateType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType getHotelRateType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType result = com.google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType.valueOf(hotelRateType_);
return result == null ? com.google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType.UNRECOGNIZED : result;
}
public static final int HOTEL_PRICE_BUCKET_FIELD_NUMBER = 78;
private int hotelPriceBucket_;
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v10.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.v10.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78;
* @return The hotelPriceBucket.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket getHotelPriceBucket() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket result = com.google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket.valueOf(hotelPriceBucket_);
return result == null ? com.google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket.UNRECOGNIZED : result;
}
public static final int HOTEL_STATE_FIELD_NUMBER = 87;
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 ((bitField0_ & 0x01000000) != 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_;
/**
*
* 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 ((bitField0_ & 0x02000000) != 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_;
/**
*
* 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 ((bitField0_ & 0x04000000) != 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.v10.common.Keyword keyword_;
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
* @return Whether the keyword field is set.
*/
@java.lang.Override
public boolean hasKeyword() {
return keyword_ != null;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
* @return The keyword.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Keyword getKeyword() {
return keyword_ == null ? com.google.ads.googleads.v10.common.Keyword.getDefaultInstance() : keyword_;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.KeywordOrBuilder getKeywordOrBuilder() {
return getKeyword();
}
public static final int MONTH_FIELD_NUMBER = 90;
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 ((bitField0_ & 0x08000000) != 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_;
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v10.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.v10.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
* @return The monthOfYear.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear getMonthOfYear() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear result = com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear.valueOf(monthOfYear_);
return result == null ? com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear.UNRECOGNIZED : result;
}
public static final int PARTNER_HOTEL_ID_FIELD_NUMBER = 91;
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 ((bitField0_ & 0x10000000) != 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_;
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v10.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.v10.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @return The placeholderType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType getPlaceholderType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType result = com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType.valueOf(placeholderType_);
return result == null ? com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType.UNRECOGNIZED : result;
}
public static final int PRODUCT_AGGREGATOR_ID_FIELD_NUMBER = 132;
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 ((bitField0_ & 0x20000000) != 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_BIDDING_CATEGORY_LEVEL1_FIELD_NUMBER = 92;
private volatile java.lang.Object productBiddingCategoryLevel1_;
/**
*
* Bidding category (level 1) of the product.
*
*
* optional string product_bidding_category_level1 = 92;
* @return Whether the productBiddingCategoryLevel1 field is set.
*/
@java.lang.Override
public boolean hasProductBiddingCategoryLevel1() {
return ((bitField0_ & 0x40000000) != 0);
}
/**
*
* Bidding category (level 1) of the product.
*
*
* optional string product_bidding_category_level1 = 92;
* @return The productBiddingCategoryLevel1.
*/
@java.lang.Override
public java.lang.String getProductBiddingCategoryLevel1() {
java.lang.Object ref = productBiddingCategoryLevel1_;
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();
productBiddingCategoryLevel1_ = s;
return s;
}
}
/**
*
* Bidding category (level 1) of the product.
*
*
* optional string product_bidding_category_level1 = 92;
* @return The bytes for productBiddingCategoryLevel1.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductBiddingCategoryLevel1Bytes() {
java.lang.Object ref = productBiddingCategoryLevel1_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBiddingCategoryLevel1_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_BIDDING_CATEGORY_LEVEL2_FIELD_NUMBER = 93;
private volatile java.lang.Object productBiddingCategoryLevel2_;
/**
*
* Bidding category (level 2) of the product.
*
*
* optional string product_bidding_category_level2 = 93;
* @return Whether the productBiddingCategoryLevel2 field is set.
*/
@java.lang.Override
public boolean hasProductBiddingCategoryLevel2() {
return ((bitField0_ & 0x80000000) != 0);
}
/**
*
* Bidding category (level 2) of the product.
*
*
* optional string product_bidding_category_level2 = 93;
* @return The productBiddingCategoryLevel2.
*/
@java.lang.Override
public java.lang.String getProductBiddingCategoryLevel2() {
java.lang.Object ref = productBiddingCategoryLevel2_;
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();
productBiddingCategoryLevel2_ = s;
return s;
}
}
/**
*
* Bidding category (level 2) of the product.
*
*
* optional string product_bidding_category_level2 = 93;
* @return The bytes for productBiddingCategoryLevel2.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductBiddingCategoryLevel2Bytes() {
java.lang.Object ref = productBiddingCategoryLevel2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBiddingCategoryLevel2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_BIDDING_CATEGORY_LEVEL3_FIELD_NUMBER = 94;
private volatile java.lang.Object productBiddingCategoryLevel3_;
/**
*
* Bidding category (level 3) of the product.
*
*
* optional string product_bidding_category_level3 = 94;
* @return Whether the productBiddingCategoryLevel3 field is set.
*/
@java.lang.Override
public boolean hasProductBiddingCategoryLevel3() {
return ((bitField1_ & 0x00000001) != 0);
}
/**
*
* Bidding category (level 3) of the product.
*
*
* optional string product_bidding_category_level3 = 94;
* @return The productBiddingCategoryLevel3.
*/
@java.lang.Override
public java.lang.String getProductBiddingCategoryLevel3() {
java.lang.Object ref = productBiddingCategoryLevel3_;
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();
productBiddingCategoryLevel3_ = s;
return s;
}
}
/**
*
* Bidding category (level 3) of the product.
*
*
* optional string product_bidding_category_level3 = 94;
* @return The bytes for productBiddingCategoryLevel3.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductBiddingCategoryLevel3Bytes() {
java.lang.Object ref = productBiddingCategoryLevel3_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBiddingCategoryLevel3_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_BIDDING_CATEGORY_LEVEL4_FIELD_NUMBER = 95;
private volatile java.lang.Object productBiddingCategoryLevel4_;
/**
*
* Bidding category (level 4) of the product.
*
*
* optional string product_bidding_category_level4 = 95;
* @return Whether the productBiddingCategoryLevel4 field is set.
*/
@java.lang.Override
public boolean hasProductBiddingCategoryLevel4() {
return ((bitField1_ & 0x00000002) != 0);
}
/**
*
* Bidding category (level 4) of the product.
*
*
* optional string product_bidding_category_level4 = 95;
* @return The productBiddingCategoryLevel4.
*/
@java.lang.Override
public java.lang.String getProductBiddingCategoryLevel4() {
java.lang.Object ref = productBiddingCategoryLevel4_;
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();
productBiddingCategoryLevel4_ = s;
return s;
}
}
/**
*
* Bidding category (level 4) of the product.
*
*
* optional string product_bidding_category_level4 = 95;
* @return The bytes for productBiddingCategoryLevel4.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductBiddingCategoryLevel4Bytes() {
java.lang.Object ref = productBiddingCategoryLevel4_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBiddingCategoryLevel4_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_BIDDING_CATEGORY_LEVEL5_FIELD_NUMBER = 96;
private volatile java.lang.Object productBiddingCategoryLevel5_;
/**
*
* Bidding category (level 5) of the product.
*
*
* optional string product_bidding_category_level5 = 96;
* @return Whether the productBiddingCategoryLevel5 field is set.
*/
@java.lang.Override
public boolean hasProductBiddingCategoryLevel5() {
return ((bitField1_ & 0x00000004) != 0);
}
/**
*
* Bidding category (level 5) of the product.
*
*
* optional string product_bidding_category_level5 = 96;
* @return The productBiddingCategoryLevel5.
*/
@java.lang.Override
public java.lang.String getProductBiddingCategoryLevel5() {
java.lang.Object ref = productBiddingCategoryLevel5_;
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();
productBiddingCategoryLevel5_ = s;
return s;
}
}
/**
*
* Bidding category (level 5) of the product.
*
*
* optional string product_bidding_category_level5 = 96;
* @return The bytes for productBiddingCategoryLevel5.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductBiddingCategoryLevel5Bytes() {
java.lang.Object ref = productBiddingCategoryLevel5_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBiddingCategoryLevel5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_BRAND_FIELD_NUMBER = 97;
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_ & 0x00000008) != 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_;
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v10.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.v10.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @return The productChannel.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel getProductChannel() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel result = com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel.valueOf(productChannel_);
return result == null ? com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel.UNRECOGNIZED : result;
}
public static final int PRODUCT_CHANNEL_EXCLUSIVITY_FIELD_NUMBER = 31;
private int productChannelExclusivity_;
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v10.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.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31;
* @return The productChannelExclusivity.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity getProductChannelExclusivity() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity result = com.google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.valueOf(productChannelExclusivity_);
return result == null ? com.google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.UNRECOGNIZED : result;
}
public static final int PRODUCT_CONDITION_FIELD_NUMBER = 32;
private int productCondition_;
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v10.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.v10.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @return The productCondition.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition getProductCondition() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition result = com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition.valueOf(productCondition_);
return result == null ? com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition.UNRECOGNIZED : result;
}
public static final int PRODUCT_COUNTRY_FIELD_NUMBER = 98;
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_ & 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.
*/
@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;
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_ & 0x00000020) != 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;
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_ & 0x00000040) != 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;
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_ & 0x00000080) != 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;
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_ & 0x00000100) != 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;
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_ & 0x00000200) != 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_ITEM_ID_FIELD_NUMBER = 104;
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_ & 0x00000400) != 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;
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_ & 0x00000800) != 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_;
/**
*
* 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_ & 0x00001000) != 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;
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_ & 0x00002000) != 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;
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_ & 0x00004000) != 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;
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_ & 0x00008000) != 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;
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_ & 0x00010000) != 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;
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_ & 0x00020000) != 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;
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_ & 0x00040000) != 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;
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 ((bitField1_ & 0x00080000) != 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;
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 ((bitField1_ & 0x00100000) != 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_;
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v10.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.v10.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @return The recommendationType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType getRecommendationType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType result = com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType.valueOf(recommendationType_);
return result == null ? com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType.UNRECOGNIZED : result;
}
public static final int SEARCH_ENGINE_RESULTS_PAGE_TYPE_FIELD_NUMBER = 70;
private int searchEngineResultsPageType_;
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v10.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.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70;
* @return The searchEngineResultsPageType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType getSearchEngineResultsPageType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType result = com.google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.valueOf(searchEngineResultsPageType_);
return result == null ? com.google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.UNRECOGNIZED : result;
}
public static final int SEARCH_TERM_MATCH_TYPE_FIELD_NUMBER = 22;
private int searchTermMatchType_;
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v10.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.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22;
* @return The searchTermMatchType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType getSearchTermMatchType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType result = com.google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType.valueOf(searchTermMatchType_);
return result == null ? com.google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType.UNRECOGNIZED : result;
}
public static final int SLOT_FIELD_NUMBER = 23;
private int slot_;
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v10.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.v10.enums.SlotEnum.Slot slot = 23;
* @return The slot.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.SlotEnum.Slot getSlot() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SlotEnum.Slot result = com.google.ads.googleads.v10.enums.SlotEnum.Slot.valueOf(slot_);
return result == null ? com.google.ads.googleads.v10.enums.SlotEnum.Slot.UNRECOGNIZED : result;
}
public static final int CONVERSION_VALUE_RULE_PRIMARY_DIMENSION_FIELD_NUMBER = 138;
private int 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.v10.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.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138;
* @return The conversionValueRulePrimaryDimension.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension getConversionValueRulePrimaryDimension() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension result = com.google.ads.googleads.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.valueOf(conversionValueRulePrimaryDimension_);
return result == null ? com.google.ads.googleads.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.UNRECOGNIZED : result;
}
public static final int WEBPAGE_FIELD_NUMBER = 129;
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 ((bitField1_ & 0x00200000) != 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;
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 ((bitField1_ & 0x00400000) != 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_;
/**
*
* Year, formatted as yyyy.
*
*
* optional int32 year = 131;
* @return Whether the year field is set.
*/
@java.lang.Override
public boolean hasYear() {
return ((bitField1_ & 0x00800000) != 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_CONVERSION_VALUE_FIELD_NUMBER = 137;
private long skAdNetworkConversionValue_;
/**
*
* 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_conversion_value = 137;
* @return Whether the skAdNetworkConversionValue field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkConversionValue() {
return ((bitField1_ & 0x01000000) != 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_conversion_value = 137;
* @return The skAdNetworkConversionValue.
*/
@java.lang.Override
public long getSkAdNetworkConversionValue() {
return skAdNetworkConversionValue_;
}
public static final int SK_AD_NETWORK_USER_TYPE_FIELD_NUMBER = 141;
private int skAdNetworkUserType_;
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v10.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.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141;
* @return The skAdNetworkUserType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType getSkAdNetworkUserType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType result = com.google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.valueOf(skAdNetworkUserType_);
return result == null ? com.google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.UNRECOGNIZED : result;
}
public static final int SK_AD_NETWORK_AD_EVENT_TYPE_FIELD_NUMBER = 142;
private int skAdNetworkAdEventType_;
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v10.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.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142;
* @return The skAdNetworkAdEventType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType getSkAdNetworkAdEventType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType result = com.google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.valueOf(skAdNetworkAdEventType_);
return result == null ? com.google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.UNRECOGNIZED : result;
}
public static final int SK_AD_NETWORK_SOURCE_APP_FIELD_NUMBER = 143;
private com.google.ads.googleads.v10.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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
* @return Whether the skAdNetworkSourceApp field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkSourceApp() {
return ((bitField1_ & 0x02000000) != 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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
* @return The skAdNetworkSourceApp.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.SkAdNetworkSourceApp getSkAdNetworkSourceApp() {
return skAdNetworkSourceApp_ == null ? com.google.ads.googleads.v10.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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.SkAdNetworkSourceAppOrBuilder getSkAdNetworkSourceAppOrBuilder() {
return skAdNetworkSourceApp_ == null ? com.google.ads.googleads.v10.common.SkAdNetworkSourceApp.getDefaultInstance() : skAdNetworkSourceApp_;
}
public static final int SK_AD_NETWORK_ATTRIBUTION_CREDIT_FIELD_NUMBER = 144;
private int skAdNetworkAttributionCredit_;
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v10.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.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144;
* @return The skAdNetworkAttributionCredit.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit getSkAdNetworkAttributionCredit() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit result = com.google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.valueOf(skAdNetworkAttributionCredit_);
return result == null ? com.google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.UNRECOGNIZED : result;
}
public static final int ASSET_INTERACTION_TARGET_FIELD_NUMBER = 139;
private com.google.ads.googleads.v10.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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
* @return Whether the assetInteractionTarget field is set.
*/
@java.lang.Override
public boolean hasAssetInteractionTarget() {
return ((bitField1_ & 0x04000000) != 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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
* @return The assetInteractionTarget.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.AssetInteractionTarget getAssetInteractionTarget() {
return assetInteractionTarget_ == null ? com.google.ads.googleads.v10.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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.AssetInteractionTargetOrBuilder getAssetInteractionTargetOrBuilder() {
return assetInteractionTarget_ == null ? com.google.ads.googleads.v10.common.AssetInteractionTarget.getDefaultInstance() : assetInteractionTarget_;
}
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.v10.enums.DeviceEnum.Device.UNSPECIFIED.getNumber()) {
output.writeEnum(1, device_);
}
if (conversionAttributionEventType_ != com.google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.UNSPECIFIED.getNumber()) {
output.writeEnum(2, conversionAttributionEventType_);
}
if (adNetworkType_ != com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType.UNSPECIFIED.getNumber()) {
output.writeEnum(3, adNetworkType_);
}
if (dayOfWeek_ != com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.UNSPECIFIED.getNumber()) {
output.writeEnum(5, dayOfWeek_);
}
if (hotelCheckInDayOfWeek_ != com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.UNSPECIFIED.getNumber()) {
output.writeEnum(9, hotelCheckInDayOfWeek_);
}
if (hotelDateSelectionType_ != com.google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.UNSPECIFIED.getNumber()) {
output.writeEnum(13, hotelDateSelectionType_);
}
if (monthOfYear_ != com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear.UNSPECIFIED.getNumber()) {
output.writeEnum(18, monthOfYear_);
}
if (placeholderType_ != com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType.UNSPECIFIED.getNumber()) {
output.writeEnum(20, placeholderType_);
}
if (searchTermMatchType_ != com.google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType.UNSPECIFIED.getNumber()) {
output.writeEnum(22, searchTermMatchType_);
}
if (slot_ != com.google.ads.googleads.v10.enums.SlotEnum.Slot.UNSPECIFIED.getNumber()) {
output.writeEnum(23, slot_);
}
if (clickType_ != com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType.UNSPECIFIED.getNumber()) {
output.writeEnum(26, clickType_);
}
if (productChannel_ != com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel.UNSPECIFIED.getNumber()) {
output.writeEnum(30, productChannel_);
}
if (productChannelExclusivity_ != com.google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.UNSPECIFIED.getNumber()) {
output.writeEnum(31, productChannelExclusivity_);
}
if (productCondition_ != com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition.UNSPECIFIED.getNumber()) {
output.writeEnum(32, productCondition_);
}
if (conversionLagBucket_ != com.google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket.UNSPECIFIED.getNumber()) {
output.writeEnum(50, conversionLagBucket_);
}
if (conversionOrAdjustmentLagBucket_ != com.google.ads.googleads.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.UNSPECIFIED.getNumber()) {
output.writeEnum(51, conversionOrAdjustmentLagBucket_);
}
if (conversionActionCategory_ != com.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory.UNSPECIFIED.getNumber()) {
output.writeEnum(53, conversionActionCategory_);
}
if (externalConversionSource_ != com.google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource.UNSPECIFIED.getNumber()) {
output.writeEnum(55, externalConversionSource_);
}
if (keyword_ != null) {
output.writeMessage(61, getKeyword());
}
if (searchEngineResultsPageType_ != com.google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.UNSPECIFIED.getNumber()) {
output.writeEnum(70, searchEngineResultsPageType_);
}
if (hotelRateType_ != com.google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType.UNSPECIFIED.getNumber()) {
output.writeEnum(74, hotelRateType_);
}
if (hotelPriceBucket_ != com.google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket.UNSPECIFIED.getNumber()) {
output.writeEnum(78, hotelPriceBucket_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 79, date_);
}
if (((bitField0_ & 0x00020000) != 0)) {
output.writeInt64(80, hotelCenterId_);
}
if (((bitField0_ & 0x00040000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 81, hotelCheckInDate_);
}
if (((bitField0_ & 0x00080000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 82, hotelCity_);
}
if (((bitField0_ & 0x00100000) != 0)) {
output.writeInt32(83, hotelClass_);
}
if (((bitField0_ & 0x00200000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 84, hotelCountry_);
}
if (((bitField0_ & 0x00400000) != 0)) {
output.writeInt32(85, hotelLengthOfStay_);
}
if (((bitField0_ & 0x00800000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 86, hotelRateRuleId_);
}
if (((bitField0_ & 0x01000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 87, hotelState_);
}
if (((bitField0_ & 0x02000000) != 0)) {
output.writeInt32(88, hour_);
}
if (((bitField0_ & 0x04000000) != 0)) {
output.writeBool(89, interactionOnThisExtension_);
}
if (((bitField0_ & 0x08000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 90, month_);
}
if (((bitField0_ & 0x10000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 91, partnerHotelId_);
}
if (((bitField0_ & 0x40000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 92, productBiddingCategoryLevel1_);
}
if (((bitField0_ & 0x80000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 93, productBiddingCategoryLevel2_);
}
if (((bitField1_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 94, productBiddingCategoryLevel3_);
}
if (((bitField1_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 95, productBiddingCategoryLevel4_);
}
if (((bitField1_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 96, productBiddingCategoryLevel5_);
}
if (((bitField1_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 97, productBrand_);
}
if (((bitField1_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 98, productCountry_);
}
if (((bitField1_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 99, productCustomAttribute0_);
}
if (((bitField1_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 100, productCustomAttribute1_);
}
if (((bitField1_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 101, productCustomAttribute2_);
}
if (((bitField1_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 102, productCustomAttribute3_);
}
if (((bitField1_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 103, productCustomAttribute4_);
}
if (((bitField1_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 104, productItemId_);
}
if (((bitField1_ & 0x00000800) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 105, productLanguage_);
}
if (((bitField1_ & 0x00002000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 106, productStoreId_);
}
if (((bitField1_ & 0x00004000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 107, productTitle_);
}
if (((bitField1_ & 0x00008000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 108, productTypeL1_);
}
if (((bitField1_ & 0x00010000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 109, productTypeL2_);
}
if (((bitField1_ & 0x00020000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 110, productTypeL3_);
}
if (((bitField1_ & 0x00040000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 111, productTypeL4_);
}
if (((bitField1_ & 0x00080000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 112, productTypeL5_);
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 113, conversionAction_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 114, conversionActionName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(115, conversionAdjustment_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 116, geoTargetAirport_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 117, geoTargetCanton_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 118, geoTargetCity_);
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 119, geoTargetCountry_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 120, geoTargetCounty_);
}
if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 121, geoTargetDistrict_);
}
if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 122, geoTargetMetro_);
}
if (((bitField0_ & 0x00000800) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 123, geoTargetMostSpecificLocation_);
}
if (((bitField0_ & 0x00001000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 124, geoTargetPostalCode_);
}
if (((bitField0_ & 0x00002000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 125, geoTargetProvince_);
}
if (((bitField0_ & 0x00004000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 126, geoTargetRegion_);
}
if (((bitField0_ & 0x00008000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 127, geoTargetState_);
}
if (((bitField1_ & 0x00100000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 128, quarter_);
}
if (((bitField1_ & 0x00200000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 129, webpage_);
}
if (((bitField1_ & 0x00400000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 130, week_);
}
if (((bitField1_ & 0x00800000) != 0)) {
output.writeInt32(131, year_);
}
if (((bitField0_ & 0x20000000) != 0)) {
output.writeInt64(132, productAggregatorId_);
}
if (((bitField1_ & 0x00001000) != 0)) {
output.writeInt64(133, productMerchantId_);
}
if (budgetCampaignAssociationStatus_ != null) {
output.writeMessage(134, getBudgetCampaignAssociationStatus());
}
if (((bitField0_ & 0x00010000) != 0)) {
output.writeInt64(135, hotelBookingWindowDays_);
}
if (adDestinationType_ != com.google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType.UNSPECIFIED.getNumber()) {
output.writeEnum(136, adDestinationType_);
}
if (((bitField1_ & 0x01000000) != 0)) {
output.writeInt64(137, skAdNetworkConversionValue_);
}
if (conversionValueRulePrimaryDimension_ != com.google.ads.googleads.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.UNSPECIFIED.getNumber()) {
output.writeEnum(138, conversionValueRulePrimaryDimension_);
}
if (((bitField1_ & 0x04000000) != 0)) {
output.writeMessage(139, getAssetInteractionTarget());
}
if (recommendationType_ != com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType.UNSPECIFIED.getNumber()) {
output.writeEnum(140, recommendationType_);
}
if (skAdNetworkUserType_ != com.google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.UNSPECIFIED.getNumber()) {
output.writeEnum(141, skAdNetworkUserType_);
}
if (skAdNetworkAdEventType_ != com.google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.UNSPECIFIED.getNumber()) {
output.writeEnum(142, skAdNetworkAdEventType_);
}
if (((bitField1_ & 0x02000000) != 0)) {
output.writeMessage(143, getSkAdNetworkSourceApp());
}
if (skAdNetworkAttributionCredit_ != com.google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.UNSPECIFIED.getNumber()) {
output.writeEnum(144, skAdNetworkAttributionCredit_);
}
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.v10.enums.DeviceEnum.Device.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, device_);
}
if (conversionAttributionEventType_ != com.google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, conversionAttributionEventType_);
}
if (adNetworkType_ != com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, adNetworkType_);
}
if (dayOfWeek_ != com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, dayOfWeek_);
}
if (hotelCheckInDayOfWeek_ != com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, hotelCheckInDayOfWeek_);
}
if (hotelDateSelectionType_ != com.google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(13, hotelDateSelectionType_);
}
if (monthOfYear_ != com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(18, monthOfYear_);
}
if (placeholderType_ != com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(20, placeholderType_);
}
if (searchTermMatchType_ != com.google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(22, searchTermMatchType_);
}
if (slot_ != com.google.ads.googleads.v10.enums.SlotEnum.Slot.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(23, slot_);
}
if (clickType_ != com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(26, clickType_);
}
if (productChannel_ != com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(30, productChannel_);
}
if (productChannelExclusivity_ != com.google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(31, productChannelExclusivity_);
}
if (productCondition_ != com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(32, productCondition_);
}
if (conversionLagBucket_ != com.google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(50, conversionLagBucket_);
}
if (conversionOrAdjustmentLagBucket_ != com.google.ads.googleads.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(51, conversionOrAdjustmentLagBucket_);
}
if (conversionActionCategory_ != com.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(53, conversionActionCategory_);
}
if (externalConversionSource_ != com.google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(55, externalConversionSource_);
}
if (keyword_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(61, getKeyword());
}
if (searchEngineResultsPageType_ != com.google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(70, searchEngineResultsPageType_);
}
if (hotelRateType_ != com.google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(74, hotelRateType_);
}
if (hotelPriceBucket_ != com.google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(78, hotelPriceBucket_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(79, date_);
}
if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(80, hotelCenterId_);
}
if (((bitField0_ & 0x00040000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(81, hotelCheckInDate_);
}
if (((bitField0_ & 0x00080000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(82, hotelCity_);
}
if (((bitField0_ & 0x00100000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(83, hotelClass_);
}
if (((bitField0_ & 0x00200000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(84, hotelCountry_);
}
if (((bitField0_ & 0x00400000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(85, hotelLengthOfStay_);
}
if (((bitField0_ & 0x00800000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(86, hotelRateRuleId_);
}
if (((bitField0_ & 0x01000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(87, hotelState_);
}
if (((bitField0_ & 0x02000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(88, hour_);
}
if (((bitField0_ & 0x04000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(89, interactionOnThisExtension_);
}
if (((bitField0_ & 0x08000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(90, month_);
}
if (((bitField0_ & 0x10000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(91, partnerHotelId_);
}
if (((bitField0_ & 0x40000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(92, productBiddingCategoryLevel1_);
}
if (((bitField0_ & 0x80000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(93, productBiddingCategoryLevel2_);
}
if (((bitField1_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(94, productBiddingCategoryLevel3_);
}
if (((bitField1_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(95, productBiddingCategoryLevel4_);
}
if (((bitField1_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(96, productBiddingCategoryLevel5_);
}
if (((bitField1_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(97, productBrand_);
}
if (((bitField1_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(98, productCountry_);
}
if (((bitField1_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(99, productCustomAttribute0_);
}
if (((bitField1_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, productCustomAttribute1_);
}
if (((bitField1_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(101, productCustomAttribute2_);
}
if (((bitField1_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(102, productCustomAttribute3_);
}
if (((bitField1_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(103, productCustomAttribute4_);
}
if (((bitField1_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(104, productItemId_);
}
if (((bitField1_ & 0x00000800) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(105, productLanguage_);
}
if (((bitField1_ & 0x00002000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(106, productStoreId_);
}
if (((bitField1_ & 0x00004000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(107, productTitle_);
}
if (((bitField1_ & 0x00008000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(108, productTypeL1_);
}
if (((bitField1_ & 0x00010000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(109, productTypeL2_);
}
if (((bitField1_ & 0x00020000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(110, productTypeL3_);
}
if (((bitField1_ & 0x00040000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(111, productTypeL4_);
}
if (((bitField1_ & 0x00080000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(112, productTypeL5_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(113, conversionAction_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(114, conversionActionName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(115, conversionAdjustment_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(116, geoTargetAirport_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(117, geoTargetCanton_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(118, geoTargetCity_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(119, geoTargetCountry_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(120, geoTargetCounty_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(121, geoTargetDistrict_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(122, geoTargetMetro_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(123, geoTargetMostSpecificLocation_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(124, geoTargetPostalCode_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(125, geoTargetProvince_);
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(126, geoTargetRegion_);
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(127, geoTargetState_);
}
if (((bitField1_ & 0x00100000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(128, quarter_);
}
if (((bitField1_ & 0x00200000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(129, webpage_);
}
if (((bitField1_ & 0x00400000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(130, week_);
}
if (((bitField1_ & 0x00800000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(131, year_);
}
if (((bitField0_ & 0x20000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(132, productAggregatorId_);
}
if (((bitField1_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(133, productMerchantId_);
}
if (budgetCampaignAssociationStatus_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(134, getBudgetCampaignAssociationStatus());
}
if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(135, hotelBookingWindowDays_);
}
if (adDestinationType_ != com.google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(136, adDestinationType_);
}
if (((bitField1_ & 0x01000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(137, skAdNetworkConversionValue_);
}
if (conversionValueRulePrimaryDimension_ != com.google.ads.googleads.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(138, conversionValueRulePrimaryDimension_);
}
if (((bitField1_ & 0x04000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(139, getAssetInteractionTarget());
}
if (recommendationType_ != com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(140, recommendationType_);
}
if (skAdNetworkUserType_ != com.google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(141, skAdNetworkUserType_);
}
if (skAdNetworkAdEventType_ != com.google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(142, skAdNetworkAdEventType_);
}
if (((bitField1_ & 0x02000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(143, getSkAdNetworkSourceApp());
}
if (skAdNetworkAttributionCredit_ != com.google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(144, skAdNetworkAttributionCredit_);
}
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.v10.common.Segments)) {
return super.equals(obj);
}
com.google.ads.googleads.v10.common.Segments other = (com.google.ads.googleads.v10.common.Segments) obj;
if (adDestinationType_ != other.adDestinationType_) return false;
if (adNetworkType_ != other.adNetworkType_) return false;
if (hasBudgetCampaignAssociationStatus() != other.hasBudgetCampaignAssociationStatus()) return false;
if (hasBudgetCampaignAssociationStatus()) {
if (!getBudgetCampaignAssociationStatus()
.equals(other.getBudgetCampaignAssociationStatus())) 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 (hasProductBiddingCategoryLevel1() != other.hasProductBiddingCategoryLevel1()) return false;
if (hasProductBiddingCategoryLevel1()) {
if (!getProductBiddingCategoryLevel1()
.equals(other.getProductBiddingCategoryLevel1())) return false;
}
if (hasProductBiddingCategoryLevel2() != other.hasProductBiddingCategoryLevel2()) return false;
if (hasProductBiddingCategoryLevel2()) {
if (!getProductBiddingCategoryLevel2()
.equals(other.getProductBiddingCategoryLevel2())) return false;
}
if (hasProductBiddingCategoryLevel3() != other.hasProductBiddingCategoryLevel3()) return false;
if (hasProductBiddingCategoryLevel3()) {
if (!getProductBiddingCategoryLevel3()
.equals(other.getProductBiddingCategoryLevel3())) return false;
}
if (hasProductBiddingCategoryLevel4() != other.hasProductBiddingCategoryLevel4()) return false;
if (hasProductBiddingCategoryLevel4()) {
if (!getProductBiddingCategoryLevel4()
.equals(other.getProductBiddingCategoryLevel4())) return false;
}
if (hasProductBiddingCategoryLevel5() != other.hasProductBiddingCategoryLevel5()) return false;
if (hasProductBiddingCategoryLevel5()) {
if (!getProductBiddingCategoryLevel5()
.equals(other.getProductBiddingCategoryLevel5())) 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 (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 (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 (hasSkAdNetworkConversionValue() != other.hasSkAdNetworkConversionValue()) return false;
if (hasSkAdNetworkConversionValue()) {
if (getSkAdNetworkConversionValue()
!= other.getSkAdNetworkConversionValue()) 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 (hasAssetInteractionTarget() != other.hasAssetInteractionTarget()) return false;
if (hasAssetInteractionTarget()) {
if (!getAssetInteractionTarget()
.equals(other.getAssetInteractionTarget())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + AD_DESTINATION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + adDestinationType_;
hash = (37 * hash) + AD_NETWORK_TYPE_FIELD_NUMBER;
hash = (53 * hash) + adNetworkType_;
if (hasBudgetCampaignAssociationStatus()) {
hash = (37 * hash) + BUDGET_CAMPAIGN_ASSOCIATION_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getBudgetCampaignAssociationStatus().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 (hasProductBiddingCategoryLevel1()) {
hash = (37 * hash) + PRODUCT_BIDDING_CATEGORY_LEVEL1_FIELD_NUMBER;
hash = (53 * hash) + getProductBiddingCategoryLevel1().hashCode();
}
if (hasProductBiddingCategoryLevel2()) {
hash = (37 * hash) + PRODUCT_BIDDING_CATEGORY_LEVEL2_FIELD_NUMBER;
hash = (53 * hash) + getProductBiddingCategoryLevel2().hashCode();
}
if (hasProductBiddingCategoryLevel3()) {
hash = (37 * hash) + PRODUCT_BIDDING_CATEGORY_LEVEL3_FIELD_NUMBER;
hash = (53 * hash) + getProductBiddingCategoryLevel3().hashCode();
}
if (hasProductBiddingCategoryLevel4()) {
hash = (37 * hash) + PRODUCT_BIDDING_CATEGORY_LEVEL4_FIELD_NUMBER;
hash = (53 * hash) + getProductBiddingCategoryLevel4().hashCode();
}
if (hasProductBiddingCategoryLevel5()) {
hash = (37 * hash) + PRODUCT_BIDDING_CATEGORY_LEVEL5_FIELD_NUMBER;
hash = (53 * hash) + getProductBiddingCategoryLevel5().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 (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_;
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 (hasSkAdNetworkConversionValue()) {
hash = (37 * hash) + SK_AD_NETWORK_CONVERSION_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSkAdNetworkConversionValue());
}
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_;
if (hasAssetInteractionTarget()) {
hash = (37 * hash) + ASSET_INTERACTION_TARGET_FIELD_NUMBER;
hash = (53 * hash) + getAssetInteractionTarget().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v10.common.Segments parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.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.v10.common.Segments parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.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.v10.common.Segments parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.common.Segments}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.Segments)
com.google.ads.googleads.v10.common.SegmentsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.common.SegmentsProto.internal_static_google_ads_googleads_v10_common_Segments_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.SegmentsProto.internal_static_google_ads_googleads_v10_common_Segments_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Segments.class, com.google.ads.googleads.v10.common.Segments.Builder.class);
}
// Construct using com.google.ads.googleads.v10.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) {
getSkAdNetworkSourceAppFieldBuilder();
getAssetInteractionTargetFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
adDestinationType_ = 0;
adNetworkType_ = 0;
if (budgetCampaignAssociationStatusBuilder_ == null) {
budgetCampaignAssociationStatus_ = null;
} else {
budgetCampaignAssociationStatus_ = null;
budgetCampaignAssociationStatusBuilder_ = null;
}
clickType_ = 0;
conversionAction_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
conversionActionCategory_ = 0;
conversionActionName_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
conversionAdjustment_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
conversionAttributionEventType_ = 0;
conversionLagBucket_ = 0;
conversionOrAdjustmentLagBucket_ = 0;
date_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
dayOfWeek_ = 0;
device_ = 0;
externalConversionSource_ = 0;
geoTargetAirport_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
geoTargetCanton_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
geoTargetCity_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
geoTargetCountry_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
geoTargetCounty_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
geoTargetDistrict_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
geoTargetMetro_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
geoTargetMostSpecificLocation_ = "";
bitField0_ = (bitField0_ & ~0x00000800);
geoTargetPostalCode_ = "";
bitField0_ = (bitField0_ & ~0x00001000);
geoTargetProvince_ = "";
bitField0_ = (bitField0_ & ~0x00002000);
geoTargetRegion_ = "";
bitField0_ = (bitField0_ & ~0x00004000);
geoTargetState_ = "";
bitField0_ = (bitField0_ & ~0x00008000);
hotelBookingWindowDays_ = 0L;
bitField0_ = (bitField0_ & ~0x00010000);
hotelCenterId_ = 0L;
bitField0_ = (bitField0_ & ~0x00020000);
hotelCheckInDate_ = "";
bitField0_ = (bitField0_ & ~0x00040000);
hotelCheckInDayOfWeek_ = 0;
hotelCity_ = "";
bitField0_ = (bitField0_ & ~0x00080000);
hotelClass_ = 0;
bitField0_ = (bitField0_ & ~0x00100000);
hotelCountry_ = "";
bitField0_ = (bitField0_ & ~0x00200000);
hotelDateSelectionType_ = 0;
hotelLengthOfStay_ = 0;
bitField0_ = (bitField0_ & ~0x00400000);
hotelRateRuleId_ = "";
bitField0_ = (bitField0_ & ~0x00800000);
hotelRateType_ = 0;
hotelPriceBucket_ = 0;
hotelState_ = "";
bitField0_ = (bitField0_ & ~0x01000000);
hour_ = 0;
bitField0_ = (bitField0_ & ~0x02000000);
interactionOnThisExtension_ = false;
bitField0_ = (bitField0_ & ~0x04000000);
if (keywordBuilder_ == null) {
keyword_ = null;
} else {
keyword_ = null;
keywordBuilder_ = null;
}
month_ = "";
bitField0_ = (bitField0_ & ~0x08000000);
monthOfYear_ = 0;
partnerHotelId_ = "";
bitField0_ = (bitField0_ & ~0x10000000);
placeholderType_ = 0;
productAggregatorId_ = 0L;
bitField0_ = (bitField0_ & ~0x20000000);
productBiddingCategoryLevel1_ = "";
bitField0_ = (bitField0_ & ~0x40000000);
productBiddingCategoryLevel2_ = "";
bitField0_ = (bitField0_ & ~0x80000000);
productBiddingCategoryLevel3_ = "";
bitField1_ = (bitField1_ & ~0x00000001);
productBiddingCategoryLevel4_ = "";
bitField1_ = (bitField1_ & ~0x00000002);
productBiddingCategoryLevel5_ = "";
bitField1_ = (bitField1_ & ~0x00000004);
productBrand_ = "";
bitField1_ = (bitField1_ & ~0x00000008);
productChannel_ = 0;
productChannelExclusivity_ = 0;
productCondition_ = 0;
productCountry_ = "";
bitField1_ = (bitField1_ & ~0x00000010);
productCustomAttribute0_ = "";
bitField1_ = (bitField1_ & ~0x00000020);
productCustomAttribute1_ = "";
bitField1_ = (bitField1_ & ~0x00000040);
productCustomAttribute2_ = "";
bitField1_ = (bitField1_ & ~0x00000080);
productCustomAttribute3_ = "";
bitField1_ = (bitField1_ & ~0x00000100);
productCustomAttribute4_ = "";
bitField1_ = (bitField1_ & ~0x00000200);
productItemId_ = "";
bitField1_ = (bitField1_ & ~0x00000400);
productLanguage_ = "";
bitField1_ = (bitField1_ & ~0x00000800);
productMerchantId_ = 0L;
bitField1_ = (bitField1_ & ~0x00001000);
productStoreId_ = "";
bitField1_ = (bitField1_ & ~0x00002000);
productTitle_ = "";
bitField1_ = (bitField1_ & ~0x00004000);
productTypeL1_ = "";
bitField1_ = (bitField1_ & ~0x00008000);
productTypeL2_ = "";
bitField1_ = (bitField1_ & ~0x00010000);
productTypeL3_ = "";
bitField1_ = (bitField1_ & ~0x00020000);
productTypeL4_ = "";
bitField1_ = (bitField1_ & ~0x00040000);
productTypeL5_ = "";
bitField1_ = (bitField1_ & ~0x00080000);
quarter_ = "";
bitField1_ = (bitField1_ & ~0x00100000);
recommendationType_ = 0;
searchEngineResultsPageType_ = 0;
searchTermMatchType_ = 0;
slot_ = 0;
conversionValueRulePrimaryDimension_ = 0;
webpage_ = "";
bitField1_ = (bitField1_ & ~0x00200000);
week_ = "";
bitField1_ = (bitField1_ & ~0x00400000);
year_ = 0;
bitField1_ = (bitField1_ & ~0x00800000);
skAdNetworkConversionValue_ = 0L;
bitField1_ = (bitField1_ & ~0x01000000);
skAdNetworkUserType_ = 0;
skAdNetworkAdEventType_ = 0;
if (skAdNetworkSourceAppBuilder_ == null) {
skAdNetworkSourceApp_ = null;
} else {
skAdNetworkSourceAppBuilder_.clear();
}
bitField1_ = (bitField1_ & ~0x02000000);
skAdNetworkAttributionCredit_ = 0;
if (assetInteractionTargetBuilder_ == null) {
assetInteractionTarget_ = null;
} else {
assetInteractionTargetBuilder_.clear();
}
bitField1_ = (bitField1_ & ~0x04000000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v10.common.SegmentsProto.internal_static_google_ads_googleads_v10_common_Segments_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Segments getDefaultInstanceForType() {
return com.google.ads.googleads.v10.common.Segments.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Segments build() {
com.google.ads.googleads.v10.common.Segments result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Segments buildPartial() {
com.google.ads.googleads.v10.common.Segments result = new com.google.ads.googleads.v10.common.Segments(this);
int from_bitField0_ = bitField0_;
int from_bitField1_ = bitField1_;
int to_bitField0_ = 0;
int to_bitField1_ = 0;
result.adDestinationType_ = adDestinationType_;
result.adNetworkType_ = adNetworkType_;
if (budgetCampaignAssociationStatusBuilder_ == null) {
result.budgetCampaignAssociationStatus_ = budgetCampaignAssociationStatus_;
} else {
result.budgetCampaignAssociationStatus_ = budgetCampaignAssociationStatusBuilder_.build();
}
result.clickType_ = clickType_;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.conversionAction_ = conversionAction_;
result.conversionActionCategory_ = conversionActionCategory_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.conversionActionName_ = conversionActionName_;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.conversionAdjustment_ = conversionAdjustment_;
to_bitField0_ |= 0x00000004;
}
result.conversionAttributionEventType_ = conversionAttributionEventType_;
result.conversionLagBucket_ = conversionLagBucket_;
result.conversionOrAdjustmentLagBucket_ = conversionOrAdjustmentLagBucket_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.date_ = date_;
result.dayOfWeek_ = dayOfWeek_;
result.device_ = device_;
result.externalConversionSource_ = externalConversionSource_;
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.geoTargetAirport_ = geoTargetAirport_;
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.geoTargetCanton_ = geoTargetCanton_;
if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.geoTargetCity_ = geoTargetCity_;
if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.geoTargetCountry_ = geoTargetCountry_;
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.geoTargetCounty_ = geoTargetCounty_;
if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.geoTargetDistrict_ = geoTargetDistrict_;
if (((from_bitField0_ & 0x00000400) != 0)) {
to_bitField0_ |= 0x00000400;
}
result.geoTargetMetro_ = geoTargetMetro_;
if (((from_bitField0_ & 0x00000800) != 0)) {
to_bitField0_ |= 0x00000800;
}
result.geoTargetMostSpecificLocation_ = geoTargetMostSpecificLocation_;
if (((from_bitField0_ & 0x00001000) != 0)) {
to_bitField0_ |= 0x00001000;
}
result.geoTargetPostalCode_ = geoTargetPostalCode_;
if (((from_bitField0_ & 0x00002000) != 0)) {
to_bitField0_ |= 0x00002000;
}
result.geoTargetProvince_ = geoTargetProvince_;
if (((from_bitField0_ & 0x00004000) != 0)) {
to_bitField0_ |= 0x00004000;
}
result.geoTargetRegion_ = geoTargetRegion_;
if (((from_bitField0_ & 0x00008000) != 0)) {
to_bitField0_ |= 0x00008000;
}
result.geoTargetState_ = geoTargetState_;
if (((from_bitField0_ & 0x00010000) != 0)) {
result.hotelBookingWindowDays_ = hotelBookingWindowDays_;
to_bitField0_ |= 0x00010000;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.hotelCenterId_ = hotelCenterId_;
to_bitField0_ |= 0x00020000;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
to_bitField0_ |= 0x00040000;
}
result.hotelCheckInDate_ = hotelCheckInDate_;
result.hotelCheckInDayOfWeek_ = hotelCheckInDayOfWeek_;
if (((from_bitField0_ & 0x00080000) != 0)) {
to_bitField0_ |= 0x00080000;
}
result.hotelCity_ = hotelCity_;
if (((from_bitField0_ & 0x00100000) != 0)) {
result.hotelClass_ = hotelClass_;
to_bitField0_ |= 0x00100000;
}
if (((from_bitField0_ & 0x00200000) != 0)) {
to_bitField0_ |= 0x00200000;
}
result.hotelCountry_ = hotelCountry_;
result.hotelDateSelectionType_ = hotelDateSelectionType_;
if (((from_bitField0_ & 0x00400000) != 0)) {
result.hotelLengthOfStay_ = hotelLengthOfStay_;
to_bitField0_ |= 0x00400000;
}
if (((from_bitField0_ & 0x00800000) != 0)) {
to_bitField0_ |= 0x00800000;
}
result.hotelRateRuleId_ = hotelRateRuleId_;
result.hotelRateType_ = hotelRateType_;
result.hotelPriceBucket_ = hotelPriceBucket_;
if (((from_bitField0_ & 0x01000000) != 0)) {
to_bitField0_ |= 0x01000000;
}
result.hotelState_ = hotelState_;
if (((from_bitField0_ & 0x02000000) != 0)) {
result.hour_ = hour_;
to_bitField0_ |= 0x02000000;
}
if (((from_bitField0_ & 0x04000000) != 0)) {
result.interactionOnThisExtension_ = interactionOnThisExtension_;
to_bitField0_ |= 0x04000000;
}
if (keywordBuilder_ == null) {
result.keyword_ = keyword_;
} else {
result.keyword_ = keywordBuilder_.build();
}
if (((from_bitField0_ & 0x08000000) != 0)) {
to_bitField0_ |= 0x08000000;
}
result.month_ = month_;
result.monthOfYear_ = monthOfYear_;
if (((from_bitField0_ & 0x10000000) != 0)) {
to_bitField0_ |= 0x10000000;
}
result.partnerHotelId_ = partnerHotelId_;
result.placeholderType_ = placeholderType_;
if (((from_bitField0_ & 0x20000000) != 0)) {
result.productAggregatorId_ = productAggregatorId_;
to_bitField0_ |= 0x20000000;
}
if (((from_bitField0_ & 0x40000000) != 0)) {
to_bitField0_ |= 0x40000000;
}
result.productBiddingCategoryLevel1_ = productBiddingCategoryLevel1_;
if (((from_bitField0_ & 0x80000000) != 0)) {
to_bitField0_ |= 0x80000000;
}
result.productBiddingCategoryLevel2_ = productBiddingCategoryLevel2_;
if (((from_bitField1_ & 0x00000001) != 0)) {
to_bitField1_ |= 0x00000001;
}
result.productBiddingCategoryLevel3_ = productBiddingCategoryLevel3_;
if (((from_bitField1_ & 0x00000002) != 0)) {
to_bitField1_ |= 0x00000002;
}
result.productBiddingCategoryLevel4_ = productBiddingCategoryLevel4_;
if (((from_bitField1_ & 0x00000004) != 0)) {
to_bitField1_ |= 0x00000004;
}
result.productBiddingCategoryLevel5_ = productBiddingCategoryLevel5_;
if (((from_bitField1_ & 0x00000008) != 0)) {
to_bitField1_ |= 0x00000008;
}
result.productBrand_ = productBrand_;
result.productChannel_ = productChannel_;
result.productChannelExclusivity_ = productChannelExclusivity_;
result.productCondition_ = productCondition_;
if (((from_bitField1_ & 0x00000010) != 0)) {
to_bitField1_ |= 0x00000010;
}
result.productCountry_ = productCountry_;
if (((from_bitField1_ & 0x00000020) != 0)) {
to_bitField1_ |= 0x00000020;
}
result.productCustomAttribute0_ = productCustomAttribute0_;
if (((from_bitField1_ & 0x00000040) != 0)) {
to_bitField1_ |= 0x00000040;
}
result.productCustomAttribute1_ = productCustomAttribute1_;
if (((from_bitField1_ & 0x00000080) != 0)) {
to_bitField1_ |= 0x00000080;
}
result.productCustomAttribute2_ = productCustomAttribute2_;
if (((from_bitField1_ & 0x00000100) != 0)) {
to_bitField1_ |= 0x00000100;
}
result.productCustomAttribute3_ = productCustomAttribute3_;
if (((from_bitField1_ & 0x00000200) != 0)) {
to_bitField1_ |= 0x00000200;
}
result.productCustomAttribute4_ = productCustomAttribute4_;
if (((from_bitField1_ & 0x00000400) != 0)) {
to_bitField1_ |= 0x00000400;
}
result.productItemId_ = productItemId_;
if (((from_bitField1_ & 0x00000800) != 0)) {
to_bitField1_ |= 0x00000800;
}
result.productLanguage_ = productLanguage_;
if (((from_bitField1_ & 0x00001000) != 0)) {
result.productMerchantId_ = productMerchantId_;
to_bitField1_ |= 0x00001000;
}
if (((from_bitField1_ & 0x00002000) != 0)) {
to_bitField1_ |= 0x00002000;
}
result.productStoreId_ = productStoreId_;
if (((from_bitField1_ & 0x00004000) != 0)) {
to_bitField1_ |= 0x00004000;
}
result.productTitle_ = productTitle_;
if (((from_bitField1_ & 0x00008000) != 0)) {
to_bitField1_ |= 0x00008000;
}
result.productTypeL1_ = productTypeL1_;
if (((from_bitField1_ & 0x00010000) != 0)) {
to_bitField1_ |= 0x00010000;
}
result.productTypeL2_ = productTypeL2_;
if (((from_bitField1_ & 0x00020000) != 0)) {
to_bitField1_ |= 0x00020000;
}
result.productTypeL3_ = productTypeL3_;
if (((from_bitField1_ & 0x00040000) != 0)) {
to_bitField1_ |= 0x00040000;
}
result.productTypeL4_ = productTypeL4_;
if (((from_bitField1_ & 0x00080000) != 0)) {
to_bitField1_ |= 0x00080000;
}
result.productTypeL5_ = productTypeL5_;
if (((from_bitField1_ & 0x00100000) != 0)) {
to_bitField1_ |= 0x00100000;
}
result.quarter_ = quarter_;
result.recommendationType_ = recommendationType_;
result.searchEngineResultsPageType_ = searchEngineResultsPageType_;
result.searchTermMatchType_ = searchTermMatchType_;
result.slot_ = slot_;
result.conversionValueRulePrimaryDimension_ = conversionValueRulePrimaryDimension_;
if (((from_bitField1_ & 0x00200000) != 0)) {
to_bitField1_ |= 0x00200000;
}
result.webpage_ = webpage_;
if (((from_bitField1_ & 0x00400000) != 0)) {
to_bitField1_ |= 0x00400000;
}
result.week_ = week_;
if (((from_bitField1_ & 0x00800000) != 0)) {
result.year_ = year_;
to_bitField1_ |= 0x00800000;
}
if (((from_bitField1_ & 0x01000000) != 0)) {
result.skAdNetworkConversionValue_ = skAdNetworkConversionValue_;
to_bitField1_ |= 0x01000000;
}
result.skAdNetworkUserType_ = skAdNetworkUserType_;
result.skAdNetworkAdEventType_ = skAdNetworkAdEventType_;
if (((from_bitField1_ & 0x02000000) != 0)) {
if (skAdNetworkSourceAppBuilder_ == null) {
result.skAdNetworkSourceApp_ = skAdNetworkSourceApp_;
} else {
result.skAdNetworkSourceApp_ = skAdNetworkSourceAppBuilder_.build();
}
to_bitField1_ |= 0x02000000;
}
result.skAdNetworkAttributionCredit_ = skAdNetworkAttributionCredit_;
if (((from_bitField1_ & 0x04000000) != 0)) {
if (assetInteractionTargetBuilder_ == null) {
result.assetInteractionTarget_ = assetInteractionTarget_;
} else {
result.assetInteractionTarget_ = assetInteractionTargetBuilder_.build();
}
to_bitField1_ |= 0x04000000;
}
result.bitField0_ = to_bitField0_;
result.bitField1_ = to_bitField1_;
onBuilt();
return result;
}
@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.v10.common.Segments) {
return mergeFrom((com.google.ads.googleads.v10.common.Segments)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v10.common.Segments other) {
if (other == com.google.ads.googleads.v10.common.Segments.getDefaultInstance()) return this;
if (other.adDestinationType_ != 0) {
setAdDestinationTypeValue(other.getAdDestinationTypeValue());
}
if (other.adNetworkType_ != 0) {
setAdNetworkTypeValue(other.getAdNetworkTypeValue());
}
if (other.hasBudgetCampaignAssociationStatus()) {
mergeBudgetCampaignAssociationStatus(other.getBudgetCampaignAssociationStatus());
}
if (other.clickType_ != 0) {
setClickTypeValue(other.getClickTypeValue());
}
if (other.hasConversionAction()) {
bitField0_ |= 0x00000001;
conversionAction_ = other.conversionAction_;
onChanged();
}
if (other.conversionActionCategory_ != 0) {
setConversionActionCategoryValue(other.getConversionActionCategoryValue());
}
if (other.hasConversionActionName()) {
bitField0_ |= 0x00000002;
conversionActionName_ = other.conversionActionName_;
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()) {
bitField0_ |= 0x00000008;
date_ = other.date_;
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()) {
bitField0_ |= 0x00000010;
geoTargetAirport_ = other.geoTargetAirport_;
onChanged();
}
if (other.hasGeoTargetCanton()) {
bitField0_ |= 0x00000020;
geoTargetCanton_ = other.geoTargetCanton_;
onChanged();
}
if (other.hasGeoTargetCity()) {
bitField0_ |= 0x00000040;
geoTargetCity_ = other.geoTargetCity_;
onChanged();
}
if (other.hasGeoTargetCountry()) {
bitField0_ |= 0x00000080;
geoTargetCountry_ = other.geoTargetCountry_;
onChanged();
}
if (other.hasGeoTargetCounty()) {
bitField0_ |= 0x00000100;
geoTargetCounty_ = other.geoTargetCounty_;
onChanged();
}
if (other.hasGeoTargetDistrict()) {
bitField0_ |= 0x00000200;
geoTargetDistrict_ = other.geoTargetDistrict_;
onChanged();
}
if (other.hasGeoTargetMetro()) {
bitField0_ |= 0x00000400;
geoTargetMetro_ = other.geoTargetMetro_;
onChanged();
}
if (other.hasGeoTargetMostSpecificLocation()) {
bitField0_ |= 0x00000800;
geoTargetMostSpecificLocation_ = other.geoTargetMostSpecificLocation_;
onChanged();
}
if (other.hasGeoTargetPostalCode()) {
bitField0_ |= 0x00001000;
geoTargetPostalCode_ = other.geoTargetPostalCode_;
onChanged();
}
if (other.hasGeoTargetProvince()) {
bitField0_ |= 0x00002000;
geoTargetProvince_ = other.geoTargetProvince_;
onChanged();
}
if (other.hasGeoTargetRegion()) {
bitField0_ |= 0x00004000;
geoTargetRegion_ = other.geoTargetRegion_;
onChanged();
}
if (other.hasGeoTargetState()) {
bitField0_ |= 0x00008000;
geoTargetState_ = other.geoTargetState_;
onChanged();
}
if (other.hasHotelBookingWindowDays()) {
setHotelBookingWindowDays(other.getHotelBookingWindowDays());
}
if (other.hasHotelCenterId()) {
setHotelCenterId(other.getHotelCenterId());
}
if (other.hasHotelCheckInDate()) {
bitField0_ |= 0x00040000;
hotelCheckInDate_ = other.hotelCheckInDate_;
onChanged();
}
if (other.hotelCheckInDayOfWeek_ != 0) {
setHotelCheckInDayOfWeekValue(other.getHotelCheckInDayOfWeekValue());
}
if (other.hasHotelCity()) {
bitField0_ |= 0x00080000;
hotelCity_ = other.hotelCity_;
onChanged();
}
if (other.hasHotelClass()) {
setHotelClass(other.getHotelClass());
}
if (other.hasHotelCountry()) {
bitField0_ |= 0x00200000;
hotelCountry_ = other.hotelCountry_;
onChanged();
}
if (other.hotelDateSelectionType_ != 0) {
setHotelDateSelectionTypeValue(other.getHotelDateSelectionTypeValue());
}
if (other.hasHotelLengthOfStay()) {
setHotelLengthOfStay(other.getHotelLengthOfStay());
}
if (other.hasHotelRateRuleId()) {
bitField0_ |= 0x00800000;
hotelRateRuleId_ = other.hotelRateRuleId_;
onChanged();
}
if (other.hotelRateType_ != 0) {
setHotelRateTypeValue(other.getHotelRateTypeValue());
}
if (other.hotelPriceBucket_ != 0) {
setHotelPriceBucketValue(other.getHotelPriceBucketValue());
}
if (other.hasHotelState()) {
bitField0_ |= 0x01000000;
hotelState_ = other.hotelState_;
onChanged();
}
if (other.hasHour()) {
setHour(other.getHour());
}
if (other.hasInteractionOnThisExtension()) {
setInteractionOnThisExtension(other.getInteractionOnThisExtension());
}
if (other.hasKeyword()) {
mergeKeyword(other.getKeyword());
}
if (other.hasMonth()) {
bitField0_ |= 0x08000000;
month_ = other.month_;
onChanged();
}
if (other.monthOfYear_ != 0) {
setMonthOfYearValue(other.getMonthOfYearValue());
}
if (other.hasPartnerHotelId()) {
bitField0_ |= 0x10000000;
partnerHotelId_ = other.partnerHotelId_;
onChanged();
}
if (other.placeholderType_ != 0) {
setPlaceholderTypeValue(other.getPlaceholderTypeValue());
}
if (other.hasProductAggregatorId()) {
setProductAggregatorId(other.getProductAggregatorId());
}
if (other.hasProductBiddingCategoryLevel1()) {
bitField0_ |= 0x40000000;
productBiddingCategoryLevel1_ = other.productBiddingCategoryLevel1_;
onChanged();
}
if (other.hasProductBiddingCategoryLevel2()) {
bitField0_ |= 0x80000000;
productBiddingCategoryLevel2_ = other.productBiddingCategoryLevel2_;
onChanged();
}
if (other.hasProductBiddingCategoryLevel3()) {
bitField1_ |= 0x00000001;
productBiddingCategoryLevel3_ = other.productBiddingCategoryLevel3_;
onChanged();
}
if (other.hasProductBiddingCategoryLevel4()) {
bitField1_ |= 0x00000002;
productBiddingCategoryLevel4_ = other.productBiddingCategoryLevel4_;
onChanged();
}
if (other.hasProductBiddingCategoryLevel5()) {
bitField1_ |= 0x00000004;
productBiddingCategoryLevel5_ = other.productBiddingCategoryLevel5_;
onChanged();
}
if (other.hasProductBrand()) {
bitField1_ |= 0x00000008;
productBrand_ = other.productBrand_;
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()) {
bitField1_ |= 0x00000010;
productCountry_ = other.productCountry_;
onChanged();
}
if (other.hasProductCustomAttribute0()) {
bitField1_ |= 0x00000020;
productCustomAttribute0_ = other.productCustomAttribute0_;
onChanged();
}
if (other.hasProductCustomAttribute1()) {
bitField1_ |= 0x00000040;
productCustomAttribute1_ = other.productCustomAttribute1_;
onChanged();
}
if (other.hasProductCustomAttribute2()) {
bitField1_ |= 0x00000080;
productCustomAttribute2_ = other.productCustomAttribute2_;
onChanged();
}
if (other.hasProductCustomAttribute3()) {
bitField1_ |= 0x00000100;
productCustomAttribute3_ = other.productCustomAttribute3_;
onChanged();
}
if (other.hasProductCustomAttribute4()) {
bitField1_ |= 0x00000200;
productCustomAttribute4_ = other.productCustomAttribute4_;
onChanged();
}
if (other.hasProductItemId()) {
bitField1_ |= 0x00000400;
productItemId_ = other.productItemId_;
onChanged();
}
if (other.hasProductLanguage()) {
bitField1_ |= 0x00000800;
productLanguage_ = other.productLanguage_;
onChanged();
}
if (other.hasProductMerchantId()) {
setProductMerchantId(other.getProductMerchantId());
}
if (other.hasProductStoreId()) {
bitField1_ |= 0x00002000;
productStoreId_ = other.productStoreId_;
onChanged();
}
if (other.hasProductTitle()) {
bitField1_ |= 0x00004000;
productTitle_ = other.productTitle_;
onChanged();
}
if (other.hasProductTypeL1()) {
bitField1_ |= 0x00008000;
productTypeL1_ = other.productTypeL1_;
onChanged();
}
if (other.hasProductTypeL2()) {
bitField1_ |= 0x00010000;
productTypeL2_ = other.productTypeL2_;
onChanged();
}
if (other.hasProductTypeL3()) {
bitField1_ |= 0x00020000;
productTypeL3_ = other.productTypeL3_;
onChanged();
}
if (other.hasProductTypeL4()) {
bitField1_ |= 0x00040000;
productTypeL4_ = other.productTypeL4_;
onChanged();
}
if (other.hasProductTypeL5()) {
bitField1_ |= 0x00080000;
productTypeL5_ = other.productTypeL5_;
onChanged();
}
if (other.hasQuarter()) {
bitField1_ |= 0x00100000;
quarter_ = other.quarter_;
onChanged();
}
if (other.recommendationType_ != 0) {
setRecommendationTypeValue(other.getRecommendationTypeValue());
}
if (other.searchEngineResultsPageType_ != 0) {
setSearchEngineResultsPageTypeValue(other.getSearchEngineResultsPageTypeValue());
}
if (other.searchTermMatchType_ != 0) {
setSearchTermMatchTypeValue(other.getSearchTermMatchTypeValue());
}
if (other.slot_ != 0) {
setSlotValue(other.getSlotValue());
}
if (other.conversionValueRulePrimaryDimension_ != 0) {
setConversionValueRulePrimaryDimensionValue(other.getConversionValueRulePrimaryDimensionValue());
}
if (other.hasWebpage()) {
bitField1_ |= 0x00200000;
webpage_ = other.webpage_;
onChanged();
}
if (other.hasWeek()) {
bitField1_ |= 0x00400000;
week_ = other.week_;
onChanged();
}
if (other.hasYear()) {
setYear(other.getYear());
}
if (other.hasSkAdNetworkConversionValue()) {
setSkAdNetworkConversionValue(other.getSkAdNetworkConversionValue());
}
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.hasAssetInteractionTarget()) {
mergeAssetInteractionTarget(other.getAssetInteractionTarget());
}
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();
break;
} // case 8
case 16: {
conversionAttributionEventType_ = input.readEnum();
break;
} // case 16
case 24: {
adNetworkType_ = input.readEnum();
break;
} // case 24
case 40: {
dayOfWeek_ = input.readEnum();
break;
} // case 40
case 72: {
hotelCheckInDayOfWeek_ = input.readEnum();
break;
} // case 72
case 104: {
hotelDateSelectionType_ = input.readEnum();
break;
} // case 104
case 144: {
monthOfYear_ = input.readEnum();
break;
} // case 144
case 160: {
placeholderType_ = input.readEnum();
break;
} // case 160
case 176: {
searchTermMatchType_ = input.readEnum();
break;
} // case 176
case 184: {
slot_ = input.readEnum();
break;
} // case 184
case 208: {
clickType_ = input.readEnum();
break;
} // case 208
case 240: {
productChannel_ = input.readEnum();
break;
} // case 240
case 248: {
productChannelExclusivity_ = input.readEnum();
break;
} // case 248
case 256: {
productCondition_ = input.readEnum();
break;
} // case 256
case 400: {
conversionLagBucket_ = input.readEnum();
break;
} // case 400
case 408: {
conversionOrAdjustmentLagBucket_ = input.readEnum();
break;
} // case 408
case 424: {
conversionActionCategory_ = input.readEnum();
break;
} // case 424
case 440: {
externalConversionSource_ = input.readEnum();
break;
} // case 440
case 490: {
input.readMessage(
getKeywordFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 490
case 560: {
searchEngineResultsPageType_ = input.readEnum();
break;
} // case 560
case 592: {
hotelRateType_ = input.readEnum();
break;
} // case 592
case 624: {
hotelPriceBucket_ = input.readEnum();
break;
} // case 624
case 634: {
date_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 634
case 640: {
hotelCenterId_ = input.readInt64();
bitField0_ |= 0x00020000;
break;
} // case 640
case 650: {
hotelCheckInDate_ = input.readStringRequireUtf8();
bitField0_ |= 0x00040000;
break;
} // case 650
case 658: {
hotelCity_ = input.readStringRequireUtf8();
bitField0_ |= 0x00080000;
break;
} // case 658
case 664: {
hotelClass_ = input.readInt32();
bitField0_ |= 0x00100000;
break;
} // case 664
case 674: {
hotelCountry_ = input.readStringRequireUtf8();
bitField0_ |= 0x00200000;
break;
} // case 674
case 680: {
hotelLengthOfStay_ = input.readInt32();
bitField0_ |= 0x00400000;
break;
} // case 680
case 690: {
hotelRateRuleId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00800000;
break;
} // case 690
case 698: {
hotelState_ = input.readStringRequireUtf8();
bitField0_ |= 0x01000000;
break;
} // case 698
case 704: {
hour_ = input.readInt32();
bitField0_ |= 0x02000000;
break;
} // case 704
case 712: {
interactionOnThisExtension_ = input.readBool();
bitField0_ |= 0x04000000;
break;
} // case 712
case 722: {
month_ = input.readStringRequireUtf8();
bitField0_ |= 0x08000000;
break;
} // case 722
case 730: {
partnerHotelId_ = input.readStringRequireUtf8();
bitField0_ |= 0x10000000;
break;
} // case 730
case 738: {
productBiddingCategoryLevel1_ = input.readStringRequireUtf8();
bitField0_ |= 0x40000000;
break;
} // case 738
case 746: {
productBiddingCategoryLevel2_ = input.readStringRequireUtf8();
bitField0_ |= 0x80000000;
break;
} // case 746
case 754: {
productBiddingCategoryLevel3_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000001;
break;
} // case 754
case 762: {
productBiddingCategoryLevel4_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000002;
break;
} // case 762
case 770: {
productBiddingCategoryLevel5_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000004;
break;
} // case 770
case 778: {
productBrand_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000008;
break;
} // case 778
case 786: {
productCountry_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000010;
break;
} // case 786
case 794: {
productCustomAttribute0_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000020;
break;
} // case 794
case 802: {
productCustomAttribute1_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000040;
break;
} // case 802
case 810: {
productCustomAttribute2_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000080;
break;
} // case 810
case 818: {
productCustomAttribute3_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000100;
break;
} // case 818
case 826: {
productCustomAttribute4_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000200;
break;
} // case 826
case 834: {
productItemId_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000400;
break;
} // case 834
case 842: {
productLanguage_ = input.readStringRequireUtf8();
bitField1_ |= 0x00000800;
break;
} // case 842
case 850: {
productStoreId_ = input.readStringRequireUtf8();
bitField1_ |= 0x00002000;
break;
} // case 850
case 858: {
productTitle_ = input.readStringRequireUtf8();
bitField1_ |= 0x00004000;
break;
} // case 858
case 866: {
productTypeL1_ = input.readStringRequireUtf8();
bitField1_ |= 0x00008000;
break;
} // case 866
case 874: {
productTypeL2_ = input.readStringRequireUtf8();
bitField1_ |= 0x00010000;
break;
} // case 874
case 882: {
productTypeL3_ = input.readStringRequireUtf8();
bitField1_ |= 0x00020000;
break;
} // case 882
case 890: {
productTypeL4_ = input.readStringRequireUtf8();
bitField1_ |= 0x00040000;
break;
} // case 890
case 898: {
productTypeL5_ = input.readStringRequireUtf8();
bitField1_ |= 0x00080000;
break;
} // case 898
case 906: {
conversionAction_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 906
case 914: {
conversionActionName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 914
case 920: {
conversionAdjustment_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 920
case 930: {
geoTargetAirport_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 930
case 938: {
geoTargetCanton_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 938
case 946: {
geoTargetCity_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 946
case 954: {
geoTargetCountry_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 954
case 962: {
geoTargetCounty_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 962
case 970: {
geoTargetDistrict_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 970
case 978: {
geoTargetMetro_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 978
case 986: {
geoTargetMostSpecificLocation_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 986
case 994: {
geoTargetPostalCode_ = input.readStringRequireUtf8();
bitField0_ |= 0x00001000;
break;
} // case 994
case 1002: {
geoTargetProvince_ = input.readStringRequireUtf8();
bitField0_ |= 0x00002000;
break;
} // case 1002
case 1010: {
geoTargetRegion_ = input.readStringRequireUtf8();
bitField0_ |= 0x00004000;
break;
} // case 1010
case 1018: {
geoTargetState_ = input.readStringRequireUtf8();
bitField0_ |= 0x00008000;
break;
} // case 1018
case 1026: {
quarter_ = input.readStringRequireUtf8();
bitField1_ |= 0x00100000;
break;
} // case 1026
case 1034: {
webpage_ = input.readStringRequireUtf8();
bitField1_ |= 0x00200000;
break;
} // case 1034
case 1042: {
week_ = input.readStringRequireUtf8();
bitField1_ |= 0x00400000;
break;
} // case 1042
case 1048: {
year_ = input.readInt32();
bitField1_ |= 0x00800000;
break;
} // case 1048
case 1056: {
productAggregatorId_ = input.readInt64();
bitField0_ |= 0x20000000;
break;
} // case 1056
case 1064: {
productMerchantId_ = input.readInt64();
bitField1_ |= 0x00001000;
break;
} // case 1064
case 1074: {
input.readMessage(
getBudgetCampaignAssociationStatusFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 1074
case 1080: {
hotelBookingWindowDays_ = input.readInt64();
bitField0_ |= 0x00010000;
break;
} // case 1080
case 1088: {
adDestinationType_ = input.readEnum();
break;
} // case 1088
case 1096: {
skAdNetworkConversionValue_ = input.readInt64();
bitField1_ |= 0x01000000;
break;
} // case 1096
case 1104: {
conversionValueRulePrimaryDimension_ = input.readEnum();
break;
} // case 1104
case 1114: {
input.readMessage(
getAssetInteractionTargetFieldBuilder().getBuilder(),
extensionRegistry);
bitField1_ |= 0x04000000;
break;
} // case 1114
case 1120: {
recommendationType_ = input.readEnum();
break;
} // case 1120
case 1128: {
skAdNetworkUserType_ = input.readEnum();
break;
} // case 1128
case 1136: {
skAdNetworkAdEventType_ = input.readEnum();
break;
} // case 1136
case 1146: {
input.readMessage(
getSkAdNetworkSourceAppFieldBuilder().getBuilder(),
extensionRegistry);
bitField1_ |= 0x02000000;
break;
} // case 1146
case 1152: {
skAdNetworkAttributionCredit_ = input.readEnum();
break;
} // case 1152
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 adDestinationType_ = 0;
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136;
* @return The adDestinationType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType getAdDestinationType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType result = com.google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType.valueOf(adDestinationType_);
return result == null ? com.google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType.UNRECOGNIZED : result;
}
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v10.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.v10.enums.AdDestinationTypeEnum.AdDestinationType value) {
if (value == null) {
throw new NullPointerException();
}
adDestinationType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Ad Destination type.
*
*
* .google.ads.googleads.v10.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136;
* @return This builder for chaining.
*/
public Builder clearAdDestinationType() {
adDestinationType_ = 0;
onChanged();
return this;
}
private int adNetworkType_ = 0;
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3;
* @return The adNetworkType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType getAdNetworkType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType result = com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType.valueOf(adNetworkType_);
return result == null ? com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType.UNRECOGNIZED : result;
}
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v10.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.v10.enums.AdNetworkTypeEnum.AdNetworkType value) {
if (value == null) {
throw new NullPointerException();
}
adNetworkType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Ad network type.
*
*
* .google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3;
* @return This builder for chaining.
*/
public Builder clearAdNetworkType() {
adNetworkType_ = 0;
onChanged();
return this;
}
private com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budgetCampaignAssociationStatus_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus, com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus.Builder, com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatusOrBuilder> budgetCampaignAssociationStatusBuilder_;
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
* @return Whether the budgetCampaignAssociationStatus field is set.
*/
public boolean hasBudgetCampaignAssociationStatus() {
return budgetCampaignAssociationStatusBuilder_ != null || budgetCampaignAssociationStatus_ != null;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
* @return The budgetCampaignAssociationStatus.
*/
public com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus getBudgetCampaignAssociationStatus() {
if (budgetCampaignAssociationStatusBuilder_ == null) {
return budgetCampaignAssociationStatus_ == null ? com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus.getDefaultInstance() : budgetCampaignAssociationStatus_;
} else {
return budgetCampaignAssociationStatusBuilder_.getMessage();
}
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public Builder setBudgetCampaignAssociationStatus(com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus value) {
if (budgetCampaignAssociationStatusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
budgetCampaignAssociationStatus_ = value;
onChanged();
} else {
budgetCampaignAssociationStatusBuilder_.setMessage(value);
}
return this;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public Builder setBudgetCampaignAssociationStatus(
com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus.Builder builderForValue) {
if (budgetCampaignAssociationStatusBuilder_ == null) {
budgetCampaignAssociationStatus_ = builderForValue.build();
onChanged();
} else {
budgetCampaignAssociationStatusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public Builder mergeBudgetCampaignAssociationStatus(com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus value) {
if (budgetCampaignAssociationStatusBuilder_ == null) {
if (budgetCampaignAssociationStatus_ != null) {
budgetCampaignAssociationStatus_ =
com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus.newBuilder(budgetCampaignAssociationStatus_).mergeFrom(value).buildPartial();
} else {
budgetCampaignAssociationStatus_ = value;
}
onChanged();
} else {
budgetCampaignAssociationStatusBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public Builder clearBudgetCampaignAssociationStatus() {
if (budgetCampaignAssociationStatusBuilder_ == null) {
budgetCampaignAssociationStatus_ = null;
onChanged();
} else {
budgetCampaignAssociationStatus_ = null;
budgetCampaignAssociationStatusBuilder_ = null;
}
return this;
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus.Builder getBudgetCampaignAssociationStatusBuilder() {
onChanged();
return getBudgetCampaignAssociationStatusFieldBuilder().getBuilder();
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
public com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatusOrBuilder getBudgetCampaignAssociationStatusOrBuilder() {
if (budgetCampaignAssociationStatusBuilder_ != null) {
return budgetCampaignAssociationStatusBuilder_.getMessageOrBuilder();
} else {
return budgetCampaignAssociationStatus_ == null ?
com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus.getDefaultInstance() : budgetCampaignAssociationStatus_;
}
}
/**
*
* Budget campaign association status.
*
*
* .google.ads.googleads.v10.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus, com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus.Builder, com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatusOrBuilder>
getBudgetCampaignAssociationStatusFieldBuilder() {
if (budgetCampaignAssociationStatusBuilder_ == null) {
budgetCampaignAssociationStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus, com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatus.Builder, com.google.ads.googleads.v10.common.BudgetCampaignAssociationStatusOrBuilder>(
getBudgetCampaignAssociationStatus(),
getParentForChildren(),
isClean());
budgetCampaignAssociationStatus_ = null;
}
return budgetCampaignAssociationStatusBuilder_;
}
private int clickType_ = 0;
/**
*
* Click type.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Click type.
*
*
* .google.ads.googleads.v10.enums.ClickTypeEnum.ClickType click_type = 26;
* @return The clickType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType getClickType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType result = com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType.valueOf(clickType_);
return result == null ? com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType.UNRECOGNIZED : result;
}
/**
*
* Click type.
*
*
* .google.ads.googleads.v10.enums.ClickTypeEnum.ClickType click_type = 26;
* @param value The clickType to set.
* @return This builder for chaining.
*/
public Builder setClickType(com.google.ads.googleads.v10.enums.ClickTypeEnum.ClickType value) {
if (value == null) {
throw new NullPointerException();
}
clickType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Click type.
*
*
* .google.ads.googleads.v10.enums.ClickTypeEnum.ClickType click_type = 26;
* @return This builder for chaining.
*/
public Builder clearClickType() {
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_ & 0x00000001) != 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();
}
bitField0_ |= 0x00000001;
conversionAction_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00000001);
conversionAction_ = getDefaultInstance().getConversionAction();
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);
bitField0_ |= 0x00000001;
conversionAction_ = value;
onChanged();
return this;
}
private int conversionActionCategory_ = 0;
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53;
* @return The conversionActionCategory.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory getConversionActionCategory() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory result = com.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory.valueOf(conversionActionCategory_);
return result == null ? com.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory.UNRECOGNIZED : result;
}
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v10.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.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory value) {
if (value == null) {
throw new NullPointerException();
}
conversionActionCategory_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Conversion action category.
*
*
* .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53;
* @return This builder for chaining.
*/
public Builder clearConversionActionCategory() {
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_ & 0x00000002) != 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();
}
bitField0_ |= 0x00000002;
conversionActionName_ = value;
onChanged();
return this;
}
/**
*
* Conversion action name.
*
*
* optional string conversion_action_name = 114;
* @return This builder for chaining.
*/
public Builder clearConversionActionName() {
bitField0_ = (bitField0_ & ~0x00000002);
conversionActionName_ = getDefaultInstance().getConversionActionName();
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);
bitField0_ |= 0x00000002;
conversionActionName_ = value;
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_ & 0x00000004) != 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) {
bitField0_ |= 0x00000004;
conversionAdjustment_ = value;
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_ & ~0x00000004);
conversionAdjustment_ = false;
onChanged();
return this;
}
private int conversionAttributionEventType_ = 0;
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2;
* @return The conversionAttributionEventType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType getConversionAttributionEventType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType result = com.google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.valueOf(conversionAttributionEventType_);
return result == null ? com.google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType.UNRECOGNIZED : result;
}
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v10.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.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType value) {
if (value == null) {
throw new NullPointerException();
}
conversionAttributionEventType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Conversion attribution event type.
*
*
* .google.ads.googleads.v10.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2;
* @return This builder for chaining.
*/
public Builder clearConversionAttributionEventType() {
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.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50;
* @return The conversionLagBucket.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket getConversionLagBucket() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket result = com.google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket.valueOf(conversionLagBucket_);
return result == null ? com.google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket.UNRECOGNIZED : result;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v10.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.v10.enums.ConversionLagBucketEnum.ConversionLagBucket value) {
if (value == null) {
throw new NullPointerException();
}
conversionLagBucket_ = value.getNumber();
onChanged();
return this;
}
/**
*
* An enum value representing the number of days between the impression and
* the conversion.
*
*
* .google.ads.googleads.v10.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50;
* @return This builder for chaining.
*/
public Builder clearConversionLagBucket() {
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.v10.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.v10.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;
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.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51;
* @return The conversionOrAdjustmentLagBucket.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket getConversionOrAdjustmentLagBucket() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket result = com.google.ads.googleads.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket.valueOf(conversionOrAdjustmentLagBucket_);
return result == null ? com.google.ads.googleads.v10.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.v10.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.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket value) {
if (value == null) {
throw new NullPointerException();
}
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.v10.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51;
* @return This builder for chaining.
*/
public Builder clearConversionOrAdjustmentLagBucket() {
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_ & 0x00000008) != 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();
}
bitField0_ |= 0x00000008;
date_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00000008);
date_ = getDefaultInstance().getDate();
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);
bitField0_ |= 0x00000008;
date_ = value;
onChanged();
return this;
}
private int dayOfWeek_ = 0;
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
* @return The dayOfWeek.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek getDayOfWeek() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek result = com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.valueOf(dayOfWeek_);
return result == null ? com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.UNRECOGNIZED : result;
}
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v10.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.v10.enums.DayOfWeekEnum.DayOfWeek value) {
if (value == null) {
throw new NullPointerException();
}
dayOfWeek_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Day of the week, for example, MONDAY.
*
*
* .google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5;
* @return This builder for chaining.
*/
public Builder clearDayOfWeek() {
dayOfWeek_ = 0;
onChanged();
return this;
}
private int device_ = 0;
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v10.enums.DeviceEnum.Device device = 1;
* @return The device.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.DeviceEnum.Device getDevice() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.DeviceEnum.Device result = com.google.ads.googleads.v10.enums.DeviceEnum.Device.valueOf(device_);
return result == null ? com.google.ads.googleads.v10.enums.DeviceEnum.Device.UNRECOGNIZED : result;
}
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v10.enums.DeviceEnum.Device device = 1;
* @param value The device to set.
* @return This builder for chaining.
*/
public Builder setDevice(com.google.ads.googleads.v10.enums.DeviceEnum.Device value) {
if (value == null) {
throw new NullPointerException();
}
device_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Device to which metrics apply.
*
*
* .google.ads.googleads.v10.enums.DeviceEnum.Device device = 1;
* @return This builder for chaining.
*/
public Builder clearDevice() {
device_ = 0;
onChanged();
return this;
}
private int externalConversionSource_ = 0;
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55;
* @return The externalConversionSource.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource getExternalConversionSource() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource result = com.google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource.valueOf(externalConversionSource_);
return result == null ? com.google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource.UNRECOGNIZED : result;
}
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v10.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.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource value) {
if (value == null) {
throw new NullPointerException();
}
externalConversionSource_ = value.getNumber();
onChanged();
return this;
}
/**
*
* External conversion source.
*
*
* .google.ads.googleads.v10.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55;
* @return This builder for chaining.
*/
public Builder clearExternalConversionSource() {
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_ & 0x00000010) != 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();
}
bitField0_ |= 0x00000010;
geoTargetAirport_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00000010);
geoTargetAirport_ = getDefaultInstance().getGeoTargetAirport();
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);
bitField0_ |= 0x00000010;
geoTargetAirport_ = value;
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_ & 0x00000020) != 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();
}
bitField0_ |= 0x00000020;
geoTargetCanton_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00000020);
geoTargetCanton_ = getDefaultInstance().getGeoTargetCanton();
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);
bitField0_ |= 0x00000020;
geoTargetCanton_ = value;
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_ & 0x00000040) != 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();
}
bitField0_ |= 0x00000040;
geoTargetCity_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00000040);
geoTargetCity_ = getDefaultInstance().getGeoTargetCity();
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);
bitField0_ |= 0x00000040;
geoTargetCity_ = value;
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_ & 0x00000080) != 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();
}
bitField0_ |= 0x00000080;
geoTargetCountry_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00000080);
geoTargetCountry_ = getDefaultInstance().getGeoTargetCountry();
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);
bitField0_ |= 0x00000080;
geoTargetCountry_ = value;
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_ & 0x00000100) != 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();
}
bitField0_ |= 0x00000100;
geoTargetCounty_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00000100);
geoTargetCounty_ = getDefaultInstance().getGeoTargetCounty();
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);
bitField0_ |= 0x00000100;
geoTargetCounty_ = value;
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_ & 0x00000200) != 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();
}
bitField0_ |= 0x00000200;
geoTargetDistrict_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00000200);
geoTargetDistrict_ = getDefaultInstance().getGeoTargetDistrict();
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);
bitField0_ |= 0x00000200;
geoTargetDistrict_ = value;
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 ((bitField0_ & 0x00000400) != 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();
}
bitField0_ |= 0x00000400;
geoTargetMetro_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00000400);
geoTargetMetro_ = getDefaultInstance().getGeoTargetMetro();
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);
bitField0_ |= 0x00000400;
geoTargetMetro_ = value;
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 ((bitField0_ & 0x00000800) != 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();
}
bitField0_ |= 0x00000800;
geoTargetMostSpecificLocation_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00000800);
geoTargetMostSpecificLocation_ = getDefaultInstance().getGeoTargetMostSpecificLocation();
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);
bitField0_ |= 0x00000800;
geoTargetMostSpecificLocation_ = value;
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 ((bitField0_ & 0x00001000) != 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();
}
bitField0_ |= 0x00001000;
geoTargetPostalCode_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00001000);
geoTargetPostalCode_ = getDefaultInstance().getGeoTargetPostalCode();
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);
bitField0_ |= 0x00001000;
geoTargetPostalCode_ = value;
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 ((bitField0_ & 0x00002000) != 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();
}
bitField0_ |= 0x00002000;
geoTargetProvince_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00002000);
geoTargetProvince_ = getDefaultInstance().getGeoTargetProvince();
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);
bitField0_ |= 0x00002000;
geoTargetProvince_ = value;
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 ((bitField0_ & 0x00004000) != 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();
}
bitField0_ |= 0x00004000;
geoTargetRegion_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00004000);
geoTargetRegion_ = getDefaultInstance().getGeoTargetRegion();
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);
bitField0_ |= 0x00004000;
geoTargetRegion_ = value;
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 ((bitField0_ & 0x00008000) != 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();
}
bitField0_ |= 0x00008000;
geoTargetState_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00008000);
geoTargetState_ = getDefaultInstance().getGeoTargetState();
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);
bitField0_ |= 0x00008000;
geoTargetState_ = value;
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 ((bitField0_ & 0x00010000) != 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) {
bitField0_ |= 0x00010000;
hotelBookingWindowDays_ = value;
onChanged();
return this;
}
/**
*
* Hotel booking window in days.
*
*
* optional int64 hotel_booking_window_days = 135;
* @return This builder for chaining.
*/
public Builder clearHotelBookingWindowDays() {
bitField0_ = (bitField0_ & ~0x00010000);
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 ((bitField0_ & 0x00020000) != 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) {
bitField0_ |= 0x00020000;
hotelCenterId_ = value;
onChanged();
return this;
}
/**
*
* Hotel center ID.
*
*
* optional int64 hotel_center_id = 80;
* @return This builder for chaining.
*/
public Builder clearHotelCenterId() {
bitField0_ = (bitField0_ & ~0x00020000);
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 ((bitField0_ & 0x00040000) != 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();
}
bitField0_ |= 0x00040000;
hotelCheckInDate_ = value;
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() {
bitField0_ = (bitField0_ & ~0x00040000);
hotelCheckInDate_ = getDefaultInstance().getHotelCheckInDate();
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);
bitField0_ |= 0x00040000;
hotelCheckInDate_ = value;
onChanged();
return this;
}
private int hotelCheckInDayOfWeek_ = 0;
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9;
* @return The hotelCheckInDayOfWeek.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek getHotelCheckInDayOfWeek() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek result = com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.valueOf(hotelCheckInDayOfWeek_);
return result == null ? com.google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek.UNRECOGNIZED : result;
}
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v10.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.v10.enums.DayOfWeekEnum.DayOfWeek value) {
if (value == null) {
throw new NullPointerException();
}
hotelCheckInDayOfWeek_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Hotel check-in day of week.
*
*
* .google.ads.googleads.v10.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9;
* @return This builder for chaining.
*/
public Builder clearHotelCheckInDayOfWeek() {
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 ((bitField0_ & 0x00080000) != 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();
}
bitField0_ |= 0x00080000;
hotelCity_ = value;
onChanged();
return this;
}
/**
*
* Hotel city.
*
*
* optional string hotel_city = 82;
* @return This builder for chaining.
*/
public Builder clearHotelCity() {
bitField0_ = (bitField0_ & ~0x00080000);
hotelCity_ = getDefaultInstance().getHotelCity();
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);
bitField0_ |= 0x00080000;
hotelCity_ = value;
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 ((bitField0_ & 0x00100000) != 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) {
bitField0_ |= 0x00100000;
hotelClass_ = value;
onChanged();
return this;
}
/**
*
* Hotel class.
*
*
* optional int32 hotel_class = 83;
* @return This builder for chaining.
*/
public Builder clearHotelClass() {
bitField0_ = (bitField0_ & ~0x00100000);
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 ((bitField0_ & 0x00200000) != 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();
}
bitField0_ |= 0x00200000;
hotelCountry_ = value;
onChanged();
return this;
}
/**
*
* Hotel country.
*
*
* optional string hotel_country = 84;
* @return This builder for chaining.
*/
public Builder clearHotelCountry() {
bitField0_ = (bitField0_ & ~0x00200000);
hotelCountry_ = getDefaultInstance().getHotelCountry();
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);
bitField0_ |= 0x00200000;
hotelCountry_ = value;
onChanged();
return this;
}
private int hotelDateSelectionType_ = 0;
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13;
* @return The hotelDateSelectionType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType getHotelDateSelectionType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType result = com.google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.valueOf(hotelDateSelectionType_);
return result == null ? com.google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType.UNRECOGNIZED : result;
}
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v10.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.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType value) {
if (value == null) {
throw new NullPointerException();
}
hotelDateSelectionType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Hotel date selection type.
*
*
* .google.ads.googleads.v10.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13;
* @return This builder for chaining.
*/
public Builder clearHotelDateSelectionType() {
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 ((bitField0_ & 0x00400000) != 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) {
bitField0_ |= 0x00400000;
hotelLengthOfStay_ = value;
onChanged();
return this;
}
/**
*
* Hotel length of stay.
*
*
* optional int32 hotel_length_of_stay = 85;
* @return This builder for chaining.
*/
public Builder clearHotelLengthOfStay() {
bitField0_ = (bitField0_ & ~0x00400000);
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 ((bitField0_ & 0x00800000) != 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();
}
bitField0_ |= 0x00800000;
hotelRateRuleId_ = value;
onChanged();
return this;
}
/**
*
* Hotel rate rule ID.
*
*
* optional string hotel_rate_rule_id = 86;
* @return This builder for chaining.
*/
public Builder clearHotelRateRuleId() {
bitField0_ = (bitField0_ & ~0x00800000);
hotelRateRuleId_ = getDefaultInstance().getHotelRateRuleId();
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);
bitField0_ |= 0x00800000;
hotelRateRuleId_ = value;
onChanged();
return this;
}
private int hotelRateType_ = 0;
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74;
* @return The hotelRateType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType getHotelRateType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType result = com.google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType.valueOf(hotelRateType_);
return result == null ? com.google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType.UNRECOGNIZED : result;
}
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v10.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.v10.enums.HotelRateTypeEnum.HotelRateType value) {
if (value == null) {
throw new NullPointerException();
}
hotelRateType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Hotel rate type.
*
*
* .google.ads.googleads.v10.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74;
* @return This builder for chaining.
*/
public Builder clearHotelRateType() {
hotelRateType_ = 0;
onChanged();
return this;
}
private int hotelPriceBucket_ = 0;
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78;
* @return The hotelPriceBucket.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket getHotelPriceBucket() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket result = com.google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket.valueOf(hotelPriceBucket_);
return result == null ? com.google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket.UNRECOGNIZED : result;
}
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v10.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.v10.enums.HotelPriceBucketEnum.HotelPriceBucket value) {
if (value == null) {
throw new NullPointerException();
}
hotelPriceBucket_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Hotel price bucket.
*
*
* .google.ads.googleads.v10.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78;
* @return This builder for chaining.
*/
public Builder clearHotelPriceBucket() {
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 ((bitField0_ & 0x01000000) != 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();
}
bitField0_ |= 0x01000000;
hotelState_ = value;
onChanged();
return this;
}
/**
*
* Hotel state.
*
*
* optional string hotel_state = 87;
* @return This builder for chaining.
*/
public Builder clearHotelState() {
bitField0_ = (bitField0_ & ~0x01000000);
hotelState_ = getDefaultInstance().getHotelState();
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);
bitField0_ |= 0x01000000;
hotelState_ = value;
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 ((bitField0_ & 0x02000000) != 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) {
bitField0_ |= 0x02000000;
hour_ = value;
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() {
bitField0_ = (bitField0_ & ~0x02000000);
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 ((bitField0_ & 0x04000000) != 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) {
bitField0_ |= 0x04000000;
interactionOnThisExtension_ = value;
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() {
bitField0_ = (bitField0_ & ~0x04000000);
interactionOnThisExtension_ = false;
onChanged();
return this;
}
private com.google.ads.googleads.v10.common.Keyword keyword_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Keyword, com.google.ads.googleads.v10.common.Keyword.Builder, com.google.ads.googleads.v10.common.KeywordOrBuilder> keywordBuilder_;
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
* @return Whether the keyword field is set.
*/
public boolean hasKeyword() {
return keywordBuilder_ != null || keyword_ != null;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
* @return The keyword.
*/
public com.google.ads.googleads.v10.common.Keyword getKeyword() {
if (keywordBuilder_ == null) {
return keyword_ == null ? com.google.ads.googleads.v10.common.Keyword.getDefaultInstance() : keyword_;
} else {
return keywordBuilder_.getMessage();
}
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
*/
public Builder setKeyword(com.google.ads.googleads.v10.common.Keyword value) {
if (keywordBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
keyword_ = value;
onChanged();
} else {
keywordBuilder_.setMessage(value);
}
return this;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
*/
public Builder setKeyword(
com.google.ads.googleads.v10.common.Keyword.Builder builderForValue) {
if (keywordBuilder_ == null) {
keyword_ = builderForValue.build();
onChanged();
} else {
keywordBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
*/
public Builder mergeKeyword(com.google.ads.googleads.v10.common.Keyword value) {
if (keywordBuilder_ == null) {
if (keyword_ != null) {
keyword_ =
com.google.ads.googleads.v10.common.Keyword.newBuilder(keyword_).mergeFrom(value).buildPartial();
} else {
keyword_ = value;
}
onChanged();
} else {
keywordBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
*/
public Builder clearKeyword() {
if (keywordBuilder_ == null) {
keyword_ = null;
onChanged();
} else {
keyword_ = null;
keywordBuilder_ = null;
}
return this;
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
*/
public com.google.ads.googleads.v10.common.Keyword.Builder getKeywordBuilder() {
onChanged();
return getKeywordFieldBuilder().getBuilder();
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
*/
public com.google.ads.googleads.v10.common.KeywordOrBuilder getKeywordOrBuilder() {
if (keywordBuilder_ != null) {
return keywordBuilder_.getMessageOrBuilder();
} else {
return keyword_ == null ?
com.google.ads.googleads.v10.common.Keyword.getDefaultInstance() : keyword_;
}
}
/**
*
* Keyword criterion.
*
*
* .google.ads.googleads.v10.common.Keyword keyword = 61;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Keyword, com.google.ads.googleads.v10.common.Keyword.Builder, com.google.ads.googleads.v10.common.KeywordOrBuilder>
getKeywordFieldBuilder() {
if (keywordBuilder_ == null) {
keywordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Keyword, com.google.ads.googleads.v10.common.Keyword.Builder, com.google.ads.googleads.v10.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 ((bitField0_ & 0x08000000) != 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();
}
bitField0_ |= 0x08000000;
month_ = value;
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() {
bitField0_ = (bitField0_ & ~0x08000000);
month_ = getDefaultInstance().getMonth();
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);
bitField0_ |= 0x08000000;
month_ = value;
onChanged();
return this;
}
private int monthOfYear_ = 0;
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
* @return The monthOfYear.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear getMonthOfYear() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear result = com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear.valueOf(monthOfYear_);
return result == null ? com.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear.UNRECOGNIZED : result;
}
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v10.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.v10.enums.MonthOfYearEnum.MonthOfYear value) {
if (value == null) {
throw new NullPointerException();
}
monthOfYear_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Month of the year, for example, January.
*
*
* .google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18;
* @return This builder for chaining.
*/
public Builder clearMonthOfYear() {
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 ((bitField0_ & 0x10000000) != 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();
}
bitField0_ |= 0x10000000;
partnerHotelId_ = value;
onChanged();
return this;
}
/**
*
* Partner hotel ID.
*
*
* optional string partner_hotel_id = 91;
* @return This builder for chaining.
*/
public Builder clearPartnerHotelId() {
bitField0_ = (bitField0_ & ~0x10000000);
partnerHotelId_ = getDefaultInstance().getPartnerHotelId();
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);
bitField0_ |= 0x10000000;
partnerHotelId_ = value;
onChanged();
return this;
}
private int placeholderType_ = 0;
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @return The placeholderType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType getPlaceholderType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType result = com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType.valueOf(placeholderType_);
return result == null ? com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType.UNRECOGNIZED : result;
}
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @param value The placeholderType to set.
* @return This builder for chaining.
*/
public Builder setPlaceholderType(com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType value) {
if (value == null) {
throw new NullPointerException();
}
placeholderType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Placeholder type. This is only used with feed item metrics.
*
*
* .google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20;
* @return This builder for chaining.
*/
public Builder clearPlaceholderType() {
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 ((bitField0_ & 0x20000000) != 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) {
bitField0_ |= 0x20000000;
productAggregatorId_ = value;
onChanged();
return this;
}
/**
*
* Aggregator ID of the product.
*
*
* optional int64 product_aggregator_id = 132;
* @return This builder for chaining.
*/
public Builder clearProductAggregatorId() {
bitField0_ = (bitField0_ & ~0x20000000);
productAggregatorId_ = 0L;
onChanged();
return this;
}
private java.lang.Object productBiddingCategoryLevel1_ = "";
/**
*
* Bidding category (level 1) of the product.
*
*
* optional string product_bidding_category_level1 = 92;
* @return Whether the productBiddingCategoryLevel1 field is set.
*/
public boolean hasProductBiddingCategoryLevel1() {
return ((bitField0_ & 0x40000000) != 0);
}
/**
*
* Bidding category (level 1) of the product.
*
*
* optional string product_bidding_category_level1 = 92;
* @return The productBiddingCategoryLevel1.
*/
public java.lang.String getProductBiddingCategoryLevel1() {
java.lang.Object ref = productBiddingCategoryLevel1_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productBiddingCategoryLevel1_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Bidding category (level 1) of the product.
*
*
* optional string product_bidding_category_level1 = 92;
* @return The bytes for productBiddingCategoryLevel1.
*/
public com.google.protobuf.ByteString
getProductBiddingCategoryLevel1Bytes() {
java.lang.Object ref = productBiddingCategoryLevel1_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBiddingCategoryLevel1_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Bidding category (level 1) of the product.
*
*
* optional string product_bidding_category_level1 = 92;
* @param value The productBiddingCategoryLevel1 to set.
* @return This builder for chaining.
*/
public Builder setProductBiddingCategoryLevel1(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x40000000;
productBiddingCategoryLevel1_ = value;
onChanged();
return this;
}
/**
*
* Bidding category (level 1) of the product.
*
*
* optional string product_bidding_category_level1 = 92;
* @return This builder for chaining.
*/
public Builder clearProductBiddingCategoryLevel1() {
bitField0_ = (bitField0_ & ~0x40000000);
productBiddingCategoryLevel1_ = getDefaultInstance().getProductBiddingCategoryLevel1();
onChanged();
return this;
}
/**
*
* Bidding category (level 1) of the product.
*
*
* optional string product_bidding_category_level1 = 92;
* @param value The bytes for productBiddingCategoryLevel1 to set.
* @return This builder for chaining.
*/
public Builder setProductBiddingCategoryLevel1Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x40000000;
productBiddingCategoryLevel1_ = value;
onChanged();
return this;
}
private java.lang.Object productBiddingCategoryLevel2_ = "";
/**
*
* Bidding category (level 2) of the product.
*
*
* optional string product_bidding_category_level2 = 93;
* @return Whether the productBiddingCategoryLevel2 field is set.
*/
public boolean hasProductBiddingCategoryLevel2() {
return ((bitField0_ & 0x80000000) != 0);
}
/**
*
* Bidding category (level 2) of the product.
*
*
* optional string product_bidding_category_level2 = 93;
* @return The productBiddingCategoryLevel2.
*/
public java.lang.String getProductBiddingCategoryLevel2() {
java.lang.Object ref = productBiddingCategoryLevel2_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productBiddingCategoryLevel2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Bidding category (level 2) of the product.
*
*
* optional string product_bidding_category_level2 = 93;
* @return The bytes for productBiddingCategoryLevel2.
*/
public com.google.protobuf.ByteString
getProductBiddingCategoryLevel2Bytes() {
java.lang.Object ref = productBiddingCategoryLevel2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBiddingCategoryLevel2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Bidding category (level 2) of the product.
*
*
* optional string product_bidding_category_level2 = 93;
* @param value The productBiddingCategoryLevel2 to set.
* @return This builder for chaining.
*/
public Builder setProductBiddingCategoryLevel2(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x80000000;
productBiddingCategoryLevel2_ = value;
onChanged();
return this;
}
/**
*
* Bidding category (level 2) of the product.
*
*
* optional string product_bidding_category_level2 = 93;
* @return This builder for chaining.
*/
public Builder clearProductBiddingCategoryLevel2() {
bitField0_ = (bitField0_ & ~0x80000000);
productBiddingCategoryLevel2_ = getDefaultInstance().getProductBiddingCategoryLevel2();
onChanged();
return this;
}
/**
*
* Bidding category (level 2) of the product.
*
*
* optional string product_bidding_category_level2 = 93;
* @param value The bytes for productBiddingCategoryLevel2 to set.
* @return This builder for chaining.
*/
public Builder setProductBiddingCategoryLevel2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x80000000;
productBiddingCategoryLevel2_ = value;
onChanged();
return this;
}
private java.lang.Object productBiddingCategoryLevel3_ = "";
/**
*
* Bidding category (level 3) of the product.
*
*
* optional string product_bidding_category_level3 = 94;
* @return Whether the productBiddingCategoryLevel3 field is set.
*/
public boolean hasProductBiddingCategoryLevel3() {
return ((bitField1_ & 0x00000001) != 0);
}
/**
*
* Bidding category (level 3) of the product.
*
*
* optional string product_bidding_category_level3 = 94;
* @return The productBiddingCategoryLevel3.
*/
public java.lang.String getProductBiddingCategoryLevel3() {
java.lang.Object ref = productBiddingCategoryLevel3_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productBiddingCategoryLevel3_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Bidding category (level 3) of the product.
*
*
* optional string product_bidding_category_level3 = 94;
* @return The bytes for productBiddingCategoryLevel3.
*/
public com.google.protobuf.ByteString
getProductBiddingCategoryLevel3Bytes() {
java.lang.Object ref = productBiddingCategoryLevel3_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBiddingCategoryLevel3_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Bidding category (level 3) of the product.
*
*
* optional string product_bidding_category_level3 = 94;
* @param value The productBiddingCategoryLevel3 to set.
* @return This builder for chaining.
*/
public Builder setProductBiddingCategoryLevel3(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField1_ |= 0x00000001;
productBiddingCategoryLevel3_ = value;
onChanged();
return this;
}
/**
*
* Bidding category (level 3) of the product.
*
*
* optional string product_bidding_category_level3 = 94;
* @return This builder for chaining.
*/
public Builder clearProductBiddingCategoryLevel3() {
bitField1_ = (bitField1_ & ~0x00000001);
productBiddingCategoryLevel3_ = getDefaultInstance().getProductBiddingCategoryLevel3();
onChanged();
return this;
}
/**
*
* Bidding category (level 3) of the product.
*
*
* optional string product_bidding_category_level3 = 94;
* @param value The bytes for productBiddingCategoryLevel3 to set.
* @return This builder for chaining.
*/
public Builder setProductBiddingCategoryLevel3Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField1_ |= 0x00000001;
productBiddingCategoryLevel3_ = value;
onChanged();
return this;
}
private java.lang.Object productBiddingCategoryLevel4_ = "";
/**
*
* Bidding category (level 4) of the product.
*
*
* optional string product_bidding_category_level4 = 95;
* @return Whether the productBiddingCategoryLevel4 field is set.
*/
public boolean hasProductBiddingCategoryLevel4() {
return ((bitField1_ & 0x00000002) != 0);
}
/**
*
* Bidding category (level 4) of the product.
*
*
* optional string product_bidding_category_level4 = 95;
* @return The productBiddingCategoryLevel4.
*/
public java.lang.String getProductBiddingCategoryLevel4() {
java.lang.Object ref = productBiddingCategoryLevel4_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productBiddingCategoryLevel4_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Bidding category (level 4) of the product.
*
*
* optional string product_bidding_category_level4 = 95;
* @return The bytes for productBiddingCategoryLevel4.
*/
public com.google.protobuf.ByteString
getProductBiddingCategoryLevel4Bytes() {
java.lang.Object ref = productBiddingCategoryLevel4_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBiddingCategoryLevel4_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Bidding category (level 4) of the product.
*
*
* optional string product_bidding_category_level4 = 95;
* @param value The productBiddingCategoryLevel4 to set.
* @return This builder for chaining.
*/
public Builder setProductBiddingCategoryLevel4(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField1_ |= 0x00000002;
productBiddingCategoryLevel4_ = value;
onChanged();
return this;
}
/**
*
* Bidding category (level 4) of the product.
*
*
* optional string product_bidding_category_level4 = 95;
* @return This builder for chaining.
*/
public Builder clearProductBiddingCategoryLevel4() {
bitField1_ = (bitField1_ & ~0x00000002);
productBiddingCategoryLevel4_ = getDefaultInstance().getProductBiddingCategoryLevel4();
onChanged();
return this;
}
/**
*
* Bidding category (level 4) of the product.
*
*
* optional string product_bidding_category_level4 = 95;
* @param value The bytes for productBiddingCategoryLevel4 to set.
* @return This builder for chaining.
*/
public Builder setProductBiddingCategoryLevel4Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField1_ |= 0x00000002;
productBiddingCategoryLevel4_ = value;
onChanged();
return this;
}
private java.lang.Object productBiddingCategoryLevel5_ = "";
/**
*
* Bidding category (level 5) of the product.
*
*
* optional string product_bidding_category_level5 = 96;
* @return Whether the productBiddingCategoryLevel5 field is set.
*/
public boolean hasProductBiddingCategoryLevel5() {
return ((bitField1_ & 0x00000004) != 0);
}
/**
*
* Bidding category (level 5) of the product.
*
*
* optional string product_bidding_category_level5 = 96;
* @return The productBiddingCategoryLevel5.
*/
public java.lang.String getProductBiddingCategoryLevel5() {
java.lang.Object ref = productBiddingCategoryLevel5_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productBiddingCategoryLevel5_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Bidding category (level 5) of the product.
*
*
* optional string product_bidding_category_level5 = 96;
* @return The bytes for productBiddingCategoryLevel5.
*/
public com.google.protobuf.ByteString
getProductBiddingCategoryLevel5Bytes() {
java.lang.Object ref = productBiddingCategoryLevel5_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productBiddingCategoryLevel5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Bidding category (level 5) of the product.
*
*
* optional string product_bidding_category_level5 = 96;
* @param value The productBiddingCategoryLevel5 to set.
* @return This builder for chaining.
*/
public Builder setProductBiddingCategoryLevel5(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField1_ |= 0x00000004;
productBiddingCategoryLevel5_ = value;
onChanged();
return this;
}
/**
*
* Bidding category (level 5) of the product.
*
*
* optional string product_bidding_category_level5 = 96;
* @return This builder for chaining.
*/
public Builder clearProductBiddingCategoryLevel5() {
bitField1_ = (bitField1_ & ~0x00000004);
productBiddingCategoryLevel5_ = getDefaultInstance().getProductBiddingCategoryLevel5();
onChanged();
return this;
}
/**
*
* Bidding category (level 5) of the product.
*
*
* optional string product_bidding_category_level5 = 96;
* @param value The bytes for productBiddingCategoryLevel5 to set.
* @return This builder for chaining.
*/
public Builder setProductBiddingCategoryLevel5Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField1_ |= 0x00000004;
productBiddingCategoryLevel5_ = value;
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 ((bitField1_ & 0x00000008) != 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();
}
bitField1_ |= 0x00000008;
productBrand_ = value;
onChanged();
return this;
}
/**
*
* Brand of the product.
*
*
* optional string product_brand = 97;
* @return This builder for chaining.
*/
public Builder clearProductBrand() {
bitField1_ = (bitField1_ & ~0x00000008);
productBrand_ = getDefaultInstance().getProductBrand();
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);
bitField1_ |= 0x00000008;
productBrand_ = value;
onChanged();
return this;
}
private int productChannel_ = 0;
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @return The productChannel.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel getProductChannel() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel result = com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel.valueOf(productChannel_);
return result == null ? com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel.UNRECOGNIZED : result;
}
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @param value The productChannel to set.
* @return This builder for chaining.
*/
public Builder setProductChannel(com.google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel value) {
if (value == null) {
throw new NullPointerException();
}
productChannel_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Channel of the product.
*
*
* .google.ads.googleads.v10.enums.ProductChannelEnum.ProductChannel product_channel = 30;
* @return This builder for chaining.
*/
public Builder clearProductChannel() {
productChannel_ = 0;
onChanged();
return this;
}
private int productChannelExclusivity_ = 0;
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31;
* @return The productChannelExclusivity.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity getProductChannelExclusivity() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity result = com.google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.valueOf(productChannelExclusivity_);
return result == null ? com.google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity.UNRECOGNIZED : result;
}
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v10.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.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity value) {
if (value == null) {
throw new NullPointerException();
}
productChannelExclusivity_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Channel exclusivity of the product.
*
*
* .google.ads.googleads.v10.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31;
* @return This builder for chaining.
*/
public Builder clearProductChannelExclusivity() {
productChannelExclusivity_ = 0;
onChanged();
return this;
}
private int productCondition_ = 0;
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @return The productCondition.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition getProductCondition() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition result = com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition.valueOf(productCondition_);
return result == null ? com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition.UNRECOGNIZED : result;
}
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @param value The productCondition to set.
* @return This builder for chaining.
*/
public Builder setProductCondition(com.google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition value) {
if (value == null) {
throw new NullPointerException();
}
productCondition_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Condition of the product.
*
*
* .google.ads.googleads.v10.enums.ProductConditionEnum.ProductCondition product_condition = 32;
* @return This builder for chaining.
*/
public Builder clearProductCondition() {
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 ((bitField1_ & 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();
}
bitField1_ |= 0x00000010;
productCountry_ = value;
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() {
bitField1_ = (bitField1_ & ~0x00000010);
productCountry_ = getDefaultInstance().getProductCountry();
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);
bitField1_ |= 0x00000010;
productCountry_ = value;
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 ((bitField1_ & 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();
}
bitField1_ |= 0x00000020;
productCustomAttribute0_ = value;
onChanged();
return this;
}
/**
*
* Custom attribute 0 of the product.
*
*
* optional string product_custom_attribute0 = 99;
* @return This builder for chaining.
*/
public Builder clearProductCustomAttribute0() {
bitField1_ = (bitField1_ & ~0x00000020);
productCustomAttribute0_ = getDefaultInstance().getProductCustomAttribute0();
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);
bitField1_ |= 0x00000020;
productCustomAttribute0_ = value;
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 ((bitField1_ & 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();
}
bitField1_ |= 0x00000040;
productCustomAttribute1_ = value;
onChanged();
return this;
}
/**
*
* Custom attribute 1 of the product.
*
*
* optional string product_custom_attribute1 = 100;
* @return This builder for chaining.
*/
public Builder clearProductCustomAttribute1() {
bitField1_ = (bitField1_ & ~0x00000040);
productCustomAttribute1_ = getDefaultInstance().getProductCustomAttribute1();
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);
bitField1_ |= 0x00000040;
productCustomAttribute1_ = value;
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 ((bitField1_ & 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();
}
bitField1_ |= 0x00000080;
productCustomAttribute2_ = value;
onChanged();
return this;
}
/**
*
* Custom attribute 2 of the product.
*
*
* optional string product_custom_attribute2 = 101;
* @return This builder for chaining.
*/
public Builder clearProductCustomAttribute2() {
bitField1_ = (bitField1_ & ~0x00000080);
productCustomAttribute2_ = getDefaultInstance().getProductCustomAttribute2();
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);
bitField1_ |= 0x00000080;
productCustomAttribute2_ = value;
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 ((bitField1_ & 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();
}
bitField1_ |= 0x00000100;
productCustomAttribute3_ = value;
onChanged();
return this;
}
/**
*
* Custom attribute 3 of the product.
*
*
* optional string product_custom_attribute3 = 102;
* @return This builder for chaining.
*/
public Builder clearProductCustomAttribute3() {
bitField1_ = (bitField1_ & ~0x00000100);
productCustomAttribute3_ = getDefaultInstance().getProductCustomAttribute3();
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);
bitField1_ |= 0x00000100;
productCustomAttribute3_ = value;
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 ((bitField1_ & 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();
}
bitField1_ |= 0x00000200;
productCustomAttribute4_ = value;
onChanged();
return this;
}
/**
*
* Custom attribute 4 of the product.
*
*
* optional string product_custom_attribute4 = 103;
* @return This builder for chaining.
*/
public Builder clearProductCustomAttribute4() {
bitField1_ = (bitField1_ & ~0x00000200);
productCustomAttribute4_ = getDefaultInstance().getProductCustomAttribute4();
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);
bitField1_ |= 0x00000200;
productCustomAttribute4_ = value;
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 ((bitField1_ & 0x00000400) != 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();
}
bitField1_ |= 0x00000400;
productItemId_ = value;
onChanged();
return this;
}
/**
*
* Item ID of the product.
*
*
* optional string product_item_id = 104;
* @return This builder for chaining.
*/
public Builder clearProductItemId() {
bitField1_ = (bitField1_ & ~0x00000400);
productItemId_ = getDefaultInstance().getProductItemId();
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);
bitField1_ |= 0x00000400;
productItemId_ = value;
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 ((bitField1_ & 0x00000800) != 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();
}
bitField1_ |= 0x00000800;
productLanguage_ = value;
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() {
bitField1_ = (bitField1_ & ~0x00000800);
productLanguage_ = getDefaultInstance().getProductLanguage();
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);
bitField1_ |= 0x00000800;
productLanguage_ = value;
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 ((bitField1_ & 0x00001000) != 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) {
bitField1_ |= 0x00001000;
productMerchantId_ = value;
onChanged();
return this;
}
/**
*
* Merchant ID of the product.
*
*
* optional int64 product_merchant_id = 133;
* @return This builder for chaining.
*/
public Builder clearProductMerchantId() {
bitField1_ = (bitField1_ & ~0x00001000);
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 ((bitField1_ & 0x00002000) != 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();
}
bitField1_ |= 0x00002000;
productStoreId_ = value;
onChanged();
return this;
}
/**
*
* Store ID of the product.
*
*
* optional string product_store_id = 106;
* @return This builder for chaining.
*/
public Builder clearProductStoreId() {
bitField1_ = (bitField1_ & ~0x00002000);
productStoreId_ = getDefaultInstance().getProductStoreId();
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);
bitField1_ |= 0x00002000;
productStoreId_ = value;
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 ((bitField1_ & 0x00004000) != 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();
}
bitField1_ |= 0x00004000;
productTitle_ = value;
onChanged();
return this;
}
/**
*
* Title of the product.
*
*
* optional string product_title = 107;
* @return This builder for chaining.
*/
public Builder clearProductTitle() {
bitField1_ = (bitField1_ & ~0x00004000);
productTitle_ = getDefaultInstance().getProductTitle();
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);
bitField1_ |= 0x00004000;
productTitle_ = value;
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 ((bitField1_ & 0x00008000) != 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();
}
bitField1_ |= 0x00008000;
productTypeL1_ = value;
onChanged();
return this;
}
/**
*
* Type (level 1) of the product.
*
*
* optional string product_type_l1 = 108;
* @return This builder for chaining.
*/
public Builder clearProductTypeL1() {
bitField1_ = (bitField1_ & ~0x00008000);
productTypeL1_ = getDefaultInstance().getProductTypeL1();
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);
bitField1_ |= 0x00008000;
productTypeL1_ = value;
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 ((bitField1_ & 0x00010000) != 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();
}
bitField1_ |= 0x00010000;
productTypeL2_ = value;
onChanged();
return this;
}
/**
*
* Type (level 2) of the product.
*
*
* optional string product_type_l2 = 109;
* @return This builder for chaining.
*/
public Builder clearProductTypeL2() {
bitField1_ = (bitField1_ & ~0x00010000);
productTypeL2_ = getDefaultInstance().getProductTypeL2();
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);
bitField1_ |= 0x00010000;
productTypeL2_ = value;
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 ((bitField1_ & 0x00020000) != 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();
}
bitField1_ |= 0x00020000;
productTypeL3_ = value;
onChanged();
return this;
}
/**
*
* Type (level 3) of the product.
*
*
* optional string product_type_l3 = 110;
* @return This builder for chaining.
*/
public Builder clearProductTypeL3() {
bitField1_ = (bitField1_ & ~0x00020000);
productTypeL3_ = getDefaultInstance().getProductTypeL3();
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);
bitField1_ |= 0x00020000;
productTypeL3_ = value;
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 ((bitField1_ & 0x00040000) != 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();
}
bitField1_ |= 0x00040000;
productTypeL4_ = value;
onChanged();
return this;
}
/**
*
* Type (level 4) of the product.
*
*
* optional string product_type_l4 = 111;
* @return This builder for chaining.
*/
public Builder clearProductTypeL4() {
bitField1_ = (bitField1_ & ~0x00040000);
productTypeL4_ = getDefaultInstance().getProductTypeL4();
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);
bitField1_ |= 0x00040000;
productTypeL4_ = value;
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 ((bitField1_ & 0x00080000) != 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();
}
bitField1_ |= 0x00080000;
productTypeL5_ = value;
onChanged();
return this;
}
/**
*
* Type (level 5) of the product.
*
*
* optional string product_type_l5 = 112;
* @return This builder for chaining.
*/
public Builder clearProductTypeL5() {
bitField1_ = (bitField1_ & ~0x00080000);
productTypeL5_ = getDefaultInstance().getProductTypeL5();
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);
bitField1_ |= 0x00080000;
productTypeL5_ = value;
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 ((bitField1_ & 0x00100000) != 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();
}
bitField1_ |= 0x00100000;
quarter_ = value;
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() {
bitField1_ = (bitField1_ & ~0x00100000);
quarter_ = getDefaultInstance().getQuarter();
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);
bitField1_ |= 0x00100000;
quarter_ = value;
onChanged();
return this;
}
private int recommendationType_ = 0;
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @return The recommendationType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType getRecommendationType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType result = com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType.valueOf(recommendationType_);
return result == null ? com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType.UNRECOGNIZED : result;
}
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @param value The recommendationType to set.
* @return This builder for chaining.
*/
public Builder setRecommendationType(com.google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType value) {
if (value == null) {
throw new NullPointerException();
}
recommendationType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Recommendation type.
*
*
* .google.ads.googleads.v10.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140;
* @return This builder for chaining.
*/
public Builder clearRecommendationType() {
recommendationType_ = 0;
onChanged();
return this;
}
private int searchEngineResultsPageType_ = 0;
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70;
* @return The searchEngineResultsPageType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType getSearchEngineResultsPageType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType result = com.google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.valueOf(searchEngineResultsPageType_);
return result == null ? com.google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType.UNRECOGNIZED : result;
}
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v10.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.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType value) {
if (value == null) {
throw new NullPointerException();
}
searchEngineResultsPageType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Type of the search engine results page.
*
*
* .google.ads.googleads.v10.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70;
* @return This builder for chaining.
*/
public Builder clearSearchEngineResultsPageType() {
searchEngineResultsPageType_ = 0;
onChanged();
return this;
}
private int searchTermMatchType_ = 0;
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22;
* @return The searchTermMatchType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType getSearchTermMatchType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType result = com.google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType.valueOf(searchTermMatchType_);
return result == null ? com.google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType.UNRECOGNIZED : result;
}
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v10.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.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType value) {
if (value == null) {
throw new NullPointerException();
}
searchTermMatchType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Match type of the keyword that triggered the ad, including variants.
*
*
* .google.ads.googleads.v10.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22;
* @return This builder for chaining.
*/
public Builder clearSearchTermMatchType() {
searchTermMatchType_ = 0;
onChanged();
return this;
}
private int slot_ = 0;
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v10.enums.SlotEnum.Slot slot = 23;
* @return The slot.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.SlotEnum.Slot getSlot() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SlotEnum.Slot result = com.google.ads.googleads.v10.enums.SlotEnum.Slot.valueOf(slot_);
return result == null ? com.google.ads.googleads.v10.enums.SlotEnum.Slot.UNRECOGNIZED : result;
}
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v10.enums.SlotEnum.Slot slot = 23;
* @param value The slot to set.
* @return This builder for chaining.
*/
public Builder setSlot(com.google.ads.googleads.v10.enums.SlotEnum.Slot value) {
if (value == null) {
throw new NullPointerException();
}
slot_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Position of the ad.
*
*
* .google.ads.googleads.v10.enums.SlotEnum.Slot slot = 23;
* @return This builder for chaining.
*/
public Builder clearSlot() {
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.v10.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.v10.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;
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.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138;
* @return The conversionValueRulePrimaryDimension.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension getConversionValueRulePrimaryDimension() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension result = com.google.ads.googleads.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension.valueOf(conversionValueRulePrimaryDimension_);
return result == null ? com.google.ads.googleads.v10.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.v10.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.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension value) {
if (value == null) {
throw new NullPointerException();
}
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.v10.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138;
* @return This builder for chaining.
*/
public Builder clearConversionValueRulePrimaryDimension() {
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 ((bitField1_ & 0x00200000) != 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();
}
bitField1_ |= 0x00200000;
webpage_ = value;
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() {
bitField1_ = (bitField1_ & ~0x00200000);
webpage_ = getDefaultInstance().getWebpage();
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);
bitField1_ |= 0x00200000;
webpage_ = value;
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 ((bitField1_ & 0x00400000) != 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();
}
bitField1_ |= 0x00400000;
week_ = value;
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() {
bitField1_ = (bitField1_ & ~0x00400000);
week_ = getDefaultInstance().getWeek();
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);
bitField1_ |= 0x00400000;
week_ = value;
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 ((bitField1_ & 0x00800000) != 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) {
bitField1_ |= 0x00800000;
year_ = value;
onChanged();
return this;
}
/**
*
* Year, formatted as yyyy.
*
*
* optional int32 year = 131;
* @return This builder for chaining.
*/
public Builder clearYear() {
bitField1_ = (bitField1_ & ~0x00800000);
year_ = 0;
onChanged();
return this;
}
private long skAdNetworkConversionValue_ ;
/**
*
* 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_conversion_value = 137;
* @return Whether the skAdNetworkConversionValue field is set.
*/
@java.lang.Override
public boolean hasSkAdNetworkConversionValue() {
return ((bitField1_ & 0x01000000) != 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_conversion_value = 137;
* @return The skAdNetworkConversionValue.
*/
@java.lang.Override
public long getSkAdNetworkConversionValue() {
return skAdNetworkConversionValue_;
}
/**
*
* 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_conversion_value = 137;
* @param value The skAdNetworkConversionValue to set.
* @return This builder for chaining.
*/
public Builder setSkAdNetworkConversionValue(long value) {
bitField1_ |= 0x01000000;
skAdNetworkConversionValue_ = value;
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_conversion_value = 137;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkConversionValue() {
bitField1_ = (bitField1_ & ~0x01000000);
skAdNetworkConversionValue_ = 0L;
onChanged();
return this;
}
private int skAdNetworkUserType_ = 0;
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141;
* @return The skAdNetworkUserType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType getSkAdNetworkUserType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType result = com.google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.valueOf(skAdNetworkUserType_);
return result == null ? com.google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType.UNRECOGNIZED : result;
}
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v10.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.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType value) {
if (value == null) {
throw new NullPointerException();
}
skAdNetworkUserType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network user type.
*
*
* .google.ads.googleads.v10.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkUserType() {
skAdNetworkUserType_ = 0;
onChanged();
return this;
}
private int skAdNetworkAdEventType_ = 0;
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142;
* @return The skAdNetworkAdEventType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType getSkAdNetworkAdEventType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType result = com.google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.valueOf(skAdNetworkAdEventType_);
return result == null ? com.google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType.UNRECOGNIZED : result;
}
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v10.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.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType value) {
if (value == null) {
throw new NullPointerException();
}
skAdNetworkAdEventType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network ad event type.
*
*
* .google.ads.googleads.v10.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkAdEventType() {
skAdNetworkAdEventType_ = 0;
onChanged();
return this;
}
private com.google.ads.googleads.v10.common.SkAdNetworkSourceApp skAdNetworkSourceApp_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.SkAdNetworkSourceApp, com.google.ads.googleads.v10.common.SkAdNetworkSourceApp.Builder, com.google.ads.googleads.v10.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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
* @return Whether the skAdNetworkSourceApp field is set.
*/
public boolean hasSkAdNetworkSourceApp() {
return ((bitField1_ & 0x02000000) != 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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
* @return The skAdNetworkSourceApp.
*/
public com.google.ads.googleads.v10.common.SkAdNetworkSourceApp getSkAdNetworkSourceApp() {
if (skAdNetworkSourceAppBuilder_ == null) {
return skAdNetworkSourceApp_ == null ? com.google.ads.googleads.v10.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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public Builder setSkAdNetworkSourceApp(com.google.ads.googleads.v10.common.SkAdNetworkSourceApp value) {
if (skAdNetworkSourceAppBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
skAdNetworkSourceApp_ = value;
onChanged();
} else {
skAdNetworkSourceAppBuilder_.setMessage(value);
}
bitField1_ |= 0x02000000;
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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public Builder setSkAdNetworkSourceApp(
com.google.ads.googleads.v10.common.SkAdNetworkSourceApp.Builder builderForValue) {
if (skAdNetworkSourceAppBuilder_ == null) {
skAdNetworkSourceApp_ = builderForValue.build();
onChanged();
} else {
skAdNetworkSourceAppBuilder_.setMessage(builderForValue.build());
}
bitField1_ |= 0x02000000;
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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public Builder mergeSkAdNetworkSourceApp(com.google.ads.googleads.v10.common.SkAdNetworkSourceApp value) {
if (skAdNetworkSourceAppBuilder_ == null) {
if (((bitField1_ & 0x02000000) != 0) &&
skAdNetworkSourceApp_ != null &&
skAdNetworkSourceApp_ != com.google.ads.googleads.v10.common.SkAdNetworkSourceApp.getDefaultInstance()) {
skAdNetworkSourceApp_ =
com.google.ads.googleads.v10.common.SkAdNetworkSourceApp.newBuilder(skAdNetworkSourceApp_).mergeFrom(value).buildPartial();
} else {
skAdNetworkSourceApp_ = value;
}
onChanged();
} else {
skAdNetworkSourceAppBuilder_.mergeFrom(value);
}
bitField1_ |= 0x02000000;
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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public Builder clearSkAdNetworkSourceApp() {
if (skAdNetworkSourceAppBuilder_ == null) {
skAdNetworkSourceApp_ = null;
onChanged();
} else {
skAdNetworkSourceAppBuilder_.clear();
}
bitField1_ = (bitField1_ & ~0x02000000);
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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public com.google.ads.googleads.v10.common.SkAdNetworkSourceApp.Builder getSkAdNetworkSourceAppBuilder() {
bitField1_ |= 0x02000000;
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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
public com.google.ads.googleads.v10.common.SkAdNetworkSourceAppOrBuilder getSkAdNetworkSourceAppOrBuilder() {
if (skAdNetworkSourceAppBuilder_ != null) {
return skAdNetworkSourceAppBuilder_.getMessageOrBuilder();
} else {
return skAdNetworkSourceApp_ == null ?
com.google.ads.googleads.v10.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.v10.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.SkAdNetworkSourceApp, com.google.ads.googleads.v10.common.SkAdNetworkSourceApp.Builder, com.google.ads.googleads.v10.common.SkAdNetworkSourceAppOrBuilder>
getSkAdNetworkSourceAppFieldBuilder() {
if (skAdNetworkSourceAppBuilder_ == null) {
skAdNetworkSourceAppBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.SkAdNetworkSourceApp, com.google.ads.googleads.v10.common.SkAdNetworkSourceApp.Builder, com.google.ads.googleads.v10.common.SkAdNetworkSourceAppOrBuilder>(
getSkAdNetworkSourceApp(),
getParentForChildren(),
isClean());
skAdNetworkSourceApp_ = null;
}
return skAdNetworkSourceAppBuilder_;
}
private int skAdNetworkAttributionCredit_ = 0;
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v10.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.v10.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;
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144;
* @return The skAdNetworkAttributionCredit.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit getSkAdNetworkAttributionCredit() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit result = com.google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.valueOf(skAdNetworkAttributionCredit_);
return result == null ? com.google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit.UNRECOGNIZED : result;
}
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v10.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.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit value) {
if (value == null) {
throw new NullPointerException();
}
skAdNetworkAttributionCredit_ = value.getNumber();
onChanged();
return this;
}
/**
*
* iOS Store Kit Ad Network attribution credit
*
*
* .google.ads.googleads.v10.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144;
* @return This builder for chaining.
*/
public Builder clearSkAdNetworkAttributionCredit() {
skAdNetworkAttributionCredit_ = 0;
onChanged();
return this;
}
private com.google.ads.googleads.v10.common.AssetInteractionTarget assetInteractionTarget_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.AssetInteractionTarget, com.google.ads.googleads.v10.common.AssetInteractionTarget.Builder, com.google.ads.googleads.v10.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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
* @return Whether the assetInteractionTarget field is set.
*/
public boolean hasAssetInteractionTarget() {
return ((bitField1_ & 0x04000000) != 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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
* @return The assetInteractionTarget.
*/
public com.google.ads.googleads.v10.common.AssetInteractionTarget getAssetInteractionTarget() {
if (assetInteractionTargetBuilder_ == null) {
return assetInteractionTarget_ == null ? com.google.ads.googleads.v10.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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public Builder setAssetInteractionTarget(com.google.ads.googleads.v10.common.AssetInteractionTarget value) {
if (assetInteractionTargetBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
assetInteractionTarget_ = value;
onChanged();
} else {
assetInteractionTargetBuilder_.setMessage(value);
}
bitField1_ |= 0x04000000;
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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public Builder setAssetInteractionTarget(
com.google.ads.googleads.v10.common.AssetInteractionTarget.Builder builderForValue) {
if (assetInteractionTargetBuilder_ == null) {
assetInteractionTarget_ = builderForValue.build();
onChanged();
} else {
assetInteractionTargetBuilder_.setMessage(builderForValue.build());
}
bitField1_ |= 0x04000000;
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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public Builder mergeAssetInteractionTarget(com.google.ads.googleads.v10.common.AssetInteractionTarget value) {
if (assetInteractionTargetBuilder_ == null) {
if (((bitField1_ & 0x04000000) != 0) &&
assetInteractionTarget_ != null &&
assetInteractionTarget_ != com.google.ads.googleads.v10.common.AssetInteractionTarget.getDefaultInstance()) {
assetInteractionTarget_ =
com.google.ads.googleads.v10.common.AssetInteractionTarget.newBuilder(assetInteractionTarget_).mergeFrom(value).buildPartial();
} else {
assetInteractionTarget_ = value;
}
onChanged();
} else {
assetInteractionTargetBuilder_.mergeFrom(value);
}
bitField1_ |= 0x04000000;
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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public Builder clearAssetInteractionTarget() {
if (assetInteractionTargetBuilder_ == null) {
assetInteractionTarget_ = null;
onChanged();
} else {
assetInteractionTargetBuilder_.clear();
}
bitField1_ = (bitField1_ & ~0x04000000);
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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public com.google.ads.googleads.v10.common.AssetInteractionTarget.Builder getAssetInteractionTargetBuilder() {
bitField1_ |= 0x04000000;
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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
*/
public com.google.ads.googleads.v10.common.AssetInteractionTargetOrBuilder getAssetInteractionTargetOrBuilder() {
if (assetInteractionTargetBuilder_ != null) {
return assetInteractionTargetBuilder_.getMessageOrBuilder();
} else {
return assetInteractionTarget_ == null ?
com.google.ads.googleads.v10.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.v10.common.AssetInteractionTarget asset_interaction_target = 139;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.AssetInteractionTarget, com.google.ads.googleads.v10.common.AssetInteractionTarget.Builder, com.google.ads.googleads.v10.common.AssetInteractionTargetOrBuilder>
getAssetInteractionTargetFieldBuilder() {
if (assetInteractionTargetBuilder_ == null) {
assetInteractionTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.AssetInteractionTarget, com.google.ads.googleads.v10.common.AssetInteractionTarget.Builder, com.google.ads.googleads.v10.common.AssetInteractionTargetOrBuilder>(
getAssetInteractionTarget(),
getParentForChildren(),
isClean());
assetInteractionTarget_ = null;
}
return assetInteractionTargetBuilder_;
}
@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.v10.common.Segments)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.Segments)
private static final com.google.ads.googleads.v10.common.Segments DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.Segments();
}
public static com.google.ads.googleads.v10.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.v10.common.Segments getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy