
com.google.ads.googleads.v18.resources.ChangeStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v18 Show documentation
Show all versions of google-ads-stubs-v18 Show documentation
Stubs for GAAPI version google-ads-stubs-v18
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v18/resources/change_status.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v18.resources;
/**
*
* Describes the status of returned resource. ChangeStatus could have up to 3
* minutes delay to reflect a new change.
*
*
* Protobuf type {@code google.ads.googleads.v18.resources.ChangeStatus}
*/
public final class ChangeStatus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v18.resources.ChangeStatus)
ChangeStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use ChangeStatus.newBuilder() to construct.
private ChangeStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ChangeStatus() {
resourceName_ = "";
lastChangeDateTime_ = "";
resourceType_ = 0;
campaign_ = "";
adGroup_ = "";
resourceStatus_ = 0;
adGroupAd_ = "";
adGroupCriterion_ = "";
campaignCriterion_ = "";
feed_ = "";
feedItem_ = "";
adGroupFeed_ = "";
campaignFeed_ = "";
adGroupBidModifier_ = "";
sharedSet_ = "";
campaignSharedSet_ = "";
asset_ = "";
customerAsset_ = "";
campaignAsset_ = "";
adGroupAsset_ = "";
combinedAudience_ = "";
assetGroup_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ChangeStatus();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v18.resources.ChangeStatusProto.internal_static_google_ads_googleads_v18_resources_ChangeStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v18.resources.ChangeStatusProto.internal_static_google_ads_googleads_v18_resources_ChangeStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v18.resources.ChangeStatus.class, com.google.ads.googleads.v18.resources.ChangeStatus.Builder.class);
}
private int bitField0_;
public static final int RESOURCE_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object resourceName_ = "";
/**
*
* Output only. The resource name of the change status.
* Change status resource names have the form:
*
* `customers/{customer_id}/changeStatus/{change_status_id}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The resourceName.
*/
@java.lang.Override
public java.lang.String getResourceName() {
java.lang.Object ref = resourceName_;
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();
resourceName_ = s;
return s;
}
}
/**
*
* Output only. The resource name of the change status.
* Change status resource names have the form:
*
* `customers/{customer_id}/changeStatus/{change_status_id}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for resourceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getResourceNameBytes() {
java.lang.Object ref = resourceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resourceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LAST_CHANGE_DATE_TIME_FIELD_NUMBER = 24;
@SuppressWarnings("serial")
private volatile java.lang.Object lastChangeDateTime_ = "";
/**
*
* Output only. Time at which the most recent change has occurred on this
* resource.
*
*
* optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the lastChangeDateTime field is set.
*/
@java.lang.Override
public boolean hasLastChangeDateTime() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Output only. Time at which the most recent change has occurred on this
* resource.
*
*
* optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The lastChangeDateTime.
*/
@java.lang.Override
public java.lang.String getLastChangeDateTime() {
java.lang.Object ref = lastChangeDateTime_;
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();
lastChangeDateTime_ = s;
return s;
}
}
/**
*
* Output only. Time at which the most recent change has occurred on this
* resource.
*
*
* optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The bytes for lastChangeDateTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLastChangeDateTimeBytes() {
java.lang.Object ref = lastChangeDateTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lastChangeDateTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RESOURCE_TYPE_FIELD_NUMBER = 4;
private int resourceType_ = 0;
/**
*
* Output only. Represents the type of the changed resource. This dictates
* what fields will be set. For example, for AD_GROUP, campaign and ad_group
* fields will be set.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for resourceType.
*/
@java.lang.Override public int getResourceTypeValue() {
return resourceType_;
}
/**
*
* Output only. Represents the type of the changed resource. This dictates
* what fields will be set. For example, for AD_GROUP, campaign and ad_group
* fields will be set.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The resourceType.
*/
@java.lang.Override public com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType getResourceType() {
com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType result = com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType.forNumber(resourceType_);
return result == null ? com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType.UNRECOGNIZED : result;
}
public static final int CAMPAIGN_FIELD_NUMBER = 17;
@SuppressWarnings("serial")
private volatile java.lang.Object campaign_ = "";
/**
*
* Output only. The Campaign affected by this change.
*
*
* optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the campaign field is set.
*/
@java.lang.Override
public boolean hasCampaign() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Output only. The Campaign affected by this change.
*
*
* optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The campaign.
*/
@java.lang.Override
public java.lang.String getCampaign() {
java.lang.Object ref = campaign_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
campaign_ = s;
return s;
}
}
/**
*
* Output only. The Campaign affected by this change.
*
*
* optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for campaign.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCampaignBytes() {
java.lang.Object ref = campaign_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaign_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AD_GROUP_FIELD_NUMBER = 18;
@SuppressWarnings("serial")
private volatile java.lang.Object adGroup_ = "";
/**
*
* Output only. The AdGroup affected by this change.
*
*
* optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the adGroup field is set.
*/
@java.lang.Override
public boolean hasAdGroup() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Output only. The AdGroup affected by this change.
*
*
* optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroup.
*/
@java.lang.Override
public java.lang.String getAdGroup() {
java.lang.Object ref = adGroup_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
adGroup_ = s;
return s;
}
}
/**
*
* Output only. The AdGroup affected by this change.
*
*
* optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroup.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdGroupBytes() {
java.lang.Object ref = adGroup_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroup_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RESOURCE_STATUS_FIELD_NUMBER = 8;
private int resourceStatus_ = 0;
/**
*
* Output only. Represents the status of the changed resource.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for resourceStatus.
*/
@java.lang.Override public int getResourceStatusValue() {
return resourceStatus_;
}
/**
*
* Output only. Represents the status of the changed resource.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The resourceStatus.
*/
@java.lang.Override public com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation getResourceStatus() {
com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation result = com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation.forNumber(resourceStatus_);
return result == null ? com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation.UNRECOGNIZED : result;
}
public static final int AD_GROUP_AD_FIELD_NUMBER = 25;
@SuppressWarnings("serial")
private volatile java.lang.Object adGroupAd_ = "";
/**
*
* Output only. The AdGroupAd affected by this change.
*
*
* optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the adGroupAd field is set.
*/
@java.lang.Override
public boolean hasAdGroupAd() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Output only. The AdGroupAd affected by this change.
*
*
* optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroupAd.
*/
@java.lang.Override
public java.lang.String getAdGroupAd() {
java.lang.Object ref = adGroupAd_;
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();
adGroupAd_ = s;
return s;
}
}
/**
*
* Output only. The AdGroupAd affected by this change.
*
*
* optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroupAd.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdGroupAdBytes() {
java.lang.Object ref = adGroupAd_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroupAd_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AD_GROUP_CRITERION_FIELD_NUMBER = 26;
@SuppressWarnings("serial")
private volatile java.lang.Object adGroupCriterion_ = "";
/**
*
* Output only. The AdGroupCriterion affected by this change.
*
*
* optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the adGroupCriterion field is set.
*/
@java.lang.Override
public boolean hasAdGroupCriterion() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Output only. The AdGroupCriterion affected by this change.
*
*
* optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroupCriterion.
*/
@java.lang.Override
public java.lang.String getAdGroupCriterion() {
java.lang.Object ref = adGroupCriterion_;
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();
adGroupCriterion_ = s;
return s;
}
}
/**
*
* Output only. The AdGroupCriterion affected by this change.
*
*
* optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroupCriterion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdGroupCriterionBytes() {
java.lang.Object ref = adGroupCriterion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroupCriterion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CAMPAIGN_CRITERION_FIELD_NUMBER = 27;
@SuppressWarnings("serial")
private volatile java.lang.Object campaignCriterion_ = "";
/**
*
* Output only. The CampaignCriterion affected by this change.
*
*
* optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the campaignCriterion field is set.
*/
@java.lang.Override
public boolean hasCampaignCriterion() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Output only. The CampaignCriterion affected by this change.
*
*
* optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The campaignCriterion.
*/
@java.lang.Override
public java.lang.String getCampaignCriterion() {
java.lang.Object ref = campaignCriterion_;
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();
campaignCriterion_ = s;
return s;
}
}
/**
*
* Output only. The CampaignCriterion affected by this change.
*
*
* optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for campaignCriterion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCampaignCriterionBytes() {
java.lang.Object ref = campaignCriterion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaignCriterion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FEED_FIELD_NUMBER = 28;
@SuppressWarnings("serial")
private volatile java.lang.Object feed_ = "";
/**
*
* Output only. The Feed affected by this change.
*
*
* optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the feed field is set.
*/
@java.lang.Override
public boolean hasFeed() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Output only. The Feed affected by this change.
*
*
* optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The feed.
*/
@java.lang.Override
public java.lang.String getFeed() {
java.lang.Object ref = feed_;
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();
feed_ = s;
return s;
}
}
/**
*
* Output only. The Feed affected by this change.
*
*
* optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for feed.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFeedBytes() {
java.lang.Object ref = feed_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feed_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FEED_ITEM_FIELD_NUMBER = 29;
@SuppressWarnings("serial")
private volatile java.lang.Object feedItem_ = "";
/**
*
* Output only. The FeedItem affected by this change.
*
*
* optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the feedItem field is set.
*/
@java.lang.Override
public boolean hasFeedItem() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Output only. The FeedItem affected by this change.
*
*
* optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The feedItem.
*/
@java.lang.Override
public java.lang.String getFeedItem() {
java.lang.Object ref = feedItem_;
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();
feedItem_ = s;
return s;
}
}
/**
*
* Output only. The FeedItem affected by this change.
*
*
* optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for feedItem.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFeedItemBytes() {
java.lang.Object ref = feedItem_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feedItem_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AD_GROUP_FEED_FIELD_NUMBER = 30;
@SuppressWarnings("serial")
private volatile java.lang.Object adGroupFeed_ = "";
/**
*
* Output only. The AdGroupFeed affected by this change.
*
*
* optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the adGroupFeed field is set.
*/
@java.lang.Override
public boolean hasAdGroupFeed() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Output only. The AdGroupFeed affected by this change.
*
*
* optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroupFeed.
*/
@java.lang.Override
public java.lang.String getAdGroupFeed() {
java.lang.Object ref = adGroupFeed_;
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();
adGroupFeed_ = s;
return s;
}
}
/**
*
* Output only. The AdGroupFeed affected by this change.
*
*
* optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroupFeed.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdGroupFeedBytes() {
java.lang.Object ref = adGroupFeed_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroupFeed_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CAMPAIGN_FEED_FIELD_NUMBER = 31;
@SuppressWarnings("serial")
private volatile java.lang.Object campaignFeed_ = "";
/**
*
* Output only. The CampaignFeed affected by this change.
*
*
* optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the campaignFeed field is set.
*/
@java.lang.Override
public boolean hasCampaignFeed() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Output only. The CampaignFeed affected by this change.
*
*
* optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The campaignFeed.
*/
@java.lang.Override
public java.lang.String getCampaignFeed() {
java.lang.Object ref = campaignFeed_;
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();
campaignFeed_ = s;
return s;
}
}
/**
*
* Output only. The CampaignFeed affected by this change.
*
*
* optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for campaignFeed.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCampaignFeedBytes() {
java.lang.Object ref = campaignFeed_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaignFeed_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AD_GROUP_BID_MODIFIER_FIELD_NUMBER = 32;
@SuppressWarnings("serial")
private volatile java.lang.Object adGroupBidModifier_ = "";
/**
*
* Output only. The AdGroupBidModifier affected by this change.
*
*
* optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the adGroupBidModifier field is set.
*/
@java.lang.Override
public boolean hasAdGroupBidModifier() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Output only. The AdGroupBidModifier affected by this change.
*
*
* optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroupBidModifier.
*/
@java.lang.Override
public java.lang.String getAdGroupBidModifier() {
java.lang.Object ref = adGroupBidModifier_;
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();
adGroupBidModifier_ = s;
return s;
}
}
/**
*
* Output only. The AdGroupBidModifier affected by this change.
*
*
* optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroupBidModifier.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdGroupBidModifierBytes() {
java.lang.Object ref = adGroupBidModifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroupBidModifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SHARED_SET_FIELD_NUMBER = 33;
@SuppressWarnings("serial")
private volatile java.lang.Object sharedSet_ = "";
/**
*
* Output only. The SharedSet affected by this change.
*
*
* string shared_set = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The sharedSet.
*/
@java.lang.Override
public java.lang.String getSharedSet() {
java.lang.Object ref = sharedSet_;
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();
sharedSet_ = s;
return s;
}
}
/**
*
* Output only. The SharedSet affected by this change.
*
*
* string shared_set = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for sharedSet.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSharedSetBytes() {
java.lang.Object ref = sharedSet_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sharedSet_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CAMPAIGN_SHARED_SET_FIELD_NUMBER = 34;
@SuppressWarnings("serial")
private volatile java.lang.Object campaignSharedSet_ = "";
/**
*
* Output only. The CampaignSharedSet affected by this change.
*
*
* string campaign_shared_set = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The campaignSharedSet.
*/
@java.lang.Override
public java.lang.String getCampaignSharedSet() {
java.lang.Object ref = campaignSharedSet_;
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();
campaignSharedSet_ = s;
return s;
}
}
/**
*
* Output only. The CampaignSharedSet affected by this change.
*
*
* string campaign_shared_set = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for campaignSharedSet.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCampaignSharedSetBytes() {
java.lang.Object ref = campaignSharedSet_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaignSharedSet_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ASSET_FIELD_NUMBER = 35;
@SuppressWarnings("serial")
private volatile java.lang.Object asset_ = "";
/**
*
* Output only. The Asset affected by this change.
*
*
* string asset = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The asset.
*/
@java.lang.Override
public java.lang.String getAsset() {
java.lang.Object ref = asset_;
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();
asset_ = s;
return s;
}
}
/**
*
* Output only. The Asset affected by this change.
*
*
* string asset = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for asset.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAssetBytes() {
java.lang.Object ref = asset_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
asset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CUSTOMER_ASSET_FIELD_NUMBER = 36;
@SuppressWarnings("serial")
private volatile java.lang.Object customerAsset_ = "";
/**
*
* Output only. The CustomerAsset affected by this change.
*
*
* string customer_asset = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The customerAsset.
*/
@java.lang.Override
public java.lang.String getCustomerAsset() {
java.lang.Object ref = customerAsset_;
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();
customerAsset_ = s;
return s;
}
}
/**
*
* Output only. The CustomerAsset affected by this change.
*
*
* string customer_asset = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for customerAsset.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCustomerAssetBytes() {
java.lang.Object ref = customerAsset_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
customerAsset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CAMPAIGN_ASSET_FIELD_NUMBER = 37;
@SuppressWarnings("serial")
private volatile java.lang.Object campaignAsset_ = "";
/**
*
* Output only. The CampaignAsset affected by this change.
*
*
* string campaign_asset = 37 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The campaignAsset.
*/
@java.lang.Override
public java.lang.String getCampaignAsset() {
java.lang.Object ref = campaignAsset_;
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();
campaignAsset_ = s;
return s;
}
}
/**
*
* Output only. The CampaignAsset affected by this change.
*
*
* string campaign_asset = 37 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for campaignAsset.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCampaignAssetBytes() {
java.lang.Object ref = campaignAsset_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaignAsset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AD_GROUP_ASSET_FIELD_NUMBER = 38;
@SuppressWarnings("serial")
private volatile java.lang.Object adGroupAsset_ = "";
/**
*
* Output only. The AdGroupAsset affected by this change.
*
*
* string ad_group_asset = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroupAsset.
*/
@java.lang.Override
public java.lang.String getAdGroupAsset() {
java.lang.Object ref = adGroupAsset_;
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();
adGroupAsset_ = s;
return s;
}
}
/**
*
* Output only. The AdGroupAsset affected by this change.
*
*
* string ad_group_asset = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroupAsset.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdGroupAssetBytes() {
java.lang.Object ref = adGroupAsset_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroupAsset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMBINED_AUDIENCE_FIELD_NUMBER = 40;
@SuppressWarnings("serial")
private volatile java.lang.Object combinedAudience_ = "";
/**
*
* Output only. The CombinedAudience affected by this change.
*
*
* string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The combinedAudience.
*/
@java.lang.Override
public java.lang.String getCombinedAudience() {
java.lang.Object ref = combinedAudience_;
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();
combinedAudience_ = s;
return s;
}
}
/**
*
* Output only. The CombinedAudience affected by this change.
*
*
* string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for combinedAudience.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCombinedAudienceBytes() {
java.lang.Object ref = combinedAudience_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
combinedAudience_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ASSET_GROUP_FIELD_NUMBER = 41;
@SuppressWarnings("serial")
private volatile java.lang.Object assetGroup_ = "";
/**
*
* Output only. The AssetGroup affected by this change.
*
*
* string asset_group = 41 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The assetGroup.
*/
@java.lang.Override
public java.lang.String getAssetGroup() {
java.lang.Object ref = assetGroup_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
assetGroup_ = s;
return s;
}
}
/**
*
* Output only. The AssetGroup affected by this change.
*
*
* string asset_group = 41 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for assetGroup.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAssetGroupBytes() {
java.lang.Object ref = assetGroup_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
assetGroup_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_);
}
if (resourceType_ != com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType.UNSPECIFIED.getNumber()) {
output.writeEnum(4, resourceType_);
}
if (resourceStatus_ != com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation.UNSPECIFIED.getNumber()) {
output.writeEnum(8, resourceStatus_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, campaign_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, adGroup_);
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 24, lastChangeDateTime_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 25, adGroupAd_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 26, adGroupCriterion_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 27, campaignCriterion_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 28, feed_);
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 29, feedItem_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 30, adGroupFeed_);
}
if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 31, campaignFeed_);
}
if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 32, adGroupBidModifier_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sharedSet_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 33, sharedSet_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(campaignSharedSet_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 34, campaignSharedSet_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 35, asset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customerAsset_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 36, customerAsset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(campaignAsset_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 37, campaignAsset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(adGroupAsset_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 38, adGroupAsset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(combinedAudience_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 40, combinedAudience_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assetGroup_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 41, assetGroup_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceName_);
}
if (resourceType_ != com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, resourceType_);
}
if (resourceStatus_ != com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, resourceStatus_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, campaign_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, adGroup_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, lastChangeDateTime_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, adGroupAd_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, adGroupCriterion_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, campaignCriterion_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, feed_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, feedItem_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, adGroupFeed_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, campaignFeed_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, adGroupBidModifier_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sharedSet_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(33, sharedSet_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(campaignSharedSet_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(34, campaignSharedSet_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(35, asset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customerAsset_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(36, customerAsset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(campaignAsset_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37, campaignAsset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(adGroupAsset_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(38, adGroupAsset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(combinedAudience_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(40, combinedAudience_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assetGroup_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(41, assetGroup_);
}
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.v18.resources.ChangeStatus)) {
return super.equals(obj);
}
com.google.ads.googleads.v18.resources.ChangeStatus other = (com.google.ads.googleads.v18.resources.ChangeStatus) obj;
if (!getResourceName()
.equals(other.getResourceName())) return false;
if (hasLastChangeDateTime() != other.hasLastChangeDateTime()) return false;
if (hasLastChangeDateTime()) {
if (!getLastChangeDateTime()
.equals(other.getLastChangeDateTime())) return false;
}
if (resourceType_ != other.resourceType_) return false;
if (hasCampaign() != other.hasCampaign()) return false;
if (hasCampaign()) {
if (!getCampaign()
.equals(other.getCampaign())) return false;
}
if (hasAdGroup() != other.hasAdGroup()) return false;
if (hasAdGroup()) {
if (!getAdGroup()
.equals(other.getAdGroup())) return false;
}
if (resourceStatus_ != other.resourceStatus_) return false;
if (hasAdGroupAd() != other.hasAdGroupAd()) return false;
if (hasAdGroupAd()) {
if (!getAdGroupAd()
.equals(other.getAdGroupAd())) return false;
}
if (hasAdGroupCriterion() != other.hasAdGroupCriterion()) return false;
if (hasAdGroupCriterion()) {
if (!getAdGroupCriterion()
.equals(other.getAdGroupCriterion())) return false;
}
if (hasCampaignCriterion() != other.hasCampaignCriterion()) return false;
if (hasCampaignCriterion()) {
if (!getCampaignCriterion()
.equals(other.getCampaignCriterion())) return false;
}
if (hasFeed() != other.hasFeed()) return false;
if (hasFeed()) {
if (!getFeed()
.equals(other.getFeed())) return false;
}
if (hasFeedItem() != other.hasFeedItem()) return false;
if (hasFeedItem()) {
if (!getFeedItem()
.equals(other.getFeedItem())) return false;
}
if (hasAdGroupFeed() != other.hasAdGroupFeed()) return false;
if (hasAdGroupFeed()) {
if (!getAdGroupFeed()
.equals(other.getAdGroupFeed())) return false;
}
if (hasCampaignFeed() != other.hasCampaignFeed()) return false;
if (hasCampaignFeed()) {
if (!getCampaignFeed()
.equals(other.getCampaignFeed())) return false;
}
if (hasAdGroupBidModifier() != other.hasAdGroupBidModifier()) return false;
if (hasAdGroupBidModifier()) {
if (!getAdGroupBidModifier()
.equals(other.getAdGroupBidModifier())) return false;
}
if (!getSharedSet()
.equals(other.getSharedSet())) return false;
if (!getCampaignSharedSet()
.equals(other.getCampaignSharedSet())) return false;
if (!getAsset()
.equals(other.getAsset())) return false;
if (!getCustomerAsset()
.equals(other.getCustomerAsset())) return false;
if (!getCampaignAsset()
.equals(other.getCampaignAsset())) return false;
if (!getAdGroupAsset()
.equals(other.getAdGroupAsset())) return false;
if (!getCombinedAudience()
.equals(other.getCombinedAudience())) return false;
if (!getAssetGroup()
.equals(other.getAssetGroup())) 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) + RESOURCE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getResourceName().hashCode();
if (hasLastChangeDateTime()) {
hash = (37 * hash) + LAST_CHANGE_DATE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getLastChangeDateTime().hashCode();
}
hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + resourceType_;
if (hasCampaign()) {
hash = (37 * hash) + CAMPAIGN_FIELD_NUMBER;
hash = (53 * hash) + getCampaign().hashCode();
}
if (hasAdGroup()) {
hash = (37 * hash) + AD_GROUP_FIELD_NUMBER;
hash = (53 * hash) + getAdGroup().hashCode();
}
hash = (37 * hash) + RESOURCE_STATUS_FIELD_NUMBER;
hash = (53 * hash) + resourceStatus_;
if (hasAdGroupAd()) {
hash = (37 * hash) + AD_GROUP_AD_FIELD_NUMBER;
hash = (53 * hash) + getAdGroupAd().hashCode();
}
if (hasAdGroupCriterion()) {
hash = (37 * hash) + AD_GROUP_CRITERION_FIELD_NUMBER;
hash = (53 * hash) + getAdGroupCriterion().hashCode();
}
if (hasCampaignCriterion()) {
hash = (37 * hash) + CAMPAIGN_CRITERION_FIELD_NUMBER;
hash = (53 * hash) + getCampaignCriterion().hashCode();
}
if (hasFeed()) {
hash = (37 * hash) + FEED_FIELD_NUMBER;
hash = (53 * hash) + getFeed().hashCode();
}
if (hasFeedItem()) {
hash = (37 * hash) + FEED_ITEM_FIELD_NUMBER;
hash = (53 * hash) + getFeedItem().hashCode();
}
if (hasAdGroupFeed()) {
hash = (37 * hash) + AD_GROUP_FEED_FIELD_NUMBER;
hash = (53 * hash) + getAdGroupFeed().hashCode();
}
if (hasCampaignFeed()) {
hash = (37 * hash) + CAMPAIGN_FEED_FIELD_NUMBER;
hash = (53 * hash) + getCampaignFeed().hashCode();
}
if (hasAdGroupBidModifier()) {
hash = (37 * hash) + AD_GROUP_BID_MODIFIER_FIELD_NUMBER;
hash = (53 * hash) + getAdGroupBidModifier().hashCode();
}
hash = (37 * hash) + SHARED_SET_FIELD_NUMBER;
hash = (53 * hash) + getSharedSet().hashCode();
hash = (37 * hash) + CAMPAIGN_SHARED_SET_FIELD_NUMBER;
hash = (53 * hash) + getCampaignSharedSet().hashCode();
hash = (37 * hash) + ASSET_FIELD_NUMBER;
hash = (53 * hash) + getAsset().hashCode();
hash = (37 * hash) + CUSTOMER_ASSET_FIELD_NUMBER;
hash = (53 * hash) + getCustomerAsset().hashCode();
hash = (37 * hash) + CAMPAIGN_ASSET_FIELD_NUMBER;
hash = (53 * hash) + getCampaignAsset().hashCode();
hash = (37 * hash) + AD_GROUP_ASSET_FIELD_NUMBER;
hash = (53 * hash) + getAdGroupAsset().hashCode();
hash = (37 * hash) + COMBINED_AUDIENCE_FIELD_NUMBER;
hash = (53 * hash) + getCombinedAudience().hashCode();
hash = (37 * hash) + ASSET_GROUP_FIELD_NUMBER;
hash = (53 * hash) + getAssetGroup().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v18.resources.ChangeStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v18.resources.ChangeStatus 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.v18.resources.ChangeStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v18.resources.ChangeStatus 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.v18.resources.ChangeStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v18.resources.ChangeStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v18.resources.ChangeStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v18.resources.ChangeStatus 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.v18.resources.ChangeStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v18.resources.ChangeStatus 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.v18.resources.ChangeStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v18.resources.ChangeStatus 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.v18.resources.ChangeStatus 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;
}
/**
*
* Describes the status of returned resource. ChangeStatus could have up to 3
* minutes delay to reflect a new change.
*
*
* Protobuf type {@code google.ads.googleads.v18.resources.ChangeStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v18.resources.ChangeStatus)
com.google.ads.googleads.v18.resources.ChangeStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v18.resources.ChangeStatusProto.internal_static_google_ads_googleads_v18_resources_ChangeStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v18.resources.ChangeStatusProto.internal_static_google_ads_googleads_v18_resources_ChangeStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v18.resources.ChangeStatus.class, com.google.ads.googleads.v18.resources.ChangeStatus.Builder.class);
}
// Construct using com.google.ads.googleads.v18.resources.ChangeStatus.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
resourceName_ = "";
lastChangeDateTime_ = "";
resourceType_ = 0;
campaign_ = "";
adGroup_ = "";
resourceStatus_ = 0;
adGroupAd_ = "";
adGroupCriterion_ = "";
campaignCriterion_ = "";
feed_ = "";
feedItem_ = "";
adGroupFeed_ = "";
campaignFeed_ = "";
adGroupBidModifier_ = "";
sharedSet_ = "";
campaignSharedSet_ = "";
asset_ = "";
customerAsset_ = "";
campaignAsset_ = "";
adGroupAsset_ = "";
combinedAudience_ = "";
assetGroup_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v18.resources.ChangeStatusProto.internal_static_google_ads_googleads_v18_resources_ChangeStatus_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v18.resources.ChangeStatus getDefaultInstanceForType() {
return com.google.ads.googleads.v18.resources.ChangeStatus.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v18.resources.ChangeStatus build() {
com.google.ads.googleads.v18.resources.ChangeStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v18.resources.ChangeStatus buildPartial() {
com.google.ads.googleads.v18.resources.ChangeStatus result = new com.google.ads.googleads.v18.resources.ChangeStatus(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.ads.googleads.v18.resources.ChangeStatus result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.resourceName_ = resourceName_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.lastChangeDateTime_ = lastChangeDateTime_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.resourceType_ = resourceType_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.campaign_ = campaign_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.adGroup_ = adGroup_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.resourceStatus_ = resourceStatus_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.adGroupAd_ = adGroupAd_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.adGroupCriterion_ = adGroupCriterion_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.campaignCriterion_ = campaignCriterion_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.feed_ = feed_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.feedItem_ = feedItem_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.adGroupFeed_ = adGroupFeed_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.campaignFeed_ = campaignFeed_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.adGroupBidModifier_ = adGroupBidModifier_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.sharedSet_ = sharedSet_;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.campaignSharedSet_ = campaignSharedSet_;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.asset_ = asset_;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.customerAsset_ = customerAsset_;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
result.campaignAsset_ = campaignAsset_;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
result.adGroupAsset_ = adGroupAsset_;
}
if (((from_bitField0_ & 0x00100000) != 0)) {
result.combinedAudience_ = combinedAudience_;
}
if (((from_bitField0_ & 0x00200000) != 0)) {
result.assetGroup_ = assetGroup_;
}
result.bitField0_ |= to_bitField0_;
}
@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.v18.resources.ChangeStatus) {
return mergeFrom((com.google.ads.googleads.v18.resources.ChangeStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v18.resources.ChangeStatus other) {
if (other == com.google.ads.googleads.v18.resources.ChangeStatus.getDefaultInstance()) return this;
if (!other.getResourceName().isEmpty()) {
resourceName_ = other.resourceName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasLastChangeDateTime()) {
lastChangeDateTime_ = other.lastChangeDateTime_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.resourceType_ != 0) {
setResourceTypeValue(other.getResourceTypeValue());
}
if (other.hasCampaign()) {
campaign_ = other.campaign_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasAdGroup()) {
adGroup_ = other.adGroup_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.resourceStatus_ != 0) {
setResourceStatusValue(other.getResourceStatusValue());
}
if (other.hasAdGroupAd()) {
adGroupAd_ = other.adGroupAd_;
bitField0_ |= 0x00000040;
onChanged();
}
if (other.hasAdGroupCriterion()) {
adGroupCriterion_ = other.adGroupCriterion_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasCampaignCriterion()) {
campaignCriterion_ = other.campaignCriterion_;
bitField0_ |= 0x00000100;
onChanged();
}
if (other.hasFeed()) {
feed_ = other.feed_;
bitField0_ |= 0x00000200;
onChanged();
}
if (other.hasFeedItem()) {
feedItem_ = other.feedItem_;
bitField0_ |= 0x00000400;
onChanged();
}
if (other.hasAdGroupFeed()) {
adGroupFeed_ = other.adGroupFeed_;
bitField0_ |= 0x00000800;
onChanged();
}
if (other.hasCampaignFeed()) {
campaignFeed_ = other.campaignFeed_;
bitField0_ |= 0x00001000;
onChanged();
}
if (other.hasAdGroupBidModifier()) {
adGroupBidModifier_ = other.adGroupBidModifier_;
bitField0_ |= 0x00002000;
onChanged();
}
if (!other.getSharedSet().isEmpty()) {
sharedSet_ = other.sharedSet_;
bitField0_ |= 0x00004000;
onChanged();
}
if (!other.getCampaignSharedSet().isEmpty()) {
campaignSharedSet_ = other.campaignSharedSet_;
bitField0_ |= 0x00008000;
onChanged();
}
if (!other.getAsset().isEmpty()) {
asset_ = other.asset_;
bitField0_ |= 0x00010000;
onChanged();
}
if (!other.getCustomerAsset().isEmpty()) {
customerAsset_ = other.customerAsset_;
bitField0_ |= 0x00020000;
onChanged();
}
if (!other.getCampaignAsset().isEmpty()) {
campaignAsset_ = other.campaignAsset_;
bitField0_ |= 0x00040000;
onChanged();
}
if (!other.getAdGroupAsset().isEmpty()) {
adGroupAsset_ = other.adGroupAsset_;
bitField0_ |= 0x00080000;
onChanged();
}
if (!other.getCombinedAudience().isEmpty()) {
combinedAudience_ = other.combinedAudience_;
bitField0_ |= 0x00100000;
onChanged();
}
if (!other.getAssetGroup().isEmpty()) {
assetGroup_ = other.assetGroup_;
bitField0_ |= 0x00200000;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
resourceName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 32: {
resourceType_ = input.readEnum();
bitField0_ |= 0x00000004;
break;
} // case 32
case 64: {
resourceStatus_ = input.readEnum();
bitField0_ |= 0x00000020;
break;
} // case 64
case 138: {
campaign_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 138
case 146: {
adGroup_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 146
case 194: {
lastChangeDateTime_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 194
case 202: {
adGroupAd_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 202
case 210: {
adGroupCriterion_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 210
case 218: {
campaignCriterion_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 218
case 226: {
feed_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 226
case 234: {
feedItem_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 234
case 242: {
adGroupFeed_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 242
case 250: {
campaignFeed_ = input.readStringRequireUtf8();
bitField0_ |= 0x00001000;
break;
} // case 250
case 258: {
adGroupBidModifier_ = input.readStringRequireUtf8();
bitField0_ |= 0x00002000;
break;
} // case 258
case 266: {
sharedSet_ = input.readStringRequireUtf8();
bitField0_ |= 0x00004000;
break;
} // case 266
case 274: {
campaignSharedSet_ = input.readStringRequireUtf8();
bitField0_ |= 0x00008000;
break;
} // case 274
case 282: {
asset_ = input.readStringRequireUtf8();
bitField0_ |= 0x00010000;
break;
} // case 282
case 290: {
customerAsset_ = input.readStringRequireUtf8();
bitField0_ |= 0x00020000;
break;
} // case 290
case 298: {
campaignAsset_ = input.readStringRequireUtf8();
bitField0_ |= 0x00040000;
break;
} // case 298
case 306: {
adGroupAsset_ = input.readStringRequireUtf8();
bitField0_ |= 0x00080000;
break;
} // case 306
case 322: {
combinedAudience_ = input.readStringRequireUtf8();
bitField0_ |= 0x00100000;
break;
} // case 322
case 330: {
assetGroup_ = input.readStringRequireUtf8();
bitField0_ |= 0x00200000;
break;
} // case 330
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object resourceName_ = "";
/**
*
* Output only. The resource name of the change status.
* Change status resource names have the form:
*
* `customers/{customer_id}/changeStatus/{change_status_id}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The resourceName.
*/
public java.lang.String getResourceName() {
java.lang.Object ref = resourceName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
resourceName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The resource name of the change status.
* Change status resource names have the form:
*
* `customers/{customer_id}/changeStatus/{change_status_id}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for resourceName.
*/
public com.google.protobuf.ByteString
getResourceNameBytes() {
java.lang.Object ref = resourceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resourceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The resource name of the change status.
* Change status resource names have the form:
*
* `customers/{customer_id}/changeStatus/{change_status_id}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The resourceName to set.
* @return This builder for chaining.
*/
public Builder setResourceName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
resourceName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Output only. The resource name of the change status.
* Change status resource names have the form:
*
* `customers/{customer_id}/changeStatus/{change_status_id}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearResourceName() {
resourceName_ = getDefaultInstance().getResourceName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Output only. The resource name of the change status.
* Change status resource names have the form:
*
* `customers/{customer_id}/changeStatus/{change_status_id}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for resourceName to set.
* @return This builder for chaining.
*/
public Builder setResourceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
resourceName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object lastChangeDateTime_ = "";
/**
*
* Output only. Time at which the most recent change has occurred on this
* resource.
*
*
* optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the lastChangeDateTime field is set.
*/
public boolean hasLastChangeDateTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Output only. Time at which the most recent change has occurred on this
* resource.
*
*
* optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The lastChangeDateTime.
*/
public java.lang.String getLastChangeDateTime() {
java.lang.Object ref = lastChangeDateTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lastChangeDateTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. Time at which the most recent change has occurred on this
* resource.
*
*
* optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The bytes for lastChangeDateTime.
*/
public com.google.protobuf.ByteString
getLastChangeDateTimeBytes() {
java.lang.Object ref = lastChangeDateTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lastChangeDateTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. Time at which the most recent change has occurred on this
* resource.
*
*
* optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The lastChangeDateTime to set.
* @return This builder for chaining.
*/
public Builder setLastChangeDateTime(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
lastChangeDateTime_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Output only. Time at which the most recent change has occurred on this
* resource.
*
*
* optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearLastChangeDateTime() {
lastChangeDateTime_ = getDefaultInstance().getLastChangeDateTime();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* Output only. Time at which the most recent change has occurred on this
* resource.
*
*
* optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The bytes for lastChangeDateTime to set.
* @return This builder for chaining.
*/
public Builder setLastChangeDateTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
lastChangeDateTime_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int resourceType_ = 0;
/**
*
* Output only. Represents the type of the changed resource. This dictates
* what fields will be set. For example, for AD_GROUP, campaign and ad_group
* fields will be set.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for resourceType.
*/
@java.lang.Override public int getResourceTypeValue() {
return resourceType_;
}
/**
*
* Output only. Represents the type of the changed resource. This dictates
* what fields will be set. For example, for AD_GROUP, campaign and ad_group
* fields will be set.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for resourceType to set.
* @return This builder for chaining.
*/
public Builder setResourceTypeValue(int value) {
resourceType_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* Output only. Represents the type of the changed resource. This dictates
* what fields will be set. For example, for AD_GROUP, campaign and ad_group
* fields will be set.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The resourceType.
*/
@java.lang.Override
public com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType getResourceType() {
com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType result = com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType.forNumber(resourceType_);
return result == null ? com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType.UNRECOGNIZED : result;
}
/**
*
* Output only. Represents the type of the changed resource. This dictates
* what fields will be set. For example, for AD_GROUP, campaign and ad_group
* fields will be set.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The resourceType to set.
* @return This builder for chaining.
*/
public Builder setResourceType(com.google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
resourceType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Represents the type of the changed resource. This dictates
* what fields will be set. For example, for AD_GROUP, campaign and ad_group
* fields will be set.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearResourceType() {
bitField0_ = (bitField0_ & ~0x00000004);
resourceType_ = 0;
onChanged();
return this;
}
private java.lang.Object campaign_ = "";
/**
*
* Output only. The Campaign affected by this change.
*
*
* optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the campaign field is set.
*/
public boolean hasCampaign() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Output only. The Campaign affected by this change.
*
*
* optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The campaign.
*/
public java.lang.String getCampaign() {
java.lang.Object ref = campaign_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
campaign_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The Campaign affected by this change.
*
*
* optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for campaign.
*/
public com.google.protobuf.ByteString
getCampaignBytes() {
java.lang.Object ref = campaign_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaign_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The Campaign affected by this change.
*
*
* optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The campaign to set.
* @return This builder for chaining.
*/
public Builder setCampaign(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
campaign_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Output only. The Campaign affected by this change.
*
*
* optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearCampaign() {
campaign_ = getDefaultInstance().getCampaign();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* Output only. The Campaign affected by this change.
*
*
* optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for campaign to set.
* @return This builder for chaining.
*/
public Builder setCampaignBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
campaign_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object adGroup_ = "";
/**
*
* Output only. The AdGroup affected by this change.
*
*
* optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the adGroup field is set.
*/
public boolean hasAdGroup() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Output only. The AdGroup affected by this change.
*
*
* optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroup.
*/
public java.lang.String getAdGroup() {
java.lang.Object ref = adGroup_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
adGroup_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The AdGroup affected by this change.
*
*
* optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroup.
*/
public com.google.protobuf.ByteString
getAdGroupBytes() {
java.lang.Object ref = adGroup_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroup_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The AdGroup affected by this change.
*
*
* optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The adGroup to set.
* @return This builder for chaining.
*/
public Builder setAdGroup(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
adGroup_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* Output only. The AdGroup affected by this change.
*
*
* optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearAdGroup() {
adGroup_ = getDefaultInstance().getAdGroup();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
*
* Output only. The AdGroup affected by this change.
*
*
* optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for adGroup to set.
* @return This builder for chaining.
*/
public Builder setAdGroupBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
adGroup_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private int resourceStatus_ = 0;
/**
*
* Output only. Represents the status of the changed resource.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for resourceStatus.
*/
@java.lang.Override public int getResourceStatusValue() {
return resourceStatus_;
}
/**
*
* Output only. Represents the status of the changed resource.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for resourceStatus to set.
* @return This builder for chaining.
*/
public Builder setResourceStatusValue(int value) {
resourceStatus_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Output only. Represents the status of the changed resource.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The resourceStatus.
*/
@java.lang.Override
public com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation getResourceStatus() {
com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation result = com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation.forNumber(resourceStatus_);
return result == null ? com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation.UNRECOGNIZED : result;
}
/**
*
* Output only. Represents the status of the changed resource.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The resourceStatus to set.
* @return This builder for chaining.
*/
public Builder setResourceStatus(com.google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
resourceStatus_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Represents the status of the changed resource.
*
*
* .google.ads.googleads.v18.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearResourceStatus() {
bitField0_ = (bitField0_ & ~0x00000020);
resourceStatus_ = 0;
onChanged();
return this;
}
private java.lang.Object adGroupAd_ = "";
/**
*
* Output only. The AdGroupAd affected by this change.
*
*
* optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the adGroupAd field is set.
*/
public boolean hasAdGroupAd() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Output only. The AdGroupAd affected by this change.
*
*
* optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroupAd.
*/
public java.lang.String getAdGroupAd() {
java.lang.Object ref = adGroupAd_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
adGroupAd_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The AdGroupAd affected by this change.
*
*
* optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroupAd.
*/
public com.google.protobuf.ByteString
getAdGroupAdBytes() {
java.lang.Object ref = adGroupAd_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroupAd_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The AdGroupAd affected by this change.
*
*
* optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The adGroupAd to set.
* @return This builder for chaining.
*/
public Builder setAdGroupAd(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
adGroupAd_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Output only. The AdGroupAd affected by this change.
*
*
* optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearAdGroupAd() {
adGroupAd_ = getDefaultInstance().getAdGroupAd();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
*
* Output only. The AdGroupAd affected by this change.
*
*
* optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for adGroupAd to set.
* @return This builder for chaining.
*/
public Builder setAdGroupAdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
adGroupAd_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object adGroupCriterion_ = "";
/**
*
* Output only. The AdGroupCriterion affected by this change.
*
*
* optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the adGroupCriterion field is set.
*/
public boolean hasAdGroupCriterion() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Output only. The AdGroupCriterion affected by this change.
*
*
* optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroupCriterion.
*/
public java.lang.String getAdGroupCriterion() {
java.lang.Object ref = adGroupCriterion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
adGroupCriterion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The AdGroupCriterion affected by this change.
*
*
* optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroupCriterion.
*/
public com.google.protobuf.ByteString
getAdGroupCriterionBytes() {
java.lang.Object ref = adGroupCriterion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroupCriterion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The AdGroupCriterion affected by this change.
*
*
* optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The adGroupCriterion to set.
* @return This builder for chaining.
*/
public Builder setAdGroupCriterion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
adGroupCriterion_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Output only. The AdGroupCriterion affected by this change.
*
*
* optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearAdGroupCriterion() {
adGroupCriterion_ = getDefaultInstance().getAdGroupCriterion();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
*
* Output only. The AdGroupCriterion affected by this change.
*
*
* optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for adGroupCriterion to set.
* @return This builder for chaining.
*/
public Builder setAdGroupCriterionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
adGroupCriterion_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object campaignCriterion_ = "";
/**
*
* Output only. The CampaignCriterion affected by this change.
*
*
* optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the campaignCriterion field is set.
*/
public boolean hasCampaignCriterion() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Output only. The CampaignCriterion affected by this change.
*
*
* optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The campaignCriterion.
*/
public java.lang.String getCampaignCriterion() {
java.lang.Object ref = campaignCriterion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
campaignCriterion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The CampaignCriterion affected by this change.
*
*
* optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for campaignCriterion.
*/
public com.google.protobuf.ByteString
getCampaignCriterionBytes() {
java.lang.Object ref = campaignCriterion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaignCriterion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The CampaignCriterion affected by this change.
*
*
* optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The campaignCriterion to set.
* @return This builder for chaining.
*/
public Builder setCampaignCriterion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
campaignCriterion_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Output only. The CampaignCriterion affected by this change.
*
*
* optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearCampaignCriterion() {
campaignCriterion_ = getDefaultInstance().getCampaignCriterion();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
*
* Output only. The CampaignCriterion affected by this change.
*
*
* optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for campaignCriterion to set.
* @return This builder for chaining.
*/
public Builder setCampaignCriterionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
campaignCriterion_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object feed_ = "";
/**
*
* Output only. The Feed affected by this change.
*
*
* optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the feed field is set.
*/
public boolean hasFeed() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Output only. The Feed affected by this change.
*
*
* optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The feed.
*/
public java.lang.String getFeed() {
java.lang.Object ref = feed_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
feed_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The Feed affected by this change.
*
*
* optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for feed.
*/
public com.google.protobuf.ByteString
getFeedBytes() {
java.lang.Object ref = feed_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feed_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The Feed affected by this change.
*
*
* optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The feed to set.
* @return This builder for chaining.
*/
public Builder setFeed(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
feed_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* Output only. The Feed affected by this change.
*
*
* optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearFeed() {
feed_ = getDefaultInstance().getFeed();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
*
* Output only. The Feed affected by this change.
*
*
* optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for feed to set.
* @return This builder for chaining.
*/
public Builder setFeedBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
feed_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
private java.lang.Object feedItem_ = "";
/**
*
* Output only. The FeedItem affected by this change.
*
*
* optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the feedItem field is set.
*/
public boolean hasFeedItem() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Output only. The FeedItem affected by this change.
*
*
* optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The feedItem.
*/
public java.lang.String getFeedItem() {
java.lang.Object ref = feedItem_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
feedItem_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The FeedItem affected by this change.
*
*
* optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for feedItem.
*/
public com.google.protobuf.ByteString
getFeedItemBytes() {
java.lang.Object ref = feedItem_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feedItem_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The FeedItem affected by this change.
*
*
* optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The feedItem to set.
* @return This builder for chaining.
*/
public Builder setFeedItem(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
feedItem_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* Output only. The FeedItem affected by this change.
*
*
* optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearFeedItem() {
feedItem_ = getDefaultInstance().getFeedItem();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
*
* Output only. The FeedItem affected by this change.
*
*
* optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for feedItem to set.
* @return This builder for chaining.
*/
public Builder setFeedItemBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
feedItem_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object adGroupFeed_ = "";
/**
*
* Output only. The AdGroupFeed affected by this change.
*
*
* optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the adGroupFeed field is set.
*/
public boolean hasAdGroupFeed() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* Output only. The AdGroupFeed affected by this change.
*
*
* optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroupFeed.
*/
public java.lang.String getAdGroupFeed() {
java.lang.Object ref = adGroupFeed_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
adGroupFeed_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The AdGroupFeed affected by this change.
*
*
* optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroupFeed.
*/
public com.google.protobuf.ByteString
getAdGroupFeedBytes() {
java.lang.Object ref = adGroupFeed_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroupFeed_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The AdGroupFeed affected by this change.
*
*
* optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The adGroupFeed to set.
* @return This builder for chaining.
*/
public Builder setAdGroupFeed(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
adGroupFeed_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* Output only. The AdGroupFeed affected by this change.
*
*
* optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearAdGroupFeed() {
adGroupFeed_ = getDefaultInstance().getAdGroupFeed();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
*
* Output only. The AdGroupFeed affected by this change.
*
*
* optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for adGroupFeed to set.
* @return This builder for chaining.
*/
public Builder setAdGroupFeedBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
adGroupFeed_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private java.lang.Object campaignFeed_ = "";
/**
*
* Output only. The CampaignFeed affected by this change.
*
*
* optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the campaignFeed field is set.
*/
public boolean hasCampaignFeed() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* Output only. The CampaignFeed affected by this change.
*
*
* optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The campaignFeed.
*/
public java.lang.String getCampaignFeed() {
java.lang.Object ref = campaignFeed_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
campaignFeed_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The CampaignFeed affected by this change.
*
*
* optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for campaignFeed.
*/
public com.google.protobuf.ByteString
getCampaignFeedBytes() {
java.lang.Object ref = campaignFeed_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaignFeed_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The CampaignFeed affected by this change.
*
*
* optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The campaignFeed to set.
* @return This builder for chaining.
*/
public Builder setCampaignFeed(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
campaignFeed_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
*
* Output only. The CampaignFeed affected by this change.
*
*
* optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearCampaignFeed() {
campaignFeed_ = getDefaultInstance().getCampaignFeed();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
*
* Output only. The CampaignFeed affected by this change.
*
*
* optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for campaignFeed to set.
* @return This builder for chaining.
*/
public Builder setCampaignFeedBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
campaignFeed_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
private java.lang.Object adGroupBidModifier_ = "";
/**
*
* Output only. The AdGroupBidModifier affected by this change.
*
*
* optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return Whether the adGroupBidModifier field is set.
*/
public boolean hasAdGroupBidModifier() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
* Output only. The AdGroupBidModifier affected by this change.
*
*
* optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroupBidModifier.
*/
public java.lang.String getAdGroupBidModifier() {
java.lang.Object ref = adGroupBidModifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
adGroupBidModifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The AdGroupBidModifier affected by this change.
*
*
* optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroupBidModifier.
*/
public com.google.protobuf.ByteString
getAdGroupBidModifierBytes() {
java.lang.Object ref = adGroupBidModifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroupBidModifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The AdGroupBidModifier affected by this change.
*
*
* optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The adGroupBidModifier to set.
* @return This builder for chaining.
*/
public Builder setAdGroupBidModifier(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
adGroupBidModifier_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
*
* Output only. The AdGroupBidModifier affected by this change.
*
*
* optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearAdGroupBidModifier() {
adGroupBidModifier_ = getDefaultInstance().getAdGroupBidModifier();
bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
return this;
}
/**
*
* Output only. The AdGroupBidModifier affected by this change.
*
*
* optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for adGroupBidModifier to set.
* @return This builder for chaining.
*/
public Builder setAdGroupBidModifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
adGroupBidModifier_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
private java.lang.Object sharedSet_ = "";
/**
*
* Output only. The SharedSet affected by this change.
*
*
* string shared_set = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The sharedSet.
*/
public java.lang.String getSharedSet() {
java.lang.Object ref = sharedSet_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sharedSet_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The SharedSet affected by this change.
*
*
* string shared_set = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for sharedSet.
*/
public com.google.protobuf.ByteString
getSharedSetBytes() {
java.lang.Object ref = sharedSet_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sharedSet_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The SharedSet affected by this change.
*
*
* string shared_set = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The sharedSet to set.
* @return This builder for chaining.
*/
public Builder setSharedSet(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
sharedSet_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
*
* Output only. The SharedSet affected by this change.
*
*
* string shared_set = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearSharedSet() {
sharedSet_ = getDefaultInstance().getSharedSet();
bitField0_ = (bitField0_ & ~0x00004000);
onChanged();
return this;
}
/**
*
* Output only. The SharedSet affected by this change.
*
*
* string shared_set = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for sharedSet to set.
* @return This builder for chaining.
*/
public Builder setSharedSetBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
sharedSet_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
private java.lang.Object campaignSharedSet_ = "";
/**
*
* Output only. The CampaignSharedSet affected by this change.
*
*
* string campaign_shared_set = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The campaignSharedSet.
*/
public java.lang.String getCampaignSharedSet() {
java.lang.Object ref = campaignSharedSet_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
campaignSharedSet_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The CampaignSharedSet affected by this change.
*
*
* string campaign_shared_set = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for campaignSharedSet.
*/
public com.google.protobuf.ByteString
getCampaignSharedSetBytes() {
java.lang.Object ref = campaignSharedSet_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaignSharedSet_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The CampaignSharedSet affected by this change.
*
*
* string campaign_shared_set = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The campaignSharedSet to set.
* @return This builder for chaining.
*/
public Builder setCampaignSharedSet(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
campaignSharedSet_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
*
* Output only. The CampaignSharedSet affected by this change.
*
*
* string campaign_shared_set = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearCampaignSharedSet() {
campaignSharedSet_ = getDefaultInstance().getCampaignSharedSet();
bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
return this;
}
/**
*
* Output only. The CampaignSharedSet affected by this change.
*
*
* string campaign_shared_set = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for campaignSharedSet to set.
* @return This builder for chaining.
*/
public Builder setCampaignSharedSetBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
campaignSharedSet_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
private java.lang.Object asset_ = "";
/**
*
* Output only. The Asset affected by this change.
*
*
* string asset = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The asset.
*/
public java.lang.String getAsset() {
java.lang.Object ref = asset_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
asset_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The Asset affected by this change.
*
*
* string asset = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for asset.
*/
public com.google.protobuf.ByteString
getAssetBytes() {
java.lang.Object ref = asset_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
asset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The Asset affected by this change.
*
*
* string asset = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The asset to set.
* @return This builder for chaining.
*/
public Builder setAsset(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
asset_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
*
* Output only. The Asset affected by this change.
*
*
* string asset = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearAsset() {
asset_ = getDefaultInstance().getAsset();
bitField0_ = (bitField0_ & ~0x00010000);
onChanged();
return this;
}
/**
*
* Output only. The Asset affected by this change.
*
*
* string asset = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for asset to set.
* @return This builder for chaining.
*/
public Builder setAssetBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
asset_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
private java.lang.Object customerAsset_ = "";
/**
*
* Output only. The CustomerAsset affected by this change.
*
*
* string customer_asset = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The customerAsset.
*/
public java.lang.String getCustomerAsset() {
java.lang.Object ref = customerAsset_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
customerAsset_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The CustomerAsset affected by this change.
*
*
* string customer_asset = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for customerAsset.
*/
public com.google.protobuf.ByteString
getCustomerAssetBytes() {
java.lang.Object ref = customerAsset_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
customerAsset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The CustomerAsset affected by this change.
*
*
* string customer_asset = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The customerAsset to set.
* @return This builder for chaining.
*/
public Builder setCustomerAsset(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
customerAsset_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
*
* Output only. The CustomerAsset affected by this change.
*
*
* string customer_asset = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearCustomerAsset() {
customerAsset_ = getDefaultInstance().getCustomerAsset();
bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
return this;
}
/**
*
* Output only. The CustomerAsset affected by this change.
*
*
* string customer_asset = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for customerAsset to set.
* @return This builder for chaining.
*/
public Builder setCustomerAssetBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
customerAsset_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
private java.lang.Object campaignAsset_ = "";
/**
*
* Output only. The CampaignAsset affected by this change.
*
*
* string campaign_asset = 37 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The campaignAsset.
*/
public java.lang.String getCampaignAsset() {
java.lang.Object ref = campaignAsset_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
campaignAsset_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The CampaignAsset affected by this change.
*
*
* string campaign_asset = 37 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for campaignAsset.
*/
public com.google.protobuf.ByteString
getCampaignAssetBytes() {
java.lang.Object ref = campaignAsset_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
campaignAsset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The CampaignAsset affected by this change.
*
*
* string campaign_asset = 37 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The campaignAsset to set.
* @return This builder for chaining.
*/
public Builder setCampaignAsset(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
campaignAsset_ = value;
bitField0_ |= 0x00040000;
onChanged();
return this;
}
/**
*
* Output only. The CampaignAsset affected by this change.
*
*
* string campaign_asset = 37 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearCampaignAsset() {
campaignAsset_ = getDefaultInstance().getCampaignAsset();
bitField0_ = (bitField0_ & ~0x00040000);
onChanged();
return this;
}
/**
*
* Output only. The CampaignAsset affected by this change.
*
*
* string campaign_asset = 37 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for campaignAsset to set.
* @return This builder for chaining.
*/
public Builder setCampaignAssetBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
campaignAsset_ = value;
bitField0_ |= 0x00040000;
onChanged();
return this;
}
private java.lang.Object adGroupAsset_ = "";
/**
*
* Output only. The AdGroupAsset affected by this change.
*
*
* string ad_group_asset = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The adGroupAsset.
*/
public java.lang.String getAdGroupAsset() {
java.lang.Object ref = adGroupAsset_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
adGroupAsset_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The AdGroupAsset affected by this change.
*
*
* string ad_group_asset = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for adGroupAsset.
*/
public com.google.protobuf.ByteString
getAdGroupAssetBytes() {
java.lang.Object ref = adGroupAsset_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adGroupAsset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The AdGroupAsset affected by this change.
*
*
* string ad_group_asset = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The adGroupAsset to set.
* @return This builder for chaining.
*/
public Builder setAdGroupAsset(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
adGroupAsset_ = value;
bitField0_ |= 0x00080000;
onChanged();
return this;
}
/**
*
* Output only. The AdGroupAsset affected by this change.
*
*
* string ad_group_asset = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearAdGroupAsset() {
adGroupAsset_ = getDefaultInstance().getAdGroupAsset();
bitField0_ = (bitField0_ & ~0x00080000);
onChanged();
return this;
}
/**
*
* Output only. The AdGroupAsset affected by this change.
*
*
* string ad_group_asset = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for adGroupAsset to set.
* @return This builder for chaining.
*/
public Builder setAdGroupAssetBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
adGroupAsset_ = value;
bitField0_ |= 0x00080000;
onChanged();
return this;
}
private java.lang.Object combinedAudience_ = "";
/**
*
* Output only. The CombinedAudience affected by this change.
*
*
* string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The combinedAudience.
*/
public java.lang.String getCombinedAudience() {
java.lang.Object ref = combinedAudience_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
combinedAudience_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The CombinedAudience affected by this change.
*
*
* string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for combinedAudience.
*/
public com.google.protobuf.ByteString
getCombinedAudienceBytes() {
java.lang.Object ref = combinedAudience_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
combinedAudience_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The CombinedAudience affected by this change.
*
*
* string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The combinedAudience to set.
* @return This builder for chaining.
*/
public Builder setCombinedAudience(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
combinedAudience_ = value;
bitField0_ |= 0x00100000;
onChanged();
return this;
}
/**
*
* Output only. The CombinedAudience affected by this change.
*
*
* string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearCombinedAudience() {
combinedAudience_ = getDefaultInstance().getCombinedAudience();
bitField0_ = (bitField0_ & ~0x00100000);
onChanged();
return this;
}
/**
*
* Output only. The CombinedAudience affected by this change.
*
*
* string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for combinedAudience to set.
* @return This builder for chaining.
*/
public Builder setCombinedAudienceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
combinedAudience_ = value;
bitField0_ |= 0x00100000;
onChanged();
return this;
}
private java.lang.Object assetGroup_ = "";
/**
*
* Output only. The AssetGroup affected by this change.
*
*
* string asset_group = 41 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The assetGroup.
*/
public java.lang.String getAssetGroup() {
java.lang.Object ref = assetGroup_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
assetGroup_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The AssetGroup affected by this change.
*
*
* string asset_group = 41 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for assetGroup.
*/
public com.google.protobuf.ByteString
getAssetGroupBytes() {
java.lang.Object ref = assetGroup_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
assetGroup_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The AssetGroup affected by this change.
*
*
* string asset_group = 41 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The assetGroup to set.
* @return This builder for chaining.
*/
public Builder setAssetGroup(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
assetGroup_ = value;
bitField0_ |= 0x00200000;
onChanged();
return this;
}
/**
*
* Output only. The AssetGroup affected by this change.
*
*
* string asset_group = 41 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearAssetGroup() {
assetGroup_ = getDefaultInstance().getAssetGroup();
bitField0_ = (bitField0_ & ~0x00200000);
onChanged();
return this;
}
/**
*
* Output only. The AssetGroup affected by this change.
*
*
* string asset_group = 41 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for assetGroup to set.
* @return This builder for chaining.
*/
public Builder setAssetGroupBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
assetGroup_ = value;
bitField0_ |= 0x00200000;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.ads.googleads.v18.resources.ChangeStatus)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v18.resources.ChangeStatus)
private static final com.google.ads.googleads.v18.resources.ChangeStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v18.resources.ChangeStatus();
}
public static com.google.ads.googleads.v18.resources.ChangeStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ChangeStatus 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.v18.resources.ChangeStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy