Ejemplo n.º 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    string value = _single_appId_codec.Read(input);
                    if (appId_ == null || value != "")
                    {
                        AppId = value;
                    }
                    break;
                }

                case 16: {
                    uploadKeyType_ = (global::Google.Ads.GoogleAds.V0.Enums.CustomerMatchUploadKeyTypeEnum.Types.CustomerMatchUploadKeyType)input.ReadEnum();
                    break;
                }

                case 24: {
                    dataSourceType_ = (global::Google.Ads.GoogleAds.V0.Enums.UserListCrmDataSourceTypeEnum.Types.UserListCrmDataSourceType)input.ReadEnum();
                    break;
                }
                }
            }
        }
Ejemplo n.º 2
0
 public void MergeFrom(CrmBasedUserListInfo other)
 {
     if (other == null)
     {
         return;
     }
     if (other.appId_ != null)
     {
         if (appId_ == null || other.AppId != "")
         {
             AppId = other.AppId;
         }
     }
     if (other.UploadKeyType != 0)
     {
         UploadKeyType = other.UploadKeyType;
     }
     if (other.DataSourceType != 0)
     {
         DataSourceType = other.DataSourceType;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }