예제 #1
0
        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: {
                    long?value = _single_draftId_codec.Read(ref input);
                    if (draftId_ == null || value != 0L)
                    {
                        DraftId = value;
                    }
                    break;
                }

                case 26: {
                    string value = _single_baseCampaign_codec.Read(ref input);
                    if (baseCampaign_ == null || value != "")
                    {
                        BaseCampaign = value;
                    }
                    break;
                }

                case 34: {
                    string value = _single_name_codec.Read(ref input);
                    if (name_ == null || value != "")
                    {
                        Name = value;
                    }
                    break;
                }

                case 42: {
                    string value = _single_draftCampaign_codec.Read(ref input);
                    if (draftCampaign_ == null || value != "")
                    {
                        DraftCampaign = value;
                    }
                    break;
                }

                case 48: {
                    Status = (global::Google.Ads.GoogleAds.V5.Enums.CampaignDraftStatusEnum.Types.CampaignDraftStatus)input.ReadEnum();
                    break;
                }

                case 58: {
                    bool?value = _single_hasExperimentRunning_codec.Read(ref input);
                    if (hasExperimentRunning_ == null || value != false)
                    {
                        HasExperimentRunning = value;
                    }
                    break;
                }

                case 66: {
                    string value = _single_longRunningOperation_codec.Read(ref input);
                    if (longRunningOperation_ == null || value != "")
                    {
                        LongRunningOperation = value;
                    }
                    break;
                }
                }
            }
        }
예제 #2
0
        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 26: {
                    string value = _single_lastChangeDateTime_codec.Read(ref input);
                    if (lastChangeDateTime_ == null || value != "")
                    {
                        LastChangeDateTime = value;
                    }
                    break;
                }

                case 32: {
                    ResourceType = (global::Google.Ads.GoogleAds.V3.Enums.ChangeStatusResourceTypeEnum.Types.ChangeStatusResourceType)input.ReadEnum();
                    break;
                }

                case 42: {
                    string value = _single_campaign_codec.Read(ref input);
                    if (campaign_ == null || value != "")
                    {
                        Campaign = value;
                    }
                    break;
                }

                case 50: {
                    string value = _single_adGroup_codec.Read(ref input);
                    if (adGroup_ == null || value != "")
                    {
                        AdGroup = value;
                    }
                    break;
                }

                case 64: {
                    ResourceStatus = (global::Google.Ads.GoogleAds.V3.Enums.ChangeStatusOperationEnum.Types.ChangeStatusOperation)input.ReadEnum();
                    break;
                }

                case 74: {
                    string value = _single_adGroupAd_codec.Read(ref input);
                    if (adGroupAd_ == null || value != "")
                    {
                        AdGroupAd = value;
                    }
                    break;
                }

                case 82: {
                    string value = _single_adGroupCriterion_codec.Read(ref input);
                    if (adGroupCriterion_ == null || value != "")
                    {
                        AdGroupCriterion = value;
                    }
                    break;
                }

                case 90: {
                    string value = _single_campaignCriterion_codec.Read(ref input);
                    if (campaignCriterion_ == null || value != "")
                    {
                        CampaignCriterion = value;
                    }
                    break;
                }

                case 98: {
                    string value = _single_feed_codec.Read(ref input);
                    if (feed_ == null || value != "")
                    {
                        Feed = value;
                    }
                    break;
                }

                case 106: {
                    string value = _single_feedItem_codec.Read(ref input);
                    if (feedItem_ == null || value != "")
                    {
                        FeedItem = value;
                    }
                    break;
                }

                case 114: {
                    string value = _single_adGroupFeed_codec.Read(ref input);
                    if (adGroupFeed_ == null || value != "")
                    {
                        AdGroupFeed = value;
                    }
                    break;
                }

                case 122: {
                    string value = _single_campaignFeed_codec.Read(ref input);
                    if (campaignFeed_ == null || value != "")
                    {
                        CampaignFeed = value;
                    }
                    break;
                }

                case 130: {
                    string value = _single_adGroupBidModifier_codec.Read(ref input);
                    if (adGroupBidModifier_ == null || value != "")
                    {
                        AdGroupBidModifier = value;
                    }
                    break;
                }
                }
            }
        }
예제 #3
0
        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: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    DisplayName = input.ReadString();
                    break;
                }

                case 26: {
                    Description = input.ReadString();
                    break;
                }

                case 34: {
                    MetadataSchemaUri = input.ReadString();
                    break;
                }

                case 50: {
                    if (metadata_ == null)
                    {
                        Metadata = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Metadata);
                    break;
                }

                case 58: {
                    deployedIndexes_.AddEntriesFrom(ref input, _repeated_deployedIndexes_codec);
                    break;
                }

                case 66: {
                    Etag = input.ReadString();
                    break;
                }

                case 74: {
                    labels_.AddEntriesFrom(ref input, _map_labels_codec);
                    break;
                }

                case 82: {
                    if (createTime_ == null)
                    {
                        CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreateTime);
                    break;
                }

                case 90: {
                    if (updateTime_ == null)
                    {
                        UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(UpdateTime);
                    break;
                }
                }
            }
        }
예제 #4
0
        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: {
                    string value = _single_feedItem_codec.Read(ref input);
                    if (feedItem_ == null || value != "")
                    {
                        FeedItem = value;
                    }
                    break;
                }

                case 24: {
                    FeedItemTargetType = (global::Google.Ads.GoogleAds.V3.Enums.FeedItemTargetTypeEnum.Types.FeedItemTargetType)input.ReadEnum();
                    break;
                }

                case 34: {
                    Campaign = _oneof_campaign_codec.Read(ref input);
                    break;
                }

                case 42: {
                    AdGroup = _oneof_adGroup_codec.Read(ref input);
                    break;
                }

                case 50: {
                    long?value = _single_feedItemTargetId_codec.Read(ref input);
                    if (feedItemTargetId_ == null || value != 0L)
                    {
                        FeedItemTargetId = value;
                    }
                    break;
                }

                case 58: {
                    global::Google.Ads.GoogleAds.V3.Common.KeywordInfo subBuilder = new global::Google.Ads.GoogleAds.V3.Common.KeywordInfo();
                    if (targetCase_ == TargetOneofCase.Keyword)
                    {
                        subBuilder.MergeFrom(Keyword);
                    }
                    input.ReadMessage(subBuilder);
                    Keyword = subBuilder;
                    break;
                }

                case 66: {
                    GeoTargetConstant = _oneof_geoTargetConstant_codec.Read(ref input);
                    break;
                }

                case 72: {
                    target_     = input.ReadEnum();
                    targetCase_ = TargetOneofCase.Device;
                    break;
                }

                case 82: {
                    global::Google.Ads.GoogleAds.V3.Common.AdScheduleInfo subBuilder = new global::Google.Ads.GoogleAds.V3.Common.AdScheduleInfo();
                    if (targetCase_ == TargetOneofCase.AdSchedule)
                    {
                        subBuilder.MergeFrom(AdSchedule);
                    }
                    input.ReadMessage(subBuilder);
                    AdSchedule = subBuilder;
                    break;
                }

                case 88: {
                    Status = (global::Google.Ads.GoogleAds.V3.Enums.FeedItemTargetStatusEnum.Types.FeedItemTargetStatus)input.ReadEnum();
                    break;
                }
                }
            }
        }
예제 #5
0
        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: {
                    OperationId = input.ReadString();
                    break;
                }

                case 18: {
                    OperationName = input.ReadString();
                    break;
                }

                case 26: {
                    ConsumerId = input.ReadString();
                    break;
                }

                case 34: {
                    if (startTime_ == null)
                    {
                        StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(StartTime);
                    break;
                }

                case 42: {
                    if (endTime_ == null)
                    {
                        EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(EndTime);
                    break;
                }

                case 50: {
                    labels_.AddEntriesFrom(ref input, _map_labels_codec);
                    break;
                }

                case 58: {
                    metricValueSets_.AddEntriesFrom(ref input, _repeated_metricValueSets_codec);
                    break;
                }

                case 66: {
                    logEntries_.AddEntriesFrom(ref input, _repeated_logEntries_codec);
                    break;
                }

                case 88: {
                    Importance = (global::Google.Cloud.ServiceControl.V1.Operation.Types.Importance)input.ReadEnum();
                    break;
                }

                case 130: {
                    extensions_.AddEntriesFrom(ref input, _repeated_extensions_codec);
                    break;
                }
                }
            }
        }
예제 #6
0
        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 18: {
                    Description = input.ReadString();
                    break;
                }

                case 24: {
                    DefaultLimit = input.ReadInt64();
                    break;
                }

                case 32: {
                    MaxLimit = input.ReadInt64();
                    break;
                }

                case 42: {
                    Duration = input.ReadString();
                    break;
                }

                case 50: {
                    Name = input.ReadString();
                    break;
                }

                case 56: {
                    FreeTier = input.ReadInt64();
                    break;
                }

                case 66: {
                    Metric = input.ReadString();
                    break;
                }

                case 74: {
                    Unit = input.ReadString();
                    break;
                }

                case 82: {
                    values_.AddEntriesFrom(ref input, _map_values_codec);
                    break;
                }

                case 98: {
                    DisplayName = input.ReadString();
                    break;
                }
                }
            }
        }
        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 24: {
                    FeedItemTargetType = (global::Google.Ads.GoogleAds.V10.Enums.FeedItemTargetTypeEnum.Types.FeedItemTargetType)input.ReadEnum();
                    break;
                }

                case 58: {
                    global::Google.Ads.GoogleAds.V10.Common.KeywordInfo subBuilder = new global::Google.Ads.GoogleAds.V10.Common.KeywordInfo();
                    if (targetCase_ == TargetOneofCase.Keyword)
                    {
                        subBuilder.MergeFrom(Keyword);
                    }
                    input.ReadMessage(subBuilder);
                    Keyword = subBuilder;
                    break;
                }

                case 72: {
                    target_     = input.ReadEnum();
                    targetCase_ = TargetOneofCase.Device;
                    break;
                }

                case 82: {
                    global::Google.Ads.GoogleAds.V10.Common.AdScheduleInfo subBuilder = new global::Google.Ads.GoogleAds.V10.Common.AdScheduleInfo();
                    if (targetCase_ == TargetOneofCase.AdSchedule)
                    {
                        subBuilder.MergeFrom(AdSchedule);
                    }
                    input.ReadMessage(subBuilder);
                    AdSchedule = subBuilder;
                    break;
                }

                case 88: {
                    Status = (global::Google.Ads.GoogleAds.V10.Enums.FeedItemTargetStatusEnum.Types.FeedItemTargetStatus)input.ReadEnum();
                    break;
                }

                case 98: {
                    FeedItem = input.ReadString();
                    break;
                }

                case 104: {
                    FeedItemTargetId = input.ReadInt64();
                    break;
                }

                case 114: {
                    Campaign = input.ReadString();
                    break;
                }

                case 122: {
                    AdGroup = input.ReadString();
                    break;
                }

                case 130: {
                    GeoTargetConstant = input.ReadString();
                    break;
                }
                }
            }
        }
예제 #8
0
        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: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    DisplayName = input.ReadString();
                    break;
                }

                case 26: {
                    Description = input.ReadString();
                    break;
                }

                case 34: {
                    if (createTime_ == null)
                    {
                        CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreateTime);
                    break;
                }

                case 42: {
                    if (updateTime_ == null)
                    {
                        UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(UpdateTime);
                    break;
                }

                case 48: {
                    DataType = (global::Google.Cloud.DataLabeling.V1Beta1.DataType)input.ReadEnum();
                    break;
                }

                case 58: {
                    if (csvInstruction_ == null)
                    {
                        CsvInstruction = new global::Google.Cloud.DataLabeling.V1Beta1.CsvInstruction();
                    }
                    input.ReadMessage(CsvInstruction);
                    break;
                }

                case 74: {
                    if (pdfInstruction_ == null)
                    {
                        PdfInstruction = new global::Google.Cloud.DataLabeling.V1Beta1.PdfInstruction();
                    }
                    input.ReadMessage(PdfInstruction);
                    break;
                }

                case 82: {
                    blockingResources_.AddEntriesFrom(ref input, _repeated_blockingResources_codec);
                    break;
                }
                }
            }
        }
        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: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    ResellerCloudIdentityId = input.ReadString();
                    break;
                }

                case 24: {
                    LinkState = (global::Google.Cloud.Channel.V1.ChannelPartnerLinkState)input.ReadEnum();
                    break;
                }

                case 34: {
                    InviteLinkUri = input.ReadString();
                    break;
                }

                case 42: {
                    if (createTime_ == null)
                    {
                        CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreateTime);
                    break;
                }

                case 50: {
                    if (updateTime_ == null)
                    {
                        UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(UpdateTime);
                    break;
                }

                case 58: {
                    PublicId = input.ReadString();
                    break;
                }

                case 66: {
                    if (channelPartnerCloudIdentityInfo_ == null)
                    {
                        ChannelPartnerCloudIdentityInfo = new global::Google.Cloud.Channel.V1.CloudIdentityInfo();
                    }
                    input.ReadMessage(ChannelPartnerCloudIdentityInfo);
                    break;
                }
                }
            }
        }
        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.V9.Enums.OfflineUserDataJobTypeEnum.Types.OfflineUserDataJobType)input.ReadEnum();
                    break;
                }

                case 40: {
                    Status = (global::Google.Ads.GoogleAds.V9.Enums.OfflineUserDataJobStatusEnum.Types.OfflineUserDataJobStatus)input.ReadEnum();
                    break;
                }

                case 48: {
                    FailureReason = (global::Google.Ads.GoogleAds.V9.Enums.OfflineUserDataJobFailureReasonEnum.Types.OfflineUserDataJobFailureReason)input.ReadEnum();
                    break;
                }

                case 58: {
                    global::Google.Ads.GoogleAds.V9.Common.CustomerMatchUserListMetadata subBuilder = new global::Google.Ads.GoogleAds.V9.Common.CustomerMatchUserListMetadata();
                    if (metadataCase_ == MetadataOneofCase.CustomerMatchUserListMetadata)
                    {
                        subBuilder.MergeFrom(CustomerMatchUserListMetadata);
                    }
                    input.ReadMessage(subBuilder);
                    CustomerMatchUserListMetadata = subBuilder;
                    break;
                }

                case 66: {
                    global::Google.Ads.GoogleAds.V9.Common.StoreSalesMetadata subBuilder = new global::Google.Ads.GoogleAds.V9.Common.StoreSalesMetadata();
                    if (metadataCase_ == MetadataOneofCase.StoreSalesMetadata)
                    {
                        subBuilder.MergeFrom(StoreSalesMetadata);
                    }
                    input.ReadMessage(subBuilder);
                    StoreSalesMetadata = subBuilder;
                    break;
                }

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

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

                case 90: {
                    if (operationMetadata_ == null)
                    {
                        OperationMetadata = new global::Google.Ads.GoogleAds.V9.Resources.OfflineUserDataJobMetadata();
                    }
                    input.ReadMessage(OperationMetadata);
                    break;
                }
                }
            }
        }
예제 #11
0
        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 16: {
                    CampaignId = input.ReadInt64();
                    break;
                }

                case 24: {
                    Type = (global::Google.Ads.GoogleAds.V9.Enums.SimulationTypeEnum.Types.SimulationType)input.ReadEnum();
                    break;
                }

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

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

                case 50: {
                    EndDate = input.ReadString();
                    break;
                }

                case 58: {
                    global::Google.Ads.GoogleAds.V9.Common.CpcBidSimulationPointList subBuilder = new global::Google.Ads.GoogleAds.V9.Common.CpcBidSimulationPointList();
                    if (pointListCase_ == PointListOneofCase.CpcBidPointList)
                    {
                        subBuilder.MergeFrom(CpcBidPointList);
                    }
                    input.ReadMessage(subBuilder);
                    CpcBidPointList = subBuilder;
                    break;
                }

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

                case 74: {
                    global::Google.Ads.GoogleAds.V9.Common.TargetRoasSimulationPointList subBuilder = new global::Google.Ads.GoogleAds.V9.Common.TargetRoasSimulationPointList();
                    if (pointListCase_ == PointListOneofCase.TargetRoasPointList)
                    {
                        subBuilder.MergeFrom(TargetRoasPointList);
                    }
                    input.ReadMessage(subBuilder);
                    TargetRoasPointList = subBuilder;
                    break;
                }

                case 82: {
                    global::Google.Ads.GoogleAds.V9.Common.TargetImpressionShareSimulationPointList subBuilder = new global::Google.Ads.GoogleAds.V9.Common.TargetImpressionShareSimulationPointList();
                    if (pointListCase_ == PointListOneofCase.TargetImpressionSharePointList)
                    {
                        subBuilder.MergeFrom(TargetImpressionSharePointList);
                    }
                    input.ReadMessage(subBuilder);
                    TargetImpressionSharePointList = subBuilder;
                    break;
                }

                case 90: {
                    global::Google.Ads.GoogleAds.V9.Common.BudgetSimulationPointList subBuilder = new global::Google.Ads.GoogleAds.V9.Common.BudgetSimulationPointList();
                    if (pointListCase_ == PointListOneofCase.BudgetPointList)
                    {
                        subBuilder.MergeFrom(BudgetPointList);
                    }
                    input.ReadMessage(subBuilder);
                    BudgetPointList = subBuilder;
                    break;
                }
                }
            }
        }
예제 #12
0
        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.V9.Common.DynamicLocationSetFilter subBuilder = new global::Google.Ads.GoogleAds.V9.Common.DynamicLocationSetFilter();
                    if (dynamicSetFilterCase_ == DynamicSetFilterOneofCase.DynamicLocationSetFilter)
                    {
                        subBuilder.MergeFrom(DynamicLocationSetFilter);
                    }
                    input.ReadMessage(subBuilder);
                    DynamicLocationSetFilter = subBuilder;
                    break;
                }

                case 50: {
                    global::Google.Ads.GoogleAds.V9.Common.DynamicAffiliateLocationSetFilter subBuilder = new global::Google.Ads.GoogleAds.V9.Common.DynamicAffiliateLocationSetFilter();
                    if (dynamicSetFilterCase_ == DynamicSetFilterOneofCase.DynamicAffiliateLocationSetFilter)
                    {
                        subBuilder.MergeFrom(DynamicAffiliateLocationSetFilter);
                    }
                    input.ReadMessage(subBuilder);
                    DynamicAffiliateLocationSetFilter = subBuilder;
                    break;
                }

                case 64: {
                    Status = (global::Google.Ads.GoogleAds.V9.Enums.FeedItemSetStatusEnum.Types.FeedItemSetStatus)input.ReadEnum();
                    break;
                }
                }
            }
        }
예제 #13
0
        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.V5.Enums.AssetTypeEnum.Types.AssetType)input.ReadEnum();
                    break;
                }

                case 42: {
                    global::Google.Ads.GoogleAds.V5.Common.YoutubeVideoAsset subBuilder = new global::Google.Ads.GoogleAds.V5.Common.YoutubeVideoAsset();
                    if (assetDataCase_ == AssetDataOneofCase.YoutubeVideoAsset)
                    {
                        subBuilder.MergeFrom(YoutubeVideoAsset);
                    }
                    input.ReadMessage(subBuilder);
                    YoutubeVideoAsset = subBuilder;
                    break;
                }

                case 50: {
                    global::Google.Ads.GoogleAds.V5.Common.MediaBundleAsset subBuilder = new global::Google.Ads.GoogleAds.V5.Common.MediaBundleAsset();
                    if (assetDataCase_ == AssetDataOneofCase.MediaBundleAsset)
                    {
                        subBuilder.MergeFrom(MediaBundleAsset);
                    }
                    input.ReadMessage(subBuilder);
                    MediaBundleAsset = subBuilder;
                    break;
                }

                case 58: {
                    global::Google.Ads.GoogleAds.V5.Common.ImageAsset subBuilder = new global::Google.Ads.GoogleAds.V5.Common.ImageAsset();
                    if (assetDataCase_ == AssetDataOneofCase.ImageAsset)
                    {
                        subBuilder.MergeFrom(ImageAsset);
                    }
                    input.ReadMessage(subBuilder);
                    ImageAsset = subBuilder;
                    break;
                }

                case 66: {
                    global::Google.Ads.GoogleAds.V5.Common.TextAsset subBuilder = new global::Google.Ads.GoogleAds.V5.Common.TextAsset();
                    if (assetDataCase_ == AssetDataOneofCase.TextAsset)
                    {
                        subBuilder.MergeFrom(TextAsset);
                    }
                    input.ReadMessage(subBuilder);
                    TextAsset = subBuilder;
                    break;
                }

                case 82: {
                    global::Google.Ads.GoogleAds.V5.Common.BookOnGoogleAsset subBuilder = new global::Google.Ads.GoogleAds.V5.Common.BookOnGoogleAsset();
                    if (assetDataCase_ == AssetDataOneofCase.BookOnGoogleAsset)
                    {
                        subBuilder.MergeFrom(BookOnGoogleAsset);
                    }
                    input.ReadMessage(subBuilder);
                    BookOnGoogleAsset = subBuilder;
                    break;
                }

                case 88: {
                    Id = input.ReadInt64();
                    break;
                }

                case 98: {
                    Name = input.ReadString();
                    break;
                }
                }
            }
        }
예제 #14
0
 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: {
         Name = input.ReadString();
         break;
       }
       case 18: {
         OrgDisplayName = input.ReadString();
         break;
       }
       case 26: {
         if (orgPostalAddress_ == null) {
           OrgPostalAddress = new global::Google.Type.PostalAddress();
         }
         input.ReadMessage(OrgPostalAddress);
         break;
       }
       case 34: {
         if (primaryContactInfo_ == null) {
           PrimaryContactInfo = new global::Google.Cloud.Channel.V1.ContactInfo();
         }
         input.ReadMessage(PrimaryContactInfo);
         break;
       }
       case 42: {
         AlternateEmail = input.ReadString();
         break;
       }
       case 50: {
         Domain = input.ReadString();
         break;
       }
       case 58: {
         if (createTime_ == null) {
           CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         input.ReadMessage(CreateTime);
         break;
       }
       case 66: {
         if (updateTime_ == null) {
           UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         input.ReadMessage(UpdateTime);
         break;
       }
       case 74: {
         CloudIdentityId = input.ReadString();
         break;
       }
       case 82: {
         LanguageCode = input.ReadString();
         break;
       }
       case 98: {
         if (cloudIdentityInfo_ == null) {
           CloudIdentityInfo = new global::Google.Cloud.Channel.V1.CloudIdentityInfo();
         }
         input.ReadMessage(CloudIdentityInfo);
         break;
       }
       case 106: {
         ChannelPartnerId = input.ReadString();
         break;
       }
     }
   }
 }
예제 #15
0
        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: {
                    labels_.AddEntriesFrom(ref input, _map_labels_codec);
                    break;
                }

                case 18: {
                    if (startTime_ == null)
                    {
                        StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(StartTime);
                    break;
                }

                case 26: {
                    if (endTime_ == null)
                    {
                        EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(EndTime);
                    break;
                }

                case 32: {
                    BoolValue = input.ReadBool();
                    break;
                }

                case 40: {
                    Int64Value = input.ReadInt64();
                    break;
                }

                case 49: {
                    DoubleValue = input.ReadDouble();
                    break;
                }

                case 58: {
                    StringValue = input.ReadString();
                    break;
                }

                case 66: {
                    global::Google.Cloud.ServiceControl.V1.Distribution subBuilder = new global::Google.Cloud.ServiceControl.V1.Distribution();
                    if (valueCase_ == ValueOneofCase.DistributionValue)
                    {
                        subBuilder.MergeFrom(DistributionValue);
                    }
                    input.ReadMessage(subBuilder);
                    DistributionValue = subBuilder;
                    break;
                }
                }
            }
        }
예제 #16
0
        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: {
                    RequestMethod = input.ReadString();
                    break;
                }

                case 18: {
                    RequestUrl = input.ReadString();
                    break;
                }

                case 24: {
                    RequestSize = input.ReadInt64();
                    break;
                }

                case 32: {
                    Status = input.ReadInt32();
                    break;
                }

                case 40: {
                    ResponseSize = input.ReadInt64();
                    break;
                }

                case 50: {
                    UserAgent = input.ReadString();
                    break;
                }

                case 58: {
                    RemoteIp = input.ReadString();
                    break;
                }

                case 66: {
                    Referer = input.ReadString();
                    break;
                }

                case 72: {
                    CacheHit = input.ReadBool();
                    break;
                }

                case 80: {
                    CacheValidatedWithOriginServer = input.ReadBool();
                    break;
                }

                case 88: {
                    CacheLookup = input.ReadBool();
                    break;
                }

                case 96: {
                    CacheFillBytes = input.ReadInt64();
                    break;
                }

                case 106: {
                    ServerIp = input.ReadString();
                    break;
                }

                case 114: {
                    if (latency_ == null)
                    {
                        Latency = new global::Google.Protobuf.WellKnownTypes.Duration();
                    }
                    input.ReadMessage(Latency);
                    break;
                }

                case 122: {
                    Protocol = input.ReadString();
                    break;
                }
                }
            }
        }
예제 #17
0
        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 8: {
                    Revision = input.ReadInt32();
                    break;
                }

                case 18: {
                    RegionCode = input.ReadString();
                    break;
                }

                case 26: {
                    LanguageCode = input.ReadString();
                    break;
                }

                case 34: {
                    PostalCode = input.ReadString();
                    break;
                }

                case 42: {
                    SortingCode = input.ReadString();
                    break;
                }

                case 50: {
                    AdministrativeArea = input.ReadString();
                    break;
                }

                case 58: {
                    Locality = input.ReadString();
                    break;
                }

                case 66: {
                    Sublocality = input.ReadString();
                    break;
                }

                case 74: {
                    addressLines_.AddEntriesFrom(ref input, _repeated_addressLines_codec);
                    break;
                }

                case 82: {
                    recipients_.AddEntriesFrom(ref input, _repeated_recipients_codec);
                    break;
                }

                case 90: {
                    Organization = input.ReadString();
                    break;
                }
                }
            }
        }
        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 16: {
                    SeasonalityAdjustmentId = input.ReadInt64();
                    break;
                }

                case 24: {
                    Scope = (global::Google.Ads.GoogleAds.V10.Enums.SeasonalityEventScopeEnum.Types.SeasonalityEventScope)input.ReadEnum();
                    break;
                }

                case 32: {
                    Status = (global::Google.Ads.GoogleAds.V10.Enums.SeasonalityEventStatusEnum.Types.SeasonalityEventStatus)input.ReadEnum();
                    break;
                }

                case 42: {
                    StartDateTime = input.ReadString();
                    break;
                }

                case 50: {
                    EndDateTime = input.ReadString();
                    break;
                }

                case 58: {
                    Name = input.ReadString();
                    break;
                }

                case 66: {
                    Description = input.ReadString();
                    break;
                }

                case 74:
                case 72: {
                    devices_.AddEntriesFrom(ref input, _repeated_devices_codec);
                    break;
                }

                case 81: {
                    ConversionRateModifier = input.ReadDouble();
                    break;
                }

                case 90: {
                    campaigns_.AddEntriesFrom(ref input, _repeated_campaigns_codec);
                    break;
                }

                case 98:
                case 96: {
                    advertisingChannelTypes_.AddEntriesFrom(ref input, _repeated_advertisingChannelTypes_codec);
                    break;
                }
                }
            }
        }
예제 #19
0
        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 8: {
                    Id = input.ReadInt64();
                    break;
                }

                case 16: {
                    Progress = input.ReadInt32();
                    break;
                }

                case 24: {
                    Mode = input.ReadInt32();
                    break;
                }

                case 32: {
                    Fontsize = input.ReadInt32();
                    break;
                }

                case 40: {
                    Color = input.ReadUInt32();
                    break;
                }

                case 50: {
                    MidHash = input.ReadString();
                    break;
                }

                case 58: {
                    Content = input.ReadString();
                    break;
                }

                case 64: {
                    Ctime = input.ReadInt64();
                    break;
                }

                case 72: {
                    Weight = input.ReadInt32();
                    break;
                }

                case 82: {
                    Action = input.ReadString();
                    break;
                }

                case 88: {
                    Pool = input.ReadInt32();
                    break;
                }

                case 98: {
                    IdStr = input.ReadString();
                    break;
                }
                }
            }
        }
예제 #20
0
        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: {
                    long?value = _single_id_codec.Read(ref input);
                    if (id_ == null || value != 0L)
                    {
                        Id = value;
                    }
                    break;
                }

                case 24: {
                    Status = (global::Google.Ads.GoogleAds.V5.Enums.CustomInterestStatusEnum.Types.CustomInterestStatus)input.ReadEnum();
                    break;
                }

                case 34: {
                    string value = _single_name_codec.Read(ref input);
                    if (name_ == null || value != "")
                    {
                        Name = value;
                    }
                    break;
                }

                case 40: {
                    Type = (global::Google.Ads.GoogleAds.V5.Enums.CustomInterestTypeEnum.Types.CustomInterestType)input.ReadEnum();
                    break;
                }

                case 50: {
                    string value = _single_description_codec.Read(ref input);
                    if (description_ == null || value != "")
                    {
                        Description = value;
                    }
                    break;
                }

                case 58: {
                    members_.AddEntriesFrom(ref input, _repeated_members_codec);
                    break;
                }
                }
            }
        }
예제 #21
0
        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: {
                    Guid = input.ReadString();
                    break;
                }

                case 18: {
                    players_.AddEntriesFrom(ref input, _repeated_players_codec);
                    break;
                }

                case 26: {
                    global::TournamentAssistantShared.Models.Coordinator subBuilder = new global::TournamentAssistantShared.Models.Coordinator();
                    if (leaderCase_ == LeaderOneofCase.Coordinator)
                    {
                        subBuilder.MergeFrom(Coordinator);
                    }
                    input.ReadMessage(subBuilder);
                    Coordinator = subBuilder;
                    break;
                }

                case 34: {
                    global::TournamentAssistantShared.Models.Player subBuilder = new global::TournamentAssistantShared.Models.Player();
                    if (leaderCase_ == LeaderOneofCase.Player)
                    {
                        subBuilder.MergeFrom(Player);
                    }
                    input.ReadMessage(subBuilder);
                    Player = subBuilder;
                    break;
                }

                case 42: {
                    if (selectedLevel_ == null)
                    {
                        SelectedLevel = new global::TournamentAssistantShared.Models.PreviewBeatmapLevel();
                    }
                    input.ReadMessage(SelectedLevel);
                    break;
                }

                case 50: {
                    if (selectedCharacteristic_ == null)
                    {
                        SelectedCharacteristic = new global::TournamentAssistantShared.Models.Characteristic();
                    }
                    input.ReadMessage(SelectedCharacteristic);
                    break;
                }

                case 56: {
                    SelectedDifficulty = (global::TournamentAssistantShared.Models.BeatmapDifficulty)input.ReadEnum();
                    break;
                }
                }
            }
        }
