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: {
                    AnnotationSpecId = input.ReadString();
                    break;
                }

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

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

                case 66: {
                    global::Google.Cloud.AutoML.V1.ClassificationEvaluationMetrics subBuilder = new global::Google.Cloud.AutoML.V1.ClassificationEvaluationMetrics();
                    if (metricsCase_ == MetricsOneofCase.ClassificationEvaluationMetrics)
                    {
                        subBuilder.MergeFrom(ClassificationEvaluationMetrics);
                    }
                    input.ReadMessage(subBuilder);
                    ClassificationEvaluationMetrics = subBuilder;
                    break;
                }

                case 74: {
                    global::Google.Cloud.AutoML.V1.TranslationEvaluationMetrics subBuilder = new global::Google.Cloud.AutoML.V1.TranslationEvaluationMetrics();
                    if (metricsCase_ == MetricsOneofCase.TranslationEvaluationMetrics)
                    {
                        subBuilder.MergeFrom(TranslationEvaluationMetrics);
                    }
                    input.ReadMessage(subBuilder);
                    TranslationEvaluationMetrics = subBuilder;
                    break;
                }

                case 90: {
                    global::Google.Cloud.AutoML.V1.TextSentimentEvaluationMetrics subBuilder = new global::Google.Cloud.AutoML.V1.TextSentimentEvaluationMetrics();
                    if (metricsCase_ == MetricsOneofCase.TextSentimentEvaluationMetrics)
                    {
                        subBuilder.MergeFrom(TextSentimentEvaluationMetrics);
                    }
                    input.ReadMessage(subBuilder);
                    TextSentimentEvaluationMetrics = subBuilder;
                    break;
                }

                case 98: {
                    global::Google.Cloud.AutoML.V1.ImageObjectDetectionEvaluationMetrics subBuilder = new global::Google.Cloud.AutoML.V1.ImageObjectDetectionEvaluationMetrics();
                    if (metricsCase_ == MetricsOneofCase.ImageObjectDetectionEvaluationMetrics)
                    {
                        subBuilder.MergeFrom(ImageObjectDetectionEvaluationMetrics);
                    }
                    input.ReadMessage(subBuilder);
                    ImageObjectDetectionEvaluationMetrics = subBuilder;
                    break;
                }

                case 106: {
                    global::Google.Cloud.AutoML.V1.TextExtractionEvaluationMetrics subBuilder = new global::Google.Cloud.AutoML.V1.TextExtractionEvaluationMetrics();
                    if (metricsCase_ == MetricsOneofCase.TextExtractionEvaluationMetrics)
                    {
                        subBuilder.MergeFrom(TextExtractionEvaluationMetrics);
                    }
                    input.ReadMessage(subBuilder);
                    TextExtractionEvaluationMetrics = subBuilder;
                    break;
                }

                case 122: {
                    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 26: {
                    global::Google.Ads.GoogleAds.V10.Common.KeywordInfo subBuilder = new global::Google.Ads.GoogleAds.V10.Common.KeywordInfo();
                    if (criterionCase_ == CriterionOneofCase.Keyword)
                    {
                        subBuilder.MergeFrom(Keyword);
                    }
                    input.ReadMessage(subBuilder);
                    Keyword = subBuilder;
                    break;
                }

                case 32: {
                    Type = (global::Google.Ads.GoogleAds.V10.Enums.CriterionTypeEnum.Types.CriterionType)input.ReadEnum();
                    break;
                }

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

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

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

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

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

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

                case 88: {
                    CriterionId = input.ReadInt64();
                    break;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    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: {
                    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;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    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;
                }
                }
            }
        }
Ejemplo n.º 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 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;
                }
                }
            }
        }
Ejemplo n.º 7
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;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    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;
                }
                }
            }
        }
Ejemplo n.º 9
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: {
                    A = input.ReadString();
                    break;
                }

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

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

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

                case 40: {
                    E = input.ReadBool();
                    break;
                }

                case 48: {
                    F = input.ReadInt64();
                    break;
                }

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

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

                case 74: {
                    i_.AddEntriesFrom(ref input, _repeated_i_codec);
                    break;
                }

                case 82: {
                    j_.AddEntriesFrom(ref input, _repeated_j_codec);
                    break;
                }

                case 90: {
                    if (k_ == null)
                    {
                        K = new global::AcFunDanmu.PkRoundInfo();
                    }
                    input.ReadMessage(K);
                    break;
                }

                case 96: {
                    L = input.ReadInt64();
                    break;
                }
                }
            }
        }
Ejemplo n.º 10
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: {
                    LogoUrl = input.ReadString();
                    break;
                }

                case 26: {
                    if (layoutProperties_ == null)
                    {
                        LayoutProperties = new global::Google.Apps.Script.Type.LayoutProperties();
                    }
                    input.ReadMessage(LayoutProperties);
                    break;
                }

                case 34: {
                    if (addOnWidgetSet_ == null)
                    {
                        AddOnWidgetSet = new global::Google.Apps.Script.Type.AddOnWidgetSet();
                    }
                    input.ReadMessage(AddOnWidgetSet);
                    break;
                }

                case 40: {
                    UseLocaleFromApp = input.ReadBool();
                    break;
                }

                case 50: {
                    if (homepageTrigger_ == null)
                    {
                        HomepageTrigger = new global::Google.Apps.Script.Type.HomepageExtensionPoint();
                    }
                    input.ReadMessage(HomepageTrigger);
                    break;
                }

                case 58: {
                    universalActions_.AddEntriesFrom(ref input, _repeated_universalActions_codec);
                    break;
                }

                case 66: {
                    if (openLinkUrlPrefixes_ == null)
                    {
                        OpenLinkUrlPrefixes = new global::Google.Protobuf.WellKnownTypes.ListValue();
                    }
                    input.ReadMessage(OpenLinkUrlPrefixes);
                    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 18: {
                    long?value = _single_id_codec.Read(ref input);
                    if (id_ == null || value != 0L)
                    {
                        Id = value;
                    }
                    break;
                }

                case 24: {
                    Type = (global::Google.Ads.GoogleAds.V4.Enums.CriterionTypeEnum.Types.CriterionType)input.ReadEnum();
                    break;
                }

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

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

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

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

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

                case 74: {
                    global::Google.Ads.GoogleAds.V4.Common.YouTubeChannelInfo subBuilder = new global::Google.Ads.GoogleAds.V4.Common.YouTubeChannelInfo();
                    if (criterionCase_ == CriterionOneofCase.YoutubeChannel)
                    {
                        subBuilder.MergeFrom(YoutubeChannel);
                    }
                    input.ReadMessage(subBuilder);
                    YoutubeChannel = subBuilder;
                    break;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    Name = input.ReadString();
                    break;
                }

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

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

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

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

                case 58: {
                    if (onlineServingConfig_ == null)
                    {
                        OnlineServingConfig = new global::Google.Cloud.AIPlatform.V1.Featurestore.Types.OnlineServingConfig();
                    }
                    input.ReadMessage(OnlineServingConfig);
                    break;
                }

                case 64: {
                    State = (global::Google.Cloud.AIPlatform.V1.Featurestore.Types.State)input.ReadEnum();
                    break;
                }

                case 82: {
                    if (encryptionSpec_ == null)
                    {
                        EncryptionSpec = new global::Google.Cloud.AIPlatform.V1.EncryptionSpec();
                    }
                    input.ReadMessage(EncryptionSpec);
                    break;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    Name = input.ReadString();
                    break;
                }

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

                case 26: {
                    if (payload_ == null)
                    {
                        Payload = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Payload);
                    break;
                }

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

                case 42: {
                    if (annotationSource_ == null)
                    {
                        AnnotationSource = new global::Google.Cloud.AIPlatform.V1.UserActionReference();
                    }
                    input.ReadMessage(AnnotationSource);
                    break;
                }

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

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

                case 66: {
                    Etag = input.ReadString();
                    break;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    global::Google.Cloud.Spanner.V1.Mutation.Types.Write subBuilder = new global::Google.Cloud.Spanner.V1.Mutation.Types.Write();
                    if (operationCase_ == OperationOneofCase.Insert)
                    {
                        subBuilder.MergeFrom(Insert);
                    }
                    input.ReadMessage(subBuilder);
                    Insert = subBuilder;
                    break;
                }

                case 18: {
                    global::Google.Cloud.Spanner.V1.Mutation.Types.Write subBuilder = new global::Google.Cloud.Spanner.V1.Mutation.Types.Write();
                    if (operationCase_ == OperationOneofCase.Update)
                    {
                        subBuilder.MergeFrom(Update);
                    }
                    input.ReadMessage(subBuilder);
                    Update = subBuilder;
                    break;
                }

                case 26: {
                    global::Google.Cloud.Spanner.V1.Mutation.Types.Write subBuilder = new global::Google.Cloud.Spanner.V1.Mutation.Types.Write();
                    if (operationCase_ == OperationOneofCase.InsertOrUpdate)
                    {
                        subBuilder.MergeFrom(InsertOrUpdate);
                    }
                    input.ReadMessage(subBuilder);
                    InsertOrUpdate = subBuilder;
                    break;
                }

                case 34: {
                    global::Google.Cloud.Spanner.V1.Mutation.Types.Write subBuilder = new global::Google.Cloud.Spanner.V1.Mutation.Types.Write();
                    if (operationCase_ == OperationOneofCase.Replace)
                    {
                        subBuilder.MergeFrom(Replace);
                    }
                    input.ReadMessage(subBuilder);
                    Replace = subBuilder;
                    break;
                }

                case 42: {
                    global::Google.Cloud.Spanner.V1.Mutation.Types.Delete subBuilder = new global::Google.Cloud.Spanner.V1.Mutation.Types.Delete();
                    if (operationCase_ == OperationOneofCase.Delete)
                    {
                        subBuilder.MergeFrom(Delete);
                    }
                    input.ReadMessage(subBuilder);
                    Delete = subBuilder;
                    break;
                }
                }
            }
        }
Ejemplo n.º 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: {
         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;
       }
     }
   }
 }
Ejemplo n.º 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: {
                    Name = input.ReadString();
                    break;
                }

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

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

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

                case 58: {
                    if (applicationDate_ == null)
                    {
                        ApplicationDate = new global::Google.Type.Date();
                    }
                    input.ReadMessage(ApplicationDate);
                    break;
                }

                case 88: {
                    Stage = (global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationStage)input.ReadEnum();
                    break;
                }

                case 104: {
                    State = (global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationState)input.ReadEnum();
                    break;
                }

                case 130: {
                    interviews_.AddEntriesFrom(ref input, _repeated_interviews_codec);
                    break;
                }

                case 146: {
                    bool?value = _single_referral_codec.Read(ref input);
                    if (referral_ == null || value != false)
                    {
                        Referral = value;
                    }
                    break;
                }

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

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

                case 170: {
                    OutcomeNotes = input.ReadString();
                    break;
                }

                case 176: {
                    Outcome = (global::Google.Cloud.Talent.V4Beta1.Outcome)input.ReadEnum();
                    break;
                }

                case 226: {
                    bool?value = _single_isMatch_codec.Read(ref input);
                    if (isMatch_ == null || value != false)
                    {
                        IsMatch = value;
                    }
                    break;
                }

                case 234: {
                    JobTitleSnippet = input.ReadString();
                    break;
                }

                case 250: {
                    ExternalId = input.ReadString();
                    break;
                }
                }
            }
        }
Ejemplo n.º 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 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;
                }
                }
            }
        }
Ejemplo n.º 18
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: {
                    if (billingSettings_ == null)
                    {
                        BillingSettings = new global::Google.Cloud.SecurityCenter.Settings.V1Beta1.BillingSettings();
                    }
                    input.ReadMessage(BillingSettings);
                    break;
                }

                case 24: {
                    State = (global::Google.Cloud.SecurityCenter.Settings.V1Beta1.Settings.Types.OnboardingState)input.ReadEnum();
                    break;
                }

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

                case 50: {
                    if (sinkSettings_ == null)
                    {
                        SinkSettings = new global::Google.Cloud.SecurityCenter.Settings.V1Beta1.SinkSettings();
                    }
                    input.ReadMessage(SinkSettings);
                    break;
                }

                case 58: {
                    componentSettings_.AddEntriesFrom(ref input, _map_componentSettings_codec);
                    break;
                }

                case 66: {
                    detectorGroupSettings_.AddEntriesFrom(ref input, _map_detectorGroupSettings_codec);
                    break;
                }

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

                case 82: {
                    if (updateTime_ == null)
                    {
                        UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(UpdateTime);
                    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;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    Name = input.ReadString();
                    break;
                }

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

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

                case 32: {
                    Size = (global::Google.Cloud.Talent.V4.CompanySize)input.ReadEnum();
                    break;
                }

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

                case 48: {
                    HiringAgency = input.ReadBool();
                    break;
                }

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

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

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

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

                case 90: {
                    keywordSearchableJobCustomAttributes_.AddEntriesFrom(ref input, _repeated_keywordSearchableJobCustomAttributes_codec);
                    break;
                }

                case 98: {
                    if (derivedInfo_ == null)
                    {
                        DerivedInfo = new global::Google.Cloud.Talent.V4.Company.Types.DerivedInfo();
                    }
                    input.ReadMessage(DerivedInfo);
                    break;
                }

                case 104: {
                    Suspended = input.ReadBool();
                    break;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    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;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    ResourceName = input.ReadString();
                    break;
                }

                case 26: {
                    if (areaOfInterest_ == null)
                    {
                        AreaOfInterest = new global::Google.Ads.GoogleAds.V9.Common.ClickLocation();
                    }
                    input.ReadMessage(AreaOfInterest);
                    break;
                }

                case 34: {
                    if (locationOfPresence_ == null)
                    {
                        LocationOfPresence = new global::Google.Ads.GoogleAds.V9.Common.ClickLocation();
                    }
                    input.ReadMessage(LocationOfPresence);
                    break;
                }

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

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

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

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

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

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

                case 114: {
                    if (keywordInfo_ == null)
                    {
                        KeywordInfo = new global::Google.Ads.GoogleAds.V9.Common.KeywordInfo();
                    }
                    input.ReadMessage(KeywordInfo);
                    break;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    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;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    DisplayName = input.ReadString();
                    break;
                }

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

                case 50: {
                    global::Google.Cloud.Notebooks.V1.VmImage subBuilder = new global::Google.Cloud.Notebooks.V1.VmImage();
                    if (imageTypeCase_ == ImageTypeOneofCase.VmImage)
                    {
                        subBuilder.MergeFrom(VmImage);
                    }
                    input.ReadMessage(subBuilder);
                    VmImage = subBuilder;
                    break;
                }

                case 58: {
                    global::Google.Cloud.Notebooks.V1.ContainerImage subBuilder = new global::Google.Cloud.Notebooks.V1.ContainerImage();
                    if (imageTypeCase_ == ImageTypeOneofCase.ContainerImage)
                    {
                        subBuilder.MergeFrom(ContainerImage);
                    }
                    input.ReadMessage(subBuilder);
                    ContainerImage = subBuilder;
                    break;
                }

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

                case 74: {
                    if (createTime_ == null)
                    {
                        CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreateTime);
                    break;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    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;
                }
                }
            }
        }
Ejemplo n.º 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 24: {
                    FeedItemTargetType = (global::Google.Ads.GoogleAds.V9.Enums.FeedItemTargetTypeEnum.Types.FeedItemTargetType)input.ReadEnum();
                    break;
                }

                case 58: {
                    global::Google.Ads.GoogleAds.V9.Common.KeywordInfo subBuilder = new global::Google.Ads.GoogleAds.V9.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.V9.Common.AdScheduleInfo subBuilder = new global::Google.Ads.GoogleAds.V9.Common.AdScheduleInfo();
                    if (targetCase_ == TargetOneofCase.AdSchedule)
                    {
                        subBuilder.MergeFrom(AdSchedule);
                    }
                    input.ReadMessage(subBuilder);
                    AdSchedule = subBuilder;
                    break;
                }

                case 88: {
                    Status = (global::Google.Ads.GoogleAds.V9.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;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    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;
                }
                }
            }
        }
Ejemplo n.º 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: {
                    Parent = input.ReadString();
                    break;
                }

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

                case 32: {
                    State = (global::Google.Cloud.SecurityCenter.V1.Finding.Types.State)input.ReadEnum();
                    break;
                }

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

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

                case 58: {
                    sourceProperties_.AddEntriesFrom(ref input, _map_sourceProperties_codec);
                    break;
                }

                case 66: {
                    if (securityMarks_ == null)
                    {
                        SecurityMarks = new global::Google.Cloud.SecurityCenter.V1.SecurityMarks();
                    }
                    input.ReadMessage(SecurityMarks);
                    break;
                }

                case 74: {
                    if (eventTime_ == null)
                    {
                        EventTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(EventTime);
                    break;
                }

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

                case 96: {
                    Severity = (global::Google.Cloud.SecurityCenter.V1.Finding.Types.Severity)input.ReadEnum();
                    break;
                }

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

                case 136: {
                    FindingClass = (global::Google.Cloud.SecurityCenter.V1.Finding.Types.FindingClass)input.ReadEnum();
                    break;
                }

                case 146: {
                    if (indicator_ == null)
                    {
                        Indicator = new global::Google.Cloud.SecurityCenter.V1.Indicator();
                    }
                    input.ReadMessage(Indicator);
                    break;
                }
                }
            }
        }
Ejemplo n.º 29
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;
                }
                }
            }
        }
Ejemplo n.º 30
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: {
                    Year = input.ReadInt32();
                    break;
                }

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

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

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

                case 40: {
                    Minutes = input.ReadInt32();
                    break;
                }

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

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

                case 66: {
                    global::Google.Protobuf.WellKnownTypes.Duration subBuilder = new global::Google.Protobuf.WellKnownTypes.Duration();
                    if (timeOffsetCase_ == TimeOffsetOneofCase.UtcOffset)
                    {
                        subBuilder.MergeFrom(UtcOffset);
                    }
                    input.ReadMessage(subBuilder);
                    UtcOffset = subBuilder;
                    break;
                }

                case 74: {
                    global::Google.Type.TimeZone subBuilder = new global::Google.Type.TimeZone();
                    if (timeOffsetCase_ == TimeOffsetOneofCase.TimeZone)
                    {
                        subBuilder.MergeFrom(TimeZone);
                    }
                    input.ReadMessage(subBuilder);
                    TimeZone = subBuilder;
                    break;
                }
                }
            }
        }