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 32: {
                    Type = (global::Google.Ads.GoogleAds.V8.Enums.SimulationTypeEnum.Types.SimulationType)input.ReadEnum();
                    break;
                }

                case 40: {
                    ModificationMethod = (global::Google.Ads.GoogleAds.V8.Enums.SimulationModificationMethodEnum.Types.SimulationModificationMethod)input.ReadEnum();
                    break;
                }

                case 66: {
                    global::Google.Ads.GoogleAds.V8.Common.BidModifierSimulationPointList subBuilder = new global::Google.Ads.GoogleAds.V8.Common.BidModifierSimulationPointList();
                    if (pointListCase_ == PointListOneofCase.BidModifierPointList)
                    {
                        subBuilder.MergeFrom(BidModifierPointList);
                    }
                    input.ReadMessage(subBuilder);
                    BidModifierPointList = subBuilder;
                    break;
                }

                case 72: {
                    CampaignId = input.ReadInt64();
                    break;
                }

                case 80: {
                    CriterionId = input.ReadInt64();
                    break;
                }

                case 90: {
                    StartDate = input.ReadString();
                    break;
                }

                case 98: {
                    EndDate = input.ReadString();
                    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 32: {
                    Type = (global::Google.Ads.GoogleAds.V8.Enums.SimulationTypeEnum.Types.SimulationType)input.ReadEnum();
                    break;
                }

                case 40: {
                    ModificationMethod = (global::Google.Ads.GoogleAds.V8.Enums.SimulationModificationMethodEnum.Types.SimulationModificationMethod)input.ReadEnum();
                    break;
                }

                case 66: {
                    global::Google.Ads.GoogleAds.V8.Common.BidModifierSimulationPointList subBuilder = new global::Google.Ads.GoogleAds.V8.Common.BidModifierSimulationPointList();
                    if (pointListCase_ == PointListOneofCase.BidModifierPointList)
                    {
                        subBuilder.MergeFrom(BidModifierPointList);
                    }
                    input.ReadMessage(subBuilder);
                    BidModifierPointList = subBuilder;
                    break;
                }

                case 72: {
                    CampaignId = input.ReadInt64();
                    break;
                }

                case 80: {
                    CriterionId = input.ReadInt64();
                    break;
                }

                case 90: {
                    StartDate = input.ReadString();
                    break;
                }

                case 98: {
                    EndDate = input.ReadString();
                    break;
                }
                }
            }
    #endif
        }