public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { policyTopicEntries_.AddEntriesFrom(input, _repeated_policyTopicEntries_codec); break; } case 16: { reviewStatus_ = (global::Google.Ads.GoogleAds.V1.Enums.PolicyReviewStatusEnum.Types.PolicyReviewStatus)input.ReadEnum(); break; } case 24: { approvalStatus_ = (global::Google.Ads.GoogleAds.V1.Enums.PolicyApprovalStatusEnum.Types.PolicyApprovalStatus)input.ReadEnum(); break; } } } }
public void MergeFrom(AdGroupAdPolicySummary other) { if (other == null) { return; } policyTopicEntries_.Add(other.policyTopicEntries_); if (other.ReviewStatus != 0) { ReviewStatus = other.ReviewStatus; } if (other.ApprovalStatus != 0) { ApprovalStatus = other.ApprovalStatus; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }