void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { ResourceName = input.ReadString(); break; } case 18: { Feed = input.ReadString(); break; } case 24: { FeedItemSetId = input.ReadInt64(); break; } case 34: { DisplayName = input.ReadString(); break; } case 42: { global::Google.Ads.GoogleAds.V6.Common.DynamicLocationSetFilter subBuilder = new global::Google.Ads.GoogleAds.V6.Common.DynamicLocationSetFilter(); if (dynamicSetFilterCase_ == DynamicSetFilterOneofCase.DynamicLocationSetFilter) { subBuilder.MergeFrom(DynamicLocationSetFilter); } input.ReadMessage(subBuilder); DynamicLocationSetFilter = subBuilder; break; } case 50: { global::Google.Ads.GoogleAds.V6.Common.DynamicAffiliateLocationSetFilter subBuilder = new global::Google.Ads.GoogleAds.V6.Common.DynamicAffiliateLocationSetFilter(); if (dynamicSetFilterCase_ == DynamicSetFilterOneofCase.DynamicAffiliateLocationSetFilter) { subBuilder.MergeFrom(DynamicAffiliateLocationSetFilter); } input.ReadMessage(subBuilder); DynamicAffiliateLocationSetFilter = subBuilder; break; } case 64: { Status = (global::Google.Ads.GoogleAds.V6.Enums.FeedItemSetStatusEnum.Types.FeedItemSetStatus)input.ReadEnum(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { ResourceName = input.ReadString(); break; } case 18: { Feed = input.ReadString(); break; } case 24: { FeedItemSetId = input.ReadInt64(); break; } case 34: { DisplayName = input.ReadString(); break; } case 42: { global::Google.Ads.GoogleAds.V6.Common.DynamicLocationSetFilter subBuilder = new global::Google.Ads.GoogleAds.V6.Common.DynamicLocationSetFilter(); if (dynamicSetFilterCase_ == DynamicSetFilterOneofCase.DynamicLocationSetFilter) { subBuilder.MergeFrom(DynamicLocationSetFilter); } input.ReadMessage(subBuilder); DynamicLocationSetFilter = subBuilder; break; } case 50: { global::Google.Ads.GoogleAds.V6.Common.DynamicAffiliateLocationSetFilter subBuilder = new global::Google.Ads.GoogleAds.V6.Common.DynamicAffiliateLocationSetFilter(); if (dynamicSetFilterCase_ == DynamicSetFilterOneofCase.DynamicAffiliateLocationSetFilter) { subBuilder.MergeFrom(DynamicAffiliateLocationSetFilter); } input.ReadMessage(subBuilder); DynamicAffiliateLocationSetFilter = subBuilder; break; } case 64: { Status = (global::Google.Ads.GoogleAds.V6.Enums.FeedItemSetStatusEnum.Types.FeedItemSetStatus)input.ReadEnum(); break; } } } #endif }