예제 #22
0
        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: {
                    Id = input.ReadString();
                    break;
                }

                case 18: {
                    Name = input.ReadString();
                    break;
                }

                case 26: {
                    UserId = input.ReadString();
                    break;
                }

                case 34: {
                    if (team_ == null)
                    {
                        Team = new global::TournamentAssistantShared.Models.Team();
                    }
                    input.ReadMessage(Team);
                    break;
                }

                case 40: {
                    PlayState = (global::TournamentAssistantShared.Models.Player.Types.PlayStates)input.ReadEnum();
                    break;
                }

                case 48: {
                    DownloadState = (global::TournamentAssistantShared.Models.Player.Types.DownloadStates)input.ReadEnum();
                    break;
                }

                case 56: {
                    Score = input.ReadInt32();
                    break;
                }

                case 64: {
                    Combo = input.ReadInt32();
                    break;
                }

                case 73: {
                    Accuracy = input.ReadDouble();
                    break;
                }

                case 81: {
                    SongPosition = input.ReadDouble();
                    break;
                }

                case 90: {
                    if (songList_ == null)
                    {
                        SongList = new global::TournamentAssistantShared.Models.Packets.SongList();
                    }
                    input.ReadMessage(SongList);
                    break;
                }

                case 98: {
                    modList_.AddEntriesFrom(ref input, _repeated_modList_codec);
                    break;
                }

                case 106: {
                    if (streamScreenCoordinates_ == null)
                    {
                        StreamScreenCoordinates = new global::TournamentAssistantShared.Models.Player.Types.Point();
                    }
                    input.ReadMessage(StreamScreenCoordinates);
                    break;
                }

                case 112: {
                    StreamDelayMs = input.ReadInt64();
                    break;
                }

                case 120: {
                    StreamSyncStartMs = input.ReadInt64();
                    break;
                }
                }
            }
        }
예제 #23
0
        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: {
                    long?value = _single_id_codec.Read(ref input);
                    if (id_ == null || value != 0L)
                    {
                        Id = value;
                    }
                    break;
                }

                case 26: {
                    string value = _single_name_codec.Read(ref input);
                    if (name_ == null || value != "")
                    {
                        Name = value;
                    }
                    break;
                }

                case 32: {
                    Type = (global::Google.Ads.GoogleAds.V3.Enums.AssetTypeEnum.Types.AssetType)input.ReadEnum();
                    break;
                }

                case 42: {
                    global::Google.Ads.GoogleAds.V3.Common.YoutubeVideoAsset subBuilder = new global::Google.Ads.GoogleAds.V3.Common.YoutubeVideoAsset();
                    if (assetDataCase_ == AssetDataOneofCase.YoutubeVideoAsset)
                    {
                        subBuilder.MergeFrom(YoutubeVideoAsset);
                    }
                    input.ReadMessage(subBuilder);
                    YoutubeVideoAsset = subBuilder;
                    break;
                }

                case 50: {
                    global::Google.Ads.GoogleAds.V3.Common.MediaBundleAsset subBuilder = new global::Google.Ads.GoogleAds.V3.Common.MediaBundleAsset();
                    if (assetDataCase_ == AssetDataOneofCase.MediaBundleAsset)
                    {
                        subBuilder.MergeFrom(MediaBundleAsset);
                    }
                    input.ReadMessage(subBuilder);
                    MediaBundleAsset = subBuilder;
                    break;
                }

                case 58: {
                    global::Google.Ads.GoogleAds.V3.Common.ImageAsset subBuilder = new global::Google.Ads.GoogleAds.V3.Common.ImageAsset();
                    if (assetDataCase_ == AssetDataOneofCase.ImageAsset)
                    {
                        subBuilder.MergeFrom(ImageAsset);
                    }
                    input.ReadMessage(subBuilder);
                    ImageAsset = subBuilder;
                    break;
                }

                case 66: {
                    global::Google.Ads.GoogleAds.V3.Common.TextAsset subBuilder = new global::Google.Ads.GoogleAds.V3.Common.TextAsset();
                    if (assetDataCase_ == AssetDataOneofCase.TextAsset)
                    {
                        subBuilder.MergeFrom(TextAsset);
                    }
                    input.ReadMessage(subBuilder);
                    TextAsset = subBuilder;
                    break;
                }
                }
            }
        }
예제 #24
0
        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: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    Id = input.ReadString();
                    break;
                }

                case 24: {
                    Type = (global::Google.Cloud.Retail.V2.Product.Types.Type)input.ReadEnum();
                    break;
                }

                case 34: {
                    PrimaryProductId = input.ReadString();
                    break;
                }

                case 58: {
                    categories_.AddEntriesFrom(ref input, _repeated_categories_codec);
                    break;
                }

                case 66: {
                    Title = input.ReadString();
                    break;
                }

                case 82: {
                    Description = input.ReadString();
                    break;
                }

                case 98: {
                    attributes_.AddEntriesFrom(ref input, _map_attributes_codec);
                    break;
                }

                case 106: {
                    tags_.AddEntriesFrom(ref input, _repeated_tags_codec);
                    break;
                }

                case 114: {
                    if (priceInfo_ == null)
                    {
                        PriceInfo = new global::Google.Cloud.Retail.V2.PriceInfo();
                    }
                    input.ReadMessage(PriceInfo);
                    break;
                }

                case 146: {
                    if (availableTime_ == null)
                    {
                        AvailableTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(AvailableTime);
                    break;
                }

                case 152: {
                    Availability = (global::Google.Cloud.Retail.V2.Product.Types.Availability)input.ReadEnum();
                    break;
                }

                case 162: {
                    int?value = _single_availableQuantity_codec.Read(ref input);
                    if (availableQuantity_ == null || value != 0)
                    {
                        AvailableQuantity = value;
                    }
                    break;
                }

                case 178: {
                    Uri = input.ReadString();
                    break;
                }

                case 186: {
                    images_.AddEntriesFrom(ref input, _repeated_images_codec);
                    break;
                }
                }
            }
        }
예제 #25
0
        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: {
                    long?value = _single_id_codec.Read(ref input);
                    if (id_ == null || value != 0L)
                    {
                        Id = value;
                    }
                    break;
                }

                case 26: {
                    string value = _single_countryCode_codec.Read(ref input);
                    if (countryCode_ == null || value != "")
                    {
                        CountryCode = value;
                    }
                    break;
                }

                case 34: {
                    string value = _single_productBiddingCategoryConstantParent_codec.Read(ref input);
                    if (productBiddingCategoryConstantParent_ == null || value != "")
                    {
                        ProductBiddingCategoryConstantParent = value;
                    }
                    break;
                }

                case 40: {
                    Level = (global::Google.Ads.GoogleAds.V5.Enums.ProductBiddingCategoryLevelEnum.Types.ProductBiddingCategoryLevel)input.ReadEnum();
                    break;
                }

                case 48: {
                    Status = (global::Google.Ads.GoogleAds.V5.Enums.ProductBiddingCategoryStatusEnum.Types.ProductBiddingCategoryStatus)input.ReadEnum();
                    break;
                }

                case 58: {
                    string value = _single_languageCode_codec.Read(ref input);
                    if (languageCode_ == null || value != "")
                    {
                        LanguageCode = value;
                    }
                    break;
                }

                case 66: {
                    string value = _single_localizedName_codec.Read(ref input);
                    if (localizedName_ == null || value != "")
                    {
                        LocalizedName = value;
                    }
                    break;
                }
                }
            }
        }
예제 #26
0
        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 42: {
                    global::Google.Ads.GoogleAds.V8.Common.HotelDateSelectionTypeInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.HotelDateSelectionTypeInfo();
                    if (criterionCase_ == CriterionOneofCase.HotelDateSelectionType)
                    {
                        subBuilder.MergeFrom(HotelDateSelectionType);
                    }
                    input.ReadMessage(subBuilder);
                    HotelDateSelectionType = subBuilder;
                    break;
                }

                case 50: {
                    global::Google.Ads.GoogleAds.V8.Common.HotelAdvanceBookingWindowInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.HotelAdvanceBookingWindowInfo();
                    if (criterionCase_ == CriterionOneofCase.HotelAdvanceBookingWindow)
                    {
                        subBuilder.MergeFrom(HotelAdvanceBookingWindow);
                    }
                    input.ReadMessage(subBuilder);
                    HotelAdvanceBookingWindow = subBuilder;
                    break;
                }

                case 58: {
                    global::Google.Ads.GoogleAds.V8.Common.HotelLengthOfStayInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.HotelLengthOfStayInfo();
                    if (criterionCase_ == CriterionOneofCase.HotelLengthOfStay)
                    {
                        subBuilder.MergeFrom(HotelLengthOfStay);
                    }
                    input.ReadMessage(subBuilder);
                    HotelLengthOfStay = subBuilder;
                    break;
                }

                case 66: {
                    global::Google.Ads.GoogleAds.V8.Common.HotelCheckInDayInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.HotelCheckInDayInfo();
                    if (criterionCase_ == CriterionOneofCase.HotelCheckInDay)
                    {
                        subBuilder.MergeFrom(HotelCheckInDay);
                    }
                    input.ReadMessage(subBuilder);
                    HotelCheckInDay = subBuilder;
                    break;
                }

                case 80: {
                    BidModifierSource = (global::Google.Ads.GoogleAds.V8.Enums.BidModifierSourceEnum.Types.BidModifierSource)input.ReadEnum();
                    break;
                }

                case 90: {
                    global::Google.Ads.GoogleAds.V8.Common.DeviceInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.DeviceInfo();
                    if (criterionCase_ == CriterionOneofCase.Device)
                    {
                        subBuilder.MergeFrom(Device);
                    }
                    input.ReadMessage(subBuilder);
                    Device = subBuilder;
                    break;
                }

                case 98: {
                    global::Google.Ads.GoogleAds.V8.Common.PreferredContentInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.PreferredContentInfo();
                    if (criterionCase_ == CriterionOneofCase.PreferredContent)
                    {
                        subBuilder.MergeFrom(PreferredContent);
                    }
                    input.ReadMessage(subBuilder);
                    PreferredContent = subBuilder;
                    break;
                }

                case 106: {
                    AdGroup = input.ReadString();
                    break;
                }

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

                case 121: {
                    BidModifier = input.ReadDouble();
                    break;
                }

                case 130: {
                    BaseAdGroup = input.ReadString();
                    break;
                }

                case 138: {
                    global::Google.Ads.GoogleAds.V8.Common.HotelCheckInDateRangeInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.HotelCheckInDateRangeInfo();
                    if (criterionCase_ == CriterionOneofCase.HotelCheckInDateRange)
                    {
                        subBuilder.MergeFrom(HotelCheckInDateRange);
                    }
                    input.ReadMessage(subBuilder);
                    HotelCheckInDateRange = subBuilder;
                    break;
                }
                }
            }
        }
예제 #27
0
        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: {
                    Command = input.ReadString();
                    break;
                }

                case 16: {
                    SeqId = input.ReadInt64();
                    break;
                }

                case 24: {
                    RetryCount = input.ReadUInt32();
                    break;
                }

                case 34: {
                    PayloadData = input.ReadBytes();
                    break;
                }

                case 42: {
                    if (userInstance_ == null)
                    {
                        UserInstance = new global::AcFunDanmu.UserInstance();
                    }
                    input.ReadMessage(UserInstance);
                    break;
                }

                case 48: {
                    ErrorCode = input.ReadInt32();
                    break;
                }

                case 58: {
                    if (settingInfo_ == null)
                    {
                        SettingInfo = new global::AcFunDanmu.SettingInfo();
                    }
                    input.ReadMessage(SettingInfo);
                    break;
                }

                case 66: {
                    if (requestBasicInfo_ == null)
                    {
                        RequestBasicInfo = new global::AcFunDanmu.RequestBasicInfo();
                    }
                    input.ReadMessage(RequestBasicInfo);
                    break;
                }

                case 74: {
                    SubBiz = input.ReadString();
                    break;
                }

                case 82: {
                    if (frontendInfo_ == null)
                    {
                        FrontendInfo = new global::AcFunDanmu.FrontendInfo();
                    }
                    input.ReadMessage(FrontendInfo);
                    break;
                }

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

                case 96: {
                    AnonymouseUser = input.ReadBool();
                    break;
                }

                case 106: {
                    LaneId = input.ReadString();
                    break;
                }
                }
            }
        }
예제 #28
0
        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: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    FindingType = input.ReadString();
                    break;
                }

                case 26: {
                    HttpMethod = input.ReadString();
                    break;
                }

                case 34: {
                    FuzzedUrl = input.ReadString();
                    break;
                }

                case 42: {
                    Body = input.ReadString();
                    break;
                }

                case 50: {
                    Description = input.ReadString();
                    break;
                }

                case 58: {
                    ReproductionUrl = input.ReadString();
                    break;
                }

                case 66: {
                    FrameUrl = input.ReadString();
                    break;
                }

                case 74: {
                    FinalUrl = input.ReadString();
                    break;
                }

                case 82: {
                    TrackingId = input.ReadString();
                    break;
                }

                case 90: {
                    if (outdatedLibrary_ == null)
                    {
                        OutdatedLibrary = new global::Google.Cloud.WebSecurityScanner.V1.OutdatedLibrary();
                    }
                    input.ReadMessage(OutdatedLibrary);
                    break;
                }

                case 98: {
                    if (violatingResource_ == null)
                    {
                        ViolatingResource = new global::Google.Cloud.WebSecurityScanner.V1.ViolatingResource();
                    }
                    input.ReadMessage(ViolatingResource);
                    break;
                }

                case 106: {
                    if (vulnerableParameters_ == null)
                    {
                        VulnerableParameters = new global::Google.Cloud.WebSecurityScanner.V1.VulnerableParameters();
                    }
                    input.ReadMessage(VulnerableParameters);
                    break;
                }

                case 114: {
                    if (xss_ == null)
                    {
                        Xss = new global::Google.Cloud.WebSecurityScanner.V1.Xss();
                    }
                    input.ReadMessage(Xss);
                    break;
                }

                case 122: {
                    if (vulnerableHeaders_ == null)
                    {
                        VulnerableHeaders = new global::Google.Cloud.WebSecurityScanner.V1.VulnerableHeaders();
                    }
                    input.ReadMessage(VulnerableHeaders);
                    break;
                }

                case 130: {
                    if (form_ == null)
                    {
                        Form = new global::Google.Cloud.WebSecurityScanner.V1.Form();
                    }
                    input.ReadMessage(Form);
                    break;
                }

                case 136: {
                    Severity = (global::Google.Cloud.WebSecurityScanner.V1.Finding.Types.Severity)input.ReadEnum();
                    break;
                }
                }
            }
        }
        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 24: {
                    Type = (global::Google.Ads.GoogleAds.V8.Enums.CriterionTypeEnum.Types.CriterionType)input.ReadEnum();
                    break;
                }

                case 34: {
                    global::Google.Ads.GoogleAds.V8.Common.ContentLabelInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.ContentLabelInfo();
                    if (criterionCase_ == CriterionOneofCase.ContentLabel)
                    {
                        subBuilder.MergeFrom(ContentLabel);
                    }
                    input.ReadMessage(subBuilder);
                    ContentLabel = subBuilder;
                    break;
                }

                case 42: {
                    global::Google.Ads.GoogleAds.V8.Common.MobileApplicationInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.MobileApplicationInfo();
                    if (criterionCase_ == CriterionOneofCase.MobileApplication)
                    {
                        subBuilder.MergeFrom(MobileApplication);
                    }
                    input.ReadMessage(subBuilder);
                    MobileApplication = subBuilder;
                    break;
                }

                case 50: {
                    global::Google.Ads.GoogleAds.V8.Common.MobileAppCategoryInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.MobileAppCategoryInfo();
                    if (criterionCase_ == CriterionOneofCase.MobileAppCategory)
                    {
                        subBuilder.MergeFrom(MobileAppCategory);
                    }
                    input.ReadMessage(subBuilder);
                    MobileAppCategory = subBuilder;
                    break;
                }

                case 58: {
                    global::Google.Ads.GoogleAds.V8.Common.PlacementInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.PlacementInfo();
                    if (criterionCase_ == CriterionOneofCase.Placement)
                    {
                        subBuilder.MergeFrom(Placement);
                    }
                    input.ReadMessage(subBuilder);
                    Placement = subBuilder;
                    break;
                }

                case 66: {
                    global::Google.Ads.GoogleAds.V8.Common.YouTubeVideoInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.YouTubeVideoInfo();
                    if (criterionCase_ == CriterionOneofCase.YoutubeVideo)
                    {
                        subBuilder.MergeFrom(YoutubeVideo);
                    }
                    input.ReadMessage(subBuilder);
                    YoutubeVideo = subBuilder;
                    break;
                }

                case 74: {
                    global::Google.Ads.GoogleAds.V8.Common.YouTubeChannelInfo subBuilder = new global::Google.Ads.GoogleAds.V8.Common.YouTubeChannelInfo();
                    if (criterionCase_ == CriterionOneofCase.YoutubeChannel)
                    {
                        subBuilder.MergeFrom(YoutubeChannel);
                    }
                    input.ReadMessage(subBuilder);
                    YoutubeChannel = subBuilder;
                    break;
                }

                case 80: {
                    Id = input.ReadInt64();
                    break;
                }
                }
            }
        }
        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 98: {
                    ClientCustomer = input.ReadString();
                    break;
                }

                case 104: {
                    Hidden = input.ReadBool();
                    break;
                }

                case 112: {
                    Level = input.ReadInt64();
                    break;
                }

                case 122: {
                    TimeZone = input.ReadString();
                    break;
                }

                case 128: {
                    TestAccount = input.ReadBool();
                    break;
                }

                case 136: {
                    Manager = input.ReadBool();
                    break;
                }

                case 146: {
                    DescriptiveName = input.ReadString();
                    break;
                }

                case 154: {
                    CurrencyCode = input.ReadString();
                    break;
                }

                case 160: {
                    Id = input.ReadInt64();
                    break;
                }
                }
            }
        }