googledataflow.pp 238 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115
  1. unit googledataflow;
  2. {$MODE objfpc}
  3. {$H+}
  4. interface
  5. uses sysutils, classes, googleservice, restbase, googlebase;
  6. type
  7. //Top-level schema types
  8. TJob = Class;
  9. TEnvironment = Class;
  10. TWorkerPool = Class;
  11. TPackage = Class;
  12. TTaskRunnerSettings = Class;
  13. TWorkerSettings = Class;
  14. TDisk = Class;
  15. TAutoscalingSettings = Class;
  16. TStep = Class;
  17. TJobExecutionInfo = Class;
  18. TJobExecutionStageInfo = Class;
  19. TListJobsResponse = Class;
  20. TListJobMessagesResponse = Class;
  21. TJobMessage = Class;
  22. TJobMetrics = Class;
  23. TMetricUpdate = Class;
  24. TMetricStructuredName = Class;
  25. TReportWorkItemStatusRequest = Class;
  26. TWorkItemStatus = Class;
  27. TStatus = Class;
  28. TApproximateReportedProgress = Class;
  29. TPosition = Class;
  30. TConcatPosition = Class;
  31. TReportedParallelism = Class;
  32. TDynamicSourceSplit = Class;
  33. TDerivedSource = Class;
  34. TSource = Class;
  35. TSourceMetadata = Class;
  36. TSourceOperationResponse = Class;
  37. TSourceSplitResponse = Class;
  38. TSourceSplitShard = Class;
  39. TSourceGetMetadataResponse = Class;
  40. TSourceFork = Class;
  41. TApproximateProgress = Class;
  42. TReportWorkItemStatusResponse = Class;
  43. TWorkItemServiceState = Class;
  44. TApproximateSplitRequest = Class;
  45. TLeaseWorkItemRequest = Class;
  46. TLeaseWorkItemResponse = Class;
  47. TWorkItem = Class;
  48. TMapTask = Class;
  49. TParallelInstruction = Class;
  50. TReadInstruction = Class;
  51. TWriteInstruction = Class;
  52. TInstructionInput = Class;
  53. TSink = Class;
  54. TParDoInstruction = Class;
  55. TSideInputInfo = Class;
  56. TMultiOutputInfo = Class;
  57. TPartialGroupByKeyInstruction = Class;
  58. TFlattenInstruction = Class;
  59. TInstructionOutput = Class;
  60. TSeqMapTask = Class;
  61. TSeqMapTaskOutputInfo = Class;
  62. TShellTask = Class;
  63. TStreamingSetupTask = Class;
  64. TTopologyConfig = Class;
  65. TComputationTopology = Class;
  66. TKeyRangeLocation = Class;
  67. TStreamLocation = Class;
  68. TStreamingStageLocation = Class;
  69. TPubsubLocation = Class;
  70. TStreamingSideInputLocation = Class;
  71. TCustomSourceLocation = Class;
  72. TStateFamilyConfig = Class;
  73. TDataDiskAssignment = Class;
  74. TSourceOperationRequest = Class;
  75. TSourceSplitRequest = Class;
  76. TSourceSplitOptions = Class;
  77. TSourceGetMetadataRequest = Class;
  78. TStreamingComputationTask = Class;
  79. TMountedDataDisk = Class;
  80. TStreamingComputationRanges = Class;
  81. TKeyRangeDataDiskAssignment = Class;
  82. TSendWorkerMessagesRequest = Class;
  83. TWorkerMessage = Class;
  84. TWorkerHealthReport = Class;
  85. TWorkerMessageCode = Class;
  86. TSendWorkerMessagesResponse = Class;
  87. TWorkerMessageResponse = Class;
  88. TWorkerHealthReportResponse = Class;
  89. TJobArray = Array of TJob;
  90. TEnvironmentArray = Array of TEnvironment;
  91. TWorkerPoolArray = Array of TWorkerPool;
  92. TPackageArray = Array of TPackage;
  93. TTaskRunnerSettingsArray = Array of TTaskRunnerSettings;
  94. TWorkerSettingsArray = Array of TWorkerSettings;
  95. TDiskArray = Array of TDisk;
  96. TAutoscalingSettingsArray = Array of TAutoscalingSettings;
  97. TStepArray = Array of TStep;
  98. TJobExecutionInfoArray = Array of TJobExecutionInfo;
  99. TJobExecutionStageInfoArray = Array of TJobExecutionStageInfo;
  100. TListJobsResponseArray = Array of TListJobsResponse;
  101. TListJobMessagesResponseArray = Array of TListJobMessagesResponse;
  102. TJobMessageArray = Array of TJobMessage;
  103. TJobMetricsArray = Array of TJobMetrics;
  104. TMetricUpdateArray = Array of TMetricUpdate;
  105. TMetricStructuredNameArray = Array of TMetricStructuredName;
  106. TReportWorkItemStatusRequestArray = Array of TReportWorkItemStatusRequest;
  107. TWorkItemStatusArray = Array of TWorkItemStatus;
  108. TStatusArray = Array of TStatus;
  109. TApproximateReportedProgressArray = Array of TApproximateReportedProgress;
  110. TPositionArray = Array of TPosition;
  111. TConcatPositionArray = Array of TConcatPosition;
  112. TReportedParallelismArray = Array of TReportedParallelism;
  113. TDynamicSourceSplitArray = Array of TDynamicSourceSplit;
  114. TDerivedSourceArray = Array of TDerivedSource;
  115. TSourceArray = Array of TSource;
  116. TSourceMetadataArray = Array of TSourceMetadata;
  117. TSourceOperationResponseArray = Array of TSourceOperationResponse;
  118. TSourceSplitResponseArray = Array of TSourceSplitResponse;
  119. TSourceSplitShardArray = Array of TSourceSplitShard;
  120. TSourceGetMetadataResponseArray = Array of TSourceGetMetadataResponse;
  121. TSourceForkArray = Array of TSourceFork;
  122. TApproximateProgressArray = Array of TApproximateProgress;
  123. TReportWorkItemStatusResponseArray = Array of TReportWorkItemStatusResponse;
  124. TWorkItemServiceStateArray = Array of TWorkItemServiceState;
  125. TApproximateSplitRequestArray = Array of TApproximateSplitRequest;
  126. TLeaseWorkItemRequestArray = Array of TLeaseWorkItemRequest;
  127. TLeaseWorkItemResponseArray = Array of TLeaseWorkItemResponse;
  128. TWorkItemArray = Array of TWorkItem;
  129. TMapTaskArray = Array of TMapTask;
  130. TParallelInstructionArray = Array of TParallelInstruction;
  131. TReadInstructionArray = Array of TReadInstruction;
  132. TWriteInstructionArray = Array of TWriteInstruction;
  133. TInstructionInputArray = Array of TInstructionInput;
  134. TSinkArray = Array of TSink;
  135. TParDoInstructionArray = Array of TParDoInstruction;
  136. TSideInputInfoArray = Array of TSideInputInfo;
  137. TMultiOutputInfoArray = Array of TMultiOutputInfo;
  138. TPartialGroupByKeyInstructionArray = Array of TPartialGroupByKeyInstruction;
  139. TFlattenInstructionArray = Array of TFlattenInstruction;
  140. TInstructionOutputArray = Array of TInstructionOutput;
  141. TSeqMapTaskArray = Array of TSeqMapTask;
  142. TSeqMapTaskOutputInfoArray = Array of TSeqMapTaskOutputInfo;
  143. TShellTaskArray = Array of TShellTask;
  144. TStreamingSetupTaskArray = Array of TStreamingSetupTask;
  145. TTopologyConfigArray = Array of TTopologyConfig;
  146. TComputationTopologyArray = Array of TComputationTopology;
  147. TKeyRangeLocationArray = Array of TKeyRangeLocation;
  148. TStreamLocationArray = Array of TStreamLocation;
  149. TStreamingStageLocationArray = Array of TStreamingStageLocation;
  150. TPubsubLocationArray = Array of TPubsubLocation;
  151. TStreamingSideInputLocationArray = Array of TStreamingSideInputLocation;
  152. TCustomSourceLocationArray = Array of TCustomSourceLocation;
  153. TStateFamilyConfigArray = Array of TStateFamilyConfig;
  154. TDataDiskAssignmentArray = Array of TDataDiskAssignment;
  155. TSourceOperationRequestArray = Array of TSourceOperationRequest;
  156. TSourceSplitRequestArray = Array of TSourceSplitRequest;
  157. TSourceSplitOptionsArray = Array of TSourceSplitOptions;
  158. TSourceGetMetadataRequestArray = Array of TSourceGetMetadataRequest;
  159. TStreamingComputationTaskArray = Array of TStreamingComputationTask;
  160. TMountedDataDiskArray = Array of TMountedDataDisk;
  161. TStreamingComputationRangesArray = Array of TStreamingComputationRanges;
  162. TKeyRangeDataDiskAssignmentArray = Array of TKeyRangeDataDiskAssignment;
  163. TSendWorkerMessagesRequestArray = Array of TSendWorkerMessagesRequest;
  164. TWorkerMessageArray = Array of TWorkerMessage;
  165. TWorkerHealthReportArray = Array of TWorkerHealthReport;
  166. TWorkerMessageCodeArray = Array of TWorkerMessageCode;
  167. TSendWorkerMessagesResponseArray = Array of TSendWorkerMessagesResponse;
  168. TWorkerMessageResponseArray = Array of TWorkerMessageResponse;
  169. TWorkerHealthReportResponseArray = Array of TWorkerHealthReportResponse;
  170. //Anonymous types, using auto-generated names
  171. TJobTypetransformNameMapping = Class;
  172. TEnvironmentTypeuserAgent = Class;
  173. TEnvironmentTypeversion = Class;
  174. TEnvironmentTypesdkPipelineOptions = Class;
  175. TEnvironmentTypeinternalExperiments = Class;
  176. TWorkerPoolTypemetadata = Class;
  177. TWorkerPoolTypepoolArgs = Class;
  178. TStepTypeproperties = Class;
  179. TJobExecutionInfoTypestages = Class;
  180. TMetricStructuredNameTypecontext = Class;
  181. TStatusTypedetailsItem = Class;
  182. TSourceTypespec = Class;
  183. TSourceTypecodec = Class;
  184. TSourceTypebaseSpecsItem = Class;
  185. TWorkItemServiceStateTypeharnessData = Class;
  186. TSinkTypespec = Class;
  187. TSinkTypecodec = Class;
  188. TParDoInstructionTypeuserFn = Class;
  189. TSideInputInfoTypekind = Class;
  190. TPartialGroupByKeyInstructionTypeinputElementCodec = Class;
  191. TPartialGroupByKeyInstructionTypevalueCombiningFn = Class;
  192. TInstructionOutputTypecodec = Class;
  193. TSeqMapTaskTypeuserFn = Class;
  194. TTopologyConfigTypeuserStageToComputationNameMap = Class;
  195. TWorkerMessageTypelabels = Class;
  196. TWorkerHealthReportTypepodsItem = Class;
  197. TWorkerMessageCodeTypeparameters = Class;
  198. TJobTypestepsArray = Array of TStep;
  199. TEnvironmentTypeworkerPoolsArray = Array of TWorkerPool;
  200. TWorkerPoolTypepackagesArray = Array of TPackage;
  201. TWorkerPoolTypedataDisksArray = Array of TDisk;
  202. TListJobsResponseTypejobsArray = Array of TJob;
  203. TListJobMessagesResponseTypejobMessagesArray = Array of TJobMessage;
  204. TJobMetricsTypemetricsArray = Array of TMetricUpdate;
  205. TReportWorkItemStatusRequestTypeworkItemStatusesArray = Array of TWorkItemStatus;
  206. TWorkItemStatusTypeerrorsArray = Array of TStatus;
  207. TWorkItemStatusTypemetricUpdatesArray = Array of TMetricUpdate;
  208. TStatusTypedetailsArray = Array of TStatusTypedetailsItem;
  209. TSourceTypebaseSpecsArray = Array of TSourceTypebaseSpecsItem;
  210. TSourceSplitResponseTypebundlesArray = Array of TDerivedSource;
  211. TSourceSplitResponseTypeshardsArray = Array of TSourceSplitShard;
  212. TReportWorkItemStatusResponseTypeworkItemServiceStatesArray = Array of TWorkItemServiceState;
  213. TLeaseWorkItemResponseTypeworkItemsArray = Array of TWorkItem;
  214. TWorkItemTypepackagesArray = Array of TPackage;
  215. TMapTaskTypeinstructionsArray = Array of TParallelInstruction;
  216. TParallelInstructionTypeoutputsArray = Array of TInstructionOutput;
  217. TParDoInstructionTypesideInputsArray = Array of TSideInputInfo;
  218. TParDoInstructionTypemultiOutputInfosArray = Array of TMultiOutputInfo;
  219. TSideInputInfoTypesourcesArray = Array of TSource;
  220. TPartialGroupByKeyInstructionTypesideInputsArray = Array of TSideInputInfo;
  221. TFlattenInstructionTypeinputsArray = Array of TInstructionInput;
  222. TSeqMapTaskTypeinputsArray = Array of TSideInputInfo;
  223. TSeqMapTaskTypeoutputInfosArray = Array of TSeqMapTaskOutputInfo;
  224. TTopologyConfigTypecomputationsArray = Array of TComputationTopology;
  225. TTopologyConfigTypedataDiskAssignmentsArray = Array of TDataDiskAssignment;
  226. TComputationTopologyTypekeyRangesArray = Array of TKeyRangeLocation;
  227. TComputationTopologyTypeinputsArray = Array of TStreamLocation;
  228. TComputationTopologyTypeoutputsArray = Array of TStreamLocation;
  229. TComputationTopologyTypestateFamiliesArray = Array of TStateFamilyConfig;
  230. TStreamingComputationTaskTypedataDisksArray = Array of TMountedDataDisk;
  231. TStreamingComputationTaskTypecomputationRangesArray = Array of TStreamingComputationRanges;
  232. TStreamingComputationRangesTyperangeAssignmentsArray = Array of TKeyRangeDataDiskAssignment;
  233. TSendWorkerMessagesRequestTypeworkerMessagesArray = Array of TWorkerMessage;
  234. TWorkerHealthReportTypepodsArray = Array of TWorkerHealthReportTypepodsItem;
  235. TSendWorkerMessagesResponseTypeworkerMessageResponsesArray = Array of TWorkerMessageResponse;
  236. { --------------------------------------------------------------------
  237. TJobTypetransformNameMapping
  238. --------------------------------------------------------------------}
  239. TJobTypetransformNameMapping = Class(TGoogleBaseObject)
  240. Private
  241. Protected
  242. //Property setters
  243. Public
  244. Class Function AllowAdditionalProperties : Boolean; override;
  245. Published
  246. end;
  247. TJobTypetransformNameMappingClass = Class of TJobTypetransformNameMapping;
  248. { --------------------------------------------------------------------
  249. TJob
  250. --------------------------------------------------------------------}
  251. TJob = Class(TGoogleBaseObject)
  252. Private
  253. Fid : String;
  254. FprojectId : String;
  255. Fname : String;
  256. F_type : String;
  257. Fenvironment : TEnvironment;
  258. Fsteps : TJobTypestepsArray;
  259. FcurrentState : String;
  260. FcurrentStateTime : String;
  261. FrequestedState : String;
  262. FexecutionInfo : TJobExecutionInfo;
  263. FcreateTime : String;
  264. FreplaceJobId : String;
  265. FtransformNameMapping : TJobTypetransformNameMapping;
  266. FclientRequestId : String;
  267. FreplacedByJobId : String;
  268. FtempFiles : TStringArray;
  269. Protected
  270. Class Function ExportPropertyName(Const AName : String) : string; override;
  271. //Property setters
  272. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  273. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  274. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  275. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  276. Procedure Setenvironment(AIndex : Integer; const AValue : TEnvironment); virtual;
  277. Procedure Setsteps(AIndex : Integer; const AValue : TJobTypestepsArray); virtual;
  278. Procedure SetcurrentState(AIndex : Integer; const AValue : String); virtual;
  279. Procedure SetcurrentStateTime(AIndex : Integer; const AValue : String); virtual;
  280. Procedure SetrequestedState(AIndex : Integer; const AValue : String); virtual;
  281. Procedure SetexecutionInfo(AIndex : Integer; const AValue : TJobExecutionInfo); virtual;
  282. Procedure SetcreateTime(AIndex : Integer; const AValue : String); virtual;
  283. Procedure SetreplaceJobId(AIndex : Integer; const AValue : String); virtual;
  284. Procedure SettransformNameMapping(AIndex : Integer; const AValue : TJobTypetransformNameMapping); virtual;
  285. Procedure SetclientRequestId(AIndex : Integer; const AValue : String); virtual;
  286. Procedure SetreplacedByJobId(AIndex : Integer; const AValue : String); virtual;
  287. Procedure SettempFiles(AIndex : Integer; const AValue : TStringArray); virtual;
  288. //2.6.4. bug workaround
  289. {$IFDEF VER2_6}
  290. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  291. {$ENDIF VER2_6}
  292. Public
  293. Published
  294. Property id : String Index 0 Read Fid Write Setid;
  295. Property projectId : String Index 8 Read FprojectId Write SetprojectId;
  296. Property name : String Index 16 Read Fname Write Setname;
  297. Property _type : String Index 24 Read F_type Write Set_type;
  298. Property environment : TEnvironment Index 32 Read Fenvironment Write Setenvironment;
  299. Property steps : TJobTypestepsArray Index 40 Read Fsteps Write Setsteps;
  300. Property currentState : String Index 48 Read FcurrentState Write SetcurrentState;
  301. Property currentStateTime : String Index 56 Read FcurrentStateTime Write SetcurrentStateTime;
  302. Property requestedState : String Index 64 Read FrequestedState Write SetrequestedState;
  303. Property executionInfo : TJobExecutionInfo Index 72 Read FexecutionInfo Write SetexecutionInfo;
  304. Property createTime : String Index 80 Read FcreateTime Write SetcreateTime;
  305. Property replaceJobId : String Index 88 Read FreplaceJobId Write SetreplaceJobId;
  306. Property transformNameMapping : TJobTypetransformNameMapping Index 96 Read FtransformNameMapping Write SettransformNameMapping;
  307. Property clientRequestId : String Index 104 Read FclientRequestId Write SetclientRequestId;
  308. Property replacedByJobId : String Index 112 Read FreplacedByJobId Write SetreplacedByJobId;
  309. Property tempFiles : TStringArray Index 120 Read FtempFiles Write SettempFiles;
  310. end;
  311. TJobClass = Class of TJob;
  312. { --------------------------------------------------------------------
  313. TEnvironmentTypeuserAgent
  314. --------------------------------------------------------------------}
  315. TEnvironmentTypeuserAgent = Class(TGoogleBaseObject)
  316. Private
  317. Protected
  318. //Property setters
  319. Public
  320. Class Function AllowAdditionalProperties : Boolean; override;
  321. Published
  322. end;
  323. TEnvironmentTypeuserAgentClass = Class of TEnvironmentTypeuserAgent;
  324. { --------------------------------------------------------------------
  325. TEnvironmentTypeversion
  326. --------------------------------------------------------------------}
  327. TEnvironmentTypeversion = Class(TGoogleBaseObject)
  328. Private
  329. Protected
  330. //Property setters
  331. Public
  332. Class Function AllowAdditionalProperties : Boolean; override;
  333. Published
  334. end;
  335. TEnvironmentTypeversionClass = Class of TEnvironmentTypeversion;
  336. { --------------------------------------------------------------------
  337. TEnvironmentTypesdkPipelineOptions
  338. --------------------------------------------------------------------}
  339. TEnvironmentTypesdkPipelineOptions = Class(TGoogleBaseObject)
  340. Private
  341. Protected
  342. //Property setters
  343. Public
  344. Class Function AllowAdditionalProperties : Boolean; override;
  345. Published
  346. end;
  347. TEnvironmentTypesdkPipelineOptionsClass = Class of TEnvironmentTypesdkPipelineOptions;
  348. { --------------------------------------------------------------------
  349. TEnvironmentTypeinternalExperiments
  350. --------------------------------------------------------------------}
  351. TEnvironmentTypeinternalExperiments = Class(TGoogleBaseObject)
  352. Private
  353. Protected
  354. //Property setters
  355. Public
  356. Class Function AllowAdditionalProperties : Boolean; override;
  357. Published
  358. end;
  359. TEnvironmentTypeinternalExperimentsClass = Class of TEnvironmentTypeinternalExperiments;
  360. { --------------------------------------------------------------------
  361. TEnvironment
  362. --------------------------------------------------------------------}
  363. TEnvironment = Class(TGoogleBaseObject)
  364. Private
  365. FtempStoragePrefix : String;
  366. FclusterManagerApiService : String;
  367. Fexperiments : TStringArray;
  368. FworkerPools : TEnvironmentTypeworkerPoolsArray;
  369. FuserAgent : TEnvironmentTypeuserAgent;
  370. Fversion : TEnvironmentTypeversion;
  371. Fdataset : String;
  372. FsdkPipelineOptions : TEnvironmentTypesdkPipelineOptions;
  373. FinternalExperiments : TEnvironmentTypeinternalExperiments;
  374. Protected
  375. //Property setters
  376. Procedure SettempStoragePrefix(AIndex : Integer; const AValue : String); virtual;
  377. Procedure SetclusterManagerApiService(AIndex : Integer; const AValue : String); virtual;
  378. Procedure Setexperiments(AIndex : Integer; const AValue : TStringArray); virtual;
  379. Procedure SetworkerPools(AIndex : Integer; const AValue : TEnvironmentTypeworkerPoolsArray); virtual;
  380. Procedure SetuserAgent(AIndex : Integer; const AValue : TEnvironmentTypeuserAgent); virtual;
  381. Procedure Setversion(AIndex : Integer; const AValue : TEnvironmentTypeversion); virtual;
  382. Procedure Setdataset(AIndex : Integer; const AValue : String); virtual;
  383. Procedure SetsdkPipelineOptions(AIndex : Integer; const AValue : TEnvironmentTypesdkPipelineOptions); virtual;
  384. Procedure SetinternalExperiments(AIndex : Integer; const AValue : TEnvironmentTypeinternalExperiments); virtual;
  385. //2.6.4. bug workaround
  386. {$IFDEF VER2_6}
  387. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  388. {$ENDIF VER2_6}
  389. Public
  390. Published
  391. Property tempStoragePrefix : String Index 0 Read FtempStoragePrefix Write SettempStoragePrefix;
  392. Property clusterManagerApiService : String Index 8 Read FclusterManagerApiService Write SetclusterManagerApiService;
  393. Property experiments : TStringArray Index 16 Read Fexperiments Write Setexperiments;
  394. Property workerPools : TEnvironmentTypeworkerPoolsArray Index 24 Read FworkerPools Write SetworkerPools;
  395. Property userAgent : TEnvironmentTypeuserAgent Index 32 Read FuserAgent Write SetuserAgent;
  396. Property version : TEnvironmentTypeversion Index 40 Read Fversion Write Setversion;
  397. Property dataset : String Index 48 Read Fdataset Write Setdataset;
  398. Property sdkPipelineOptions : TEnvironmentTypesdkPipelineOptions Index 56 Read FsdkPipelineOptions Write SetsdkPipelineOptions;
  399. Property internalExperiments : TEnvironmentTypeinternalExperiments Index 64 Read FinternalExperiments Write SetinternalExperiments;
  400. end;
  401. TEnvironmentClass = Class of TEnvironment;
  402. { --------------------------------------------------------------------
  403. TWorkerPoolTypemetadata
  404. --------------------------------------------------------------------}
  405. TWorkerPoolTypemetadata = Class(TGoogleBaseObject)
  406. Private
  407. Protected
  408. //Property setters
  409. Public
  410. Class Function AllowAdditionalProperties : Boolean; override;
  411. Published
  412. end;
  413. TWorkerPoolTypemetadataClass = Class of TWorkerPoolTypemetadata;
  414. { --------------------------------------------------------------------
  415. TWorkerPoolTypepoolArgs
  416. --------------------------------------------------------------------}
  417. TWorkerPoolTypepoolArgs = Class(TGoogleBaseObject)
  418. Private
  419. Protected
  420. //Property setters
  421. Public
  422. Class Function AllowAdditionalProperties : Boolean; override;
  423. Published
  424. end;
  425. TWorkerPoolTypepoolArgsClass = Class of TWorkerPoolTypepoolArgs;
  426. { --------------------------------------------------------------------
  427. TWorkerPool
  428. --------------------------------------------------------------------}
  429. TWorkerPool = Class(TGoogleBaseObject)
  430. Private
  431. Fkind : String;
  432. FnumWorkers : integer;
  433. Fpackages : TWorkerPoolTypepackagesArray;
  434. FdefaultPackageSet : String;
  435. FmachineType : String;
  436. FteardownPolicy : String;
  437. FdiskSizeGb : integer;
  438. FdiskType : String;
  439. FdiskSourceImage : String;
  440. Fzone : String;
  441. FtaskrunnerSettings : TTaskRunnerSettings;
  442. FonHostMaintenance : String;
  443. FdataDisks : TWorkerPoolTypedataDisksArray;
  444. Fmetadata : TWorkerPoolTypemetadata;
  445. FautoscalingSettings : TAutoscalingSettings;
  446. FpoolArgs : TWorkerPoolTypepoolArgs;
  447. Fnetwork : String;
  448. Fsubnetwork : String;
  449. FworkerHarnessContainerImage : String;
  450. FnumThreadsPerWorker : integer;
  451. Protected
  452. //Property setters
  453. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  454. Procedure SetnumWorkers(AIndex : Integer; const AValue : integer); virtual;
  455. Procedure Setpackages(AIndex : Integer; const AValue : TWorkerPoolTypepackagesArray); virtual;
  456. Procedure SetdefaultPackageSet(AIndex : Integer; const AValue : String); virtual;
  457. Procedure SetmachineType(AIndex : Integer; const AValue : String); virtual;
  458. Procedure SetteardownPolicy(AIndex : Integer; const AValue : String); virtual;
  459. Procedure SetdiskSizeGb(AIndex : Integer; const AValue : integer); virtual;
  460. Procedure SetdiskType(AIndex : Integer; const AValue : String); virtual;
  461. Procedure SetdiskSourceImage(AIndex : Integer; const AValue : String); virtual;
  462. Procedure Setzone(AIndex : Integer; const AValue : String); virtual;
  463. Procedure SettaskrunnerSettings(AIndex : Integer; const AValue : TTaskRunnerSettings); virtual;
  464. Procedure SetonHostMaintenance(AIndex : Integer; const AValue : String); virtual;
  465. Procedure SetdataDisks(AIndex : Integer; const AValue : TWorkerPoolTypedataDisksArray); virtual;
  466. Procedure Setmetadata(AIndex : Integer; const AValue : TWorkerPoolTypemetadata); virtual;
  467. Procedure SetautoscalingSettings(AIndex : Integer; const AValue : TAutoscalingSettings); virtual;
  468. Procedure SetpoolArgs(AIndex : Integer; const AValue : TWorkerPoolTypepoolArgs); virtual;
  469. Procedure Setnetwork(AIndex : Integer; const AValue : String); virtual;
  470. Procedure Setsubnetwork(AIndex : Integer; const AValue : String); virtual;
  471. Procedure SetworkerHarnessContainerImage(AIndex : Integer; const AValue : String); virtual;
  472. Procedure SetnumThreadsPerWorker(AIndex : Integer; const AValue : integer); virtual;
  473. //2.6.4. bug workaround
  474. {$IFDEF VER2_6}
  475. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  476. {$ENDIF VER2_6}
  477. Public
  478. Published
  479. Property kind : String Index 0 Read Fkind Write Setkind;
  480. Property numWorkers : integer Index 8 Read FnumWorkers Write SetnumWorkers;
  481. Property packages : TWorkerPoolTypepackagesArray Index 16 Read Fpackages Write Setpackages;
  482. Property defaultPackageSet : String Index 24 Read FdefaultPackageSet Write SetdefaultPackageSet;
  483. Property machineType : String Index 32 Read FmachineType Write SetmachineType;
  484. Property teardownPolicy : String Index 40 Read FteardownPolicy Write SetteardownPolicy;
  485. Property diskSizeGb : integer Index 48 Read FdiskSizeGb Write SetdiskSizeGb;
  486. Property diskType : String Index 56 Read FdiskType Write SetdiskType;
  487. Property diskSourceImage : String Index 64 Read FdiskSourceImage Write SetdiskSourceImage;
  488. Property zone : String Index 72 Read Fzone Write Setzone;
  489. Property taskrunnerSettings : TTaskRunnerSettings Index 80 Read FtaskrunnerSettings Write SettaskrunnerSettings;
  490. Property onHostMaintenance : String Index 88 Read FonHostMaintenance Write SetonHostMaintenance;
  491. Property dataDisks : TWorkerPoolTypedataDisksArray Index 96 Read FdataDisks Write SetdataDisks;
  492. Property metadata : TWorkerPoolTypemetadata Index 104 Read Fmetadata Write Setmetadata;
  493. Property autoscalingSettings : TAutoscalingSettings Index 112 Read FautoscalingSettings Write SetautoscalingSettings;
  494. Property poolArgs : TWorkerPoolTypepoolArgs Index 120 Read FpoolArgs Write SetpoolArgs;
  495. Property network : String Index 128 Read Fnetwork Write Setnetwork;
  496. Property subnetwork : String Index 136 Read Fsubnetwork Write Setsubnetwork;
  497. Property workerHarnessContainerImage : String Index 144 Read FworkerHarnessContainerImage Write SetworkerHarnessContainerImage;
  498. Property numThreadsPerWorker : integer Index 152 Read FnumThreadsPerWorker Write SetnumThreadsPerWorker;
  499. end;
  500. TWorkerPoolClass = Class of TWorkerPool;
  501. { --------------------------------------------------------------------
  502. TPackage
  503. --------------------------------------------------------------------}
  504. TPackage = Class(TGoogleBaseObject)
  505. Private
  506. Fname : String;
  507. Flocation : String;
  508. Protected
  509. //Property setters
  510. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  511. Procedure Setlocation(AIndex : Integer; const AValue : String); virtual;
  512. Public
  513. Published
  514. Property name : String Index 0 Read Fname Write Setname;
  515. Property location : String Index 8 Read Flocation Write Setlocation;
  516. end;
  517. TPackageClass = Class of TPackage;
  518. { --------------------------------------------------------------------
  519. TTaskRunnerSettings
  520. --------------------------------------------------------------------}
  521. TTaskRunnerSettings = Class(TGoogleBaseObject)
  522. Private
  523. FtaskUser : String;
  524. FtaskGroup : String;
  525. FoauthScopes : TStringArray;
  526. FbaseUrl : String;
  527. FdataflowApiVersion : String;
  528. FparallelWorkerSettings : TWorkerSettings;
  529. FbaseTaskDir : String;
  530. FcontinueOnException : boolean;
  531. FlogToSerialconsole : boolean;
  532. Falsologtostderr : boolean;
  533. FlogUploadLocation : String;
  534. FlogDir : String;
  535. FtempStoragePrefix : String;
  536. FharnessCommand : String;
  537. FworkflowFileName : String;
  538. FcommandlinesFileName : String;
  539. FvmId : String;
  540. FlanguageHint : String;
  541. FstreamingWorkerMainClass : String;
  542. Protected
  543. //Property setters
  544. Procedure SettaskUser(AIndex : Integer; const AValue : String); virtual;
  545. Procedure SettaskGroup(AIndex : Integer; const AValue : String); virtual;
  546. Procedure SetoauthScopes(AIndex : Integer; const AValue : TStringArray); virtual;
  547. Procedure SetbaseUrl(AIndex : Integer; const AValue : String); virtual;
  548. Procedure SetdataflowApiVersion(AIndex : Integer; const AValue : String); virtual;
  549. Procedure SetparallelWorkerSettings(AIndex : Integer; const AValue : TWorkerSettings); virtual;
  550. Procedure SetbaseTaskDir(AIndex : Integer; const AValue : String); virtual;
  551. Procedure SetcontinueOnException(AIndex : Integer; const AValue : boolean); virtual;
  552. Procedure SetlogToSerialconsole(AIndex : Integer; const AValue : boolean); virtual;
  553. Procedure Setalsologtostderr(AIndex : Integer; const AValue : boolean); virtual;
  554. Procedure SetlogUploadLocation(AIndex : Integer; const AValue : String); virtual;
  555. Procedure SetlogDir(AIndex : Integer; const AValue : String); virtual;
  556. Procedure SettempStoragePrefix(AIndex : Integer; const AValue : String); virtual;
  557. Procedure SetharnessCommand(AIndex : Integer; const AValue : String); virtual;
  558. Procedure SetworkflowFileName(AIndex : Integer; const AValue : String); virtual;
  559. Procedure SetcommandlinesFileName(AIndex : Integer; const AValue : String); virtual;
  560. Procedure SetvmId(AIndex : Integer; const AValue : String); virtual;
  561. Procedure SetlanguageHint(AIndex : Integer; const AValue : String); virtual;
  562. Procedure SetstreamingWorkerMainClass(AIndex : Integer; const AValue : String); virtual;
  563. //2.6.4. bug workaround
  564. {$IFDEF VER2_6}
  565. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  566. {$ENDIF VER2_6}
  567. Public
  568. Published
  569. Property taskUser : String Index 0 Read FtaskUser Write SettaskUser;
  570. Property taskGroup : String Index 8 Read FtaskGroup Write SettaskGroup;
  571. Property oauthScopes : TStringArray Index 16 Read FoauthScopes Write SetoauthScopes;
  572. Property baseUrl : String Index 24 Read FbaseUrl Write SetbaseUrl;
  573. Property dataflowApiVersion : String Index 32 Read FdataflowApiVersion Write SetdataflowApiVersion;
  574. Property parallelWorkerSettings : TWorkerSettings Index 40 Read FparallelWorkerSettings Write SetparallelWorkerSettings;
  575. Property baseTaskDir : String Index 48 Read FbaseTaskDir Write SetbaseTaskDir;
  576. Property continueOnException : boolean Index 56 Read FcontinueOnException Write SetcontinueOnException;
  577. Property logToSerialconsole : boolean Index 64 Read FlogToSerialconsole Write SetlogToSerialconsole;
  578. Property alsologtostderr : boolean Index 72 Read Falsologtostderr Write Setalsologtostderr;
  579. Property logUploadLocation : String Index 80 Read FlogUploadLocation Write SetlogUploadLocation;
  580. Property logDir : String Index 88 Read FlogDir Write SetlogDir;
  581. Property tempStoragePrefix : String Index 96 Read FtempStoragePrefix Write SettempStoragePrefix;
  582. Property harnessCommand : String Index 104 Read FharnessCommand Write SetharnessCommand;
  583. Property workflowFileName : String Index 112 Read FworkflowFileName Write SetworkflowFileName;
  584. Property commandlinesFileName : String Index 120 Read FcommandlinesFileName Write SetcommandlinesFileName;
  585. Property vmId : String Index 128 Read FvmId Write SetvmId;
  586. Property languageHint : String Index 136 Read FlanguageHint Write SetlanguageHint;
  587. Property streamingWorkerMainClass : String Index 144 Read FstreamingWorkerMainClass Write SetstreamingWorkerMainClass;
  588. end;
  589. TTaskRunnerSettingsClass = Class of TTaskRunnerSettings;
  590. { --------------------------------------------------------------------
  591. TWorkerSettings
  592. --------------------------------------------------------------------}
  593. TWorkerSettings = Class(TGoogleBaseObject)
  594. Private
  595. FbaseUrl : String;
  596. FreportingEnabled : boolean;
  597. FservicePath : String;
  598. FshuffleServicePath : String;
  599. FworkerId : String;
  600. FtempStoragePrefix : String;
  601. Protected
  602. //Property setters
  603. Procedure SetbaseUrl(AIndex : Integer; const AValue : String); virtual;
  604. Procedure SetreportingEnabled(AIndex : Integer; const AValue : boolean); virtual;
  605. Procedure SetservicePath(AIndex : Integer; const AValue : String); virtual;
  606. Procedure SetshuffleServicePath(AIndex : Integer; const AValue : String); virtual;
  607. Procedure SetworkerId(AIndex : Integer; const AValue : String); virtual;
  608. Procedure SettempStoragePrefix(AIndex : Integer; const AValue : String); virtual;
  609. Public
  610. Published
  611. Property baseUrl : String Index 0 Read FbaseUrl Write SetbaseUrl;
  612. Property reportingEnabled : boolean Index 8 Read FreportingEnabled Write SetreportingEnabled;
  613. Property servicePath : String Index 16 Read FservicePath Write SetservicePath;
  614. Property shuffleServicePath : String Index 24 Read FshuffleServicePath Write SetshuffleServicePath;
  615. Property workerId : String Index 32 Read FworkerId Write SetworkerId;
  616. Property tempStoragePrefix : String Index 40 Read FtempStoragePrefix Write SettempStoragePrefix;
  617. end;
  618. TWorkerSettingsClass = Class of TWorkerSettings;
  619. { --------------------------------------------------------------------
  620. TDisk
  621. --------------------------------------------------------------------}
  622. TDisk = Class(TGoogleBaseObject)
  623. Private
  624. FsizeGb : integer;
  625. FdiskType : String;
  626. FmountPoint : String;
  627. Protected
  628. //Property setters
  629. Procedure SetsizeGb(AIndex : Integer; const AValue : integer); virtual;
  630. Procedure SetdiskType(AIndex : Integer; const AValue : String); virtual;
  631. Procedure SetmountPoint(AIndex : Integer; const AValue : String); virtual;
  632. Public
  633. Published
  634. Property sizeGb : integer Index 0 Read FsizeGb Write SetsizeGb;
  635. Property diskType : String Index 8 Read FdiskType Write SetdiskType;
  636. Property mountPoint : String Index 16 Read FmountPoint Write SetmountPoint;
  637. end;
  638. TDiskClass = Class of TDisk;
  639. { --------------------------------------------------------------------
  640. TAutoscalingSettings
  641. --------------------------------------------------------------------}
  642. TAutoscalingSettings = Class(TGoogleBaseObject)
  643. Private
  644. Falgorithm : String;
  645. FmaxNumWorkers : integer;
  646. Protected
  647. //Property setters
  648. Procedure Setalgorithm(AIndex : Integer; const AValue : String); virtual;
  649. Procedure SetmaxNumWorkers(AIndex : Integer; const AValue : integer); virtual;
  650. Public
  651. Published
  652. Property algorithm : String Index 0 Read Falgorithm Write Setalgorithm;
  653. Property maxNumWorkers : integer Index 8 Read FmaxNumWorkers Write SetmaxNumWorkers;
  654. end;
  655. TAutoscalingSettingsClass = Class of TAutoscalingSettings;
  656. { --------------------------------------------------------------------
  657. TStepTypeproperties
  658. --------------------------------------------------------------------}
  659. TStepTypeproperties = Class(TGoogleBaseObject)
  660. Private
  661. Protected
  662. //Property setters
  663. Public
  664. Class Function AllowAdditionalProperties : Boolean; override;
  665. Published
  666. end;
  667. TStepTypepropertiesClass = Class of TStepTypeproperties;
  668. { --------------------------------------------------------------------
  669. TStep
  670. --------------------------------------------------------------------}
  671. TStep = Class(TGoogleBaseObject)
  672. Private
  673. Fkind : String;
  674. Fname : String;
  675. Fproperties : TStepTypeproperties;
  676. Protected
  677. //Property setters
  678. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  679. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  680. Procedure Setproperties(AIndex : Integer; const AValue : TStepTypeproperties); virtual;
  681. Public
  682. Published
  683. Property kind : String Index 0 Read Fkind Write Setkind;
  684. Property name : String Index 8 Read Fname Write Setname;
  685. Property properties : TStepTypeproperties Index 16 Read Fproperties Write Setproperties;
  686. end;
  687. TStepClass = Class of TStep;
  688. { --------------------------------------------------------------------
  689. TJobExecutionInfoTypestages
  690. --------------------------------------------------------------------}
  691. TJobExecutionInfoTypestages = Class(TGoogleBaseObject)
  692. Private
  693. Protected
  694. //Property setters
  695. Public
  696. Class Function AllowAdditionalProperties : Boolean; override;
  697. Published
  698. end;
  699. TJobExecutionInfoTypestagesClass = Class of TJobExecutionInfoTypestages;
  700. { --------------------------------------------------------------------
  701. TJobExecutionInfo
  702. --------------------------------------------------------------------}
  703. TJobExecutionInfo = Class(TGoogleBaseObject)
  704. Private
  705. Fstages : TJobExecutionInfoTypestages;
  706. Protected
  707. //Property setters
  708. Procedure Setstages(AIndex : Integer; const AValue : TJobExecutionInfoTypestages); virtual;
  709. Public
  710. Published
  711. Property stages : TJobExecutionInfoTypestages Index 0 Read Fstages Write Setstages;
  712. end;
  713. TJobExecutionInfoClass = Class of TJobExecutionInfo;
  714. { --------------------------------------------------------------------
  715. TJobExecutionStageInfo
  716. --------------------------------------------------------------------}
  717. TJobExecutionStageInfo = Class(TGoogleBaseObject)
  718. Private
  719. FstepName : TStringArray;
  720. Protected
  721. //Property setters
  722. Procedure SetstepName(AIndex : Integer; const AValue : TStringArray); virtual;
  723. //2.6.4. bug workaround
  724. {$IFDEF VER2_6}
  725. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  726. {$ENDIF VER2_6}
  727. Public
  728. Published
  729. Property stepName : TStringArray Index 0 Read FstepName Write SetstepName;
  730. end;
  731. TJobExecutionStageInfoClass = Class of TJobExecutionStageInfo;
  732. { --------------------------------------------------------------------
  733. TListJobsResponse
  734. --------------------------------------------------------------------}
  735. TListJobsResponse = Class(TGoogleBaseObject)
  736. Private
  737. Fjobs : TListJobsResponseTypejobsArray;
  738. FnextPageToken : String;
  739. Protected
  740. //Property setters
  741. Procedure Setjobs(AIndex : Integer; const AValue : TListJobsResponseTypejobsArray); virtual;
  742. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  743. //2.6.4. bug workaround
  744. {$IFDEF VER2_6}
  745. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  746. {$ENDIF VER2_6}
  747. Public
  748. Published
  749. Property jobs : TListJobsResponseTypejobsArray Index 0 Read Fjobs Write Setjobs;
  750. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  751. end;
  752. TListJobsResponseClass = Class of TListJobsResponse;
  753. { --------------------------------------------------------------------
  754. TListJobMessagesResponse
  755. --------------------------------------------------------------------}
  756. TListJobMessagesResponse = Class(TGoogleBaseObject)
  757. Private
  758. FjobMessages : TListJobMessagesResponseTypejobMessagesArray;
  759. FnextPageToken : String;
  760. Protected
  761. //Property setters
  762. Procedure SetjobMessages(AIndex : Integer; const AValue : TListJobMessagesResponseTypejobMessagesArray); virtual;
  763. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  764. //2.6.4. bug workaround
  765. {$IFDEF VER2_6}
  766. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  767. {$ENDIF VER2_6}
  768. Public
  769. Published
  770. Property jobMessages : TListJobMessagesResponseTypejobMessagesArray Index 0 Read FjobMessages Write SetjobMessages;
  771. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  772. end;
  773. TListJobMessagesResponseClass = Class of TListJobMessagesResponse;
  774. { --------------------------------------------------------------------
  775. TJobMessage
  776. --------------------------------------------------------------------}
  777. TJobMessage = Class(TGoogleBaseObject)
  778. Private
  779. Fid : String;
  780. Ftime : String;
  781. FmessageText : String;
  782. FmessageImportance : String;
  783. Protected
  784. //Property setters
  785. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  786. Procedure Settime(AIndex : Integer; const AValue : String); virtual;
  787. Procedure SetmessageText(AIndex : Integer; const AValue : String); virtual;
  788. Procedure SetmessageImportance(AIndex : Integer; const AValue : String); virtual;
  789. Public
  790. Published
  791. Property id : String Index 0 Read Fid Write Setid;
  792. Property time : String Index 8 Read Ftime Write Settime;
  793. Property messageText : String Index 16 Read FmessageText Write SetmessageText;
  794. Property messageImportance : String Index 24 Read FmessageImportance Write SetmessageImportance;
  795. end;
  796. TJobMessageClass = Class of TJobMessage;
  797. { --------------------------------------------------------------------
  798. TJobMetrics
  799. --------------------------------------------------------------------}
  800. TJobMetrics = Class(TGoogleBaseObject)
  801. Private
  802. FmetricTime : String;
  803. Fmetrics : TJobMetricsTypemetricsArray;
  804. Protected
  805. //Property setters
  806. Procedure SetmetricTime(AIndex : Integer; const AValue : String); virtual;
  807. Procedure Setmetrics(AIndex : Integer; const AValue : TJobMetricsTypemetricsArray); virtual;
  808. //2.6.4. bug workaround
  809. {$IFDEF VER2_6}
  810. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  811. {$ENDIF VER2_6}
  812. Public
  813. Published
  814. Property metricTime : String Index 0 Read FmetricTime Write SetmetricTime;
  815. Property metrics : TJobMetricsTypemetricsArray Index 8 Read Fmetrics Write Setmetrics;
  816. end;
  817. TJobMetricsClass = Class of TJobMetrics;
  818. { --------------------------------------------------------------------
  819. TMetricUpdate
  820. --------------------------------------------------------------------}
  821. TMetricUpdate = Class(TGoogleBaseObject)
  822. Private
  823. Fname : TMetricStructuredName;
  824. Fkind : String;
  825. Fcumulative : boolean;
  826. Fscalar : TJSONSchema;
  827. FmeanSum : TJSONSchema;
  828. FmeanCount : TJSONSchema;
  829. F_set : TJSONSchema;
  830. Finternal : TJSONSchema;
  831. FupdateTime : String;
  832. Protected
  833. Class Function ExportPropertyName(Const AName : String) : string; override;
  834. //Property setters
  835. Procedure Setname(AIndex : Integer; const AValue : TMetricStructuredName); virtual;
  836. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  837. Procedure Setcumulative(AIndex : Integer; const AValue : boolean); virtual;
  838. Procedure Setscalar(AIndex : Integer; const AValue : TJSONSchema); virtual;
  839. Procedure SetmeanSum(AIndex : Integer; const AValue : TJSONSchema); virtual;
  840. Procedure SetmeanCount(AIndex : Integer; const AValue : TJSONSchema); virtual;
  841. Procedure Set_set(AIndex : Integer; const AValue : TJSONSchema); virtual;
  842. Procedure Setinternal(AIndex : Integer; const AValue : TJSONSchema); virtual;
  843. Procedure SetupdateTime(AIndex : Integer; const AValue : String); virtual;
  844. Public
  845. Published
  846. Property name : TMetricStructuredName Index 0 Read Fname Write Setname;
  847. Property kind : String Index 8 Read Fkind Write Setkind;
  848. Property cumulative : boolean Index 16 Read Fcumulative Write Setcumulative;
  849. Property scalar : TJSONSchema Index 24 Read Fscalar Write Setscalar;
  850. Property meanSum : TJSONSchema Index 32 Read FmeanSum Write SetmeanSum;
  851. Property meanCount : TJSONSchema Index 40 Read FmeanCount Write SetmeanCount;
  852. Property _set : TJSONSchema Index 48 Read F_set Write Set_set;
  853. Property internal : TJSONSchema Index 56 Read Finternal Write Setinternal;
  854. Property updateTime : String Index 64 Read FupdateTime Write SetupdateTime;
  855. end;
  856. TMetricUpdateClass = Class of TMetricUpdate;
  857. { --------------------------------------------------------------------
  858. TMetricStructuredNameTypecontext
  859. --------------------------------------------------------------------}
  860. TMetricStructuredNameTypecontext = Class(TGoogleBaseObject)
  861. Private
  862. Protected
  863. //Property setters
  864. Public
  865. Class Function AllowAdditionalProperties : Boolean; override;
  866. Published
  867. end;
  868. TMetricStructuredNameTypecontextClass = Class of TMetricStructuredNameTypecontext;
  869. { --------------------------------------------------------------------
  870. TMetricStructuredName
  871. --------------------------------------------------------------------}
  872. TMetricStructuredName = Class(TGoogleBaseObject)
  873. Private
  874. Forigin : String;
  875. Fname : String;
  876. Fcontext : TMetricStructuredNameTypecontext;
  877. Protected
  878. //Property setters
  879. Procedure Setorigin(AIndex : Integer; const AValue : String); virtual;
  880. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  881. Procedure Setcontext(AIndex : Integer; const AValue : TMetricStructuredNameTypecontext); virtual;
  882. Public
  883. Published
  884. Property origin : String Index 0 Read Forigin Write Setorigin;
  885. Property name : String Index 8 Read Fname Write Setname;
  886. Property context : TMetricStructuredNameTypecontext Index 16 Read Fcontext Write Setcontext;
  887. end;
  888. TMetricStructuredNameClass = Class of TMetricStructuredName;
  889. { --------------------------------------------------------------------
  890. TReportWorkItemStatusRequest
  891. --------------------------------------------------------------------}
  892. TReportWorkItemStatusRequest = Class(TGoogleBaseObject)
  893. Private
  894. FworkerId : String;
  895. FworkItemStatuses : TReportWorkItemStatusRequestTypeworkItemStatusesArray;
  896. FcurrentWorkerTime : String;
  897. Protected
  898. //Property setters
  899. Procedure SetworkerId(AIndex : Integer; const AValue : String); virtual;
  900. Procedure SetworkItemStatuses(AIndex : Integer; const AValue : TReportWorkItemStatusRequestTypeworkItemStatusesArray); virtual;
  901. Procedure SetcurrentWorkerTime(AIndex : Integer; const AValue : String); virtual;
  902. //2.6.4. bug workaround
  903. {$IFDEF VER2_6}
  904. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  905. {$ENDIF VER2_6}
  906. Public
  907. Published
  908. Property workerId : String Index 0 Read FworkerId Write SetworkerId;
  909. Property workItemStatuses : TReportWorkItemStatusRequestTypeworkItemStatusesArray Index 8 Read FworkItemStatuses Write SetworkItemStatuses;
  910. Property currentWorkerTime : String Index 16 Read FcurrentWorkerTime Write SetcurrentWorkerTime;
  911. end;
  912. TReportWorkItemStatusRequestClass = Class of TReportWorkItemStatusRequest;
  913. { --------------------------------------------------------------------
  914. TWorkItemStatus
  915. --------------------------------------------------------------------}
  916. TWorkItemStatus = Class(TGoogleBaseObject)
  917. Private
  918. FworkItemId : String;
  919. FreportIndex : String;
  920. FrequestedLeaseDuration : String;
  921. Fcompleted : boolean;
  922. Ferrors : TWorkItemStatusTypeerrorsArray;
  923. FmetricUpdates : TWorkItemStatusTypemetricUpdatesArray;
  924. FreportedProgress : TApproximateReportedProgress;
  925. FstopPosition : TPosition;
  926. FdynamicSourceSplit : TDynamicSourceSplit;
  927. FsourceOperationResponse : TSourceOperationResponse;
  928. FsourceFork : TSourceFork;
  929. Fprogress : TApproximateProgress;
  930. Protected
  931. //Property setters
  932. Procedure SetworkItemId(AIndex : Integer; const AValue : String); virtual;
  933. Procedure SetreportIndex(AIndex : Integer; const AValue : String); virtual;
  934. Procedure SetrequestedLeaseDuration(AIndex : Integer; const AValue : String); virtual;
  935. Procedure Setcompleted(AIndex : Integer; const AValue : boolean); virtual;
  936. Procedure Seterrors(AIndex : Integer; const AValue : TWorkItemStatusTypeerrorsArray); virtual;
  937. Procedure SetmetricUpdates(AIndex : Integer; const AValue : TWorkItemStatusTypemetricUpdatesArray); virtual;
  938. Procedure SetreportedProgress(AIndex : Integer; const AValue : TApproximateReportedProgress); virtual;
  939. Procedure SetstopPosition(AIndex : Integer; const AValue : TPosition); virtual;
  940. Procedure SetdynamicSourceSplit(AIndex : Integer; const AValue : TDynamicSourceSplit); virtual;
  941. Procedure SetsourceOperationResponse(AIndex : Integer; const AValue : TSourceOperationResponse); virtual;
  942. Procedure SetsourceFork(AIndex : Integer; const AValue : TSourceFork); virtual;
  943. Procedure Setprogress(AIndex : Integer; const AValue : TApproximateProgress); virtual;
  944. //2.6.4. bug workaround
  945. {$IFDEF VER2_6}
  946. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  947. {$ENDIF VER2_6}
  948. Public
  949. Published
  950. Property workItemId : String Index 0 Read FworkItemId Write SetworkItemId;
  951. Property reportIndex : String Index 8 Read FreportIndex Write SetreportIndex;
  952. Property requestedLeaseDuration : String Index 16 Read FrequestedLeaseDuration Write SetrequestedLeaseDuration;
  953. Property completed : boolean Index 24 Read Fcompleted Write Setcompleted;
  954. Property errors : TWorkItemStatusTypeerrorsArray Index 32 Read Ferrors Write Seterrors;
  955. Property metricUpdates : TWorkItemStatusTypemetricUpdatesArray Index 40 Read FmetricUpdates Write SetmetricUpdates;
  956. Property reportedProgress : TApproximateReportedProgress Index 48 Read FreportedProgress Write SetreportedProgress;
  957. Property stopPosition : TPosition Index 56 Read FstopPosition Write SetstopPosition;
  958. Property dynamicSourceSplit : TDynamicSourceSplit Index 64 Read FdynamicSourceSplit Write SetdynamicSourceSplit;
  959. Property sourceOperationResponse : TSourceOperationResponse Index 72 Read FsourceOperationResponse Write SetsourceOperationResponse;
  960. Property sourceFork : TSourceFork Index 80 Read FsourceFork Write SetsourceFork;
  961. Property progress : TApproximateProgress Index 88 Read Fprogress Write Setprogress;
  962. end;
  963. TWorkItemStatusClass = Class of TWorkItemStatus;
  964. { --------------------------------------------------------------------
  965. TStatusTypedetailsItem
  966. --------------------------------------------------------------------}
  967. TStatusTypedetailsItem = Class(TGoogleBaseObject)
  968. Private
  969. Protected
  970. //Property setters
  971. Public
  972. Class Function AllowAdditionalProperties : Boolean; override;
  973. Published
  974. end;
  975. TStatusTypedetailsItemClass = Class of TStatusTypedetailsItem;
  976. { --------------------------------------------------------------------
  977. TStatus
  978. --------------------------------------------------------------------}
  979. TStatus = Class(TGoogleBaseObject)
  980. Private
  981. Fcode : integer;
  982. Fmessage : String;
  983. Fdetails : TStatusTypedetailsArray;
  984. Protected
  985. //Property setters
  986. Procedure Setcode(AIndex : Integer; const AValue : integer); virtual;
  987. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  988. Procedure Setdetails(AIndex : Integer; const AValue : TStatusTypedetailsArray); virtual;
  989. //2.6.4. bug workaround
  990. {$IFDEF VER2_6}
  991. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  992. {$ENDIF VER2_6}
  993. Public
  994. Published
  995. Property code : integer Index 0 Read Fcode Write Setcode;
  996. Property message : String Index 8 Read Fmessage Write Setmessage;
  997. Property details : TStatusTypedetailsArray Index 16 Read Fdetails Write Setdetails;
  998. end;
  999. TStatusClass = Class of TStatus;
  1000. { --------------------------------------------------------------------
  1001. TApproximateReportedProgress
  1002. --------------------------------------------------------------------}
  1003. TApproximateReportedProgress = Class(TGoogleBaseObject)
  1004. Private
  1005. Fposition : TPosition;
  1006. FfractionConsumed : double;
  1007. FremainingParallelism : TReportedParallelism;
  1008. FconsumedParallelism : TReportedParallelism;
  1009. Protected
  1010. //Property setters
  1011. Procedure Setposition(AIndex : Integer; const AValue : TPosition); virtual;
  1012. Procedure SetfractionConsumed(AIndex : Integer; const AValue : double); virtual;
  1013. Procedure SetremainingParallelism(AIndex : Integer; const AValue : TReportedParallelism); virtual;
  1014. Procedure SetconsumedParallelism(AIndex : Integer; const AValue : TReportedParallelism); virtual;
  1015. Public
  1016. Published
  1017. Property position : TPosition Index 0 Read Fposition Write Setposition;
  1018. Property fractionConsumed : double Index 8 Read FfractionConsumed Write SetfractionConsumed;
  1019. Property remainingParallelism : TReportedParallelism Index 16 Read FremainingParallelism Write SetremainingParallelism;
  1020. Property consumedParallelism : TReportedParallelism Index 24 Read FconsumedParallelism Write SetconsumedParallelism;
  1021. end;
  1022. TApproximateReportedProgressClass = Class of TApproximateReportedProgress;
  1023. { --------------------------------------------------------------------
  1024. TPosition
  1025. --------------------------------------------------------------------}
  1026. TPosition = Class(TGoogleBaseObject)
  1027. Private
  1028. F_end : boolean;
  1029. Fkey : String;
  1030. FbyteOffset : String;
  1031. FrecordIndex : String;
  1032. FshufflePosition : String;
  1033. FconcatPosition : TConcatPosition;
  1034. Protected
  1035. Class Function ExportPropertyName(Const AName : String) : string; override;
  1036. //Property setters
  1037. Procedure Set_end(AIndex : Integer; const AValue : boolean); virtual;
  1038. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  1039. Procedure SetbyteOffset(AIndex : Integer; const AValue : String); virtual;
  1040. Procedure SetrecordIndex(AIndex : Integer; const AValue : String); virtual;
  1041. Procedure SetshufflePosition(AIndex : Integer; const AValue : String); virtual;
  1042. Procedure SetconcatPosition(AIndex : Integer; const AValue : TConcatPosition); virtual;
  1043. Public
  1044. Published
  1045. Property _end : boolean Index 0 Read F_end Write Set_end;
  1046. Property key : String Index 8 Read Fkey Write Setkey;
  1047. Property byteOffset : String Index 16 Read FbyteOffset Write SetbyteOffset;
  1048. Property recordIndex : String Index 24 Read FrecordIndex Write SetrecordIndex;
  1049. Property shufflePosition : String Index 32 Read FshufflePosition Write SetshufflePosition;
  1050. Property concatPosition : TConcatPosition Index 40 Read FconcatPosition Write SetconcatPosition;
  1051. end;
  1052. TPositionClass = Class of TPosition;
  1053. { --------------------------------------------------------------------
  1054. TConcatPosition
  1055. --------------------------------------------------------------------}
  1056. TConcatPosition = Class(TGoogleBaseObject)
  1057. Private
  1058. Findex : integer;
  1059. Fposition : TPosition;
  1060. Protected
  1061. //Property setters
  1062. Procedure Setindex(AIndex : Integer; const AValue : integer); virtual;
  1063. Procedure Setposition(AIndex : Integer; const AValue : TPosition); virtual;
  1064. Public
  1065. Published
  1066. Property index : integer Index 0 Read Findex Write Setindex;
  1067. Property position : TPosition Index 8 Read Fposition Write Setposition;
  1068. end;
  1069. TConcatPositionClass = Class of TConcatPosition;
  1070. { --------------------------------------------------------------------
  1071. TReportedParallelism
  1072. --------------------------------------------------------------------}
  1073. TReportedParallelism = Class(TGoogleBaseObject)
  1074. Private
  1075. FisInfinite : boolean;
  1076. Fvalue : double;
  1077. Protected
  1078. //Property setters
  1079. Procedure SetisInfinite(AIndex : Integer; const AValue : boolean); virtual;
  1080. Procedure Setvalue(AIndex : Integer; const AValue : double); virtual;
  1081. Public
  1082. Published
  1083. Property isInfinite : boolean Index 0 Read FisInfinite Write SetisInfinite;
  1084. Property value : double Index 8 Read Fvalue Write Setvalue;
  1085. end;
  1086. TReportedParallelismClass = Class of TReportedParallelism;
  1087. { --------------------------------------------------------------------
  1088. TDynamicSourceSplit
  1089. --------------------------------------------------------------------}
  1090. TDynamicSourceSplit = Class(TGoogleBaseObject)
  1091. Private
  1092. Fprimary : TDerivedSource;
  1093. Fresidual : TDerivedSource;
  1094. Protected
  1095. //Property setters
  1096. Procedure Setprimary(AIndex : Integer; const AValue : TDerivedSource); virtual;
  1097. Procedure Setresidual(AIndex : Integer; const AValue : TDerivedSource); virtual;
  1098. Public
  1099. Published
  1100. Property primary : TDerivedSource Index 0 Read Fprimary Write Setprimary;
  1101. Property residual : TDerivedSource Index 8 Read Fresidual Write Setresidual;
  1102. end;
  1103. TDynamicSourceSplitClass = Class of TDynamicSourceSplit;
  1104. { --------------------------------------------------------------------
  1105. TDerivedSource
  1106. --------------------------------------------------------------------}
  1107. TDerivedSource = Class(TGoogleBaseObject)
  1108. Private
  1109. Fsource : TSource;
  1110. FderivationMode : String;
  1111. Protected
  1112. //Property setters
  1113. Procedure Setsource(AIndex : Integer; const AValue : TSource); virtual;
  1114. Procedure SetderivationMode(AIndex : Integer; const AValue : String); virtual;
  1115. Public
  1116. Published
  1117. Property source : TSource Index 0 Read Fsource Write Setsource;
  1118. Property derivationMode : String Index 8 Read FderivationMode Write SetderivationMode;
  1119. end;
  1120. TDerivedSourceClass = Class of TDerivedSource;
  1121. { --------------------------------------------------------------------
  1122. TSourceTypespec
  1123. --------------------------------------------------------------------}
  1124. TSourceTypespec = Class(TGoogleBaseObject)
  1125. Private
  1126. Protected
  1127. //Property setters
  1128. Public
  1129. Class Function AllowAdditionalProperties : Boolean; override;
  1130. Published
  1131. end;
  1132. TSourceTypespecClass = Class of TSourceTypespec;
  1133. { --------------------------------------------------------------------
  1134. TSourceTypecodec
  1135. --------------------------------------------------------------------}
  1136. TSourceTypecodec = Class(TGoogleBaseObject)
  1137. Private
  1138. Protected
  1139. //Property setters
  1140. Public
  1141. Class Function AllowAdditionalProperties : Boolean; override;
  1142. Published
  1143. end;
  1144. TSourceTypecodecClass = Class of TSourceTypecodec;
  1145. { --------------------------------------------------------------------
  1146. TSourceTypebaseSpecsItem
  1147. --------------------------------------------------------------------}
  1148. TSourceTypebaseSpecsItem = Class(TGoogleBaseObject)
  1149. Private
  1150. Protected
  1151. //Property setters
  1152. Public
  1153. Class Function AllowAdditionalProperties : Boolean; override;
  1154. Published
  1155. end;
  1156. TSourceTypebaseSpecsItemClass = Class of TSourceTypebaseSpecsItem;
  1157. { --------------------------------------------------------------------
  1158. TSource
  1159. --------------------------------------------------------------------}
  1160. TSource = Class(TGoogleBaseObject)
  1161. Private
  1162. Fspec : TSourceTypespec;
  1163. Fcodec : TSourceTypecodec;
  1164. FbaseSpecs : TSourceTypebaseSpecsArray;
  1165. Fmetadata : TSourceMetadata;
  1166. FdoesNotNeedSplitting : boolean;
  1167. Protected
  1168. //Property setters
  1169. Procedure Setspec(AIndex : Integer; const AValue : TSourceTypespec); virtual;
  1170. Procedure Setcodec(AIndex : Integer; const AValue : TSourceTypecodec); virtual;
  1171. Procedure SetbaseSpecs(AIndex : Integer; const AValue : TSourceTypebaseSpecsArray); virtual;
  1172. Procedure Setmetadata(AIndex : Integer; const AValue : TSourceMetadata); virtual;
  1173. Procedure SetdoesNotNeedSplitting(AIndex : Integer; const AValue : boolean); virtual;
  1174. //2.6.4. bug workaround
  1175. {$IFDEF VER2_6}
  1176. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1177. {$ENDIF VER2_6}
  1178. Public
  1179. Published
  1180. Property spec : TSourceTypespec Index 0 Read Fspec Write Setspec;
  1181. Property codec : TSourceTypecodec Index 8 Read Fcodec Write Setcodec;
  1182. Property baseSpecs : TSourceTypebaseSpecsArray Index 16 Read FbaseSpecs Write SetbaseSpecs;
  1183. Property metadata : TSourceMetadata Index 24 Read Fmetadata Write Setmetadata;
  1184. Property doesNotNeedSplitting : boolean Index 32 Read FdoesNotNeedSplitting Write SetdoesNotNeedSplitting;
  1185. end;
  1186. TSourceClass = Class of TSource;
  1187. { --------------------------------------------------------------------
  1188. TSourceMetadata
  1189. --------------------------------------------------------------------}
  1190. TSourceMetadata = Class(TGoogleBaseObject)
  1191. Private
  1192. FproducesSortedKeys : boolean;
  1193. Finfinite : boolean;
  1194. FestimatedSizeBytes : String;
  1195. Protected
  1196. //Property setters
  1197. Procedure SetproducesSortedKeys(AIndex : Integer; const AValue : boolean); virtual;
  1198. Procedure Setinfinite(AIndex : Integer; const AValue : boolean); virtual;
  1199. Procedure SetestimatedSizeBytes(AIndex : Integer; const AValue : String); virtual;
  1200. Public
  1201. Published
  1202. Property producesSortedKeys : boolean Index 0 Read FproducesSortedKeys Write SetproducesSortedKeys;
  1203. Property infinite : boolean Index 8 Read Finfinite Write Setinfinite;
  1204. Property estimatedSizeBytes : String Index 16 Read FestimatedSizeBytes Write SetestimatedSizeBytes;
  1205. end;
  1206. TSourceMetadataClass = Class of TSourceMetadata;
  1207. { --------------------------------------------------------------------
  1208. TSourceOperationResponse
  1209. --------------------------------------------------------------------}
  1210. TSourceOperationResponse = Class(TGoogleBaseObject)
  1211. Private
  1212. Fsplit : TSourceSplitResponse;
  1213. FgetMetadata : TSourceGetMetadataResponse;
  1214. Protected
  1215. //Property setters
  1216. Procedure Setsplit(AIndex : Integer; const AValue : TSourceSplitResponse); virtual;
  1217. Procedure SetgetMetadata(AIndex : Integer; const AValue : TSourceGetMetadataResponse); virtual;
  1218. Public
  1219. Published
  1220. Property split : TSourceSplitResponse Index 0 Read Fsplit Write Setsplit;
  1221. Property getMetadata : TSourceGetMetadataResponse Index 8 Read FgetMetadata Write SetgetMetadata;
  1222. end;
  1223. TSourceOperationResponseClass = Class of TSourceOperationResponse;
  1224. { --------------------------------------------------------------------
  1225. TSourceSplitResponse
  1226. --------------------------------------------------------------------}
  1227. TSourceSplitResponse = Class(TGoogleBaseObject)
  1228. Private
  1229. Foutcome : String;
  1230. Fbundles : TSourceSplitResponseTypebundlesArray;
  1231. Fshards : TSourceSplitResponseTypeshardsArray;
  1232. Protected
  1233. //Property setters
  1234. Procedure Setoutcome(AIndex : Integer; const AValue : String); virtual;
  1235. Procedure Setbundles(AIndex : Integer; const AValue : TSourceSplitResponseTypebundlesArray); virtual;
  1236. Procedure Setshards(AIndex : Integer; const AValue : TSourceSplitResponseTypeshardsArray); virtual;
  1237. //2.6.4. bug workaround
  1238. {$IFDEF VER2_6}
  1239. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1240. {$ENDIF VER2_6}
  1241. Public
  1242. Published
  1243. Property outcome : String Index 0 Read Foutcome Write Setoutcome;
  1244. Property bundles : TSourceSplitResponseTypebundlesArray Index 8 Read Fbundles Write Setbundles;
  1245. Property shards : TSourceSplitResponseTypeshardsArray Index 16 Read Fshards Write Setshards;
  1246. end;
  1247. TSourceSplitResponseClass = Class of TSourceSplitResponse;
  1248. { --------------------------------------------------------------------
  1249. TSourceSplitShard
  1250. --------------------------------------------------------------------}
  1251. TSourceSplitShard = Class(TGoogleBaseObject)
  1252. Private
  1253. Fsource : TSource;
  1254. FderivationMode : String;
  1255. Protected
  1256. //Property setters
  1257. Procedure Setsource(AIndex : Integer; const AValue : TSource); virtual;
  1258. Procedure SetderivationMode(AIndex : Integer; const AValue : String); virtual;
  1259. Public
  1260. Published
  1261. Property source : TSource Index 0 Read Fsource Write Setsource;
  1262. Property derivationMode : String Index 8 Read FderivationMode Write SetderivationMode;
  1263. end;
  1264. TSourceSplitShardClass = Class of TSourceSplitShard;
  1265. { --------------------------------------------------------------------
  1266. TSourceGetMetadataResponse
  1267. --------------------------------------------------------------------}
  1268. TSourceGetMetadataResponse = Class(TGoogleBaseObject)
  1269. Private
  1270. Fmetadata : TSourceMetadata;
  1271. Protected
  1272. //Property setters
  1273. Procedure Setmetadata(AIndex : Integer; const AValue : TSourceMetadata); virtual;
  1274. Public
  1275. Published
  1276. Property metadata : TSourceMetadata Index 0 Read Fmetadata Write Setmetadata;
  1277. end;
  1278. TSourceGetMetadataResponseClass = Class of TSourceGetMetadataResponse;
  1279. { --------------------------------------------------------------------
  1280. TSourceFork
  1281. --------------------------------------------------------------------}
  1282. TSourceFork = Class(TGoogleBaseObject)
  1283. Private
  1284. Fprimary : TSourceSplitShard;
  1285. Fresidual : TSourceSplitShard;
  1286. FprimarySource : TDerivedSource;
  1287. FresidualSource : TDerivedSource;
  1288. Protected
  1289. //Property setters
  1290. Procedure Setprimary(AIndex : Integer; const AValue : TSourceSplitShard); virtual;
  1291. Procedure Setresidual(AIndex : Integer; const AValue : TSourceSplitShard); virtual;
  1292. Procedure SetprimarySource(AIndex : Integer; const AValue : TDerivedSource); virtual;
  1293. Procedure SetresidualSource(AIndex : Integer; const AValue : TDerivedSource); virtual;
  1294. Public
  1295. Published
  1296. Property primary : TSourceSplitShard Index 0 Read Fprimary Write Setprimary;
  1297. Property residual : TSourceSplitShard Index 8 Read Fresidual Write Setresidual;
  1298. Property primarySource : TDerivedSource Index 16 Read FprimarySource Write SetprimarySource;
  1299. Property residualSource : TDerivedSource Index 24 Read FresidualSource Write SetresidualSource;
  1300. end;
  1301. TSourceForkClass = Class of TSourceFork;
  1302. { --------------------------------------------------------------------
  1303. TApproximateProgress
  1304. --------------------------------------------------------------------}
  1305. TApproximateProgress = Class(TGoogleBaseObject)
  1306. Private
  1307. Fposition : TPosition;
  1308. FpercentComplete : integer;
  1309. FremainingTime : String;
  1310. Protected
  1311. //Property setters
  1312. Procedure Setposition(AIndex : Integer; const AValue : TPosition); virtual;
  1313. Procedure SetpercentComplete(AIndex : Integer; const AValue : integer); virtual;
  1314. Procedure SetremainingTime(AIndex : Integer; const AValue : String); virtual;
  1315. Public
  1316. Published
  1317. Property position : TPosition Index 0 Read Fposition Write Setposition;
  1318. Property percentComplete : integer Index 8 Read FpercentComplete Write SetpercentComplete;
  1319. Property remainingTime : String Index 16 Read FremainingTime Write SetremainingTime;
  1320. end;
  1321. TApproximateProgressClass = Class of TApproximateProgress;
  1322. { --------------------------------------------------------------------
  1323. TReportWorkItemStatusResponse
  1324. --------------------------------------------------------------------}
  1325. TReportWorkItemStatusResponse = Class(TGoogleBaseObject)
  1326. Private
  1327. FworkItemServiceStates : TReportWorkItemStatusResponseTypeworkItemServiceStatesArray;
  1328. Protected
  1329. //Property setters
  1330. Procedure SetworkItemServiceStates(AIndex : Integer; const AValue : TReportWorkItemStatusResponseTypeworkItemServiceStatesArray); virtual;
  1331. //2.6.4. bug workaround
  1332. {$IFDEF VER2_6}
  1333. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1334. {$ENDIF VER2_6}
  1335. Public
  1336. Published
  1337. Property workItemServiceStates : TReportWorkItemStatusResponseTypeworkItemServiceStatesArray Index 0 Read FworkItemServiceStates Write SetworkItemServiceStates;
  1338. end;
  1339. TReportWorkItemStatusResponseClass = Class of TReportWorkItemStatusResponse;
  1340. { --------------------------------------------------------------------
  1341. TWorkItemServiceStateTypeharnessData
  1342. --------------------------------------------------------------------}
  1343. TWorkItemServiceStateTypeharnessData = Class(TGoogleBaseObject)
  1344. Private
  1345. Protected
  1346. //Property setters
  1347. Public
  1348. Class Function AllowAdditionalProperties : Boolean; override;
  1349. Published
  1350. end;
  1351. TWorkItemServiceStateTypeharnessDataClass = Class of TWorkItemServiceStateTypeharnessData;
  1352. { --------------------------------------------------------------------
  1353. TWorkItemServiceState
  1354. --------------------------------------------------------------------}
  1355. TWorkItemServiceState = Class(TGoogleBaseObject)
  1356. Private
  1357. FsplitRequest : TApproximateSplitRequest;
  1358. FleaseExpireTime : String;
  1359. FreportStatusInterval : String;
  1360. FharnessData : TWorkItemServiceStateTypeharnessData;
  1361. FnextReportIndex : String;
  1362. FsuggestedStopPosition : TPosition;
  1363. FsuggestedStopPoint : TApproximateProgress;
  1364. Protected
  1365. //Property setters
  1366. Procedure SetsplitRequest(AIndex : Integer; const AValue : TApproximateSplitRequest); virtual;
  1367. Procedure SetleaseExpireTime(AIndex : Integer; const AValue : String); virtual;
  1368. Procedure SetreportStatusInterval(AIndex : Integer; const AValue : String); virtual;
  1369. Procedure SetharnessData(AIndex : Integer; const AValue : TWorkItemServiceStateTypeharnessData); virtual;
  1370. Procedure SetnextReportIndex(AIndex : Integer; const AValue : String); virtual;
  1371. Procedure SetsuggestedStopPosition(AIndex : Integer; const AValue : TPosition); virtual;
  1372. Procedure SetsuggestedStopPoint(AIndex : Integer; const AValue : TApproximateProgress); virtual;
  1373. Public
  1374. Published
  1375. Property splitRequest : TApproximateSplitRequest Index 0 Read FsplitRequest Write SetsplitRequest;
  1376. Property leaseExpireTime : String Index 8 Read FleaseExpireTime Write SetleaseExpireTime;
  1377. Property reportStatusInterval : String Index 16 Read FreportStatusInterval Write SetreportStatusInterval;
  1378. Property harnessData : TWorkItemServiceStateTypeharnessData Index 24 Read FharnessData Write SetharnessData;
  1379. Property nextReportIndex : String Index 32 Read FnextReportIndex Write SetnextReportIndex;
  1380. Property suggestedStopPosition : TPosition Index 40 Read FsuggestedStopPosition Write SetsuggestedStopPosition;
  1381. Property suggestedStopPoint : TApproximateProgress Index 48 Read FsuggestedStopPoint Write SetsuggestedStopPoint;
  1382. end;
  1383. TWorkItemServiceStateClass = Class of TWorkItemServiceState;
  1384. { --------------------------------------------------------------------
  1385. TApproximateSplitRequest
  1386. --------------------------------------------------------------------}
  1387. TApproximateSplitRequest = Class(TGoogleBaseObject)
  1388. Private
  1389. Fposition : TPosition;
  1390. FfractionConsumed : double;
  1391. Protected
  1392. //Property setters
  1393. Procedure Setposition(AIndex : Integer; const AValue : TPosition); virtual;
  1394. Procedure SetfractionConsumed(AIndex : Integer; const AValue : double); virtual;
  1395. Public
  1396. Published
  1397. Property position : TPosition Index 0 Read Fposition Write Setposition;
  1398. Property fractionConsumed : double Index 8 Read FfractionConsumed Write SetfractionConsumed;
  1399. end;
  1400. TApproximateSplitRequestClass = Class of TApproximateSplitRequest;
  1401. { --------------------------------------------------------------------
  1402. TLeaseWorkItemRequest
  1403. --------------------------------------------------------------------}
  1404. TLeaseWorkItemRequest = Class(TGoogleBaseObject)
  1405. Private
  1406. FworkItemTypes : TStringArray;
  1407. FworkerCapabilities : TStringArray;
  1408. FrequestedLeaseDuration : String;
  1409. FcurrentWorkerTime : String;
  1410. FworkerId : String;
  1411. Protected
  1412. //Property setters
  1413. Procedure SetworkItemTypes(AIndex : Integer; const AValue : TStringArray); virtual;
  1414. Procedure SetworkerCapabilities(AIndex : Integer; const AValue : TStringArray); virtual;
  1415. Procedure SetrequestedLeaseDuration(AIndex : Integer; const AValue : String); virtual;
  1416. Procedure SetcurrentWorkerTime(AIndex : Integer; const AValue : String); virtual;
  1417. Procedure SetworkerId(AIndex : Integer; const AValue : String); virtual;
  1418. //2.6.4. bug workaround
  1419. {$IFDEF VER2_6}
  1420. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1421. {$ENDIF VER2_6}
  1422. Public
  1423. Published
  1424. Property workItemTypes : TStringArray Index 0 Read FworkItemTypes Write SetworkItemTypes;
  1425. Property workerCapabilities : TStringArray Index 8 Read FworkerCapabilities Write SetworkerCapabilities;
  1426. Property requestedLeaseDuration : String Index 16 Read FrequestedLeaseDuration Write SetrequestedLeaseDuration;
  1427. Property currentWorkerTime : String Index 24 Read FcurrentWorkerTime Write SetcurrentWorkerTime;
  1428. Property workerId : String Index 32 Read FworkerId Write SetworkerId;
  1429. end;
  1430. TLeaseWorkItemRequestClass = Class of TLeaseWorkItemRequest;
  1431. { --------------------------------------------------------------------
  1432. TLeaseWorkItemResponse
  1433. --------------------------------------------------------------------}
  1434. TLeaseWorkItemResponse = Class(TGoogleBaseObject)
  1435. Private
  1436. FworkItems : TLeaseWorkItemResponseTypeworkItemsArray;
  1437. Protected
  1438. //Property setters
  1439. Procedure SetworkItems(AIndex : Integer; const AValue : TLeaseWorkItemResponseTypeworkItemsArray); virtual;
  1440. //2.6.4. bug workaround
  1441. {$IFDEF VER2_6}
  1442. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1443. {$ENDIF VER2_6}
  1444. Public
  1445. Published
  1446. Property workItems : TLeaseWorkItemResponseTypeworkItemsArray Index 0 Read FworkItems Write SetworkItems;
  1447. end;
  1448. TLeaseWorkItemResponseClass = Class of TLeaseWorkItemResponse;
  1449. { --------------------------------------------------------------------
  1450. TWorkItem
  1451. --------------------------------------------------------------------}
  1452. TWorkItem = Class(TGoogleBaseObject)
  1453. Private
  1454. Fid : String;
  1455. FprojectId : String;
  1456. FjobId : String;
  1457. Fpackages : TWorkItemTypepackagesArray;
  1458. FmapTask : TMapTask;
  1459. FseqMapTask : TSeqMapTask;
  1460. FshellTask : TShellTask;
  1461. FstreamingSetupTask : TStreamingSetupTask;
  1462. FsourceOperationTask : TSourceOperationRequest;
  1463. FstreamingComputationTask : TStreamingComputationTask;
  1464. FreportStatusInterval : String;
  1465. FleaseExpireTime : String;
  1466. Fconfiguration : String;
  1467. FinitialReportIndex : String;
  1468. Protected
  1469. //Property setters
  1470. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1471. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  1472. Procedure SetjobId(AIndex : Integer; const AValue : String); virtual;
  1473. Procedure Setpackages(AIndex : Integer; const AValue : TWorkItemTypepackagesArray); virtual;
  1474. Procedure SetmapTask(AIndex : Integer; const AValue : TMapTask); virtual;
  1475. Procedure SetseqMapTask(AIndex : Integer; const AValue : TSeqMapTask); virtual;
  1476. Procedure SetshellTask(AIndex : Integer; const AValue : TShellTask); virtual;
  1477. Procedure SetstreamingSetupTask(AIndex : Integer; const AValue : TStreamingSetupTask); virtual;
  1478. Procedure SetsourceOperationTask(AIndex : Integer; const AValue : TSourceOperationRequest); virtual;
  1479. Procedure SetstreamingComputationTask(AIndex : Integer; const AValue : TStreamingComputationTask); virtual;
  1480. Procedure SetreportStatusInterval(AIndex : Integer; const AValue : String); virtual;
  1481. Procedure SetleaseExpireTime(AIndex : Integer; const AValue : String); virtual;
  1482. Procedure Setconfiguration(AIndex : Integer; const AValue : String); virtual;
  1483. Procedure SetinitialReportIndex(AIndex : Integer; const AValue : String); virtual;
  1484. //2.6.4. bug workaround
  1485. {$IFDEF VER2_6}
  1486. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1487. {$ENDIF VER2_6}
  1488. Public
  1489. Published
  1490. Property id : String Index 0 Read Fid Write Setid;
  1491. Property projectId : String Index 8 Read FprojectId Write SetprojectId;
  1492. Property jobId : String Index 16 Read FjobId Write SetjobId;
  1493. Property packages : TWorkItemTypepackagesArray Index 24 Read Fpackages Write Setpackages;
  1494. Property mapTask : TMapTask Index 32 Read FmapTask Write SetmapTask;
  1495. Property seqMapTask : TSeqMapTask Index 40 Read FseqMapTask Write SetseqMapTask;
  1496. Property shellTask : TShellTask Index 48 Read FshellTask Write SetshellTask;
  1497. Property streamingSetupTask : TStreamingSetupTask Index 56 Read FstreamingSetupTask Write SetstreamingSetupTask;
  1498. Property sourceOperationTask : TSourceOperationRequest Index 64 Read FsourceOperationTask Write SetsourceOperationTask;
  1499. Property streamingComputationTask : TStreamingComputationTask Index 72 Read FstreamingComputationTask Write SetstreamingComputationTask;
  1500. Property reportStatusInterval : String Index 80 Read FreportStatusInterval Write SetreportStatusInterval;
  1501. Property leaseExpireTime : String Index 88 Read FleaseExpireTime Write SetleaseExpireTime;
  1502. Property configuration : String Index 96 Read Fconfiguration Write Setconfiguration;
  1503. Property initialReportIndex : String Index 104 Read FinitialReportIndex Write SetinitialReportIndex;
  1504. end;
  1505. TWorkItemClass = Class of TWorkItem;
  1506. { --------------------------------------------------------------------
  1507. TMapTask
  1508. --------------------------------------------------------------------}
  1509. TMapTask = Class(TGoogleBaseObject)
  1510. Private
  1511. Finstructions : TMapTaskTypeinstructionsArray;
  1512. FsystemName : String;
  1513. FstageName : String;
  1514. Protected
  1515. //Property setters
  1516. Procedure Setinstructions(AIndex : Integer; const AValue : TMapTaskTypeinstructionsArray); virtual;
  1517. Procedure SetsystemName(AIndex : Integer; const AValue : String); virtual;
  1518. Procedure SetstageName(AIndex : Integer; const AValue : String); virtual;
  1519. //2.6.4. bug workaround
  1520. {$IFDEF VER2_6}
  1521. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1522. {$ENDIF VER2_6}
  1523. Public
  1524. Published
  1525. Property instructions : TMapTaskTypeinstructionsArray Index 0 Read Finstructions Write Setinstructions;
  1526. Property systemName : String Index 8 Read FsystemName Write SetsystemName;
  1527. Property stageName : String Index 16 Read FstageName Write SetstageName;
  1528. end;
  1529. TMapTaskClass = Class of TMapTask;
  1530. { --------------------------------------------------------------------
  1531. TParallelInstruction
  1532. --------------------------------------------------------------------}
  1533. TParallelInstruction = Class(TGoogleBaseObject)
  1534. Private
  1535. FsystemName : String;
  1536. Fname : String;
  1537. Fread : TReadInstruction;
  1538. Fwrite : TWriteInstruction;
  1539. FparDo : TParDoInstruction;
  1540. FpartialGroupByKey : TPartialGroupByKeyInstruction;
  1541. Fflatten : TFlattenInstruction;
  1542. Foutputs : TParallelInstructionTypeoutputsArray;
  1543. Protected
  1544. //Property setters
  1545. Procedure SetsystemName(AIndex : Integer; const AValue : String); virtual;
  1546. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1547. Procedure Setread(AIndex : Integer; const AValue : TReadInstruction); virtual;
  1548. Procedure Setwrite(AIndex : Integer; const AValue : TWriteInstruction); virtual;
  1549. Procedure SetparDo(AIndex : Integer; const AValue : TParDoInstruction); virtual;
  1550. Procedure SetpartialGroupByKey(AIndex : Integer; const AValue : TPartialGroupByKeyInstruction); virtual;
  1551. Procedure Setflatten(AIndex : Integer; const AValue : TFlattenInstruction); virtual;
  1552. Procedure Setoutputs(AIndex : Integer; const AValue : TParallelInstructionTypeoutputsArray); virtual;
  1553. //2.6.4. bug workaround
  1554. {$IFDEF VER2_6}
  1555. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1556. {$ENDIF VER2_6}
  1557. Public
  1558. Published
  1559. Property systemName : String Index 0 Read FsystemName Write SetsystemName;
  1560. Property name : String Index 8 Read Fname Write Setname;
  1561. Property read : TReadInstruction Index 16 Read Fread Write Setread;
  1562. Property write : TWriteInstruction Index 24 Read Fwrite Write Setwrite;
  1563. Property parDo : TParDoInstruction Index 32 Read FparDo Write SetparDo;
  1564. Property partialGroupByKey : TPartialGroupByKeyInstruction Index 40 Read FpartialGroupByKey Write SetpartialGroupByKey;
  1565. Property flatten : TFlattenInstruction Index 48 Read Fflatten Write Setflatten;
  1566. Property outputs : TParallelInstructionTypeoutputsArray Index 56 Read Foutputs Write Setoutputs;
  1567. end;
  1568. TParallelInstructionClass = Class of TParallelInstruction;
  1569. { --------------------------------------------------------------------
  1570. TReadInstruction
  1571. --------------------------------------------------------------------}
  1572. TReadInstruction = Class(TGoogleBaseObject)
  1573. Private
  1574. Fsource : TSource;
  1575. Protected
  1576. //Property setters
  1577. Procedure Setsource(AIndex : Integer; const AValue : TSource); virtual;
  1578. Public
  1579. Published
  1580. Property source : TSource Index 0 Read Fsource Write Setsource;
  1581. end;
  1582. TReadInstructionClass = Class of TReadInstruction;
  1583. { --------------------------------------------------------------------
  1584. TWriteInstruction
  1585. --------------------------------------------------------------------}
  1586. TWriteInstruction = Class(TGoogleBaseObject)
  1587. Private
  1588. Finput : TInstructionInput;
  1589. Fsink : TSink;
  1590. Protected
  1591. //Property setters
  1592. Procedure Setinput(AIndex : Integer; const AValue : TInstructionInput); virtual;
  1593. Procedure Setsink(AIndex : Integer; const AValue : TSink); virtual;
  1594. Public
  1595. Published
  1596. Property input : TInstructionInput Index 0 Read Finput Write Setinput;
  1597. Property sink : TSink Index 8 Read Fsink Write Setsink;
  1598. end;
  1599. TWriteInstructionClass = Class of TWriteInstruction;
  1600. { --------------------------------------------------------------------
  1601. TInstructionInput
  1602. --------------------------------------------------------------------}
  1603. TInstructionInput = Class(TGoogleBaseObject)
  1604. Private
  1605. FproducerInstructionIndex : integer;
  1606. FoutputNum : integer;
  1607. Protected
  1608. //Property setters
  1609. Procedure SetproducerInstructionIndex(AIndex : Integer; const AValue : integer); virtual;
  1610. Procedure SetoutputNum(AIndex : Integer; const AValue : integer); virtual;
  1611. Public
  1612. Published
  1613. Property producerInstructionIndex : integer Index 0 Read FproducerInstructionIndex Write SetproducerInstructionIndex;
  1614. Property outputNum : integer Index 8 Read FoutputNum Write SetoutputNum;
  1615. end;
  1616. TInstructionInputClass = Class of TInstructionInput;
  1617. { --------------------------------------------------------------------
  1618. TSinkTypespec
  1619. --------------------------------------------------------------------}
  1620. TSinkTypespec = Class(TGoogleBaseObject)
  1621. Private
  1622. Protected
  1623. //Property setters
  1624. Public
  1625. Class Function AllowAdditionalProperties : Boolean; override;
  1626. Published
  1627. end;
  1628. TSinkTypespecClass = Class of TSinkTypespec;
  1629. { --------------------------------------------------------------------
  1630. TSinkTypecodec
  1631. --------------------------------------------------------------------}
  1632. TSinkTypecodec = Class(TGoogleBaseObject)
  1633. Private
  1634. Protected
  1635. //Property setters
  1636. Public
  1637. Class Function AllowAdditionalProperties : Boolean; override;
  1638. Published
  1639. end;
  1640. TSinkTypecodecClass = Class of TSinkTypecodec;
  1641. { --------------------------------------------------------------------
  1642. TSink
  1643. --------------------------------------------------------------------}
  1644. TSink = Class(TGoogleBaseObject)
  1645. Private
  1646. Fspec : TSinkTypespec;
  1647. Fcodec : TSinkTypecodec;
  1648. Protected
  1649. //Property setters
  1650. Procedure Setspec(AIndex : Integer; const AValue : TSinkTypespec); virtual;
  1651. Procedure Setcodec(AIndex : Integer; const AValue : TSinkTypecodec); virtual;
  1652. Public
  1653. Published
  1654. Property spec : TSinkTypespec Index 0 Read Fspec Write Setspec;
  1655. Property codec : TSinkTypecodec Index 8 Read Fcodec Write Setcodec;
  1656. end;
  1657. TSinkClass = Class of TSink;
  1658. { --------------------------------------------------------------------
  1659. TParDoInstructionTypeuserFn
  1660. --------------------------------------------------------------------}
  1661. TParDoInstructionTypeuserFn = Class(TGoogleBaseObject)
  1662. Private
  1663. Protected
  1664. //Property setters
  1665. Public
  1666. Class Function AllowAdditionalProperties : Boolean; override;
  1667. Published
  1668. end;
  1669. TParDoInstructionTypeuserFnClass = Class of TParDoInstructionTypeuserFn;
  1670. { --------------------------------------------------------------------
  1671. TParDoInstruction
  1672. --------------------------------------------------------------------}
  1673. TParDoInstruction = Class(TGoogleBaseObject)
  1674. Private
  1675. Finput : TInstructionInput;
  1676. FsideInputs : TParDoInstructionTypesideInputsArray;
  1677. FuserFn : TParDoInstructionTypeuserFn;
  1678. FnumOutputs : integer;
  1679. FmultiOutputInfos : TParDoInstructionTypemultiOutputInfosArray;
  1680. Protected
  1681. //Property setters
  1682. Procedure Setinput(AIndex : Integer; const AValue : TInstructionInput); virtual;
  1683. Procedure SetsideInputs(AIndex : Integer; const AValue : TParDoInstructionTypesideInputsArray); virtual;
  1684. Procedure SetuserFn(AIndex : Integer; const AValue : TParDoInstructionTypeuserFn); virtual;
  1685. Procedure SetnumOutputs(AIndex : Integer; const AValue : integer); virtual;
  1686. Procedure SetmultiOutputInfos(AIndex : Integer; const AValue : TParDoInstructionTypemultiOutputInfosArray); virtual;
  1687. //2.6.4. bug workaround
  1688. {$IFDEF VER2_6}
  1689. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1690. {$ENDIF VER2_6}
  1691. Public
  1692. Published
  1693. Property input : TInstructionInput Index 0 Read Finput Write Setinput;
  1694. Property sideInputs : TParDoInstructionTypesideInputsArray Index 8 Read FsideInputs Write SetsideInputs;
  1695. Property userFn : TParDoInstructionTypeuserFn Index 16 Read FuserFn Write SetuserFn;
  1696. Property numOutputs : integer Index 24 Read FnumOutputs Write SetnumOutputs;
  1697. Property multiOutputInfos : TParDoInstructionTypemultiOutputInfosArray Index 32 Read FmultiOutputInfos Write SetmultiOutputInfos;
  1698. end;
  1699. TParDoInstructionClass = Class of TParDoInstruction;
  1700. { --------------------------------------------------------------------
  1701. TSideInputInfoTypekind
  1702. --------------------------------------------------------------------}
  1703. TSideInputInfoTypekind = Class(TGoogleBaseObject)
  1704. Private
  1705. Protected
  1706. //Property setters
  1707. Public
  1708. Class Function AllowAdditionalProperties : Boolean; override;
  1709. Published
  1710. end;
  1711. TSideInputInfoTypekindClass = Class of TSideInputInfoTypekind;
  1712. { --------------------------------------------------------------------
  1713. TSideInputInfo
  1714. --------------------------------------------------------------------}
  1715. TSideInputInfo = Class(TGoogleBaseObject)
  1716. Private
  1717. Fsources : TSideInputInfoTypesourcesArray;
  1718. Fkind : TSideInputInfoTypekind;
  1719. Ftag : String;
  1720. Protected
  1721. //Property setters
  1722. Procedure Setsources(AIndex : Integer; const AValue : TSideInputInfoTypesourcesArray); virtual;
  1723. Procedure Setkind(AIndex : Integer; const AValue : TSideInputInfoTypekind); virtual;
  1724. Procedure Settag(AIndex : Integer; const AValue : String); virtual;
  1725. //2.6.4. bug workaround
  1726. {$IFDEF VER2_6}
  1727. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1728. {$ENDIF VER2_6}
  1729. Public
  1730. Published
  1731. Property sources : TSideInputInfoTypesourcesArray Index 0 Read Fsources Write Setsources;
  1732. Property kind : TSideInputInfoTypekind Index 8 Read Fkind Write Setkind;
  1733. Property tag : String Index 16 Read Ftag Write Settag;
  1734. end;
  1735. TSideInputInfoClass = Class of TSideInputInfo;
  1736. { --------------------------------------------------------------------
  1737. TMultiOutputInfo
  1738. --------------------------------------------------------------------}
  1739. TMultiOutputInfo = Class(TGoogleBaseObject)
  1740. Private
  1741. Ftag : String;
  1742. Protected
  1743. //Property setters
  1744. Procedure Settag(AIndex : Integer; const AValue : String); virtual;
  1745. Public
  1746. Published
  1747. Property tag : String Index 0 Read Ftag Write Settag;
  1748. end;
  1749. TMultiOutputInfoClass = Class of TMultiOutputInfo;
  1750. { --------------------------------------------------------------------
  1751. TPartialGroupByKeyInstructionTypeinputElementCodec
  1752. --------------------------------------------------------------------}
  1753. TPartialGroupByKeyInstructionTypeinputElementCodec = Class(TGoogleBaseObject)
  1754. Private
  1755. Protected
  1756. //Property setters
  1757. Public
  1758. Class Function AllowAdditionalProperties : Boolean; override;
  1759. Published
  1760. end;
  1761. TPartialGroupByKeyInstructionTypeinputElementCodecClass = Class of TPartialGroupByKeyInstructionTypeinputElementCodec;
  1762. { --------------------------------------------------------------------
  1763. TPartialGroupByKeyInstructionTypevalueCombiningFn
  1764. --------------------------------------------------------------------}
  1765. TPartialGroupByKeyInstructionTypevalueCombiningFn = Class(TGoogleBaseObject)
  1766. Private
  1767. Protected
  1768. //Property setters
  1769. Public
  1770. Class Function AllowAdditionalProperties : Boolean; override;
  1771. Published
  1772. end;
  1773. TPartialGroupByKeyInstructionTypevalueCombiningFnClass = Class of TPartialGroupByKeyInstructionTypevalueCombiningFn;
  1774. { --------------------------------------------------------------------
  1775. TPartialGroupByKeyInstruction
  1776. --------------------------------------------------------------------}
  1777. TPartialGroupByKeyInstruction = Class(TGoogleBaseObject)
  1778. Private
  1779. Finput : TInstructionInput;
  1780. FinputElementCodec : TPartialGroupByKeyInstructionTypeinputElementCodec;
  1781. FvalueCombiningFn : TPartialGroupByKeyInstructionTypevalueCombiningFn;
  1782. FsideInputs : TPartialGroupByKeyInstructionTypesideInputsArray;
  1783. Protected
  1784. //Property setters
  1785. Procedure Setinput(AIndex : Integer; const AValue : TInstructionInput); virtual;
  1786. Procedure SetinputElementCodec(AIndex : Integer; const AValue : TPartialGroupByKeyInstructionTypeinputElementCodec); virtual;
  1787. Procedure SetvalueCombiningFn(AIndex : Integer; const AValue : TPartialGroupByKeyInstructionTypevalueCombiningFn); virtual;
  1788. Procedure SetsideInputs(AIndex : Integer; const AValue : TPartialGroupByKeyInstructionTypesideInputsArray); virtual;
  1789. //2.6.4. bug workaround
  1790. {$IFDEF VER2_6}
  1791. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1792. {$ENDIF VER2_6}
  1793. Public
  1794. Published
  1795. Property input : TInstructionInput Index 0 Read Finput Write Setinput;
  1796. Property inputElementCodec : TPartialGroupByKeyInstructionTypeinputElementCodec Index 8 Read FinputElementCodec Write SetinputElementCodec;
  1797. Property valueCombiningFn : TPartialGroupByKeyInstructionTypevalueCombiningFn Index 16 Read FvalueCombiningFn Write SetvalueCombiningFn;
  1798. Property sideInputs : TPartialGroupByKeyInstructionTypesideInputsArray Index 24 Read FsideInputs Write SetsideInputs;
  1799. end;
  1800. TPartialGroupByKeyInstructionClass = Class of TPartialGroupByKeyInstruction;
  1801. { --------------------------------------------------------------------
  1802. TFlattenInstruction
  1803. --------------------------------------------------------------------}
  1804. TFlattenInstruction = Class(TGoogleBaseObject)
  1805. Private
  1806. Finputs : TFlattenInstructionTypeinputsArray;
  1807. Protected
  1808. //Property setters
  1809. Procedure Setinputs(AIndex : Integer; const AValue : TFlattenInstructionTypeinputsArray); virtual;
  1810. //2.6.4. bug workaround
  1811. {$IFDEF VER2_6}
  1812. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1813. {$ENDIF VER2_6}
  1814. Public
  1815. Published
  1816. Property inputs : TFlattenInstructionTypeinputsArray Index 0 Read Finputs Write Setinputs;
  1817. end;
  1818. TFlattenInstructionClass = Class of TFlattenInstruction;
  1819. { --------------------------------------------------------------------
  1820. TInstructionOutputTypecodec
  1821. --------------------------------------------------------------------}
  1822. TInstructionOutputTypecodec = Class(TGoogleBaseObject)
  1823. Private
  1824. Protected
  1825. //Property setters
  1826. Public
  1827. Class Function AllowAdditionalProperties : Boolean; override;
  1828. Published
  1829. end;
  1830. TInstructionOutputTypecodecClass = Class of TInstructionOutputTypecodec;
  1831. { --------------------------------------------------------------------
  1832. TInstructionOutput
  1833. --------------------------------------------------------------------}
  1834. TInstructionOutput = Class(TGoogleBaseObject)
  1835. Private
  1836. Fname : String;
  1837. FsystemName : String;
  1838. Fcodec : TInstructionOutputTypecodec;
  1839. Protected
  1840. //Property setters
  1841. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1842. Procedure SetsystemName(AIndex : Integer; const AValue : String); virtual;
  1843. Procedure Setcodec(AIndex : Integer; const AValue : TInstructionOutputTypecodec); virtual;
  1844. Public
  1845. Published
  1846. Property name : String Index 0 Read Fname Write Setname;
  1847. Property systemName : String Index 8 Read FsystemName Write SetsystemName;
  1848. Property codec : TInstructionOutputTypecodec Index 16 Read Fcodec Write Setcodec;
  1849. end;
  1850. TInstructionOutputClass = Class of TInstructionOutput;
  1851. { --------------------------------------------------------------------
  1852. TSeqMapTaskTypeuserFn
  1853. --------------------------------------------------------------------}
  1854. TSeqMapTaskTypeuserFn = Class(TGoogleBaseObject)
  1855. Private
  1856. Protected
  1857. //Property setters
  1858. Public
  1859. Class Function AllowAdditionalProperties : Boolean; override;
  1860. Published
  1861. end;
  1862. TSeqMapTaskTypeuserFnClass = Class of TSeqMapTaskTypeuserFn;
  1863. { --------------------------------------------------------------------
  1864. TSeqMapTask
  1865. --------------------------------------------------------------------}
  1866. TSeqMapTask = Class(TGoogleBaseObject)
  1867. Private
  1868. Finputs : TSeqMapTaskTypeinputsArray;
  1869. FuserFn : TSeqMapTaskTypeuserFn;
  1870. FoutputInfos : TSeqMapTaskTypeoutputInfosArray;
  1871. Fname : String;
  1872. FsystemName : String;
  1873. FstageName : String;
  1874. Protected
  1875. //Property setters
  1876. Procedure Setinputs(AIndex : Integer; const AValue : TSeqMapTaskTypeinputsArray); virtual;
  1877. Procedure SetuserFn(AIndex : Integer; const AValue : TSeqMapTaskTypeuserFn); virtual;
  1878. Procedure SetoutputInfos(AIndex : Integer; const AValue : TSeqMapTaskTypeoutputInfosArray); virtual;
  1879. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1880. Procedure SetsystemName(AIndex : Integer; const AValue : String); virtual;
  1881. Procedure SetstageName(AIndex : Integer; const AValue : String); virtual;
  1882. //2.6.4. bug workaround
  1883. {$IFDEF VER2_6}
  1884. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1885. {$ENDIF VER2_6}
  1886. Public
  1887. Published
  1888. Property inputs : TSeqMapTaskTypeinputsArray Index 0 Read Finputs Write Setinputs;
  1889. Property userFn : TSeqMapTaskTypeuserFn Index 8 Read FuserFn Write SetuserFn;
  1890. Property outputInfos : TSeqMapTaskTypeoutputInfosArray Index 16 Read FoutputInfos Write SetoutputInfos;
  1891. Property name : String Index 24 Read Fname Write Setname;
  1892. Property systemName : String Index 32 Read FsystemName Write SetsystemName;
  1893. Property stageName : String Index 40 Read FstageName Write SetstageName;
  1894. end;
  1895. TSeqMapTaskClass = Class of TSeqMapTask;
  1896. { --------------------------------------------------------------------
  1897. TSeqMapTaskOutputInfo
  1898. --------------------------------------------------------------------}
  1899. TSeqMapTaskOutputInfo = Class(TGoogleBaseObject)
  1900. Private
  1901. Ftag : String;
  1902. Fsink : TSink;
  1903. Protected
  1904. //Property setters
  1905. Procedure Settag(AIndex : Integer; const AValue : String); virtual;
  1906. Procedure Setsink(AIndex : Integer; const AValue : TSink); virtual;
  1907. Public
  1908. Published
  1909. Property tag : String Index 0 Read Ftag Write Settag;
  1910. Property sink : TSink Index 8 Read Fsink Write Setsink;
  1911. end;
  1912. TSeqMapTaskOutputInfoClass = Class of TSeqMapTaskOutputInfo;
  1913. { --------------------------------------------------------------------
  1914. TShellTask
  1915. --------------------------------------------------------------------}
  1916. TShellTask = Class(TGoogleBaseObject)
  1917. Private
  1918. Fcommand : String;
  1919. FexitCode : integer;
  1920. Protected
  1921. //Property setters
  1922. Procedure Setcommand(AIndex : Integer; const AValue : String); virtual;
  1923. Procedure SetexitCode(AIndex : Integer; const AValue : integer); virtual;
  1924. Public
  1925. Published
  1926. Property command : String Index 0 Read Fcommand Write Setcommand;
  1927. Property exitCode : integer Index 8 Read FexitCode Write SetexitCode;
  1928. end;
  1929. TShellTaskClass = Class of TShellTask;
  1930. { --------------------------------------------------------------------
  1931. TStreamingSetupTask
  1932. --------------------------------------------------------------------}
  1933. TStreamingSetupTask = Class(TGoogleBaseObject)
  1934. Private
  1935. FreceiveWorkPort : integer;
  1936. FworkerHarnessPort : integer;
  1937. FstreamingComputationTopology : TTopologyConfig;
  1938. Fdrain : boolean;
  1939. Protected
  1940. //Property setters
  1941. Procedure SetreceiveWorkPort(AIndex : Integer; const AValue : integer); virtual;
  1942. Procedure SetworkerHarnessPort(AIndex : Integer; const AValue : integer); virtual;
  1943. Procedure SetstreamingComputationTopology(AIndex : Integer; const AValue : TTopologyConfig); virtual;
  1944. Procedure Setdrain(AIndex : Integer; const AValue : boolean); virtual;
  1945. Public
  1946. Published
  1947. Property receiveWorkPort : integer Index 0 Read FreceiveWorkPort Write SetreceiveWorkPort;
  1948. Property workerHarnessPort : integer Index 8 Read FworkerHarnessPort Write SetworkerHarnessPort;
  1949. Property streamingComputationTopology : TTopologyConfig Index 16 Read FstreamingComputationTopology Write SetstreamingComputationTopology;
  1950. Property drain : boolean Index 24 Read Fdrain Write Setdrain;
  1951. end;
  1952. TStreamingSetupTaskClass = Class of TStreamingSetupTask;
  1953. { --------------------------------------------------------------------
  1954. TTopologyConfigTypeuserStageToComputationNameMap
  1955. --------------------------------------------------------------------}
  1956. TTopologyConfigTypeuserStageToComputationNameMap = Class(TGoogleBaseObject)
  1957. Private
  1958. Protected
  1959. //Property setters
  1960. Public
  1961. Class Function AllowAdditionalProperties : Boolean; override;
  1962. Published
  1963. end;
  1964. TTopologyConfigTypeuserStageToComputationNameMapClass = Class of TTopologyConfigTypeuserStageToComputationNameMap;
  1965. { --------------------------------------------------------------------
  1966. TTopologyConfig
  1967. --------------------------------------------------------------------}
  1968. TTopologyConfig = Class(TGoogleBaseObject)
  1969. Private
  1970. Fcomputations : TTopologyConfigTypecomputationsArray;
  1971. FdataDiskAssignments : TTopologyConfigTypedataDiskAssignmentsArray;
  1972. FuserStageToComputationNameMap : TTopologyConfigTypeuserStageToComputationNameMap;
  1973. FforwardingKeyBits : integer;
  1974. FpersistentStateVersion : integer;
  1975. Protected
  1976. //Property setters
  1977. Procedure Setcomputations(AIndex : Integer; const AValue : TTopologyConfigTypecomputationsArray); virtual;
  1978. Procedure SetdataDiskAssignments(AIndex : Integer; const AValue : TTopologyConfigTypedataDiskAssignmentsArray); virtual;
  1979. Procedure SetuserStageToComputationNameMap(AIndex : Integer; const AValue : TTopologyConfigTypeuserStageToComputationNameMap); virtual;
  1980. Procedure SetforwardingKeyBits(AIndex : Integer; const AValue : integer); virtual;
  1981. Procedure SetpersistentStateVersion(AIndex : Integer; const AValue : integer); virtual;
  1982. //2.6.4. bug workaround
  1983. {$IFDEF VER2_6}
  1984. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1985. {$ENDIF VER2_6}
  1986. Public
  1987. Published
  1988. Property computations : TTopologyConfigTypecomputationsArray Index 0 Read Fcomputations Write Setcomputations;
  1989. Property dataDiskAssignments : TTopologyConfigTypedataDiskAssignmentsArray Index 8 Read FdataDiskAssignments Write SetdataDiskAssignments;
  1990. Property userStageToComputationNameMap : TTopologyConfigTypeuserStageToComputationNameMap Index 16 Read FuserStageToComputationNameMap Write SetuserStageToComputationNameMap;
  1991. Property forwardingKeyBits : integer Index 24 Read FforwardingKeyBits Write SetforwardingKeyBits;
  1992. Property persistentStateVersion : integer Index 32 Read FpersistentStateVersion Write SetpersistentStateVersion;
  1993. end;
  1994. TTopologyConfigClass = Class of TTopologyConfig;
  1995. { --------------------------------------------------------------------
  1996. TComputationTopology
  1997. --------------------------------------------------------------------}
  1998. TComputationTopology = Class(TGoogleBaseObject)
  1999. Private
  2000. FsystemStageName : String;
  2001. FcomputationId : String;
  2002. FuserStageName : String;
  2003. FkeyRanges : TComputationTopologyTypekeyRangesArray;
  2004. Finputs : TComputationTopologyTypeinputsArray;
  2005. Foutputs : TComputationTopologyTypeoutputsArray;
  2006. FstateFamilies : TComputationTopologyTypestateFamiliesArray;
  2007. Protected
  2008. //Property setters
  2009. Procedure SetsystemStageName(AIndex : Integer; const AValue : String); virtual;
  2010. Procedure SetcomputationId(AIndex : Integer; const AValue : String); virtual;
  2011. Procedure SetuserStageName(AIndex : Integer; const AValue : String); virtual;
  2012. Procedure SetkeyRanges(AIndex : Integer; const AValue : TComputationTopologyTypekeyRangesArray); virtual;
  2013. Procedure Setinputs(AIndex : Integer; const AValue : TComputationTopologyTypeinputsArray); virtual;
  2014. Procedure Setoutputs(AIndex : Integer; const AValue : TComputationTopologyTypeoutputsArray); virtual;
  2015. Procedure SetstateFamilies(AIndex : Integer; const AValue : TComputationTopologyTypestateFamiliesArray); virtual;
  2016. //2.6.4. bug workaround
  2017. {$IFDEF VER2_6}
  2018. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2019. {$ENDIF VER2_6}
  2020. Public
  2021. Published
  2022. Property systemStageName : String Index 0 Read FsystemStageName Write SetsystemStageName;
  2023. Property computationId : String Index 8 Read FcomputationId Write SetcomputationId;
  2024. Property userStageName : String Index 16 Read FuserStageName Write SetuserStageName;
  2025. Property keyRanges : TComputationTopologyTypekeyRangesArray Index 24 Read FkeyRanges Write SetkeyRanges;
  2026. Property inputs : TComputationTopologyTypeinputsArray Index 32 Read Finputs Write Setinputs;
  2027. Property outputs : TComputationTopologyTypeoutputsArray Index 40 Read Foutputs Write Setoutputs;
  2028. Property stateFamilies : TComputationTopologyTypestateFamiliesArray Index 48 Read FstateFamilies Write SetstateFamilies;
  2029. end;
  2030. TComputationTopologyClass = Class of TComputationTopology;
  2031. { --------------------------------------------------------------------
  2032. TKeyRangeLocation
  2033. --------------------------------------------------------------------}
  2034. TKeyRangeLocation = Class(TGoogleBaseObject)
  2035. Private
  2036. Fstart : String;
  2037. F_end : String;
  2038. FdeliveryEndpoint : String;
  2039. FpersistentDirectory : String;
  2040. FdataDisk : String;
  2041. Protected
  2042. Class Function ExportPropertyName(Const AName : String) : string; override;
  2043. //Property setters
  2044. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  2045. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  2046. Procedure SetdeliveryEndpoint(AIndex : Integer; const AValue : String); virtual;
  2047. Procedure SetpersistentDirectory(AIndex : Integer; const AValue : String); virtual;
  2048. Procedure SetdataDisk(AIndex : Integer; const AValue : String); virtual;
  2049. Public
  2050. Published
  2051. Property start : String Index 0 Read Fstart Write Setstart;
  2052. Property _end : String Index 8 Read F_end Write Set_end;
  2053. Property deliveryEndpoint : String Index 16 Read FdeliveryEndpoint Write SetdeliveryEndpoint;
  2054. Property persistentDirectory : String Index 24 Read FpersistentDirectory Write SetpersistentDirectory;
  2055. Property dataDisk : String Index 32 Read FdataDisk Write SetdataDisk;
  2056. end;
  2057. TKeyRangeLocationClass = Class of TKeyRangeLocation;
  2058. { --------------------------------------------------------------------
  2059. TStreamLocation
  2060. --------------------------------------------------------------------}
  2061. TStreamLocation = Class(TGoogleBaseObject)
  2062. Private
  2063. FstreamingStageLocation : TStreamingStageLocation;
  2064. FpubsubLocation : TPubsubLocation;
  2065. FsideInputLocation : TStreamingSideInputLocation;
  2066. FcustomSourceLocation : TCustomSourceLocation;
  2067. Protected
  2068. //Property setters
  2069. Procedure SetstreamingStageLocation(AIndex : Integer; const AValue : TStreamingStageLocation); virtual;
  2070. Procedure SetpubsubLocation(AIndex : Integer; const AValue : TPubsubLocation); virtual;
  2071. Procedure SetsideInputLocation(AIndex : Integer; const AValue : TStreamingSideInputLocation); virtual;
  2072. Procedure SetcustomSourceLocation(AIndex : Integer; const AValue : TCustomSourceLocation); virtual;
  2073. Public
  2074. Published
  2075. Property streamingStageLocation : TStreamingStageLocation Index 0 Read FstreamingStageLocation Write SetstreamingStageLocation;
  2076. Property pubsubLocation : TPubsubLocation Index 8 Read FpubsubLocation Write SetpubsubLocation;
  2077. Property sideInputLocation : TStreamingSideInputLocation Index 16 Read FsideInputLocation Write SetsideInputLocation;
  2078. Property customSourceLocation : TCustomSourceLocation Index 24 Read FcustomSourceLocation Write SetcustomSourceLocation;
  2079. end;
  2080. TStreamLocationClass = Class of TStreamLocation;
  2081. { --------------------------------------------------------------------
  2082. TStreamingStageLocation
  2083. --------------------------------------------------------------------}
  2084. TStreamingStageLocation = Class(TGoogleBaseObject)
  2085. Private
  2086. FstreamId : String;
  2087. Protected
  2088. //Property setters
  2089. Procedure SetstreamId(AIndex : Integer; const AValue : String); virtual;
  2090. Public
  2091. Published
  2092. Property streamId : String Index 0 Read FstreamId Write SetstreamId;
  2093. end;
  2094. TStreamingStageLocationClass = Class of TStreamingStageLocation;
  2095. { --------------------------------------------------------------------
  2096. TPubsubLocation
  2097. --------------------------------------------------------------------}
  2098. TPubsubLocation = Class(TGoogleBaseObject)
  2099. Private
  2100. Ftopic : String;
  2101. Fsubscription : String;
  2102. FtimestampLabel : String;
  2103. FidLabel : String;
  2104. FdropLateData : boolean;
  2105. FtrackingSubscription : String;
  2106. Protected
  2107. //Property setters
  2108. Procedure Settopic(AIndex : Integer; const AValue : String); virtual;
  2109. Procedure Setsubscription(AIndex : Integer; const AValue : String); virtual;
  2110. Procedure SettimestampLabel(AIndex : Integer; const AValue : String); virtual;
  2111. Procedure SetidLabel(AIndex : Integer; const AValue : String); virtual;
  2112. Procedure SetdropLateData(AIndex : Integer; const AValue : boolean); virtual;
  2113. Procedure SettrackingSubscription(AIndex : Integer; const AValue : String); virtual;
  2114. Public
  2115. Published
  2116. Property topic : String Index 0 Read Ftopic Write Settopic;
  2117. Property subscription : String Index 8 Read Fsubscription Write Setsubscription;
  2118. Property timestampLabel : String Index 16 Read FtimestampLabel Write SettimestampLabel;
  2119. Property idLabel : String Index 24 Read FidLabel Write SetidLabel;
  2120. Property dropLateData : boolean Index 32 Read FdropLateData Write SetdropLateData;
  2121. Property trackingSubscription : String Index 40 Read FtrackingSubscription Write SettrackingSubscription;
  2122. end;
  2123. TPubsubLocationClass = Class of TPubsubLocation;
  2124. { --------------------------------------------------------------------
  2125. TStreamingSideInputLocation
  2126. --------------------------------------------------------------------}
  2127. TStreamingSideInputLocation = Class(TGoogleBaseObject)
  2128. Private
  2129. Ftag : String;
  2130. FstateFamily : String;
  2131. Protected
  2132. //Property setters
  2133. Procedure Settag(AIndex : Integer; const AValue : String); virtual;
  2134. Procedure SetstateFamily(AIndex : Integer; const AValue : String); virtual;
  2135. Public
  2136. Published
  2137. Property tag : String Index 0 Read Ftag Write Settag;
  2138. Property stateFamily : String Index 8 Read FstateFamily Write SetstateFamily;
  2139. end;
  2140. TStreamingSideInputLocationClass = Class of TStreamingSideInputLocation;
  2141. { --------------------------------------------------------------------
  2142. TCustomSourceLocation
  2143. --------------------------------------------------------------------}
  2144. TCustomSourceLocation = Class(TGoogleBaseObject)
  2145. Private
  2146. Fstateful : boolean;
  2147. Protected
  2148. //Property setters
  2149. Procedure Setstateful(AIndex : Integer; const AValue : boolean); virtual;
  2150. Public
  2151. Published
  2152. Property stateful : boolean Index 0 Read Fstateful Write Setstateful;
  2153. end;
  2154. TCustomSourceLocationClass = Class of TCustomSourceLocation;
  2155. { --------------------------------------------------------------------
  2156. TStateFamilyConfig
  2157. --------------------------------------------------------------------}
  2158. TStateFamilyConfig = Class(TGoogleBaseObject)
  2159. Private
  2160. FstateFamily : String;
  2161. FisRead : boolean;
  2162. Protected
  2163. //Property setters
  2164. Procedure SetstateFamily(AIndex : Integer; const AValue : String); virtual;
  2165. Procedure SetisRead(AIndex : Integer; const AValue : boolean); virtual;
  2166. Public
  2167. Published
  2168. Property stateFamily : String Index 0 Read FstateFamily Write SetstateFamily;
  2169. Property isRead : boolean Index 8 Read FisRead Write SetisRead;
  2170. end;
  2171. TStateFamilyConfigClass = Class of TStateFamilyConfig;
  2172. { --------------------------------------------------------------------
  2173. TDataDiskAssignment
  2174. --------------------------------------------------------------------}
  2175. TDataDiskAssignment = Class(TGoogleBaseObject)
  2176. Private
  2177. FvmInstance : String;
  2178. FdataDisks : TStringArray;
  2179. Protected
  2180. //Property setters
  2181. Procedure SetvmInstance(AIndex : Integer; const AValue : String); virtual;
  2182. Procedure SetdataDisks(AIndex : Integer; const AValue : TStringArray); virtual;
  2183. //2.6.4. bug workaround
  2184. {$IFDEF VER2_6}
  2185. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2186. {$ENDIF VER2_6}
  2187. Public
  2188. Published
  2189. Property vmInstance : String Index 0 Read FvmInstance Write SetvmInstance;
  2190. Property dataDisks : TStringArray Index 8 Read FdataDisks Write SetdataDisks;
  2191. end;
  2192. TDataDiskAssignmentClass = Class of TDataDiskAssignment;
  2193. { --------------------------------------------------------------------
  2194. TSourceOperationRequest
  2195. --------------------------------------------------------------------}
  2196. TSourceOperationRequest = Class(TGoogleBaseObject)
  2197. Private
  2198. Fsplit : TSourceSplitRequest;
  2199. FgetMetadata : TSourceGetMetadataRequest;
  2200. Protected
  2201. //Property setters
  2202. Procedure Setsplit(AIndex : Integer; const AValue : TSourceSplitRequest); virtual;
  2203. Procedure SetgetMetadata(AIndex : Integer; const AValue : TSourceGetMetadataRequest); virtual;
  2204. Public
  2205. Published
  2206. Property split : TSourceSplitRequest Index 0 Read Fsplit Write Setsplit;
  2207. Property getMetadata : TSourceGetMetadataRequest Index 8 Read FgetMetadata Write SetgetMetadata;
  2208. end;
  2209. TSourceOperationRequestClass = Class of TSourceOperationRequest;
  2210. { --------------------------------------------------------------------
  2211. TSourceSplitRequest
  2212. --------------------------------------------------------------------}
  2213. TSourceSplitRequest = Class(TGoogleBaseObject)
  2214. Private
  2215. Fsource : TSource;
  2216. Foptions : TSourceSplitOptions;
  2217. Protected
  2218. //Property setters
  2219. Procedure Setsource(AIndex : Integer; const AValue : TSource); virtual;
  2220. Procedure Setoptions(AIndex : Integer; const AValue : TSourceSplitOptions); virtual;
  2221. Public
  2222. Published
  2223. Property source : TSource Index 0 Read Fsource Write Setsource;
  2224. Property options : TSourceSplitOptions Index 8 Read Foptions Write Setoptions;
  2225. end;
  2226. TSourceSplitRequestClass = Class of TSourceSplitRequest;
  2227. { --------------------------------------------------------------------
  2228. TSourceSplitOptions
  2229. --------------------------------------------------------------------}
  2230. TSourceSplitOptions = Class(TGoogleBaseObject)
  2231. Private
  2232. FdesiredBundleSizeBytes : String;
  2233. FdesiredShardSizeBytes : String;
  2234. Protected
  2235. //Property setters
  2236. Procedure SetdesiredBundleSizeBytes(AIndex : Integer; const AValue : String); virtual;
  2237. Procedure SetdesiredShardSizeBytes(AIndex : Integer; const AValue : String); virtual;
  2238. Public
  2239. Published
  2240. Property desiredBundleSizeBytes : String Index 0 Read FdesiredBundleSizeBytes Write SetdesiredBundleSizeBytes;
  2241. Property desiredShardSizeBytes : String Index 8 Read FdesiredShardSizeBytes Write SetdesiredShardSizeBytes;
  2242. end;
  2243. TSourceSplitOptionsClass = Class of TSourceSplitOptions;
  2244. { --------------------------------------------------------------------
  2245. TSourceGetMetadataRequest
  2246. --------------------------------------------------------------------}
  2247. TSourceGetMetadataRequest = Class(TGoogleBaseObject)
  2248. Private
  2249. Fsource : TSource;
  2250. Protected
  2251. //Property setters
  2252. Procedure Setsource(AIndex : Integer; const AValue : TSource); virtual;
  2253. Public
  2254. Published
  2255. Property source : TSource Index 0 Read Fsource Write Setsource;
  2256. end;
  2257. TSourceGetMetadataRequestClass = Class of TSourceGetMetadataRequest;
  2258. { --------------------------------------------------------------------
  2259. TStreamingComputationTask
  2260. --------------------------------------------------------------------}
  2261. TStreamingComputationTask = Class(TGoogleBaseObject)
  2262. Private
  2263. FtaskType : String;
  2264. FdataDisks : TStreamingComputationTaskTypedataDisksArray;
  2265. FcomputationRanges : TStreamingComputationTaskTypecomputationRangesArray;
  2266. Protected
  2267. //Property setters
  2268. Procedure SettaskType(AIndex : Integer; const AValue : String); virtual;
  2269. Procedure SetdataDisks(AIndex : Integer; const AValue : TStreamingComputationTaskTypedataDisksArray); virtual;
  2270. Procedure SetcomputationRanges(AIndex : Integer; const AValue : TStreamingComputationTaskTypecomputationRangesArray); virtual;
  2271. //2.6.4. bug workaround
  2272. {$IFDEF VER2_6}
  2273. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2274. {$ENDIF VER2_6}
  2275. Public
  2276. Published
  2277. Property taskType : String Index 0 Read FtaskType Write SettaskType;
  2278. Property dataDisks : TStreamingComputationTaskTypedataDisksArray Index 8 Read FdataDisks Write SetdataDisks;
  2279. Property computationRanges : TStreamingComputationTaskTypecomputationRangesArray Index 16 Read FcomputationRanges Write SetcomputationRanges;
  2280. end;
  2281. TStreamingComputationTaskClass = Class of TStreamingComputationTask;
  2282. { --------------------------------------------------------------------
  2283. TMountedDataDisk
  2284. --------------------------------------------------------------------}
  2285. TMountedDataDisk = Class(TGoogleBaseObject)
  2286. Private
  2287. FdataDisk : String;
  2288. Protected
  2289. //Property setters
  2290. Procedure SetdataDisk(AIndex : Integer; const AValue : String); virtual;
  2291. Public
  2292. Published
  2293. Property dataDisk : String Index 0 Read FdataDisk Write SetdataDisk;
  2294. end;
  2295. TMountedDataDiskClass = Class of TMountedDataDisk;
  2296. { --------------------------------------------------------------------
  2297. TStreamingComputationRanges
  2298. --------------------------------------------------------------------}
  2299. TStreamingComputationRanges = Class(TGoogleBaseObject)
  2300. Private
  2301. FcomputationId : String;
  2302. FrangeAssignments : TStreamingComputationRangesTyperangeAssignmentsArray;
  2303. Protected
  2304. //Property setters
  2305. Procedure SetcomputationId(AIndex : Integer; const AValue : String); virtual;
  2306. Procedure SetrangeAssignments(AIndex : Integer; const AValue : TStreamingComputationRangesTyperangeAssignmentsArray); virtual;
  2307. //2.6.4. bug workaround
  2308. {$IFDEF VER2_6}
  2309. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2310. {$ENDIF VER2_6}
  2311. Public
  2312. Published
  2313. Property computationId : String Index 0 Read FcomputationId Write SetcomputationId;
  2314. Property rangeAssignments : TStreamingComputationRangesTyperangeAssignmentsArray Index 8 Read FrangeAssignments Write SetrangeAssignments;
  2315. end;
  2316. TStreamingComputationRangesClass = Class of TStreamingComputationRanges;
  2317. { --------------------------------------------------------------------
  2318. TKeyRangeDataDiskAssignment
  2319. --------------------------------------------------------------------}
  2320. TKeyRangeDataDiskAssignment = Class(TGoogleBaseObject)
  2321. Private
  2322. Fstart : String;
  2323. F_end : String;
  2324. FdataDisk : String;
  2325. Protected
  2326. Class Function ExportPropertyName(Const AName : String) : string; override;
  2327. //Property setters
  2328. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  2329. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  2330. Procedure SetdataDisk(AIndex : Integer; const AValue : String); virtual;
  2331. Public
  2332. Published
  2333. Property start : String Index 0 Read Fstart Write Setstart;
  2334. Property _end : String Index 8 Read F_end Write Set_end;
  2335. Property dataDisk : String Index 16 Read FdataDisk Write SetdataDisk;
  2336. end;
  2337. TKeyRangeDataDiskAssignmentClass = Class of TKeyRangeDataDiskAssignment;
  2338. { --------------------------------------------------------------------
  2339. TSendWorkerMessagesRequest
  2340. --------------------------------------------------------------------}
  2341. TSendWorkerMessagesRequest = Class(TGoogleBaseObject)
  2342. Private
  2343. FworkerMessages : TSendWorkerMessagesRequestTypeworkerMessagesArray;
  2344. Protected
  2345. //Property setters
  2346. Procedure SetworkerMessages(AIndex : Integer; const AValue : TSendWorkerMessagesRequestTypeworkerMessagesArray); virtual;
  2347. //2.6.4. bug workaround
  2348. {$IFDEF VER2_6}
  2349. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2350. {$ENDIF VER2_6}
  2351. Public
  2352. Published
  2353. Property workerMessages : TSendWorkerMessagesRequestTypeworkerMessagesArray Index 0 Read FworkerMessages Write SetworkerMessages;
  2354. end;
  2355. TSendWorkerMessagesRequestClass = Class of TSendWorkerMessagesRequest;
  2356. { --------------------------------------------------------------------
  2357. TWorkerMessageTypelabels
  2358. --------------------------------------------------------------------}
  2359. TWorkerMessageTypelabels = Class(TGoogleBaseObject)
  2360. Private
  2361. Protected
  2362. //Property setters
  2363. Public
  2364. Class Function AllowAdditionalProperties : Boolean; override;
  2365. Published
  2366. end;
  2367. TWorkerMessageTypelabelsClass = Class of TWorkerMessageTypelabels;
  2368. { --------------------------------------------------------------------
  2369. TWorkerMessage
  2370. --------------------------------------------------------------------}
  2371. TWorkerMessage = Class(TGoogleBaseObject)
  2372. Private
  2373. Flabels : TWorkerMessageTypelabels;
  2374. Ftime : String;
  2375. FworkerHealthReport : TWorkerHealthReport;
  2376. FworkerMessageCode : TWorkerMessageCode;
  2377. Protected
  2378. //Property setters
  2379. Procedure Setlabels(AIndex : Integer; const AValue : TWorkerMessageTypelabels); virtual;
  2380. Procedure Settime(AIndex : Integer; const AValue : String); virtual;
  2381. Procedure SetworkerHealthReport(AIndex : Integer; const AValue : TWorkerHealthReport); virtual;
  2382. Procedure SetworkerMessageCode(AIndex : Integer; const AValue : TWorkerMessageCode); virtual;
  2383. Public
  2384. Published
  2385. Property labels : TWorkerMessageTypelabels Index 0 Read Flabels Write Setlabels;
  2386. Property time : String Index 8 Read Ftime Write Settime;
  2387. Property workerHealthReport : TWorkerHealthReport Index 16 Read FworkerHealthReport Write SetworkerHealthReport;
  2388. Property workerMessageCode : TWorkerMessageCode Index 24 Read FworkerMessageCode Write SetworkerMessageCode;
  2389. end;
  2390. TWorkerMessageClass = Class of TWorkerMessage;
  2391. { --------------------------------------------------------------------
  2392. TWorkerHealthReportTypepodsItem
  2393. --------------------------------------------------------------------}
  2394. TWorkerHealthReportTypepodsItem = Class(TGoogleBaseObject)
  2395. Private
  2396. Protected
  2397. //Property setters
  2398. Public
  2399. Class Function AllowAdditionalProperties : Boolean; override;
  2400. Published
  2401. end;
  2402. TWorkerHealthReportTypepodsItemClass = Class of TWorkerHealthReportTypepodsItem;
  2403. { --------------------------------------------------------------------
  2404. TWorkerHealthReport
  2405. --------------------------------------------------------------------}
  2406. TWorkerHealthReport = Class(TGoogleBaseObject)
  2407. Private
  2408. FvmIsHealthy : boolean;
  2409. FvmStartupTime : String;
  2410. FreportInterval : String;
  2411. Fpods : TWorkerHealthReportTypepodsArray;
  2412. Protected
  2413. //Property setters
  2414. Procedure SetvmIsHealthy(AIndex : Integer; const AValue : boolean); virtual;
  2415. Procedure SetvmStartupTime(AIndex : Integer; const AValue : String); virtual;
  2416. Procedure SetreportInterval(AIndex : Integer; const AValue : String); virtual;
  2417. Procedure Setpods(AIndex : Integer; const AValue : TWorkerHealthReportTypepodsArray); virtual;
  2418. //2.6.4. bug workaround
  2419. {$IFDEF VER2_6}
  2420. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2421. {$ENDIF VER2_6}
  2422. Public
  2423. Published
  2424. Property vmIsHealthy : boolean Index 0 Read FvmIsHealthy Write SetvmIsHealthy;
  2425. Property vmStartupTime : String Index 8 Read FvmStartupTime Write SetvmStartupTime;
  2426. Property reportInterval : String Index 16 Read FreportInterval Write SetreportInterval;
  2427. Property pods : TWorkerHealthReportTypepodsArray Index 24 Read Fpods Write Setpods;
  2428. end;
  2429. TWorkerHealthReportClass = Class of TWorkerHealthReport;
  2430. { --------------------------------------------------------------------
  2431. TWorkerMessageCodeTypeparameters
  2432. --------------------------------------------------------------------}
  2433. TWorkerMessageCodeTypeparameters = Class(TGoogleBaseObject)
  2434. Private
  2435. Protected
  2436. //Property setters
  2437. Public
  2438. Class Function AllowAdditionalProperties : Boolean; override;
  2439. Published
  2440. end;
  2441. TWorkerMessageCodeTypeparametersClass = Class of TWorkerMessageCodeTypeparameters;
  2442. { --------------------------------------------------------------------
  2443. TWorkerMessageCode
  2444. --------------------------------------------------------------------}
  2445. TWorkerMessageCode = Class(TGoogleBaseObject)
  2446. Private
  2447. Fcode : String;
  2448. Fparameters : TWorkerMessageCodeTypeparameters;
  2449. Protected
  2450. //Property setters
  2451. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  2452. Procedure Setparameters(AIndex : Integer; const AValue : TWorkerMessageCodeTypeparameters); virtual;
  2453. Public
  2454. Published
  2455. Property code : String Index 0 Read Fcode Write Setcode;
  2456. Property parameters : TWorkerMessageCodeTypeparameters Index 8 Read Fparameters Write Setparameters;
  2457. end;
  2458. TWorkerMessageCodeClass = Class of TWorkerMessageCode;
  2459. { --------------------------------------------------------------------
  2460. TSendWorkerMessagesResponse
  2461. --------------------------------------------------------------------}
  2462. TSendWorkerMessagesResponse = Class(TGoogleBaseObject)
  2463. Private
  2464. FworkerMessageResponses : TSendWorkerMessagesResponseTypeworkerMessageResponsesArray;
  2465. Protected
  2466. //Property setters
  2467. Procedure SetworkerMessageResponses(AIndex : Integer; const AValue : TSendWorkerMessagesResponseTypeworkerMessageResponsesArray); virtual;
  2468. //2.6.4. bug workaround
  2469. {$IFDEF VER2_6}
  2470. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2471. {$ENDIF VER2_6}
  2472. Public
  2473. Published
  2474. Property workerMessageResponses : TSendWorkerMessagesResponseTypeworkerMessageResponsesArray Index 0 Read FworkerMessageResponses Write SetworkerMessageResponses;
  2475. end;
  2476. TSendWorkerMessagesResponseClass = Class of TSendWorkerMessagesResponse;
  2477. { --------------------------------------------------------------------
  2478. TWorkerMessageResponse
  2479. --------------------------------------------------------------------}
  2480. TWorkerMessageResponse = Class(TGoogleBaseObject)
  2481. Private
  2482. FworkerHealthReportResponse : TWorkerHealthReportResponse;
  2483. Protected
  2484. //Property setters
  2485. Procedure SetworkerHealthReportResponse(AIndex : Integer; const AValue : TWorkerHealthReportResponse); virtual;
  2486. Public
  2487. Published
  2488. Property workerHealthReportResponse : TWorkerHealthReportResponse Index 0 Read FworkerHealthReportResponse Write SetworkerHealthReportResponse;
  2489. end;
  2490. TWorkerMessageResponseClass = Class of TWorkerMessageResponse;
  2491. { --------------------------------------------------------------------
  2492. TWorkerHealthReportResponse
  2493. --------------------------------------------------------------------}
  2494. TWorkerHealthReportResponse = Class(TGoogleBaseObject)
  2495. Private
  2496. FreportInterval : String;
  2497. Protected
  2498. //Property setters
  2499. Procedure SetreportInterval(AIndex : Integer; const AValue : String); virtual;
  2500. Public
  2501. Published
  2502. Property reportInterval : String Index 0 Read FreportInterval Write SetreportInterval;
  2503. end;
  2504. TWorkerHealthReportResponseClass = Class of TWorkerHealthReportResponse;
  2505. { --------------------------------------------------------------------
  2506. TProjectsJobsMessagesResource
  2507. --------------------------------------------------------------------}
  2508. //Optional query Options for TProjectsJobsMessagesResource, method List
  2509. TProjectsJobsMessagesListOptions = Record
  2510. minimumImportance : String;
  2511. pageSize : integer;
  2512. pageToken : String;
  2513. startTime : String;
  2514. endTime : String;
  2515. end;
  2516. TProjectsJobsMessagesResource = Class(TGoogleResource)
  2517. Public
  2518. Class Function ResourceName : String; override;
  2519. Class Function DefaultAPI : TGoogleAPIClass; override;
  2520. Function List(projectId: string; jobId: string; AQuery : string = '') : TListJobMessagesResponse;
  2521. Function List(projectId: string; jobId: string; AQuery : TProjectsJobsMessageslistOptions) : TListJobMessagesResponse;
  2522. end;
  2523. { --------------------------------------------------------------------
  2524. TProjectsJobsWorkItemsResource
  2525. --------------------------------------------------------------------}
  2526. TProjectsJobsWorkItemsResource = Class(TGoogleResource)
  2527. Public
  2528. Class Function ResourceName : String; override;
  2529. Class Function DefaultAPI : TGoogleAPIClass; override;
  2530. Function ReportStatus(projectId: string; jobId: string; aReportWorkItemStatusRequest : TReportWorkItemStatusRequest) : TReportWorkItemStatusResponse;
  2531. Function Lease(projectId: string; jobId: string; aLeaseWorkItemRequest : TLeaseWorkItemRequest) : TLeaseWorkItemResponse;
  2532. end;
  2533. { --------------------------------------------------------------------
  2534. TProjectsJobsResource
  2535. --------------------------------------------------------------------}
  2536. //Optional query Options for TProjectsJobsResource, method Create
  2537. TProjectsJobsCreateOptions = Record
  2538. view : String;
  2539. replaceJobId : String;
  2540. end;
  2541. //Optional query Options for TProjectsJobsResource, method Get
  2542. TProjectsJobsGetOptions = Record
  2543. view : String;
  2544. end;
  2545. //Optional query Options for TProjectsJobsResource, method List
  2546. TProjectsJobsListOptions = Record
  2547. filter : String;
  2548. view : String;
  2549. pageSize : integer;
  2550. pageToken : String;
  2551. end;
  2552. //Optional query Options for TProjectsJobsResource, method GetMetrics
  2553. TProjectsJobsGetMetricsOptions = Record
  2554. startTime : String;
  2555. end;
  2556. TProjectsJobsResource = Class(TGoogleResource)
  2557. Private
  2558. FMessagesInstance : TProjectsJobsMessagesResource;
  2559. FWorkItemsInstance : TProjectsJobsWorkItemsResource;
  2560. Function GetMessagesInstance : TProjectsJobsMessagesResource;virtual;
  2561. Function GetWorkItemsInstance : TProjectsJobsWorkItemsResource;virtual;
  2562. Public
  2563. Class Function ResourceName : String; override;
  2564. Class Function DefaultAPI : TGoogleAPIClass; override;
  2565. Function Create(projectId: string; aJob : TJob; AQuery : string = '') : TJob;overload;
  2566. Function Create(projectId: string; aJob : TJob; AQuery : TProjectsJobscreateOptions) : TJob;overload;
  2567. Function Get(projectId: string; jobId: string; AQuery : string = '') : TJob;
  2568. Function Get(projectId: string; jobId: string; AQuery : TProjectsJobsgetOptions) : TJob;
  2569. Function Update(projectId: string; jobId: string; aJob : TJob) : TJob;
  2570. Function List(projectId: string; AQuery : string = '') : TListJobsResponse;
  2571. Function List(projectId: string; AQuery : TProjectsJobslistOptions) : TListJobsResponse;
  2572. Function GetMetrics(projectId: string; jobId: string; AQuery : string = '') : TJobMetrics;
  2573. Function GetMetrics(projectId: string; jobId: string; AQuery : TProjectsJobsgetMetricsOptions) : TJobMetrics;
  2574. Function CreateMessagesResource(AOwner : TComponent) : TProjectsJobsMessagesResource;virtual;overload;
  2575. Function CreateMessagesResource : TProjectsJobsMessagesResource;virtual;overload;
  2576. Function CreateWorkItemsResource(AOwner : TComponent) : TProjectsJobsWorkItemsResource;virtual;overload;
  2577. Function CreateWorkItemsResource : TProjectsJobsWorkItemsResource;virtual;overload;
  2578. Property MessagesResource : TProjectsJobsMessagesResource Read GetMessagesInstance;
  2579. Property WorkItemsResource : TProjectsJobsWorkItemsResource Read GetWorkItemsInstance;
  2580. end;
  2581. { --------------------------------------------------------------------
  2582. TProjectsResource
  2583. --------------------------------------------------------------------}
  2584. TProjectsResource = Class(TGoogleResource)
  2585. Private
  2586. FJobsMessagesInstance : TProjectsJobsMessagesResource;
  2587. FJobsWorkItemsInstance : TProjectsJobsWorkItemsResource;
  2588. FJobsInstance : TProjectsJobsResource;
  2589. Function GetJobsMessagesInstance : TProjectsJobsMessagesResource;virtual;
  2590. Function GetJobsWorkItemsInstance : TProjectsJobsWorkItemsResource;virtual;
  2591. Function GetJobsInstance : TProjectsJobsResource;virtual;
  2592. Public
  2593. Class Function ResourceName : String; override;
  2594. Class Function DefaultAPI : TGoogleAPIClass; override;
  2595. Function WorkerMessages(projectId: string; aSendWorkerMessagesRequest : TSendWorkerMessagesRequest) : TSendWorkerMessagesResponse;
  2596. Function CreateJobsMessagesResource(AOwner : TComponent) : TProjectsJobsMessagesResource;virtual;overload;
  2597. Function CreateJobsMessagesResource : TProjectsJobsMessagesResource;virtual;overload;
  2598. Function CreateJobsWorkItemsResource(AOwner : TComponent) : TProjectsJobsWorkItemsResource;virtual;overload;
  2599. Function CreateJobsWorkItemsResource : TProjectsJobsWorkItemsResource;virtual;overload;
  2600. Function CreateJobsResource(AOwner : TComponent) : TProjectsJobsResource;virtual;overload;
  2601. Function CreateJobsResource : TProjectsJobsResource;virtual;overload;
  2602. Property JobsMessagesResource : TProjectsJobsMessagesResource Read GetJobsMessagesInstance;
  2603. Property JobsWorkItemsResource : TProjectsJobsWorkItemsResource Read GetJobsWorkItemsInstance;
  2604. Property JobsResource : TProjectsJobsResource Read GetJobsInstance;
  2605. end;
  2606. { --------------------------------------------------------------------
  2607. TDataflowAPI
  2608. --------------------------------------------------------------------}
  2609. TDataflowAPI = Class(TGoogleAPI)
  2610. Private
  2611. FProjectsJobsMessagesInstance : TProjectsJobsMessagesResource;
  2612. FProjectsJobsWorkItemsInstance : TProjectsJobsWorkItemsResource;
  2613. FProjectsJobsInstance : TProjectsJobsResource;
  2614. FProjectsInstance : TProjectsResource;
  2615. Function GetProjectsJobsMessagesInstance : TProjectsJobsMessagesResource;virtual;
  2616. Function GetProjectsJobsWorkItemsInstance : TProjectsJobsWorkItemsResource;virtual;
  2617. Function GetProjectsJobsInstance : TProjectsJobsResource;virtual;
  2618. Function GetProjectsInstance : TProjectsResource;virtual;
  2619. Public
  2620. //Override class functions with API info
  2621. Class Function APIName : String; override;
  2622. Class Function APIVersion : String; override;
  2623. Class Function APIRevision : String; override;
  2624. Class Function APIID : String; override;
  2625. Class Function APITitle : String; override;
  2626. Class Function APIDescription : String; override;
  2627. Class Function APIOwnerDomain : String; override;
  2628. Class Function APIOwnerName : String; override;
  2629. Class Function APIIcon16 : String; override;
  2630. Class Function APIIcon32 : String; override;
  2631. Class Function APIdocumentationLink : String; override;
  2632. Class Function APIrootUrl : string; override;
  2633. Class Function APIbasePath : string;override;
  2634. Class Function APIbaseURL : String;override;
  2635. Class Function APIProtocol : string;override;
  2636. Class Function APIservicePath : string;override;
  2637. Class Function APIbatchPath : String;override;
  2638. Class Function APIAuthScopes : TScopeInfoArray;override;
  2639. Class Function APINeedsAuth : Boolean;override;
  2640. Class Procedure RegisterAPIResources; override;
  2641. //Add create function for resources
  2642. Function CreateProjectsJobsMessagesResource(AOwner : TComponent) : TProjectsJobsMessagesResource;virtual;overload;
  2643. Function CreateProjectsJobsMessagesResource : TProjectsJobsMessagesResource;virtual;overload;
  2644. Function CreateProjectsJobsWorkItemsResource(AOwner : TComponent) : TProjectsJobsWorkItemsResource;virtual;overload;
  2645. Function CreateProjectsJobsWorkItemsResource : TProjectsJobsWorkItemsResource;virtual;overload;
  2646. Function CreateProjectsJobsResource(AOwner : TComponent) : TProjectsJobsResource;virtual;overload;
  2647. Function CreateProjectsJobsResource : TProjectsJobsResource;virtual;overload;
  2648. Function CreateProjectsResource(AOwner : TComponent) : TProjectsResource;virtual;overload;
  2649. Function CreateProjectsResource : TProjectsResource;virtual;overload;
  2650. //Add default on-demand instances for resources
  2651. Property ProjectsJobsMessagesResource : TProjectsJobsMessagesResource Read GetProjectsJobsMessagesInstance;
  2652. Property ProjectsJobsWorkItemsResource : TProjectsJobsWorkItemsResource Read GetProjectsJobsWorkItemsInstance;
  2653. Property ProjectsJobsResource : TProjectsJobsResource Read GetProjectsJobsInstance;
  2654. Property ProjectsResource : TProjectsResource Read GetProjectsInstance;
  2655. end;
  2656. implementation
  2657. { --------------------------------------------------------------------
  2658. TJobTypetransformNameMapping
  2659. --------------------------------------------------------------------}
  2660. Class Function TJobTypetransformNameMapping.AllowAdditionalProperties : Boolean;
  2661. begin
  2662. Result:=True;
  2663. end;
  2664. { --------------------------------------------------------------------
  2665. TJob
  2666. --------------------------------------------------------------------}
  2667. Procedure TJob.Setid(AIndex : Integer; const AValue : String);
  2668. begin
  2669. If (Fid=AValue) then exit;
  2670. Fid:=AValue;
  2671. MarkPropertyChanged(AIndex);
  2672. end;
  2673. Procedure TJob.SetprojectId(AIndex : Integer; const AValue : String);
  2674. begin
  2675. If (FprojectId=AValue) then exit;
  2676. FprojectId:=AValue;
  2677. MarkPropertyChanged(AIndex);
  2678. end;
  2679. Procedure TJob.Setname(AIndex : Integer; const AValue : String);
  2680. begin
  2681. If (Fname=AValue) then exit;
  2682. Fname:=AValue;
  2683. MarkPropertyChanged(AIndex);
  2684. end;
  2685. Procedure TJob.Set_type(AIndex : Integer; const AValue : String);
  2686. begin
  2687. If (F_type=AValue) then exit;
  2688. F_type:=AValue;
  2689. MarkPropertyChanged(AIndex);
  2690. end;
  2691. Procedure TJob.Setenvironment(AIndex : Integer; const AValue : TEnvironment);
  2692. begin
  2693. If (Fenvironment=AValue) then exit;
  2694. Fenvironment:=AValue;
  2695. MarkPropertyChanged(AIndex);
  2696. end;
  2697. Procedure TJob.Setsteps(AIndex : Integer; const AValue : TJobTypestepsArray);
  2698. begin
  2699. If (Fsteps=AValue) then exit;
  2700. Fsteps:=AValue;
  2701. MarkPropertyChanged(AIndex);
  2702. end;
  2703. Procedure TJob.SetcurrentState(AIndex : Integer; const AValue : String);
  2704. begin
  2705. If (FcurrentState=AValue) then exit;
  2706. FcurrentState:=AValue;
  2707. MarkPropertyChanged(AIndex);
  2708. end;
  2709. Procedure TJob.SetcurrentStateTime(AIndex : Integer; const AValue : String);
  2710. begin
  2711. If (FcurrentStateTime=AValue) then exit;
  2712. FcurrentStateTime:=AValue;
  2713. MarkPropertyChanged(AIndex);
  2714. end;
  2715. Procedure TJob.SetrequestedState(AIndex : Integer; const AValue : String);
  2716. begin
  2717. If (FrequestedState=AValue) then exit;
  2718. FrequestedState:=AValue;
  2719. MarkPropertyChanged(AIndex);
  2720. end;
  2721. Procedure TJob.SetexecutionInfo(AIndex : Integer; const AValue : TJobExecutionInfo);
  2722. begin
  2723. If (FexecutionInfo=AValue) then exit;
  2724. FexecutionInfo:=AValue;
  2725. MarkPropertyChanged(AIndex);
  2726. end;
  2727. Procedure TJob.SetcreateTime(AIndex : Integer; const AValue : String);
  2728. begin
  2729. If (FcreateTime=AValue) then exit;
  2730. FcreateTime:=AValue;
  2731. MarkPropertyChanged(AIndex);
  2732. end;
  2733. Procedure TJob.SetreplaceJobId(AIndex : Integer; const AValue : String);
  2734. begin
  2735. If (FreplaceJobId=AValue) then exit;
  2736. FreplaceJobId:=AValue;
  2737. MarkPropertyChanged(AIndex);
  2738. end;
  2739. Procedure TJob.SettransformNameMapping(AIndex : Integer; const AValue : TJobTypetransformNameMapping);
  2740. begin
  2741. If (FtransformNameMapping=AValue) then exit;
  2742. FtransformNameMapping:=AValue;
  2743. MarkPropertyChanged(AIndex);
  2744. end;
  2745. Procedure TJob.SetclientRequestId(AIndex : Integer; const AValue : String);
  2746. begin
  2747. If (FclientRequestId=AValue) then exit;
  2748. FclientRequestId:=AValue;
  2749. MarkPropertyChanged(AIndex);
  2750. end;
  2751. Procedure TJob.SetreplacedByJobId(AIndex : Integer; const AValue : String);
  2752. begin
  2753. If (FreplacedByJobId=AValue) then exit;
  2754. FreplacedByJobId:=AValue;
  2755. MarkPropertyChanged(AIndex);
  2756. end;
  2757. Procedure TJob.SettempFiles(AIndex : Integer; const AValue : TStringArray);
  2758. begin
  2759. If (FtempFiles=AValue) then exit;
  2760. FtempFiles:=AValue;
  2761. MarkPropertyChanged(AIndex);
  2762. end;
  2763. Class Function TJob.ExportPropertyName(Const AName : String) :String;
  2764. begin
  2765. Case AName of
  2766. '_type' : Result:='type';
  2767. else
  2768. Result:=Inherited ExportPropertyName(AName);
  2769. end;
  2770. end;
  2771. //2.6.4. bug workaround
  2772. {$IFDEF VER2_6}
  2773. Procedure TJob.SetArrayLength(Const AName : String; ALength : Longint);
  2774. begin
  2775. Case AName of
  2776. 'steps' : SetLength(Fsteps,ALength);
  2777. 'tempfiles' : SetLength(FtempFiles,ALength);
  2778. else
  2779. Inherited SetArrayLength(AName,ALength);
  2780. end;
  2781. end;
  2782. {$ENDIF VER2_6}
  2783. { --------------------------------------------------------------------
  2784. TEnvironmentTypeuserAgent
  2785. --------------------------------------------------------------------}
  2786. Class Function TEnvironmentTypeuserAgent.AllowAdditionalProperties : Boolean;
  2787. begin
  2788. Result:=True;
  2789. end;
  2790. { --------------------------------------------------------------------
  2791. TEnvironmentTypeversion
  2792. --------------------------------------------------------------------}
  2793. Class Function TEnvironmentTypeversion.AllowAdditionalProperties : Boolean;
  2794. begin
  2795. Result:=True;
  2796. end;
  2797. { --------------------------------------------------------------------
  2798. TEnvironmentTypesdkPipelineOptions
  2799. --------------------------------------------------------------------}
  2800. Class Function TEnvironmentTypesdkPipelineOptions.AllowAdditionalProperties : Boolean;
  2801. begin
  2802. Result:=True;
  2803. end;
  2804. { --------------------------------------------------------------------
  2805. TEnvironmentTypeinternalExperiments
  2806. --------------------------------------------------------------------}
  2807. Class Function TEnvironmentTypeinternalExperiments.AllowAdditionalProperties : Boolean;
  2808. begin
  2809. Result:=True;
  2810. end;
  2811. { --------------------------------------------------------------------
  2812. TEnvironment
  2813. --------------------------------------------------------------------}
  2814. Procedure TEnvironment.SettempStoragePrefix(AIndex : Integer; const AValue : String);
  2815. begin
  2816. If (FtempStoragePrefix=AValue) then exit;
  2817. FtempStoragePrefix:=AValue;
  2818. MarkPropertyChanged(AIndex);
  2819. end;
  2820. Procedure TEnvironment.SetclusterManagerApiService(AIndex : Integer; const AValue : String);
  2821. begin
  2822. If (FclusterManagerApiService=AValue) then exit;
  2823. FclusterManagerApiService:=AValue;
  2824. MarkPropertyChanged(AIndex);
  2825. end;
  2826. Procedure TEnvironment.Setexperiments(AIndex : Integer; const AValue : TStringArray);
  2827. begin
  2828. If (Fexperiments=AValue) then exit;
  2829. Fexperiments:=AValue;
  2830. MarkPropertyChanged(AIndex);
  2831. end;
  2832. Procedure TEnvironment.SetworkerPools(AIndex : Integer; const AValue : TEnvironmentTypeworkerPoolsArray);
  2833. begin
  2834. If (FworkerPools=AValue) then exit;
  2835. FworkerPools:=AValue;
  2836. MarkPropertyChanged(AIndex);
  2837. end;
  2838. Procedure TEnvironment.SetuserAgent(AIndex : Integer; const AValue : TEnvironmentTypeuserAgent);
  2839. begin
  2840. If (FuserAgent=AValue) then exit;
  2841. FuserAgent:=AValue;
  2842. MarkPropertyChanged(AIndex);
  2843. end;
  2844. Procedure TEnvironment.Setversion(AIndex : Integer; const AValue : TEnvironmentTypeversion);
  2845. begin
  2846. If (Fversion=AValue) then exit;
  2847. Fversion:=AValue;
  2848. MarkPropertyChanged(AIndex);
  2849. end;
  2850. Procedure TEnvironment.Setdataset(AIndex : Integer; const AValue : String);
  2851. begin
  2852. If (Fdataset=AValue) then exit;
  2853. Fdataset:=AValue;
  2854. MarkPropertyChanged(AIndex);
  2855. end;
  2856. Procedure TEnvironment.SetsdkPipelineOptions(AIndex : Integer; const AValue : TEnvironmentTypesdkPipelineOptions);
  2857. begin
  2858. If (FsdkPipelineOptions=AValue) then exit;
  2859. FsdkPipelineOptions:=AValue;
  2860. MarkPropertyChanged(AIndex);
  2861. end;
  2862. Procedure TEnvironment.SetinternalExperiments(AIndex : Integer; const AValue : TEnvironmentTypeinternalExperiments);
  2863. begin
  2864. If (FinternalExperiments=AValue) then exit;
  2865. FinternalExperiments:=AValue;
  2866. MarkPropertyChanged(AIndex);
  2867. end;
  2868. //2.6.4. bug workaround
  2869. {$IFDEF VER2_6}
  2870. Procedure TEnvironment.SetArrayLength(Const AName : String; ALength : Longint);
  2871. begin
  2872. Case AName of
  2873. 'experiments' : SetLength(Fexperiments,ALength);
  2874. 'workerpools' : SetLength(FworkerPools,ALength);
  2875. else
  2876. Inherited SetArrayLength(AName,ALength);
  2877. end;
  2878. end;
  2879. {$ENDIF VER2_6}
  2880. { --------------------------------------------------------------------
  2881. TWorkerPoolTypemetadata
  2882. --------------------------------------------------------------------}
  2883. Class Function TWorkerPoolTypemetadata.AllowAdditionalProperties : Boolean;
  2884. begin
  2885. Result:=True;
  2886. end;
  2887. { --------------------------------------------------------------------
  2888. TWorkerPoolTypepoolArgs
  2889. --------------------------------------------------------------------}
  2890. Class Function TWorkerPoolTypepoolArgs.AllowAdditionalProperties : Boolean;
  2891. begin
  2892. Result:=True;
  2893. end;
  2894. { --------------------------------------------------------------------
  2895. TWorkerPool
  2896. --------------------------------------------------------------------}
  2897. Procedure TWorkerPool.Setkind(AIndex : Integer; const AValue : String);
  2898. begin
  2899. If (Fkind=AValue) then exit;
  2900. Fkind:=AValue;
  2901. MarkPropertyChanged(AIndex);
  2902. end;
  2903. Procedure TWorkerPool.SetnumWorkers(AIndex : Integer; const AValue : integer);
  2904. begin
  2905. If (FnumWorkers=AValue) then exit;
  2906. FnumWorkers:=AValue;
  2907. MarkPropertyChanged(AIndex);
  2908. end;
  2909. Procedure TWorkerPool.Setpackages(AIndex : Integer; const AValue : TWorkerPoolTypepackagesArray);
  2910. begin
  2911. If (Fpackages=AValue) then exit;
  2912. Fpackages:=AValue;
  2913. MarkPropertyChanged(AIndex);
  2914. end;
  2915. Procedure TWorkerPool.SetdefaultPackageSet(AIndex : Integer; const AValue : String);
  2916. begin
  2917. If (FdefaultPackageSet=AValue) then exit;
  2918. FdefaultPackageSet:=AValue;
  2919. MarkPropertyChanged(AIndex);
  2920. end;
  2921. Procedure TWorkerPool.SetmachineType(AIndex : Integer; const AValue : String);
  2922. begin
  2923. If (FmachineType=AValue) then exit;
  2924. FmachineType:=AValue;
  2925. MarkPropertyChanged(AIndex);
  2926. end;
  2927. Procedure TWorkerPool.SetteardownPolicy(AIndex : Integer; const AValue : String);
  2928. begin
  2929. If (FteardownPolicy=AValue) then exit;
  2930. FteardownPolicy:=AValue;
  2931. MarkPropertyChanged(AIndex);
  2932. end;
  2933. Procedure TWorkerPool.SetdiskSizeGb(AIndex : Integer; const AValue : integer);
  2934. begin
  2935. If (FdiskSizeGb=AValue) then exit;
  2936. FdiskSizeGb:=AValue;
  2937. MarkPropertyChanged(AIndex);
  2938. end;
  2939. Procedure TWorkerPool.SetdiskType(AIndex : Integer; const AValue : String);
  2940. begin
  2941. If (FdiskType=AValue) then exit;
  2942. FdiskType:=AValue;
  2943. MarkPropertyChanged(AIndex);
  2944. end;
  2945. Procedure TWorkerPool.SetdiskSourceImage(AIndex : Integer; const AValue : String);
  2946. begin
  2947. If (FdiskSourceImage=AValue) then exit;
  2948. FdiskSourceImage:=AValue;
  2949. MarkPropertyChanged(AIndex);
  2950. end;
  2951. Procedure TWorkerPool.Setzone(AIndex : Integer; const AValue : String);
  2952. begin
  2953. If (Fzone=AValue) then exit;
  2954. Fzone:=AValue;
  2955. MarkPropertyChanged(AIndex);
  2956. end;
  2957. Procedure TWorkerPool.SettaskrunnerSettings(AIndex : Integer; const AValue : TTaskRunnerSettings);
  2958. begin
  2959. If (FtaskrunnerSettings=AValue) then exit;
  2960. FtaskrunnerSettings:=AValue;
  2961. MarkPropertyChanged(AIndex);
  2962. end;
  2963. Procedure TWorkerPool.SetonHostMaintenance(AIndex : Integer; const AValue : String);
  2964. begin
  2965. If (FonHostMaintenance=AValue) then exit;
  2966. FonHostMaintenance:=AValue;
  2967. MarkPropertyChanged(AIndex);
  2968. end;
  2969. Procedure TWorkerPool.SetdataDisks(AIndex : Integer; const AValue : TWorkerPoolTypedataDisksArray);
  2970. begin
  2971. If (FdataDisks=AValue) then exit;
  2972. FdataDisks:=AValue;
  2973. MarkPropertyChanged(AIndex);
  2974. end;
  2975. Procedure TWorkerPool.Setmetadata(AIndex : Integer; const AValue : TWorkerPoolTypemetadata);
  2976. begin
  2977. If (Fmetadata=AValue) then exit;
  2978. Fmetadata:=AValue;
  2979. MarkPropertyChanged(AIndex);
  2980. end;
  2981. Procedure TWorkerPool.SetautoscalingSettings(AIndex : Integer; const AValue : TAutoscalingSettings);
  2982. begin
  2983. If (FautoscalingSettings=AValue) then exit;
  2984. FautoscalingSettings:=AValue;
  2985. MarkPropertyChanged(AIndex);
  2986. end;
  2987. Procedure TWorkerPool.SetpoolArgs(AIndex : Integer; const AValue : TWorkerPoolTypepoolArgs);
  2988. begin
  2989. If (FpoolArgs=AValue) then exit;
  2990. FpoolArgs:=AValue;
  2991. MarkPropertyChanged(AIndex);
  2992. end;
  2993. Procedure TWorkerPool.Setnetwork(AIndex : Integer; const AValue : String);
  2994. begin
  2995. If (Fnetwork=AValue) then exit;
  2996. Fnetwork:=AValue;
  2997. MarkPropertyChanged(AIndex);
  2998. end;
  2999. Procedure TWorkerPool.Setsubnetwork(AIndex : Integer; const AValue : String);
  3000. begin
  3001. If (Fsubnetwork=AValue) then exit;
  3002. Fsubnetwork:=AValue;
  3003. MarkPropertyChanged(AIndex);
  3004. end;
  3005. Procedure TWorkerPool.SetworkerHarnessContainerImage(AIndex : Integer; const AValue : String);
  3006. begin
  3007. If (FworkerHarnessContainerImage=AValue) then exit;
  3008. FworkerHarnessContainerImage:=AValue;
  3009. MarkPropertyChanged(AIndex);
  3010. end;
  3011. Procedure TWorkerPool.SetnumThreadsPerWorker(AIndex : Integer; const AValue : integer);
  3012. begin
  3013. If (FnumThreadsPerWorker=AValue) then exit;
  3014. FnumThreadsPerWorker:=AValue;
  3015. MarkPropertyChanged(AIndex);
  3016. end;
  3017. //2.6.4. bug workaround
  3018. {$IFDEF VER2_6}
  3019. Procedure TWorkerPool.SetArrayLength(Const AName : String; ALength : Longint);
  3020. begin
  3021. Case AName of
  3022. 'packages' : SetLength(Fpackages,ALength);
  3023. 'datadisks' : SetLength(FdataDisks,ALength);
  3024. else
  3025. Inherited SetArrayLength(AName,ALength);
  3026. end;
  3027. end;
  3028. {$ENDIF VER2_6}
  3029. { --------------------------------------------------------------------
  3030. TPackage
  3031. --------------------------------------------------------------------}
  3032. Procedure TPackage.Setname(AIndex : Integer; const AValue : String);
  3033. begin
  3034. If (Fname=AValue) then exit;
  3035. Fname:=AValue;
  3036. MarkPropertyChanged(AIndex);
  3037. end;
  3038. Procedure TPackage.Setlocation(AIndex : Integer; const AValue : String);
  3039. begin
  3040. If (Flocation=AValue) then exit;
  3041. Flocation:=AValue;
  3042. MarkPropertyChanged(AIndex);
  3043. end;
  3044. { --------------------------------------------------------------------
  3045. TTaskRunnerSettings
  3046. --------------------------------------------------------------------}
  3047. Procedure TTaskRunnerSettings.SettaskUser(AIndex : Integer; const AValue : String);
  3048. begin
  3049. If (FtaskUser=AValue) then exit;
  3050. FtaskUser:=AValue;
  3051. MarkPropertyChanged(AIndex);
  3052. end;
  3053. Procedure TTaskRunnerSettings.SettaskGroup(AIndex : Integer; const AValue : String);
  3054. begin
  3055. If (FtaskGroup=AValue) then exit;
  3056. FtaskGroup:=AValue;
  3057. MarkPropertyChanged(AIndex);
  3058. end;
  3059. Procedure TTaskRunnerSettings.SetoauthScopes(AIndex : Integer; const AValue : TStringArray);
  3060. begin
  3061. If (FoauthScopes=AValue) then exit;
  3062. FoauthScopes:=AValue;
  3063. MarkPropertyChanged(AIndex);
  3064. end;
  3065. Procedure TTaskRunnerSettings.SetbaseUrl(AIndex : Integer; const AValue : String);
  3066. begin
  3067. If (FbaseUrl=AValue) then exit;
  3068. FbaseUrl:=AValue;
  3069. MarkPropertyChanged(AIndex);
  3070. end;
  3071. Procedure TTaskRunnerSettings.SetdataflowApiVersion(AIndex : Integer; const AValue : String);
  3072. begin
  3073. If (FdataflowApiVersion=AValue) then exit;
  3074. FdataflowApiVersion:=AValue;
  3075. MarkPropertyChanged(AIndex);
  3076. end;
  3077. Procedure TTaskRunnerSettings.SetparallelWorkerSettings(AIndex : Integer; const AValue : TWorkerSettings);
  3078. begin
  3079. If (FparallelWorkerSettings=AValue) then exit;
  3080. FparallelWorkerSettings:=AValue;
  3081. MarkPropertyChanged(AIndex);
  3082. end;
  3083. Procedure TTaskRunnerSettings.SetbaseTaskDir(AIndex : Integer; const AValue : String);
  3084. begin
  3085. If (FbaseTaskDir=AValue) then exit;
  3086. FbaseTaskDir:=AValue;
  3087. MarkPropertyChanged(AIndex);
  3088. end;
  3089. Procedure TTaskRunnerSettings.SetcontinueOnException(AIndex : Integer; const AValue : boolean);
  3090. begin
  3091. If (FcontinueOnException=AValue) then exit;
  3092. FcontinueOnException:=AValue;
  3093. MarkPropertyChanged(AIndex);
  3094. end;
  3095. Procedure TTaskRunnerSettings.SetlogToSerialconsole(AIndex : Integer; const AValue : boolean);
  3096. begin
  3097. If (FlogToSerialconsole=AValue) then exit;
  3098. FlogToSerialconsole:=AValue;
  3099. MarkPropertyChanged(AIndex);
  3100. end;
  3101. Procedure TTaskRunnerSettings.Setalsologtostderr(AIndex : Integer; const AValue : boolean);
  3102. begin
  3103. If (Falsologtostderr=AValue) then exit;
  3104. Falsologtostderr:=AValue;
  3105. MarkPropertyChanged(AIndex);
  3106. end;
  3107. Procedure TTaskRunnerSettings.SetlogUploadLocation(AIndex : Integer; const AValue : String);
  3108. begin
  3109. If (FlogUploadLocation=AValue) then exit;
  3110. FlogUploadLocation:=AValue;
  3111. MarkPropertyChanged(AIndex);
  3112. end;
  3113. Procedure TTaskRunnerSettings.SetlogDir(AIndex : Integer; const AValue : String);
  3114. begin
  3115. If (FlogDir=AValue) then exit;
  3116. FlogDir:=AValue;
  3117. MarkPropertyChanged(AIndex);
  3118. end;
  3119. Procedure TTaskRunnerSettings.SettempStoragePrefix(AIndex : Integer; const AValue : String);
  3120. begin
  3121. If (FtempStoragePrefix=AValue) then exit;
  3122. FtempStoragePrefix:=AValue;
  3123. MarkPropertyChanged(AIndex);
  3124. end;
  3125. Procedure TTaskRunnerSettings.SetharnessCommand(AIndex : Integer; const AValue : String);
  3126. begin
  3127. If (FharnessCommand=AValue) then exit;
  3128. FharnessCommand:=AValue;
  3129. MarkPropertyChanged(AIndex);
  3130. end;
  3131. Procedure TTaskRunnerSettings.SetworkflowFileName(AIndex : Integer; const AValue : String);
  3132. begin
  3133. If (FworkflowFileName=AValue) then exit;
  3134. FworkflowFileName:=AValue;
  3135. MarkPropertyChanged(AIndex);
  3136. end;
  3137. Procedure TTaskRunnerSettings.SetcommandlinesFileName(AIndex : Integer; const AValue : String);
  3138. begin
  3139. If (FcommandlinesFileName=AValue) then exit;
  3140. FcommandlinesFileName:=AValue;
  3141. MarkPropertyChanged(AIndex);
  3142. end;
  3143. Procedure TTaskRunnerSettings.SetvmId(AIndex : Integer; const AValue : String);
  3144. begin
  3145. If (FvmId=AValue) then exit;
  3146. FvmId:=AValue;
  3147. MarkPropertyChanged(AIndex);
  3148. end;
  3149. Procedure TTaskRunnerSettings.SetlanguageHint(AIndex : Integer; const AValue : String);
  3150. begin
  3151. If (FlanguageHint=AValue) then exit;
  3152. FlanguageHint:=AValue;
  3153. MarkPropertyChanged(AIndex);
  3154. end;
  3155. Procedure TTaskRunnerSettings.SetstreamingWorkerMainClass(AIndex : Integer; const AValue : String);
  3156. begin
  3157. If (FstreamingWorkerMainClass=AValue) then exit;
  3158. FstreamingWorkerMainClass:=AValue;
  3159. MarkPropertyChanged(AIndex);
  3160. end;
  3161. //2.6.4. bug workaround
  3162. {$IFDEF VER2_6}
  3163. Procedure TTaskRunnerSettings.SetArrayLength(Const AName : String; ALength : Longint);
  3164. begin
  3165. Case AName of
  3166. 'oauthscopes' : SetLength(FoauthScopes,ALength);
  3167. else
  3168. Inherited SetArrayLength(AName,ALength);
  3169. end;
  3170. end;
  3171. {$ENDIF VER2_6}
  3172. { --------------------------------------------------------------------
  3173. TWorkerSettings
  3174. --------------------------------------------------------------------}
  3175. Procedure TWorkerSettings.SetbaseUrl(AIndex : Integer; const AValue : String);
  3176. begin
  3177. If (FbaseUrl=AValue) then exit;
  3178. FbaseUrl:=AValue;
  3179. MarkPropertyChanged(AIndex);
  3180. end;
  3181. Procedure TWorkerSettings.SetreportingEnabled(AIndex : Integer; const AValue : boolean);
  3182. begin
  3183. If (FreportingEnabled=AValue) then exit;
  3184. FreportingEnabled:=AValue;
  3185. MarkPropertyChanged(AIndex);
  3186. end;
  3187. Procedure TWorkerSettings.SetservicePath(AIndex : Integer; const AValue : String);
  3188. begin
  3189. If (FservicePath=AValue) then exit;
  3190. FservicePath:=AValue;
  3191. MarkPropertyChanged(AIndex);
  3192. end;
  3193. Procedure TWorkerSettings.SetshuffleServicePath(AIndex : Integer; const AValue : String);
  3194. begin
  3195. If (FshuffleServicePath=AValue) then exit;
  3196. FshuffleServicePath:=AValue;
  3197. MarkPropertyChanged(AIndex);
  3198. end;
  3199. Procedure TWorkerSettings.SetworkerId(AIndex : Integer; const AValue : String);
  3200. begin
  3201. If (FworkerId=AValue) then exit;
  3202. FworkerId:=AValue;
  3203. MarkPropertyChanged(AIndex);
  3204. end;
  3205. Procedure TWorkerSettings.SettempStoragePrefix(AIndex : Integer; const AValue : String);
  3206. begin
  3207. If (FtempStoragePrefix=AValue) then exit;
  3208. FtempStoragePrefix:=AValue;
  3209. MarkPropertyChanged(AIndex);
  3210. end;
  3211. { --------------------------------------------------------------------
  3212. TDisk
  3213. --------------------------------------------------------------------}
  3214. Procedure TDisk.SetsizeGb(AIndex : Integer; const AValue : integer);
  3215. begin
  3216. If (FsizeGb=AValue) then exit;
  3217. FsizeGb:=AValue;
  3218. MarkPropertyChanged(AIndex);
  3219. end;
  3220. Procedure TDisk.SetdiskType(AIndex : Integer; const AValue : String);
  3221. begin
  3222. If (FdiskType=AValue) then exit;
  3223. FdiskType:=AValue;
  3224. MarkPropertyChanged(AIndex);
  3225. end;
  3226. Procedure TDisk.SetmountPoint(AIndex : Integer; const AValue : String);
  3227. begin
  3228. If (FmountPoint=AValue) then exit;
  3229. FmountPoint:=AValue;
  3230. MarkPropertyChanged(AIndex);
  3231. end;
  3232. { --------------------------------------------------------------------
  3233. TAutoscalingSettings
  3234. --------------------------------------------------------------------}
  3235. Procedure TAutoscalingSettings.Setalgorithm(AIndex : Integer; const AValue : String);
  3236. begin
  3237. If (Falgorithm=AValue) then exit;
  3238. Falgorithm:=AValue;
  3239. MarkPropertyChanged(AIndex);
  3240. end;
  3241. Procedure TAutoscalingSettings.SetmaxNumWorkers(AIndex : Integer; const AValue : integer);
  3242. begin
  3243. If (FmaxNumWorkers=AValue) then exit;
  3244. FmaxNumWorkers:=AValue;
  3245. MarkPropertyChanged(AIndex);
  3246. end;
  3247. { --------------------------------------------------------------------
  3248. TStepTypeproperties
  3249. --------------------------------------------------------------------}
  3250. Class Function TStepTypeproperties.AllowAdditionalProperties : Boolean;
  3251. begin
  3252. Result:=True;
  3253. end;
  3254. { --------------------------------------------------------------------
  3255. TStep
  3256. --------------------------------------------------------------------}
  3257. Procedure TStep.Setkind(AIndex : Integer; const AValue : String);
  3258. begin
  3259. If (Fkind=AValue) then exit;
  3260. Fkind:=AValue;
  3261. MarkPropertyChanged(AIndex);
  3262. end;
  3263. Procedure TStep.Setname(AIndex : Integer; const AValue : String);
  3264. begin
  3265. If (Fname=AValue) then exit;
  3266. Fname:=AValue;
  3267. MarkPropertyChanged(AIndex);
  3268. end;
  3269. Procedure TStep.Setproperties(AIndex : Integer; const AValue : TStepTypeproperties);
  3270. begin
  3271. If (Fproperties=AValue) then exit;
  3272. Fproperties:=AValue;
  3273. MarkPropertyChanged(AIndex);
  3274. end;
  3275. { --------------------------------------------------------------------
  3276. TJobExecutionInfoTypestages
  3277. --------------------------------------------------------------------}
  3278. Class Function TJobExecutionInfoTypestages.AllowAdditionalProperties : Boolean;
  3279. begin
  3280. Result:=True;
  3281. end;
  3282. { --------------------------------------------------------------------
  3283. TJobExecutionInfo
  3284. --------------------------------------------------------------------}
  3285. Procedure TJobExecutionInfo.Setstages(AIndex : Integer; const AValue : TJobExecutionInfoTypestages);
  3286. begin
  3287. If (Fstages=AValue) then exit;
  3288. Fstages:=AValue;
  3289. MarkPropertyChanged(AIndex);
  3290. end;
  3291. { --------------------------------------------------------------------
  3292. TJobExecutionStageInfo
  3293. --------------------------------------------------------------------}
  3294. Procedure TJobExecutionStageInfo.SetstepName(AIndex : Integer; const AValue : TStringArray);
  3295. begin
  3296. If (FstepName=AValue) then exit;
  3297. FstepName:=AValue;
  3298. MarkPropertyChanged(AIndex);
  3299. end;
  3300. //2.6.4. bug workaround
  3301. {$IFDEF VER2_6}
  3302. Procedure TJobExecutionStageInfo.SetArrayLength(Const AName : String; ALength : Longint);
  3303. begin
  3304. Case AName of
  3305. 'stepname' : SetLength(FstepName,ALength);
  3306. else
  3307. Inherited SetArrayLength(AName,ALength);
  3308. end;
  3309. end;
  3310. {$ENDIF VER2_6}
  3311. { --------------------------------------------------------------------
  3312. TListJobsResponse
  3313. --------------------------------------------------------------------}
  3314. Procedure TListJobsResponse.Setjobs(AIndex : Integer; const AValue : TListJobsResponseTypejobsArray);
  3315. begin
  3316. If (Fjobs=AValue) then exit;
  3317. Fjobs:=AValue;
  3318. MarkPropertyChanged(AIndex);
  3319. end;
  3320. Procedure TListJobsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  3321. begin
  3322. If (FnextPageToken=AValue) then exit;
  3323. FnextPageToken:=AValue;
  3324. MarkPropertyChanged(AIndex);
  3325. end;
  3326. //2.6.4. bug workaround
  3327. {$IFDEF VER2_6}
  3328. Procedure TListJobsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  3329. begin
  3330. Case AName of
  3331. 'jobs' : SetLength(Fjobs,ALength);
  3332. else
  3333. Inherited SetArrayLength(AName,ALength);
  3334. end;
  3335. end;
  3336. {$ENDIF VER2_6}
  3337. { --------------------------------------------------------------------
  3338. TListJobMessagesResponse
  3339. --------------------------------------------------------------------}
  3340. Procedure TListJobMessagesResponse.SetjobMessages(AIndex : Integer; const AValue : TListJobMessagesResponseTypejobMessagesArray);
  3341. begin
  3342. If (FjobMessages=AValue) then exit;
  3343. FjobMessages:=AValue;
  3344. MarkPropertyChanged(AIndex);
  3345. end;
  3346. Procedure TListJobMessagesResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  3347. begin
  3348. If (FnextPageToken=AValue) then exit;
  3349. FnextPageToken:=AValue;
  3350. MarkPropertyChanged(AIndex);
  3351. end;
  3352. //2.6.4. bug workaround
  3353. {$IFDEF VER2_6}
  3354. Procedure TListJobMessagesResponse.SetArrayLength(Const AName : String; ALength : Longint);
  3355. begin
  3356. Case AName of
  3357. 'jobmessages' : SetLength(FjobMessages,ALength);
  3358. else
  3359. Inherited SetArrayLength(AName,ALength);
  3360. end;
  3361. end;
  3362. {$ENDIF VER2_6}
  3363. { --------------------------------------------------------------------
  3364. TJobMessage
  3365. --------------------------------------------------------------------}
  3366. Procedure TJobMessage.Setid(AIndex : Integer; const AValue : String);
  3367. begin
  3368. If (Fid=AValue) then exit;
  3369. Fid:=AValue;
  3370. MarkPropertyChanged(AIndex);
  3371. end;
  3372. Procedure TJobMessage.Settime(AIndex : Integer; const AValue : String);
  3373. begin
  3374. If (Ftime=AValue) then exit;
  3375. Ftime:=AValue;
  3376. MarkPropertyChanged(AIndex);
  3377. end;
  3378. Procedure TJobMessage.SetmessageText(AIndex : Integer; const AValue : String);
  3379. begin
  3380. If (FmessageText=AValue) then exit;
  3381. FmessageText:=AValue;
  3382. MarkPropertyChanged(AIndex);
  3383. end;
  3384. Procedure TJobMessage.SetmessageImportance(AIndex : Integer; const AValue : String);
  3385. begin
  3386. If (FmessageImportance=AValue) then exit;
  3387. FmessageImportance:=AValue;
  3388. MarkPropertyChanged(AIndex);
  3389. end;
  3390. { --------------------------------------------------------------------
  3391. TJobMetrics
  3392. --------------------------------------------------------------------}
  3393. Procedure TJobMetrics.SetmetricTime(AIndex : Integer; const AValue : String);
  3394. begin
  3395. If (FmetricTime=AValue) then exit;
  3396. FmetricTime:=AValue;
  3397. MarkPropertyChanged(AIndex);
  3398. end;
  3399. Procedure TJobMetrics.Setmetrics(AIndex : Integer; const AValue : TJobMetricsTypemetricsArray);
  3400. begin
  3401. If (Fmetrics=AValue) then exit;
  3402. Fmetrics:=AValue;
  3403. MarkPropertyChanged(AIndex);
  3404. end;
  3405. //2.6.4. bug workaround
  3406. {$IFDEF VER2_6}
  3407. Procedure TJobMetrics.SetArrayLength(Const AName : String; ALength : Longint);
  3408. begin
  3409. Case AName of
  3410. 'metrics' : SetLength(Fmetrics,ALength);
  3411. else
  3412. Inherited SetArrayLength(AName,ALength);
  3413. end;
  3414. end;
  3415. {$ENDIF VER2_6}
  3416. { --------------------------------------------------------------------
  3417. TMetricUpdate
  3418. --------------------------------------------------------------------}
  3419. Procedure TMetricUpdate.Setname(AIndex : Integer; const AValue : TMetricStructuredName);
  3420. begin
  3421. If (Fname=AValue) then exit;
  3422. Fname:=AValue;
  3423. MarkPropertyChanged(AIndex);
  3424. end;
  3425. Procedure TMetricUpdate.Setkind(AIndex : Integer; const AValue : String);
  3426. begin
  3427. If (Fkind=AValue) then exit;
  3428. Fkind:=AValue;
  3429. MarkPropertyChanged(AIndex);
  3430. end;
  3431. Procedure TMetricUpdate.Setcumulative(AIndex : Integer; const AValue : boolean);
  3432. begin
  3433. If (Fcumulative=AValue) then exit;
  3434. Fcumulative:=AValue;
  3435. MarkPropertyChanged(AIndex);
  3436. end;
  3437. Procedure TMetricUpdate.Setscalar(AIndex : Integer; const AValue : TJSONSchema);
  3438. begin
  3439. If (Fscalar=AValue) then exit;
  3440. Fscalar:=AValue;
  3441. MarkPropertyChanged(AIndex);
  3442. end;
  3443. Procedure TMetricUpdate.SetmeanSum(AIndex : Integer; const AValue : TJSONSchema);
  3444. begin
  3445. If (FmeanSum=AValue) then exit;
  3446. FmeanSum:=AValue;
  3447. MarkPropertyChanged(AIndex);
  3448. end;
  3449. Procedure TMetricUpdate.SetmeanCount(AIndex : Integer; const AValue : TJSONSchema);
  3450. begin
  3451. If (FmeanCount=AValue) then exit;
  3452. FmeanCount:=AValue;
  3453. MarkPropertyChanged(AIndex);
  3454. end;
  3455. Procedure TMetricUpdate.Set_set(AIndex : Integer; const AValue : TJSONSchema);
  3456. begin
  3457. If (F_set=AValue) then exit;
  3458. F_set:=AValue;
  3459. MarkPropertyChanged(AIndex);
  3460. end;
  3461. Procedure TMetricUpdate.Setinternal(AIndex : Integer; const AValue : TJSONSchema);
  3462. begin
  3463. If (Finternal=AValue) then exit;
  3464. Finternal:=AValue;
  3465. MarkPropertyChanged(AIndex);
  3466. end;
  3467. Procedure TMetricUpdate.SetupdateTime(AIndex : Integer; const AValue : String);
  3468. begin
  3469. If (FupdateTime=AValue) then exit;
  3470. FupdateTime:=AValue;
  3471. MarkPropertyChanged(AIndex);
  3472. end;
  3473. Class Function TMetricUpdate.ExportPropertyName(Const AName : String) :String;
  3474. begin
  3475. Case AName of
  3476. '_set' : Result:='set';
  3477. else
  3478. Result:=Inherited ExportPropertyName(AName);
  3479. end;
  3480. end;
  3481. { --------------------------------------------------------------------
  3482. TMetricStructuredNameTypecontext
  3483. --------------------------------------------------------------------}
  3484. Class Function TMetricStructuredNameTypecontext.AllowAdditionalProperties : Boolean;
  3485. begin
  3486. Result:=True;
  3487. end;
  3488. { --------------------------------------------------------------------
  3489. TMetricStructuredName
  3490. --------------------------------------------------------------------}
  3491. Procedure TMetricStructuredName.Setorigin(AIndex : Integer; const AValue : String);
  3492. begin
  3493. If (Forigin=AValue) then exit;
  3494. Forigin:=AValue;
  3495. MarkPropertyChanged(AIndex);
  3496. end;
  3497. Procedure TMetricStructuredName.Setname(AIndex : Integer; const AValue : String);
  3498. begin
  3499. If (Fname=AValue) then exit;
  3500. Fname:=AValue;
  3501. MarkPropertyChanged(AIndex);
  3502. end;
  3503. Procedure TMetricStructuredName.Setcontext(AIndex : Integer; const AValue : TMetricStructuredNameTypecontext);
  3504. begin
  3505. If (Fcontext=AValue) then exit;
  3506. Fcontext:=AValue;
  3507. MarkPropertyChanged(AIndex);
  3508. end;
  3509. { --------------------------------------------------------------------
  3510. TReportWorkItemStatusRequest
  3511. --------------------------------------------------------------------}
  3512. Procedure TReportWorkItemStatusRequest.SetworkerId(AIndex : Integer; const AValue : String);
  3513. begin
  3514. If (FworkerId=AValue) then exit;
  3515. FworkerId:=AValue;
  3516. MarkPropertyChanged(AIndex);
  3517. end;
  3518. Procedure TReportWorkItemStatusRequest.SetworkItemStatuses(AIndex : Integer; const AValue : TReportWorkItemStatusRequestTypeworkItemStatusesArray);
  3519. begin
  3520. If (FworkItemStatuses=AValue) then exit;
  3521. FworkItemStatuses:=AValue;
  3522. MarkPropertyChanged(AIndex);
  3523. end;
  3524. Procedure TReportWorkItemStatusRequest.SetcurrentWorkerTime(AIndex : Integer; const AValue : String);
  3525. begin
  3526. If (FcurrentWorkerTime=AValue) then exit;
  3527. FcurrentWorkerTime:=AValue;
  3528. MarkPropertyChanged(AIndex);
  3529. end;
  3530. //2.6.4. bug workaround
  3531. {$IFDEF VER2_6}
  3532. Procedure TReportWorkItemStatusRequest.SetArrayLength(Const AName : String; ALength : Longint);
  3533. begin
  3534. Case AName of
  3535. 'workitemstatuses' : SetLength(FworkItemStatuses,ALength);
  3536. else
  3537. Inherited SetArrayLength(AName,ALength);
  3538. end;
  3539. end;
  3540. {$ENDIF VER2_6}
  3541. { --------------------------------------------------------------------
  3542. TWorkItemStatus
  3543. --------------------------------------------------------------------}
  3544. Procedure TWorkItemStatus.SetworkItemId(AIndex : Integer; const AValue : String);
  3545. begin
  3546. If (FworkItemId=AValue) then exit;
  3547. FworkItemId:=AValue;
  3548. MarkPropertyChanged(AIndex);
  3549. end;
  3550. Procedure TWorkItemStatus.SetreportIndex(AIndex : Integer; const AValue : String);
  3551. begin
  3552. If (FreportIndex=AValue) then exit;
  3553. FreportIndex:=AValue;
  3554. MarkPropertyChanged(AIndex);
  3555. end;
  3556. Procedure TWorkItemStatus.SetrequestedLeaseDuration(AIndex : Integer; const AValue : String);
  3557. begin
  3558. If (FrequestedLeaseDuration=AValue) then exit;
  3559. FrequestedLeaseDuration:=AValue;
  3560. MarkPropertyChanged(AIndex);
  3561. end;
  3562. Procedure TWorkItemStatus.Setcompleted(AIndex : Integer; const AValue : boolean);
  3563. begin
  3564. If (Fcompleted=AValue) then exit;
  3565. Fcompleted:=AValue;
  3566. MarkPropertyChanged(AIndex);
  3567. end;
  3568. Procedure TWorkItemStatus.Seterrors(AIndex : Integer; const AValue : TWorkItemStatusTypeerrorsArray);
  3569. begin
  3570. If (Ferrors=AValue) then exit;
  3571. Ferrors:=AValue;
  3572. MarkPropertyChanged(AIndex);
  3573. end;
  3574. Procedure TWorkItemStatus.SetmetricUpdates(AIndex : Integer; const AValue : TWorkItemStatusTypemetricUpdatesArray);
  3575. begin
  3576. If (FmetricUpdates=AValue) then exit;
  3577. FmetricUpdates:=AValue;
  3578. MarkPropertyChanged(AIndex);
  3579. end;
  3580. Procedure TWorkItemStatus.SetreportedProgress(AIndex : Integer; const AValue : TApproximateReportedProgress);
  3581. begin
  3582. If (FreportedProgress=AValue) then exit;
  3583. FreportedProgress:=AValue;
  3584. MarkPropertyChanged(AIndex);
  3585. end;
  3586. Procedure TWorkItemStatus.SetstopPosition(AIndex : Integer; const AValue : TPosition);
  3587. begin
  3588. If (FstopPosition=AValue) then exit;
  3589. FstopPosition:=AValue;
  3590. MarkPropertyChanged(AIndex);
  3591. end;
  3592. Procedure TWorkItemStatus.SetdynamicSourceSplit(AIndex : Integer; const AValue : TDynamicSourceSplit);
  3593. begin
  3594. If (FdynamicSourceSplit=AValue) then exit;
  3595. FdynamicSourceSplit:=AValue;
  3596. MarkPropertyChanged(AIndex);
  3597. end;
  3598. Procedure TWorkItemStatus.SetsourceOperationResponse(AIndex : Integer; const AValue : TSourceOperationResponse);
  3599. begin
  3600. If (FsourceOperationResponse=AValue) then exit;
  3601. FsourceOperationResponse:=AValue;
  3602. MarkPropertyChanged(AIndex);
  3603. end;
  3604. Procedure TWorkItemStatus.SetsourceFork(AIndex : Integer; const AValue : TSourceFork);
  3605. begin
  3606. If (FsourceFork=AValue) then exit;
  3607. FsourceFork:=AValue;
  3608. MarkPropertyChanged(AIndex);
  3609. end;
  3610. Procedure TWorkItemStatus.Setprogress(AIndex : Integer; const AValue : TApproximateProgress);
  3611. begin
  3612. If (Fprogress=AValue) then exit;
  3613. Fprogress:=AValue;
  3614. MarkPropertyChanged(AIndex);
  3615. end;
  3616. //2.6.4. bug workaround
  3617. {$IFDEF VER2_6}
  3618. Procedure TWorkItemStatus.SetArrayLength(Const AName : String; ALength : Longint);
  3619. begin
  3620. Case AName of
  3621. 'errors' : SetLength(Ferrors,ALength);
  3622. 'metricupdates' : SetLength(FmetricUpdates,ALength);
  3623. else
  3624. Inherited SetArrayLength(AName,ALength);
  3625. end;
  3626. end;
  3627. {$ENDIF VER2_6}
  3628. { --------------------------------------------------------------------
  3629. TStatusTypedetailsItem
  3630. --------------------------------------------------------------------}
  3631. Class Function TStatusTypedetailsItem.AllowAdditionalProperties : Boolean;
  3632. begin
  3633. Result:=True;
  3634. end;
  3635. { --------------------------------------------------------------------
  3636. TStatus
  3637. --------------------------------------------------------------------}
  3638. Procedure TStatus.Setcode(AIndex : Integer; const AValue : integer);
  3639. begin
  3640. If (Fcode=AValue) then exit;
  3641. Fcode:=AValue;
  3642. MarkPropertyChanged(AIndex);
  3643. end;
  3644. Procedure TStatus.Setmessage(AIndex : Integer; const AValue : String);
  3645. begin
  3646. If (Fmessage=AValue) then exit;
  3647. Fmessage:=AValue;
  3648. MarkPropertyChanged(AIndex);
  3649. end;
  3650. Procedure TStatus.Setdetails(AIndex : Integer; const AValue : TStatusTypedetailsArray);
  3651. begin
  3652. If (Fdetails=AValue) then exit;
  3653. Fdetails:=AValue;
  3654. MarkPropertyChanged(AIndex);
  3655. end;
  3656. //2.6.4. bug workaround
  3657. {$IFDEF VER2_6}
  3658. Procedure TStatus.SetArrayLength(Const AName : String; ALength : Longint);
  3659. begin
  3660. Case AName of
  3661. 'details' : SetLength(Fdetails,ALength);
  3662. else
  3663. Inherited SetArrayLength(AName,ALength);
  3664. end;
  3665. end;
  3666. {$ENDIF VER2_6}
  3667. { --------------------------------------------------------------------
  3668. TApproximateReportedProgress
  3669. --------------------------------------------------------------------}
  3670. Procedure TApproximateReportedProgress.Setposition(AIndex : Integer; const AValue : TPosition);
  3671. begin
  3672. If (Fposition=AValue) then exit;
  3673. Fposition:=AValue;
  3674. MarkPropertyChanged(AIndex);
  3675. end;
  3676. Procedure TApproximateReportedProgress.SetfractionConsumed(AIndex : Integer; const AValue : double);
  3677. begin
  3678. If (FfractionConsumed=AValue) then exit;
  3679. FfractionConsumed:=AValue;
  3680. MarkPropertyChanged(AIndex);
  3681. end;
  3682. Procedure TApproximateReportedProgress.SetremainingParallelism(AIndex : Integer; const AValue : TReportedParallelism);
  3683. begin
  3684. If (FremainingParallelism=AValue) then exit;
  3685. FremainingParallelism:=AValue;
  3686. MarkPropertyChanged(AIndex);
  3687. end;
  3688. Procedure TApproximateReportedProgress.SetconsumedParallelism(AIndex : Integer; const AValue : TReportedParallelism);
  3689. begin
  3690. If (FconsumedParallelism=AValue) then exit;
  3691. FconsumedParallelism:=AValue;
  3692. MarkPropertyChanged(AIndex);
  3693. end;
  3694. { --------------------------------------------------------------------
  3695. TPosition
  3696. --------------------------------------------------------------------}
  3697. Procedure TPosition.Set_end(AIndex : Integer; const AValue : boolean);
  3698. begin
  3699. If (F_end=AValue) then exit;
  3700. F_end:=AValue;
  3701. MarkPropertyChanged(AIndex);
  3702. end;
  3703. Procedure TPosition.Setkey(AIndex : Integer; const AValue : String);
  3704. begin
  3705. If (Fkey=AValue) then exit;
  3706. Fkey:=AValue;
  3707. MarkPropertyChanged(AIndex);
  3708. end;
  3709. Procedure TPosition.SetbyteOffset(AIndex : Integer; const AValue : String);
  3710. begin
  3711. If (FbyteOffset=AValue) then exit;
  3712. FbyteOffset:=AValue;
  3713. MarkPropertyChanged(AIndex);
  3714. end;
  3715. Procedure TPosition.SetrecordIndex(AIndex : Integer; const AValue : String);
  3716. begin
  3717. If (FrecordIndex=AValue) then exit;
  3718. FrecordIndex:=AValue;
  3719. MarkPropertyChanged(AIndex);
  3720. end;
  3721. Procedure TPosition.SetshufflePosition(AIndex : Integer; const AValue : String);
  3722. begin
  3723. If (FshufflePosition=AValue) then exit;
  3724. FshufflePosition:=AValue;
  3725. MarkPropertyChanged(AIndex);
  3726. end;
  3727. Procedure TPosition.SetconcatPosition(AIndex : Integer; const AValue : TConcatPosition);
  3728. begin
  3729. If (FconcatPosition=AValue) then exit;
  3730. FconcatPosition:=AValue;
  3731. MarkPropertyChanged(AIndex);
  3732. end;
  3733. Class Function TPosition.ExportPropertyName(Const AName : String) :String;
  3734. begin
  3735. Case AName of
  3736. '_end' : Result:='end';
  3737. else
  3738. Result:=Inherited ExportPropertyName(AName);
  3739. end;
  3740. end;
  3741. { --------------------------------------------------------------------
  3742. TConcatPosition
  3743. --------------------------------------------------------------------}
  3744. Procedure TConcatPosition.Setindex(AIndex : Integer; const AValue : integer);
  3745. begin
  3746. If (Findex=AValue) then exit;
  3747. Findex:=AValue;
  3748. MarkPropertyChanged(AIndex);
  3749. end;
  3750. Procedure TConcatPosition.Setposition(AIndex : Integer; const AValue : TPosition);
  3751. begin
  3752. If (Fposition=AValue) then exit;
  3753. Fposition:=AValue;
  3754. MarkPropertyChanged(AIndex);
  3755. end;
  3756. { --------------------------------------------------------------------
  3757. TReportedParallelism
  3758. --------------------------------------------------------------------}
  3759. Procedure TReportedParallelism.SetisInfinite(AIndex : Integer; const AValue : boolean);
  3760. begin
  3761. If (FisInfinite=AValue) then exit;
  3762. FisInfinite:=AValue;
  3763. MarkPropertyChanged(AIndex);
  3764. end;
  3765. Procedure TReportedParallelism.Setvalue(AIndex : Integer; const AValue : double);
  3766. begin
  3767. If (Fvalue=AValue) then exit;
  3768. Fvalue:=AValue;
  3769. MarkPropertyChanged(AIndex);
  3770. end;
  3771. { --------------------------------------------------------------------
  3772. TDynamicSourceSplit
  3773. --------------------------------------------------------------------}
  3774. Procedure TDynamicSourceSplit.Setprimary(AIndex : Integer; const AValue : TDerivedSource);
  3775. begin
  3776. If (Fprimary=AValue) then exit;
  3777. Fprimary:=AValue;
  3778. MarkPropertyChanged(AIndex);
  3779. end;
  3780. Procedure TDynamicSourceSplit.Setresidual(AIndex : Integer; const AValue : TDerivedSource);
  3781. begin
  3782. If (Fresidual=AValue) then exit;
  3783. Fresidual:=AValue;
  3784. MarkPropertyChanged(AIndex);
  3785. end;
  3786. { --------------------------------------------------------------------
  3787. TDerivedSource
  3788. --------------------------------------------------------------------}
  3789. Procedure TDerivedSource.Setsource(AIndex : Integer; const AValue : TSource);
  3790. begin
  3791. If (Fsource=AValue) then exit;
  3792. Fsource:=AValue;
  3793. MarkPropertyChanged(AIndex);
  3794. end;
  3795. Procedure TDerivedSource.SetderivationMode(AIndex : Integer; const AValue : String);
  3796. begin
  3797. If (FderivationMode=AValue) then exit;
  3798. FderivationMode:=AValue;
  3799. MarkPropertyChanged(AIndex);
  3800. end;
  3801. { --------------------------------------------------------------------
  3802. TSourceTypespec
  3803. --------------------------------------------------------------------}
  3804. Class Function TSourceTypespec.AllowAdditionalProperties : Boolean;
  3805. begin
  3806. Result:=True;
  3807. end;
  3808. { --------------------------------------------------------------------
  3809. TSourceTypecodec
  3810. --------------------------------------------------------------------}
  3811. Class Function TSourceTypecodec.AllowAdditionalProperties : Boolean;
  3812. begin
  3813. Result:=True;
  3814. end;
  3815. { --------------------------------------------------------------------
  3816. TSourceTypebaseSpecsItem
  3817. --------------------------------------------------------------------}
  3818. Class Function TSourceTypebaseSpecsItem.AllowAdditionalProperties : Boolean;
  3819. begin
  3820. Result:=True;
  3821. end;
  3822. { --------------------------------------------------------------------
  3823. TSource
  3824. --------------------------------------------------------------------}
  3825. Procedure TSource.Setspec(AIndex : Integer; const AValue : TSourceTypespec);
  3826. begin
  3827. If (Fspec=AValue) then exit;
  3828. Fspec:=AValue;
  3829. MarkPropertyChanged(AIndex);
  3830. end;
  3831. Procedure TSource.Setcodec(AIndex : Integer; const AValue : TSourceTypecodec);
  3832. begin
  3833. If (Fcodec=AValue) then exit;
  3834. Fcodec:=AValue;
  3835. MarkPropertyChanged(AIndex);
  3836. end;
  3837. Procedure TSource.SetbaseSpecs(AIndex : Integer; const AValue : TSourceTypebaseSpecsArray);
  3838. begin
  3839. If (FbaseSpecs=AValue) then exit;
  3840. FbaseSpecs:=AValue;
  3841. MarkPropertyChanged(AIndex);
  3842. end;
  3843. Procedure TSource.Setmetadata(AIndex : Integer; const AValue : TSourceMetadata);
  3844. begin
  3845. If (Fmetadata=AValue) then exit;
  3846. Fmetadata:=AValue;
  3847. MarkPropertyChanged(AIndex);
  3848. end;
  3849. Procedure TSource.SetdoesNotNeedSplitting(AIndex : Integer; const AValue : boolean);
  3850. begin
  3851. If (FdoesNotNeedSplitting=AValue) then exit;
  3852. FdoesNotNeedSplitting:=AValue;
  3853. MarkPropertyChanged(AIndex);
  3854. end;
  3855. //2.6.4. bug workaround
  3856. {$IFDEF VER2_6}
  3857. Procedure TSource.SetArrayLength(Const AName : String; ALength : Longint);
  3858. begin
  3859. Case AName of
  3860. 'basespecs' : SetLength(FbaseSpecs,ALength);
  3861. else
  3862. Inherited SetArrayLength(AName,ALength);
  3863. end;
  3864. end;
  3865. {$ENDIF VER2_6}
  3866. { --------------------------------------------------------------------
  3867. TSourceMetadata
  3868. --------------------------------------------------------------------}
  3869. Procedure TSourceMetadata.SetproducesSortedKeys(AIndex : Integer; const AValue : boolean);
  3870. begin
  3871. If (FproducesSortedKeys=AValue) then exit;
  3872. FproducesSortedKeys:=AValue;
  3873. MarkPropertyChanged(AIndex);
  3874. end;
  3875. Procedure TSourceMetadata.Setinfinite(AIndex : Integer; const AValue : boolean);
  3876. begin
  3877. If (Finfinite=AValue) then exit;
  3878. Finfinite:=AValue;
  3879. MarkPropertyChanged(AIndex);
  3880. end;
  3881. Procedure TSourceMetadata.SetestimatedSizeBytes(AIndex : Integer; const AValue : String);
  3882. begin
  3883. If (FestimatedSizeBytes=AValue) then exit;
  3884. FestimatedSizeBytes:=AValue;
  3885. MarkPropertyChanged(AIndex);
  3886. end;
  3887. { --------------------------------------------------------------------
  3888. TSourceOperationResponse
  3889. --------------------------------------------------------------------}
  3890. Procedure TSourceOperationResponse.Setsplit(AIndex : Integer; const AValue : TSourceSplitResponse);
  3891. begin
  3892. If (Fsplit=AValue) then exit;
  3893. Fsplit:=AValue;
  3894. MarkPropertyChanged(AIndex);
  3895. end;
  3896. Procedure TSourceOperationResponse.SetgetMetadata(AIndex : Integer; const AValue : TSourceGetMetadataResponse);
  3897. begin
  3898. If (FgetMetadata=AValue) then exit;
  3899. FgetMetadata:=AValue;
  3900. MarkPropertyChanged(AIndex);
  3901. end;
  3902. { --------------------------------------------------------------------
  3903. TSourceSplitResponse
  3904. --------------------------------------------------------------------}
  3905. Procedure TSourceSplitResponse.Setoutcome(AIndex : Integer; const AValue : String);
  3906. begin
  3907. If (Foutcome=AValue) then exit;
  3908. Foutcome:=AValue;
  3909. MarkPropertyChanged(AIndex);
  3910. end;
  3911. Procedure TSourceSplitResponse.Setbundles(AIndex : Integer; const AValue : TSourceSplitResponseTypebundlesArray);
  3912. begin
  3913. If (Fbundles=AValue) then exit;
  3914. Fbundles:=AValue;
  3915. MarkPropertyChanged(AIndex);
  3916. end;
  3917. Procedure TSourceSplitResponse.Setshards(AIndex : Integer; const AValue : TSourceSplitResponseTypeshardsArray);
  3918. begin
  3919. If (Fshards=AValue) then exit;
  3920. Fshards:=AValue;
  3921. MarkPropertyChanged(AIndex);
  3922. end;
  3923. //2.6.4. bug workaround
  3924. {$IFDEF VER2_6}
  3925. Procedure TSourceSplitResponse.SetArrayLength(Const AName : String; ALength : Longint);
  3926. begin
  3927. Case AName of
  3928. 'bundles' : SetLength(Fbundles,ALength);
  3929. 'shards' : SetLength(Fshards,ALength);
  3930. else
  3931. Inherited SetArrayLength(AName,ALength);
  3932. end;
  3933. end;
  3934. {$ENDIF VER2_6}
  3935. { --------------------------------------------------------------------
  3936. TSourceSplitShard
  3937. --------------------------------------------------------------------}
  3938. Procedure TSourceSplitShard.Setsource(AIndex : Integer; const AValue : TSource);
  3939. begin
  3940. If (Fsource=AValue) then exit;
  3941. Fsource:=AValue;
  3942. MarkPropertyChanged(AIndex);
  3943. end;
  3944. Procedure TSourceSplitShard.SetderivationMode(AIndex : Integer; const AValue : String);
  3945. begin
  3946. If (FderivationMode=AValue) then exit;
  3947. FderivationMode:=AValue;
  3948. MarkPropertyChanged(AIndex);
  3949. end;
  3950. { --------------------------------------------------------------------
  3951. TSourceGetMetadataResponse
  3952. --------------------------------------------------------------------}
  3953. Procedure TSourceGetMetadataResponse.Setmetadata(AIndex : Integer; const AValue : TSourceMetadata);
  3954. begin
  3955. If (Fmetadata=AValue) then exit;
  3956. Fmetadata:=AValue;
  3957. MarkPropertyChanged(AIndex);
  3958. end;
  3959. { --------------------------------------------------------------------
  3960. TSourceFork
  3961. --------------------------------------------------------------------}
  3962. Procedure TSourceFork.Setprimary(AIndex : Integer; const AValue : TSourceSplitShard);
  3963. begin
  3964. If (Fprimary=AValue) then exit;
  3965. Fprimary:=AValue;
  3966. MarkPropertyChanged(AIndex);
  3967. end;
  3968. Procedure TSourceFork.Setresidual(AIndex : Integer; const AValue : TSourceSplitShard);
  3969. begin
  3970. If (Fresidual=AValue) then exit;
  3971. Fresidual:=AValue;
  3972. MarkPropertyChanged(AIndex);
  3973. end;
  3974. Procedure TSourceFork.SetprimarySource(AIndex : Integer; const AValue : TDerivedSource);
  3975. begin
  3976. If (FprimarySource=AValue) then exit;
  3977. FprimarySource:=AValue;
  3978. MarkPropertyChanged(AIndex);
  3979. end;
  3980. Procedure TSourceFork.SetresidualSource(AIndex : Integer; const AValue : TDerivedSource);
  3981. begin
  3982. If (FresidualSource=AValue) then exit;
  3983. FresidualSource:=AValue;
  3984. MarkPropertyChanged(AIndex);
  3985. end;
  3986. { --------------------------------------------------------------------
  3987. TApproximateProgress
  3988. --------------------------------------------------------------------}
  3989. Procedure TApproximateProgress.Setposition(AIndex : Integer; const AValue : TPosition);
  3990. begin
  3991. If (Fposition=AValue) then exit;
  3992. Fposition:=AValue;
  3993. MarkPropertyChanged(AIndex);
  3994. end;
  3995. Procedure TApproximateProgress.SetpercentComplete(AIndex : Integer; const AValue : integer);
  3996. begin
  3997. If (FpercentComplete=AValue) then exit;
  3998. FpercentComplete:=AValue;
  3999. MarkPropertyChanged(AIndex);
  4000. end;
  4001. Procedure TApproximateProgress.SetremainingTime(AIndex : Integer; const AValue : String);
  4002. begin
  4003. If (FremainingTime=AValue) then exit;
  4004. FremainingTime:=AValue;
  4005. MarkPropertyChanged(AIndex);
  4006. end;
  4007. { --------------------------------------------------------------------
  4008. TReportWorkItemStatusResponse
  4009. --------------------------------------------------------------------}
  4010. Procedure TReportWorkItemStatusResponse.SetworkItemServiceStates(AIndex : Integer; const AValue : TReportWorkItemStatusResponseTypeworkItemServiceStatesArray);
  4011. begin
  4012. If (FworkItemServiceStates=AValue) then exit;
  4013. FworkItemServiceStates:=AValue;
  4014. MarkPropertyChanged(AIndex);
  4015. end;
  4016. //2.6.4. bug workaround
  4017. {$IFDEF VER2_6}
  4018. Procedure TReportWorkItemStatusResponse.SetArrayLength(Const AName : String; ALength : Longint);
  4019. begin
  4020. Case AName of
  4021. 'workitemservicestates' : SetLength(FworkItemServiceStates,ALength);
  4022. else
  4023. Inherited SetArrayLength(AName,ALength);
  4024. end;
  4025. end;
  4026. {$ENDIF VER2_6}
  4027. { --------------------------------------------------------------------
  4028. TWorkItemServiceStateTypeharnessData
  4029. --------------------------------------------------------------------}
  4030. Class Function TWorkItemServiceStateTypeharnessData.AllowAdditionalProperties : Boolean;
  4031. begin
  4032. Result:=True;
  4033. end;
  4034. { --------------------------------------------------------------------
  4035. TWorkItemServiceState
  4036. --------------------------------------------------------------------}
  4037. Procedure TWorkItemServiceState.SetsplitRequest(AIndex : Integer; const AValue : TApproximateSplitRequest);
  4038. begin
  4039. If (FsplitRequest=AValue) then exit;
  4040. FsplitRequest:=AValue;
  4041. MarkPropertyChanged(AIndex);
  4042. end;
  4043. Procedure TWorkItemServiceState.SetleaseExpireTime(AIndex : Integer; const AValue : String);
  4044. begin
  4045. If (FleaseExpireTime=AValue) then exit;
  4046. FleaseExpireTime:=AValue;
  4047. MarkPropertyChanged(AIndex);
  4048. end;
  4049. Procedure TWorkItemServiceState.SetreportStatusInterval(AIndex : Integer; const AValue : String);
  4050. begin
  4051. If (FreportStatusInterval=AValue) then exit;
  4052. FreportStatusInterval:=AValue;
  4053. MarkPropertyChanged(AIndex);
  4054. end;
  4055. Procedure TWorkItemServiceState.SetharnessData(AIndex : Integer; const AValue : TWorkItemServiceStateTypeharnessData);
  4056. begin
  4057. If (FharnessData=AValue) then exit;
  4058. FharnessData:=AValue;
  4059. MarkPropertyChanged(AIndex);
  4060. end;
  4061. Procedure TWorkItemServiceState.SetnextReportIndex(AIndex : Integer; const AValue : String);
  4062. begin
  4063. If (FnextReportIndex=AValue) then exit;
  4064. FnextReportIndex:=AValue;
  4065. MarkPropertyChanged(AIndex);
  4066. end;
  4067. Procedure TWorkItemServiceState.SetsuggestedStopPosition(AIndex : Integer; const AValue : TPosition);
  4068. begin
  4069. If (FsuggestedStopPosition=AValue) then exit;
  4070. FsuggestedStopPosition:=AValue;
  4071. MarkPropertyChanged(AIndex);
  4072. end;
  4073. Procedure TWorkItemServiceState.SetsuggestedStopPoint(AIndex : Integer; const AValue : TApproximateProgress);
  4074. begin
  4075. If (FsuggestedStopPoint=AValue) then exit;
  4076. FsuggestedStopPoint:=AValue;
  4077. MarkPropertyChanged(AIndex);
  4078. end;
  4079. { --------------------------------------------------------------------
  4080. TApproximateSplitRequest
  4081. --------------------------------------------------------------------}
  4082. Procedure TApproximateSplitRequest.Setposition(AIndex : Integer; const AValue : TPosition);
  4083. begin
  4084. If (Fposition=AValue) then exit;
  4085. Fposition:=AValue;
  4086. MarkPropertyChanged(AIndex);
  4087. end;
  4088. Procedure TApproximateSplitRequest.SetfractionConsumed(AIndex : Integer; const AValue : double);
  4089. begin
  4090. If (FfractionConsumed=AValue) then exit;
  4091. FfractionConsumed:=AValue;
  4092. MarkPropertyChanged(AIndex);
  4093. end;
  4094. { --------------------------------------------------------------------
  4095. TLeaseWorkItemRequest
  4096. --------------------------------------------------------------------}
  4097. Procedure TLeaseWorkItemRequest.SetworkItemTypes(AIndex : Integer; const AValue : TStringArray);
  4098. begin
  4099. If (FworkItemTypes=AValue) then exit;
  4100. FworkItemTypes:=AValue;
  4101. MarkPropertyChanged(AIndex);
  4102. end;
  4103. Procedure TLeaseWorkItemRequest.SetworkerCapabilities(AIndex : Integer; const AValue : TStringArray);
  4104. begin
  4105. If (FworkerCapabilities=AValue) then exit;
  4106. FworkerCapabilities:=AValue;
  4107. MarkPropertyChanged(AIndex);
  4108. end;
  4109. Procedure TLeaseWorkItemRequest.SetrequestedLeaseDuration(AIndex : Integer; const AValue : String);
  4110. begin
  4111. If (FrequestedLeaseDuration=AValue) then exit;
  4112. FrequestedLeaseDuration:=AValue;
  4113. MarkPropertyChanged(AIndex);
  4114. end;
  4115. Procedure TLeaseWorkItemRequest.SetcurrentWorkerTime(AIndex : Integer; const AValue : String);
  4116. begin
  4117. If (FcurrentWorkerTime=AValue) then exit;
  4118. FcurrentWorkerTime:=AValue;
  4119. MarkPropertyChanged(AIndex);
  4120. end;
  4121. Procedure TLeaseWorkItemRequest.SetworkerId(AIndex : Integer; const AValue : String);
  4122. begin
  4123. If (FworkerId=AValue) then exit;
  4124. FworkerId:=AValue;
  4125. MarkPropertyChanged(AIndex);
  4126. end;
  4127. //2.6.4. bug workaround
  4128. {$IFDEF VER2_6}
  4129. Procedure TLeaseWorkItemRequest.SetArrayLength(Const AName : String; ALength : Longint);
  4130. begin
  4131. Case AName of
  4132. 'workitemtypes' : SetLength(FworkItemTypes,ALength);
  4133. 'workercapabilities' : SetLength(FworkerCapabilities,ALength);
  4134. else
  4135. Inherited SetArrayLength(AName,ALength);
  4136. end;
  4137. end;
  4138. {$ENDIF VER2_6}
  4139. { --------------------------------------------------------------------
  4140. TLeaseWorkItemResponse
  4141. --------------------------------------------------------------------}
  4142. Procedure TLeaseWorkItemResponse.SetworkItems(AIndex : Integer; const AValue : TLeaseWorkItemResponseTypeworkItemsArray);
  4143. begin
  4144. If (FworkItems=AValue) then exit;
  4145. FworkItems:=AValue;
  4146. MarkPropertyChanged(AIndex);
  4147. end;
  4148. //2.6.4. bug workaround
  4149. {$IFDEF VER2_6}
  4150. Procedure TLeaseWorkItemResponse.SetArrayLength(Const AName : String; ALength : Longint);
  4151. begin
  4152. Case AName of
  4153. 'workitems' : SetLength(FworkItems,ALength);
  4154. else
  4155. Inherited SetArrayLength(AName,ALength);
  4156. end;
  4157. end;
  4158. {$ENDIF VER2_6}
  4159. { --------------------------------------------------------------------
  4160. TWorkItem
  4161. --------------------------------------------------------------------}
  4162. Procedure TWorkItem.Setid(AIndex : Integer; const AValue : String);
  4163. begin
  4164. If (Fid=AValue) then exit;
  4165. Fid:=AValue;
  4166. MarkPropertyChanged(AIndex);
  4167. end;
  4168. Procedure TWorkItem.SetprojectId(AIndex : Integer; const AValue : String);
  4169. begin
  4170. If (FprojectId=AValue) then exit;
  4171. FprojectId:=AValue;
  4172. MarkPropertyChanged(AIndex);
  4173. end;
  4174. Procedure TWorkItem.SetjobId(AIndex : Integer; const AValue : String);
  4175. begin
  4176. If (FjobId=AValue) then exit;
  4177. FjobId:=AValue;
  4178. MarkPropertyChanged(AIndex);
  4179. end;
  4180. Procedure TWorkItem.Setpackages(AIndex : Integer; const AValue : TWorkItemTypepackagesArray);
  4181. begin
  4182. If (Fpackages=AValue) then exit;
  4183. Fpackages:=AValue;
  4184. MarkPropertyChanged(AIndex);
  4185. end;
  4186. Procedure TWorkItem.SetmapTask(AIndex : Integer; const AValue : TMapTask);
  4187. begin
  4188. If (FmapTask=AValue) then exit;
  4189. FmapTask:=AValue;
  4190. MarkPropertyChanged(AIndex);
  4191. end;
  4192. Procedure TWorkItem.SetseqMapTask(AIndex : Integer; const AValue : TSeqMapTask);
  4193. begin
  4194. If (FseqMapTask=AValue) then exit;
  4195. FseqMapTask:=AValue;
  4196. MarkPropertyChanged(AIndex);
  4197. end;
  4198. Procedure TWorkItem.SetshellTask(AIndex : Integer; const AValue : TShellTask);
  4199. begin
  4200. If (FshellTask=AValue) then exit;
  4201. FshellTask:=AValue;
  4202. MarkPropertyChanged(AIndex);
  4203. end;
  4204. Procedure TWorkItem.SetstreamingSetupTask(AIndex : Integer; const AValue : TStreamingSetupTask);
  4205. begin
  4206. If (FstreamingSetupTask=AValue) then exit;
  4207. FstreamingSetupTask:=AValue;
  4208. MarkPropertyChanged(AIndex);
  4209. end;
  4210. Procedure TWorkItem.SetsourceOperationTask(AIndex : Integer; const AValue : TSourceOperationRequest);
  4211. begin
  4212. If (FsourceOperationTask=AValue) then exit;
  4213. FsourceOperationTask:=AValue;
  4214. MarkPropertyChanged(AIndex);
  4215. end;
  4216. Procedure TWorkItem.SetstreamingComputationTask(AIndex : Integer; const AValue : TStreamingComputationTask);
  4217. begin
  4218. If (FstreamingComputationTask=AValue) then exit;
  4219. FstreamingComputationTask:=AValue;
  4220. MarkPropertyChanged(AIndex);
  4221. end;
  4222. Procedure TWorkItem.SetreportStatusInterval(AIndex : Integer; const AValue : String);
  4223. begin
  4224. If (FreportStatusInterval=AValue) then exit;
  4225. FreportStatusInterval:=AValue;
  4226. MarkPropertyChanged(AIndex);
  4227. end;
  4228. Procedure TWorkItem.SetleaseExpireTime(AIndex : Integer; const AValue : String);
  4229. begin
  4230. If (FleaseExpireTime=AValue) then exit;
  4231. FleaseExpireTime:=AValue;
  4232. MarkPropertyChanged(AIndex);
  4233. end;
  4234. Procedure TWorkItem.Setconfiguration(AIndex : Integer; const AValue : String);
  4235. begin
  4236. If (Fconfiguration=AValue) then exit;
  4237. Fconfiguration:=AValue;
  4238. MarkPropertyChanged(AIndex);
  4239. end;
  4240. Procedure TWorkItem.SetinitialReportIndex(AIndex : Integer; const AValue : String);
  4241. begin
  4242. If (FinitialReportIndex=AValue) then exit;
  4243. FinitialReportIndex:=AValue;
  4244. MarkPropertyChanged(AIndex);
  4245. end;
  4246. //2.6.4. bug workaround
  4247. {$IFDEF VER2_6}
  4248. Procedure TWorkItem.SetArrayLength(Const AName : String; ALength : Longint);
  4249. begin
  4250. Case AName of
  4251. 'packages' : SetLength(Fpackages,ALength);
  4252. else
  4253. Inherited SetArrayLength(AName,ALength);
  4254. end;
  4255. end;
  4256. {$ENDIF VER2_6}
  4257. { --------------------------------------------------------------------
  4258. TMapTask
  4259. --------------------------------------------------------------------}
  4260. Procedure TMapTask.Setinstructions(AIndex : Integer; const AValue : TMapTaskTypeinstructionsArray);
  4261. begin
  4262. If (Finstructions=AValue) then exit;
  4263. Finstructions:=AValue;
  4264. MarkPropertyChanged(AIndex);
  4265. end;
  4266. Procedure TMapTask.SetsystemName(AIndex : Integer; const AValue : String);
  4267. begin
  4268. If (FsystemName=AValue) then exit;
  4269. FsystemName:=AValue;
  4270. MarkPropertyChanged(AIndex);
  4271. end;
  4272. Procedure TMapTask.SetstageName(AIndex : Integer; const AValue : String);
  4273. begin
  4274. If (FstageName=AValue) then exit;
  4275. FstageName:=AValue;
  4276. MarkPropertyChanged(AIndex);
  4277. end;
  4278. //2.6.4. bug workaround
  4279. {$IFDEF VER2_6}
  4280. Procedure TMapTask.SetArrayLength(Const AName : String; ALength : Longint);
  4281. begin
  4282. Case AName of
  4283. 'instructions' : SetLength(Finstructions,ALength);
  4284. else
  4285. Inherited SetArrayLength(AName,ALength);
  4286. end;
  4287. end;
  4288. {$ENDIF VER2_6}
  4289. { --------------------------------------------------------------------
  4290. TParallelInstruction
  4291. --------------------------------------------------------------------}
  4292. Procedure TParallelInstruction.SetsystemName(AIndex : Integer; const AValue : String);
  4293. begin
  4294. If (FsystemName=AValue) then exit;
  4295. FsystemName:=AValue;
  4296. MarkPropertyChanged(AIndex);
  4297. end;
  4298. Procedure TParallelInstruction.Setname(AIndex : Integer; const AValue : String);
  4299. begin
  4300. If (Fname=AValue) then exit;
  4301. Fname:=AValue;
  4302. MarkPropertyChanged(AIndex);
  4303. end;
  4304. Procedure TParallelInstruction.Setread(AIndex : Integer; const AValue : TReadInstruction);
  4305. begin
  4306. If (Fread=AValue) then exit;
  4307. Fread:=AValue;
  4308. MarkPropertyChanged(AIndex);
  4309. end;
  4310. Procedure TParallelInstruction.Setwrite(AIndex : Integer; const AValue : TWriteInstruction);
  4311. begin
  4312. If (Fwrite=AValue) then exit;
  4313. Fwrite:=AValue;
  4314. MarkPropertyChanged(AIndex);
  4315. end;
  4316. Procedure TParallelInstruction.SetparDo(AIndex : Integer; const AValue : TParDoInstruction);
  4317. begin
  4318. If (FparDo=AValue) then exit;
  4319. FparDo:=AValue;
  4320. MarkPropertyChanged(AIndex);
  4321. end;
  4322. Procedure TParallelInstruction.SetpartialGroupByKey(AIndex : Integer; const AValue : TPartialGroupByKeyInstruction);
  4323. begin
  4324. If (FpartialGroupByKey=AValue) then exit;
  4325. FpartialGroupByKey:=AValue;
  4326. MarkPropertyChanged(AIndex);
  4327. end;
  4328. Procedure TParallelInstruction.Setflatten(AIndex : Integer; const AValue : TFlattenInstruction);
  4329. begin
  4330. If (Fflatten=AValue) then exit;
  4331. Fflatten:=AValue;
  4332. MarkPropertyChanged(AIndex);
  4333. end;
  4334. Procedure TParallelInstruction.Setoutputs(AIndex : Integer; const AValue : TParallelInstructionTypeoutputsArray);
  4335. begin
  4336. If (Foutputs=AValue) then exit;
  4337. Foutputs:=AValue;
  4338. MarkPropertyChanged(AIndex);
  4339. end;
  4340. //2.6.4. bug workaround
  4341. {$IFDEF VER2_6}
  4342. Procedure TParallelInstruction.SetArrayLength(Const AName : String; ALength : Longint);
  4343. begin
  4344. Case AName of
  4345. 'outputs' : SetLength(Foutputs,ALength);
  4346. else
  4347. Inherited SetArrayLength(AName,ALength);
  4348. end;
  4349. end;
  4350. {$ENDIF VER2_6}
  4351. { --------------------------------------------------------------------
  4352. TReadInstruction
  4353. --------------------------------------------------------------------}
  4354. Procedure TReadInstruction.Setsource(AIndex : Integer; const AValue : TSource);
  4355. begin
  4356. If (Fsource=AValue) then exit;
  4357. Fsource:=AValue;
  4358. MarkPropertyChanged(AIndex);
  4359. end;
  4360. { --------------------------------------------------------------------
  4361. TWriteInstruction
  4362. --------------------------------------------------------------------}
  4363. Procedure TWriteInstruction.Setinput(AIndex : Integer; const AValue : TInstructionInput);
  4364. begin
  4365. If (Finput=AValue) then exit;
  4366. Finput:=AValue;
  4367. MarkPropertyChanged(AIndex);
  4368. end;
  4369. Procedure TWriteInstruction.Setsink(AIndex : Integer; const AValue : TSink);
  4370. begin
  4371. If (Fsink=AValue) then exit;
  4372. Fsink:=AValue;
  4373. MarkPropertyChanged(AIndex);
  4374. end;
  4375. { --------------------------------------------------------------------
  4376. TInstructionInput
  4377. --------------------------------------------------------------------}
  4378. Procedure TInstructionInput.SetproducerInstructionIndex(AIndex : Integer; const AValue : integer);
  4379. begin
  4380. If (FproducerInstructionIndex=AValue) then exit;
  4381. FproducerInstructionIndex:=AValue;
  4382. MarkPropertyChanged(AIndex);
  4383. end;
  4384. Procedure TInstructionInput.SetoutputNum(AIndex : Integer; const AValue : integer);
  4385. begin
  4386. If (FoutputNum=AValue) then exit;
  4387. FoutputNum:=AValue;
  4388. MarkPropertyChanged(AIndex);
  4389. end;
  4390. { --------------------------------------------------------------------
  4391. TSinkTypespec
  4392. --------------------------------------------------------------------}
  4393. Class Function TSinkTypespec.AllowAdditionalProperties : Boolean;
  4394. begin
  4395. Result:=True;
  4396. end;
  4397. { --------------------------------------------------------------------
  4398. TSinkTypecodec
  4399. --------------------------------------------------------------------}
  4400. Class Function TSinkTypecodec.AllowAdditionalProperties : Boolean;
  4401. begin
  4402. Result:=True;
  4403. end;
  4404. { --------------------------------------------------------------------
  4405. TSink
  4406. --------------------------------------------------------------------}
  4407. Procedure TSink.Setspec(AIndex : Integer; const AValue : TSinkTypespec);
  4408. begin
  4409. If (Fspec=AValue) then exit;
  4410. Fspec:=AValue;
  4411. MarkPropertyChanged(AIndex);
  4412. end;
  4413. Procedure TSink.Setcodec(AIndex : Integer; const AValue : TSinkTypecodec);
  4414. begin
  4415. If (Fcodec=AValue) then exit;
  4416. Fcodec:=AValue;
  4417. MarkPropertyChanged(AIndex);
  4418. end;
  4419. { --------------------------------------------------------------------
  4420. TParDoInstructionTypeuserFn
  4421. --------------------------------------------------------------------}
  4422. Class Function TParDoInstructionTypeuserFn.AllowAdditionalProperties : Boolean;
  4423. begin
  4424. Result:=True;
  4425. end;
  4426. { --------------------------------------------------------------------
  4427. TParDoInstruction
  4428. --------------------------------------------------------------------}
  4429. Procedure TParDoInstruction.Setinput(AIndex : Integer; const AValue : TInstructionInput);
  4430. begin
  4431. If (Finput=AValue) then exit;
  4432. Finput:=AValue;
  4433. MarkPropertyChanged(AIndex);
  4434. end;
  4435. Procedure TParDoInstruction.SetsideInputs(AIndex : Integer; const AValue : TParDoInstructionTypesideInputsArray);
  4436. begin
  4437. If (FsideInputs=AValue) then exit;
  4438. FsideInputs:=AValue;
  4439. MarkPropertyChanged(AIndex);
  4440. end;
  4441. Procedure TParDoInstruction.SetuserFn(AIndex : Integer; const AValue : TParDoInstructionTypeuserFn);
  4442. begin
  4443. If (FuserFn=AValue) then exit;
  4444. FuserFn:=AValue;
  4445. MarkPropertyChanged(AIndex);
  4446. end;
  4447. Procedure TParDoInstruction.SetnumOutputs(AIndex : Integer; const AValue : integer);
  4448. begin
  4449. If (FnumOutputs=AValue) then exit;
  4450. FnumOutputs:=AValue;
  4451. MarkPropertyChanged(AIndex);
  4452. end;
  4453. Procedure TParDoInstruction.SetmultiOutputInfos(AIndex : Integer; const AValue : TParDoInstructionTypemultiOutputInfosArray);
  4454. begin
  4455. If (FmultiOutputInfos=AValue) then exit;
  4456. FmultiOutputInfos:=AValue;
  4457. MarkPropertyChanged(AIndex);
  4458. end;
  4459. //2.6.4. bug workaround
  4460. {$IFDEF VER2_6}
  4461. Procedure TParDoInstruction.SetArrayLength(Const AName : String; ALength : Longint);
  4462. begin
  4463. Case AName of
  4464. 'sideinputs' : SetLength(FsideInputs,ALength);
  4465. 'multioutputinfos' : SetLength(FmultiOutputInfos,ALength);
  4466. else
  4467. Inherited SetArrayLength(AName,ALength);
  4468. end;
  4469. end;
  4470. {$ENDIF VER2_6}
  4471. { --------------------------------------------------------------------
  4472. TSideInputInfoTypekind
  4473. --------------------------------------------------------------------}
  4474. Class Function TSideInputInfoTypekind.AllowAdditionalProperties : Boolean;
  4475. begin
  4476. Result:=True;
  4477. end;
  4478. { --------------------------------------------------------------------
  4479. TSideInputInfo
  4480. --------------------------------------------------------------------}
  4481. Procedure TSideInputInfo.Setsources(AIndex : Integer; const AValue : TSideInputInfoTypesourcesArray);
  4482. begin
  4483. If (Fsources=AValue) then exit;
  4484. Fsources:=AValue;
  4485. MarkPropertyChanged(AIndex);
  4486. end;
  4487. Procedure TSideInputInfo.Setkind(AIndex : Integer; const AValue : TSideInputInfoTypekind);
  4488. begin
  4489. If (Fkind=AValue) then exit;
  4490. Fkind:=AValue;
  4491. MarkPropertyChanged(AIndex);
  4492. end;
  4493. Procedure TSideInputInfo.Settag(AIndex : Integer; const AValue : String);
  4494. begin
  4495. If (Ftag=AValue) then exit;
  4496. Ftag:=AValue;
  4497. MarkPropertyChanged(AIndex);
  4498. end;
  4499. //2.6.4. bug workaround
  4500. {$IFDEF VER2_6}
  4501. Procedure TSideInputInfo.SetArrayLength(Const AName : String; ALength : Longint);
  4502. begin
  4503. Case AName of
  4504. 'sources' : SetLength(Fsources,ALength);
  4505. else
  4506. Inherited SetArrayLength(AName,ALength);
  4507. end;
  4508. end;
  4509. {$ENDIF VER2_6}
  4510. { --------------------------------------------------------------------
  4511. TMultiOutputInfo
  4512. --------------------------------------------------------------------}
  4513. Procedure TMultiOutputInfo.Settag(AIndex : Integer; const AValue : String);
  4514. begin
  4515. If (Ftag=AValue) then exit;
  4516. Ftag:=AValue;
  4517. MarkPropertyChanged(AIndex);
  4518. end;
  4519. { --------------------------------------------------------------------
  4520. TPartialGroupByKeyInstructionTypeinputElementCodec
  4521. --------------------------------------------------------------------}
  4522. Class Function TPartialGroupByKeyInstructionTypeinputElementCodec.AllowAdditionalProperties : Boolean;
  4523. begin
  4524. Result:=True;
  4525. end;
  4526. { --------------------------------------------------------------------
  4527. TPartialGroupByKeyInstructionTypevalueCombiningFn
  4528. --------------------------------------------------------------------}
  4529. Class Function TPartialGroupByKeyInstructionTypevalueCombiningFn.AllowAdditionalProperties : Boolean;
  4530. begin
  4531. Result:=True;
  4532. end;
  4533. { --------------------------------------------------------------------
  4534. TPartialGroupByKeyInstruction
  4535. --------------------------------------------------------------------}
  4536. Procedure TPartialGroupByKeyInstruction.Setinput(AIndex : Integer; const AValue : TInstructionInput);
  4537. begin
  4538. If (Finput=AValue) then exit;
  4539. Finput:=AValue;
  4540. MarkPropertyChanged(AIndex);
  4541. end;
  4542. Procedure TPartialGroupByKeyInstruction.SetinputElementCodec(AIndex : Integer; const AValue : TPartialGroupByKeyInstructionTypeinputElementCodec);
  4543. begin
  4544. If (FinputElementCodec=AValue) then exit;
  4545. FinputElementCodec:=AValue;
  4546. MarkPropertyChanged(AIndex);
  4547. end;
  4548. Procedure TPartialGroupByKeyInstruction.SetvalueCombiningFn(AIndex : Integer; const AValue : TPartialGroupByKeyInstructionTypevalueCombiningFn);
  4549. begin
  4550. If (FvalueCombiningFn=AValue) then exit;
  4551. FvalueCombiningFn:=AValue;
  4552. MarkPropertyChanged(AIndex);
  4553. end;
  4554. Procedure TPartialGroupByKeyInstruction.SetsideInputs(AIndex : Integer; const AValue : TPartialGroupByKeyInstructionTypesideInputsArray);
  4555. begin
  4556. If (FsideInputs=AValue) then exit;
  4557. FsideInputs:=AValue;
  4558. MarkPropertyChanged(AIndex);
  4559. end;
  4560. //2.6.4. bug workaround
  4561. {$IFDEF VER2_6}
  4562. Procedure TPartialGroupByKeyInstruction.SetArrayLength(Const AName : String; ALength : Longint);
  4563. begin
  4564. Case AName of
  4565. 'sideinputs' : SetLength(FsideInputs,ALength);
  4566. else
  4567. Inherited SetArrayLength(AName,ALength);
  4568. end;
  4569. end;
  4570. {$ENDIF VER2_6}
  4571. { --------------------------------------------------------------------
  4572. TFlattenInstruction
  4573. --------------------------------------------------------------------}
  4574. Procedure TFlattenInstruction.Setinputs(AIndex : Integer; const AValue : TFlattenInstructionTypeinputsArray);
  4575. begin
  4576. If (Finputs=AValue) then exit;
  4577. Finputs:=AValue;
  4578. MarkPropertyChanged(AIndex);
  4579. end;
  4580. //2.6.4. bug workaround
  4581. {$IFDEF VER2_6}
  4582. Procedure TFlattenInstruction.SetArrayLength(Const AName : String; ALength : Longint);
  4583. begin
  4584. Case AName of
  4585. 'inputs' : SetLength(Finputs,ALength);
  4586. else
  4587. Inherited SetArrayLength(AName,ALength);
  4588. end;
  4589. end;
  4590. {$ENDIF VER2_6}
  4591. { --------------------------------------------------------------------
  4592. TInstructionOutputTypecodec
  4593. --------------------------------------------------------------------}
  4594. Class Function TInstructionOutputTypecodec.AllowAdditionalProperties : Boolean;
  4595. begin
  4596. Result:=True;
  4597. end;
  4598. { --------------------------------------------------------------------
  4599. TInstructionOutput
  4600. --------------------------------------------------------------------}
  4601. Procedure TInstructionOutput.Setname(AIndex : Integer; const AValue : String);
  4602. begin
  4603. If (Fname=AValue) then exit;
  4604. Fname:=AValue;
  4605. MarkPropertyChanged(AIndex);
  4606. end;
  4607. Procedure TInstructionOutput.SetsystemName(AIndex : Integer; const AValue : String);
  4608. begin
  4609. If (FsystemName=AValue) then exit;
  4610. FsystemName:=AValue;
  4611. MarkPropertyChanged(AIndex);
  4612. end;
  4613. Procedure TInstructionOutput.Setcodec(AIndex : Integer; const AValue : TInstructionOutputTypecodec);
  4614. begin
  4615. If (Fcodec=AValue) then exit;
  4616. Fcodec:=AValue;
  4617. MarkPropertyChanged(AIndex);
  4618. end;
  4619. { --------------------------------------------------------------------
  4620. TSeqMapTaskTypeuserFn
  4621. --------------------------------------------------------------------}
  4622. Class Function TSeqMapTaskTypeuserFn.AllowAdditionalProperties : Boolean;
  4623. begin
  4624. Result:=True;
  4625. end;
  4626. { --------------------------------------------------------------------
  4627. TSeqMapTask
  4628. --------------------------------------------------------------------}
  4629. Procedure TSeqMapTask.Setinputs(AIndex : Integer; const AValue : TSeqMapTaskTypeinputsArray);
  4630. begin
  4631. If (Finputs=AValue) then exit;
  4632. Finputs:=AValue;
  4633. MarkPropertyChanged(AIndex);
  4634. end;
  4635. Procedure TSeqMapTask.SetuserFn(AIndex : Integer; const AValue : TSeqMapTaskTypeuserFn);
  4636. begin
  4637. If (FuserFn=AValue) then exit;
  4638. FuserFn:=AValue;
  4639. MarkPropertyChanged(AIndex);
  4640. end;
  4641. Procedure TSeqMapTask.SetoutputInfos(AIndex : Integer; const AValue : TSeqMapTaskTypeoutputInfosArray);
  4642. begin
  4643. If (FoutputInfos=AValue) then exit;
  4644. FoutputInfos:=AValue;
  4645. MarkPropertyChanged(AIndex);
  4646. end;
  4647. Procedure TSeqMapTask.Setname(AIndex : Integer; const AValue : String);
  4648. begin
  4649. If (Fname=AValue) then exit;
  4650. Fname:=AValue;
  4651. MarkPropertyChanged(AIndex);
  4652. end;
  4653. Procedure TSeqMapTask.SetsystemName(AIndex : Integer; const AValue : String);
  4654. begin
  4655. If (FsystemName=AValue) then exit;
  4656. FsystemName:=AValue;
  4657. MarkPropertyChanged(AIndex);
  4658. end;
  4659. Procedure TSeqMapTask.SetstageName(AIndex : Integer; const AValue : String);
  4660. begin
  4661. If (FstageName=AValue) then exit;
  4662. FstageName:=AValue;
  4663. MarkPropertyChanged(AIndex);
  4664. end;
  4665. //2.6.4. bug workaround
  4666. {$IFDEF VER2_6}
  4667. Procedure TSeqMapTask.SetArrayLength(Const AName : String; ALength : Longint);
  4668. begin
  4669. Case AName of
  4670. 'inputs' : SetLength(Finputs,ALength);
  4671. 'outputinfos' : SetLength(FoutputInfos,ALength);
  4672. else
  4673. Inherited SetArrayLength(AName,ALength);
  4674. end;
  4675. end;
  4676. {$ENDIF VER2_6}
  4677. { --------------------------------------------------------------------
  4678. TSeqMapTaskOutputInfo
  4679. --------------------------------------------------------------------}
  4680. Procedure TSeqMapTaskOutputInfo.Settag(AIndex : Integer; const AValue : String);
  4681. begin
  4682. If (Ftag=AValue) then exit;
  4683. Ftag:=AValue;
  4684. MarkPropertyChanged(AIndex);
  4685. end;
  4686. Procedure TSeqMapTaskOutputInfo.Setsink(AIndex : Integer; const AValue : TSink);
  4687. begin
  4688. If (Fsink=AValue) then exit;
  4689. Fsink:=AValue;
  4690. MarkPropertyChanged(AIndex);
  4691. end;
  4692. { --------------------------------------------------------------------
  4693. TShellTask
  4694. --------------------------------------------------------------------}
  4695. Procedure TShellTask.Setcommand(AIndex : Integer; const AValue : String);
  4696. begin
  4697. If (Fcommand=AValue) then exit;
  4698. Fcommand:=AValue;
  4699. MarkPropertyChanged(AIndex);
  4700. end;
  4701. Procedure TShellTask.SetexitCode(AIndex : Integer; const AValue : integer);
  4702. begin
  4703. If (FexitCode=AValue) then exit;
  4704. FexitCode:=AValue;
  4705. MarkPropertyChanged(AIndex);
  4706. end;
  4707. { --------------------------------------------------------------------
  4708. TStreamingSetupTask
  4709. --------------------------------------------------------------------}
  4710. Procedure TStreamingSetupTask.SetreceiveWorkPort(AIndex : Integer; const AValue : integer);
  4711. begin
  4712. If (FreceiveWorkPort=AValue) then exit;
  4713. FreceiveWorkPort:=AValue;
  4714. MarkPropertyChanged(AIndex);
  4715. end;
  4716. Procedure TStreamingSetupTask.SetworkerHarnessPort(AIndex : Integer; const AValue : integer);
  4717. begin
  4718. If (FworkerHarnessPort=AValue) then exit;
  4719. FworkerHarnessPort:=AValue;
  4720. MarkPropertyChanged(AIndex);
  4721. end;
  4722. Procedure TStreamingSetupTask.SetstreamingComputationTopology(AIndex : Integer; const AValue : TTopologyConfig);
  4723. begin
  4724. If (FstreamingComputationTopology=AValue) then exit;
  4725. FstreamingComputationTopology:=AValue;
  4726. MarkPropertyChanged(AIndex);
  4727. end;
  4728. Procedure TStreamingSetupTask.Setdrain(AIndex : Integer; const AValue : boolean);
  4729. begin
  4730. If (Fdrain=AValue) then exit;
  4731. Fdrain:=AValue;
  4732. MarkPropertyChanged(AIndex);
  4733. end;
  4734. { --------------------------------------------------------------------
  4735. TTopologyConfigTypeuserStageToComputationNameMap
  4736. --------------------------------------------------------------------}
  4737. Class Function TTopologyConfigTypeuserStageToComputationNameMap.AllowAdditionalProperties : Boolean;
  4738. begin
  4739. Result:=True;
  4740. end;
  4741. { --------------------------------------------------------------------
  4742. TTopologyConfig
  4743. --------------------------------------------------------------------}
  4744. Procedure TTopologyConfig.Setcomputations(AIndex : Integer; const AValue : TTopologyConfigTypecomputationsArray);
  4745. begin
  4746. If (Fcomputations=AValue) then exit;
  4747. Fcomputations:=AValue;
  4748. MarkPropertyChanged(AIndex);
  4749. end;
  4750. Procedure TTopologyConfig.SetdataDiskAssignments(AIndex : Integer; const AValue : TTopologyConfigTypedataDiskAssignmentsArray);
  4751. begin
  4752. If (FdataDiskAssignments=AValue) then exit;
  4753. FdataDiskAssignments:=AValue;
  4754. MarkPropertyChanged(AIndex);
  4755. end;
  4756. Procedure TTopologyConfig.SetuserStageToComputationNameMap(AIndex : Integer; const AValue : TTopologyConfigTypeuserStageToComputationNameMap);
  4757. begin
  4758. If (FuserStageToComputationNameMap=AValue) then exit;
  4759. FuserStageToComputationNameMap:=AValue;
  4760. MarkPropertyChanged(AIndex);
  4761. end;
  4762. Procedure TTopologyConfig.SetforwardingKeyBits(AIndex : Integer; const AValue : integer);
  4763. begin
  4764. If (FforwardingKeyBits=AValue) then exit;
  4765. FforwardingKeyBits:=AValue;
  4766. MarkPropertyChanged(AIndex);
  4767. end;
  4768. Procedure TTopologyConfig.SetpersistentStateVersion(AIndex : Integer; const AValue : integer);
  4769. begin
  4770. If (FpersistentStateVersion=AValue) then exit;
  4771. FpersistentStateVersion:=AValue;
  4772. MarkPropertyChanged(AIndex);
  4773. end;
  4774. //2.6.4. bug workaround
  4775. {$IFDEF VER2_6}
  4776. Procedure TTopologyConfig.SetArrayLength(Const AName : String; ALength : Longint);
  4777. begin
  4778. Case AName of
  4779. 'computations' : SetLength(Fcomputations,ALength);
  4780. 'datadiskassignments' : SetLength(FdataDiskAssignments,ALength);
  4781. else
  4782. Inherited SetArrayLength(AName,ALength);
  4783. end;
  4784. end;
  4785. {$ENDIF VER2_6}
  4786. { --------------------------------------------------------------------
  4787. TComputationTopology
  4788. --------------------------------------------------------------------}
  4789. Procedure TComputationTopology.SetsystemStageName(AIndex : Integer; const AValue : String);
  4790. begin
  4791. If (FsystemStageName=AValue) then exit;
  4792. FsystemStageName:=AValue;
  4793. MarkPropertyChanged(AIndex);
  4794. end;
  4795. Procedure TComputationTopology.SetcomputationId(AIndex : Integer; const AValue : String);
  4796. begin
  4797. If (FcomputationId=AValue) then exit;
  4798. FcomputationId:=AValue;
  4799. MarkPropertyChanged(AIndex);
  4800. end;
  4801. Procedure TComputationTopology.SetuserStageName(AIndex : Integer; const AValue : String);
  4802. begin
  4803. If (FuserStageName=AValue) then exit;
  4804. FuserStageName:=AValue;
  4805. MarkPropertyChanged(AIndex);
  4806. end;
  4807. Procedure TComputationTopology.SetkeyRanges(AIndex : Integer; const AValue : TComputationTopologyTypekeyRangesArray);
  4808. begin
  4809. If (FkeyRanges=AValue) then exit;
  4810. FkeyRanges:=AValue;
  4811. MarkPropertyChanged(AIndex);
  4812. end;
  4813. Procedure TComputationTopology.Setinputs(AIndex : Integer; const AValue : TComputationTopologyTypeinputsArray);
  4814. begin
  4815. If (Finputs=AValue) then exit;
  4816. Finputs:=AValue;
  4817. MarkPropertyChanged(AIndex);
  4818. end;
  4819. Procedure TComputationTopology.Setoutputs(AIndex : Integer; const AValue : TComputationTopologyTypeoutputsArray);
  4820. begin
  4821. If (Foutputs=AValue) then exit;
  4822. Foutputs:=AValue;
  4823. MarkPropertyChanged(AIndex);
  4824. end;
  4825. Procedure TComputationTopology.SetstateFamilies(AIndex : Integer; const AValue : TComputationTopologyTypestateFamiliesArray);
  4826. begin
  4827. If (FstateFamilies=AValue) then exit;
  4828. FstateFamilies:=AValue;
  4829. MarkPropertyChanged(AIndex);
  4830. end;
  4831. //2.6.4. bug workaround
  4832. {$IFDEF VER2_6}
  4833. Procedure TComputationTopology.SetArrayLength(Const AName : String; ALength : Longint);
  4834. begin
  4835. Case AName of
  4836. 'keyranges' : SetLength(FkeyRanges,ALength);
  4837. 'inputs' : SetLength(Finputs,ALength);
  4838. 'outputs' : SetLength(Foutputs,ALength);
  4839. 'statefamilies' : SetLength(FstateFamilies,ALength);
  4840. else
  4841. Inherited SetArrayLength(AName,ALength);
  4842. end;
  4843. end;
  4844. {$ENDIF VER2_6}
  4845. { --------------------------------------------------------------------
  4846. TKeyRangeLocation
  4847. --------------------------------------------------------------------}
  4848. Procedure TKeyRangeLocation.Setstart(AIndex : Integer; const AValue : String);
  4849. begin
  4850. If (Fstart=AValue) then exit;
  4851. Fstart:=AValue;
  4852. MarkPropertyChanged(AIndex);
  4853. end;
  4854. Procedure TKeyRangeLocation.Set_end(AIndex : Integer; const AValue : String);
  4855. begin
  4856. If (F_end=AValue) then exit;
  4857. F_end:=AValue;
  4858. MarkPropertyChanged(AIndex);
  4859. end;
  4860. Procedure TKeyRangeLocation.SetdeliveryEndpoint(AIndex : Integer; const AValue : String);
  4861. begin
  4862. If (FdeliveryEndpoint=AValue) then exit;
  4863. FdeliveryEndpoint:=AValue;
  4864. MarkPropertyChanged(AIndex);
  4865. end;
  4866. Procedure TKeyRangeLocation.SetpersistentDirectory(AIndex : Integer; const AValue : String);
  4867. begin
  4868. If (FpersistentDirectory=AValue) then exit;
  4869. FpersistentDirectory:=AValue;
  4870. MarkPropertyChanged(AIndex);
  4871. end;
  4872. Procedure TKeyRangeLocation.SetdataDisk(AIndex : Integer; const AValue : String);
  4873. begin
  4874. If (FdataDisk=AValue) then exit;
  4875. FdataDisk:=AValue;
  4876. MarkPropertyChanged(AIndex);
  4877. end;
  4878. Class Function TKeyRangeLocation.ExportPropertyName(Const AName : String) :String;
  4879. begin
  4880. Case AName of
  4881. '_end' : Result:='end';
  4882. else
  4883. Result:=Inherited ExportPropertyName(AName);
  4884. end;
  4885. end;
  4886. { --------------------------------------------------------------------
  4887. TStreamLocation
  4888. --------------------------------------------------------------------}
  4889. Procedure TStreamLocation.SetstreamingStageLocation(AIndex : Integer; const AValue : TStreamingStageLocation);
  4890. begin
  4891. If (FstreamingStageLocation=AValue) then exit;
  4892. FstreamingStageLocation:=AValue;
  4893. MarkPropertyChanged(AIndex);
  4894. end;
  4895. Procedure TStreamLocation.SetpubsubLocation(AIndex : Integer; const AValue : TPubsubLocation);
  4896. begin
  4897. If (FpubsubLocation=AValue) then exit;
  4898. FpubsubLocation:=AValue;
  4899. MarkPropertyChanged(AIndex);
  4900. end;
  4901. Procedure TStreamLocation.SetsideInputLocation(AIndex : Integer; const AValue : TStreamingSideInputLocation);
  4902. begin
  4903. If (FsideInputLocation=AValue) then exit;
  4904. FsideInputLocation:=AValue;
  4905. MarkPropertyChanged(AIndex);
  4906. end;
  4907. Procedure TStreamLocation.SetcustomSourceLocation(AIndex : Integer; const AValue : TCustomSourceLocation);
  4908. begin
  4909. If (FcustomSourceLocation=AValue) then exit;
  4910. FcustomSourceLocation:=AValue;
  4911. MarkPropertyChanged(AIndex);
  4912. end;
  4913. { --------------------------------------------------------------------
  4914. TStreamingStageLocation
  4915. --------------------------------------------------------------------}
  4916. Procedure TStreamingStageLocation.SetstreamId(AIndex : Integer; const AValue : String);
  4917. begin
  4918. If (FstreamId=AValue) then exit;
  4919. FstreamId:=AValue;
  4920. MarkPropertyChanged(AIndex);
  4921. end;
  4922. { --------------------------------------------------------------------
  4923. TPubsubLocation
  4924. --------------------------------------------------------------------}
  4925. Procedure TPubsubLocation.Settopic(AIndex : Integer; const AValue : String);
  4926. begin
  4927. If (Ftopic=AValue) then exit;
  4928. Ftopic:=AValue;
  4929. MarkPropertyChanged(AIndex);
  4930. end;
  4931. Procedure TPubsubLocation.Setsubscription(AIndex : Integer; const AValue : String);
  4932. begin
  4933. If (Fsubscription=AValue) then exit;
  4934. Fsubscription:=AValue;
  4935. MarkPropertyChanged(AIndex);
  4936. end;
  4937. Procedure TPubsubLocation.SettimestampLabel(AIndex : Integer; const AValue : String);
  4938. begin
  4939. If (FtimestampLabel=AValue) then exit;
  4940. FtimestampLabel:=AValue;
  4941. MarkPropertyChanged(AIndex);
  4942. end;
  4943. Procedure TPubsubLocation.SetidLabel(AIndex : Integer; const AValue : String);
  4944. begin
  4945. If (FidLabel=AValue) then exit;
  4946. FidLabel:=AValue;
  4947. MarkPropertyChanged(AIndex);
  4948. end;
  4949. Procedure TPubsubLocation.SetdropLateData(AIndex : Integer; const AValue : boolean);
  4950. begin
  4951. If (FdropLateData=AValue) then exit;
  4952. FdropLateData:=AValue;
  4953. MarkPropertyChanged(AIndex);
  4954. end;
  4955. Procedure TPubsubLocation.SettrackingSubscription(AIndex : Integer; const AValue : String);
  4956. begin
  4957. If (FtrackingSubscription=AValue) then exit;
  4958. FtrackingSubscription:=AValue;
  4959. MarkPropertyChanged(AIndex);
  4960. end;
  4961. { --------------------------------------------------------------------
  4962. TStreamingSideInputLocation
  4963. --------------------------------------------------------------------}
  4964. Procedure TStreamingSideInputLocation.Settag(AIndex : Integer; const AValue : String);
  4965. begin
  4966. If (Ftag=AValue) then exit;
  4967. Ftag:=AValue;
  4968. MarkPropertyChanged(AIndex);
  4969. end;
  4970. Procedure TStreamingSideInputLocation.SetstateFamily(AIndex : Integer; const AValue : String);
  4971. begin
  4972. If (FstateFamily=AValue) then exit;
  4973. FstateFamily:=AValue;
  4974. MarkPropertyChanged(AIndex);
  4975. end;
  4976. { --------------------------------------------------------------------
  4977. TCustomSourceLocation
  4978. --------------------------------------------------------------------}
  4979. Procedure TCustomSourceLocation.Setstateful(AIndex : Integer; const AValue : boolean);
  4980. begin
  4981. If (Fstateful=AValue) then exit;
  4982. Fstateful:=AValue;
  4983. MarkPropertyChanged(AIndex);
  4984. end;
  4985. { --------------------------------------------------------------------
  4986. TStateFamilyConfig
  4987. --------------------------------------------------------------------}
  4988. Procedure TStateFamilyConfig.SetstateFamily(AIndex : Integer; const AValue : String);
  4989. begin
  4990. If (FstateFamily=AValue) then exit;
  4991. FstateFamily:=AValue;
  4992. MarkPropertyChanged(AIndex);
  4993. end;
  4994. Procedure TStateFamilyConfig.SetisRead(AIndex : Integer; const AValue : boolean);
  4995. begin
  4996. If (FisRead=AValue) then exit;
  4997. FisRead:=AValue;
  4998. MarkPropertyChanged(AIndex);
  4999. end;
  5000. { --------------------------------------------------------------------
  5001. TDataDiskAssignment
  5002. --------------------------------------------------------------------}
  5003. Procedure TDataDiskAssignment.SetvmInstance(AIndex : Integer; const AValue : String);
  5004. begin
  5005. If (FvmInstance=AValue) then exit;
  5006. FvmInstance:=AValue;
  5007. MarkPropertyChanged(AIndex);
  5008. end;
  5009. Procedure TDataDiskAssignment.SetdataDisks(AIndex : Integer; const AValue : TStringArray);
  5010. begin
  5011. If (FdataDisks=AValue) then exit;
  5012. FdataDisks:=AValue;
  5013. MarkPropertyChanged(AIndex);
  5014. end;
  5015. //2.6.4. bug workaround
  5016. {$IFDEF VER2_6}
  5017. Procedure TDataDiskAssignment.SetArrayLength(Const AName : String; ALength : Longint);
  5018. begin
  5019. Case AName of
  5020. 'datadisks' : SetLength(FdataDisks,ALength);
  5021. else
  5022. Inherited SetArrayLength(AName,ALength);
  5023. end;
  5024. end;
  5025. {$ENDIF VER2_6}
  5026. { --------------------------------------------------------------------
  5027. TSourceOperationRequest
  5028. --------------------------------------------------------------------}
  5029. Procedure TSourceOperationRequest.Setsplit(AIndex : Integer; const AValue : TSourceSplitRequest);
  5030. begin
  5031. If (Fsplit=AValue) then exit;
  5032. Fsplit:=AValue;
  5033. MarkPropertyChanged(AIndex);
  5034. end;
  5035. Procedure TSourceOperationRequest.SetgetMetadata(AIndex : Integer; const AValue : TSourceGetMetadataRequest);
  5036. begin
  5037. If (FgetMetadata=AValue) then exit;
  5038. FgetMetadata:=AValue;
  5039. MarkPropertyChanged(AIndex);
  5040. end;
  5041. { --------------------------------------------------------------------
  5042. TSourceSplitRequest
  5043. --------------------------------------------------------------------}
  5044. Procedure TSourceSplitRequest.Setsource(AIndex : Integer; const AValue : TSource);
  5045. begin
  5046. If (Fsource=AValue) then exit;
  5047. Fsource:=AValue;
  5048. MarkPropertyChanged(AIndex);
  5049. end;
  5050. Procedure TSourceSplitRequest.Setoptions(AIndex : Integer; const AValue : TSourceSplitOptions);
  5051. begin
  5052. If (Foptions=AValue) then exit;
  5053. Foptions:=AValue;
  5054. MarkPropertyChanged(AIndex);
  5055. end;
  5056. { --------------------------------------------------------------------
  5057. TSourceSplitOptions
  5058. --------------------------------------------------------------------}
  5059. Procedure TSourceSplitOptions.SetdesiredBundleSizeBytes(AIndex : Integer; const AValue : String);
  5060. begin
  5061. If (FdesiredBundleSizeBytes=AValue) then exit;
  5062. FdesiredBundleSizeBytes:=AValue;
  5063. MarkPropertyChanged(AIndex);
  5064. end;
  5065. Procedure TSourceSplitOptions.SetdesiredShardSizeBytes(AIndex : Integer; const AValue : String);
  5066. begin
  5067. If (FdesiredShardSizeBytes=AValue) then exit;
  5068. FdesiredShardSizeBytes:=AValue;
  5069. MarkPropertyChanged(AIndex);
  5070. end;
  5071. { --------------------------------------------------------------------
  5072. TSourceGetMetadataRequest
  5073. --------------------------------------------------------------------}
  5074. Procedure TSourceGetMetadataRequest.Setsource(AIndex : Integer; const AValue : TSource);
  5075. begin
  5076. If (Fsource=AValue) then exit;
  5077. Fsource:=AValue;
  5078. MarkPropertyChanged(AIndex);
  5079. end;
  5080. { --------------------------------------------------------------------
  5081. TStreamingComputationTask
  5082. --------------------------------------------------------------------}
  5083. Procedure TStreamingComputationTask.SettaskType(AIndex : Integer; const AValue : String);
  5084. begin
  5085. If (FtaskType=AValue) then exit;
  5086. FtaskType:=AValue;
  5087. MarkPropertyChanged(AIndex);
  5088. end;
  5089. Procedure TStreamingComputationTask.SetdataDisks(AIndex : Integer; const AValue : TStreamingComputationTaskTypedataDisksArray);
  5090. begin
  5091. If (FdataDisks=AValue) then exit;
  5092. FdataDisks:=AValue;
  5093. MarkPropertyChanged(AIndex);
  5094. end;
  5095. Procedure TStreamingComputationTask.SetcomputationRanges(AIndex : Integer; const AValue : TStreamingComputationTaskTypecomputationRangesArray);
  5096. begin
  5097. If (FcomputationRanges=AValue) then exit;
  5098. FcomputationRanges:=AValue;
  5099. MarkPropertyChanged(AIndex);
  5100. end;
  5101. //2.6.4. bug workaround
  5102. {$IFDEF VER2_6}
  5103. Procedure TStreamingComputationTask.SetArrayLength(Const AName : String; ALength : Longint);
  5104. begin
  5105. Case AName of
  5106. 'datadisks' : SetLength(FdataDisks,ALength);
  5107. 'computationranges' : SetLength(FcomputationRanges,ALength);
  5108. else
  5109. Inherited SetArrayLength(AName,ALength);
  5110. end;
  5111. end;
  5112. {$ENDIF VER2_6}
  5113. { --------------------------------------------------------------------
  5114. TMountedDataDisk
  5115. --------------------------------------------------------------------}
  5116. Procedure TMountedDataDisk.SetdataDisk(AIndex : Integer; const AValue : String);
  5117. begin
  5118. If (FdataDisk=AValue) then exit;
  5119. FdataDisk:=AValue;
  5120. MarkPropertyChanged(AIndex);
  5121. end;
  5122. { --------------------------------------------------------------------
  5123. TStreamingComputationRanges
  5124. --------------------------------------------------------------------}
  5125. Procedure TStreamingComputationRanges.SetcomputationId(AIndex : Integer; const AValue : String);
  5126. begin
  5127. If (FcomputationId=AValue) then exit;
  5128. FcomputationId:=AValue;
  5129. MarkPropertyChanged(AIndex);
  5130. end;
  5131. Procedure TStreamingComputationRanges.SetrangeAssignments(AIndex : Integer; const AValue : TStreamingComputationRangesTyperangeAssignmentsArray);
  5132. begin
  5133. If (FrangeAssignments=AValue) then exit;
  5134. FrangeAssignments:=AValue;
  5135. MarkPropertyChanged(AIndex);
  5136. end;
  5137. //2.6.4. bug workaround
  5138. {$IFDEF VER2_6}
  5139. Procedure TStreamingComputationRanges.SetArrayLength(Const AName : String; ALength : Longint);
  5140. begin
  5141. Case AName of
  5142. 'rangeassignments' : SetLength(FrangeAssignments,ALength);
  5143. else
  5144. Inherited SetArrayLength(AName,ALength);
  5145. end;
  5146. end;
  5147. {$ENDIF VER2_6}
  5148. { --------------------------------------------------------------------
  5149. TKeyRangeDataDiskAssignment
  5150. --------------------------------------------------------------------}
  5151. Procedure TKeyRangeDataDiskAssignment.Setstart(AIndex : Integer; const AValue : String);
  5152. begin
  5153. If (Fstart=AValue) then exit;
  5154. Fstart:=AValue;
  5155. MarkPropertyChanged(AIndex);
  5156. end;
  5157. Procedure TKeyRangeDataDiskAssignment.Set_end(AIndex : Integer; const AValue : String);
  5158. begin
  5159. If (F_end=AValue) then exit;
  5160. F_end:=AValue;
  5161. MarkPropertyChanged(AIndex);
  5162. end;
  5163. Procedure TKeyRangeDataDiskAssignment.SetdataDisk(AIndex : Integer; const AValue : String);
  5164. begin
  5165. If (FdataDisk=AValue) then exit;
  5166. FdataDisk:=AValue;
  5167. MarkPropertyChanged(AIndex);
  5168. end;
  5169. Class Function TKeyRangeDataDiskAssignment.ExportPropertyName(Const AName : String) :String;
  5170. begin
  5171. Case AName of
  5172. '_end' : Result:='end';
  5173. else
  5174. Result:=Inherited ExportPropertyName(AName);
  5175. end;
  5176. end;
  5177. { --------------------------------------------------------------------
  5178. TSendWorkerMessagesRequest
  5179. --------------------------------------------------------------------}
  5180. Procedure TSendWorkerMessagesRequest.SetworkerMessages(AIndex : Integer; const AValue : TSendWorkerMessagesRequestTypeworkerMessagesArray);
  5181. begin
  5182. If (FworkerMessages=AValue) then exit;
  5183. FworkerMessages:=AValue;
  5184. MarkPropertyChanged(AIndex);
  5185. end;
  5186. //2.6.4. bug workaround
  5187. {$IFDEF VER2_6}
  5188. Procedure TSendWorkerMessagesRequest.SetArrayLength(Const AName : String; ALength : Longint);
  5189. begin
  5190. Case AName of
  5191. 'workermessages' : SetLength(FworkerMessages,ALength);
  5192. else
  5193. Inherited SetArrayLength(AName,ALength);
  5194. end;
  5195. end;
  5196. {$ENDIF VER2_6}
  5197. { --------------------------------------------------------------------
  5198. TWorkerMessageTypelabels
  5199. --------------------------------------------------------------------}
  5200. Class Function TWorkerMessageTypelabels.AllowAdditionalProperties : Boolean;
  5201. begin
  5202. Result:=True;
  5203. end;
  5204. { --------------------------------------------------------------------
  5205. TWorkerMessage
  5206. --------------------------------------------------------------------}
  5207. Procedure TWorkerMessage.Setlabels(AIndex : Integer; const AValue : TWorkerMessageTypelabels);
  5208. begin
  5209. If (Flabels=AValue) then exit;
  5210. Flabels:=AValue;
  5211. MarkPropertyChanged(AIndex);
  5212. end;
  5213. Procedure TWorkerMessage.Settime(AIndex : Integer; const AValue : String);
  5214. begin
  5215. If (Ftime=AValue) then exit;
  5216. Ftime:=AValue;
  5217. MarkPropertyChanged(AIndex);
  5218. end;
  5219. Procedure TWorkerMessage.SetworkerHealthReport(AIndex : Integer; const AValue : TWorkerHealthReport);
  5220. begin
  5221. If (FworkerHealthReport=AValue) then exit;
  5222. FworkerHealthReport:=AValue;
  5223. MarkPropertyChanged(AIndex);
  5224. end;
  5225. Procedure TWorkerMessage.SetworkerMessageCode(AIndex : Integer; const AValue : TWorkerMessageCode);
  5226. begin
  5227. If (FworkerMessageCode=AValue) then exit;
  5228. FworkerMessageCode:=AValue;
  5229. MarkPropertyChanged(AIndex);
  5230. end;
  5231. { --------------------------------------------------------------------
  5232. TWorkerHealthReportTypepodsItem
  5233. --------------------------------------------------------------------}
  5234. Class Function TWorkerHealthReportTypepodsItem.AllowAdditionalProperties : Boolean;
  5235. begin
  5236. Result:=True;
  5237. end;
  5238. { --------------------------------------------------------------------
  5239. TWorkerHealthReport
  5240. --------------------------------------------------------------------}
  5241. Procedure TWorkerHealthReport.SetvmIsHealthy(AIndex : Integer; const AValue : boolean);
  5242. begin
  5243. If (FvmIsHealthy=AValue) then exit;
  5244. FvmIsHealthy:=AValue;
  5245. MarkPropertyChanged(AIndex);
  5246. end;
  5247. Procedure TWorkerHealthReport.SetvmStartupTime(AIndex : Integer; const AValue : String);
  5248. begin
  5249. If (FvmStartupTime=AValue) then exit;
  5250. FvmStartupTime:=AValue;
  5251. MarkPropertyChanged(AIndex);
  5252. end;
  5253. Procedure TWorkerHealthReport.SetreportInterval(AIndex : Integer; const AValue : String);
  5254. begin
  5255. If (FreportInterval=AValue) then exit;
  5256. FreportInterval:=AValue;
  5257. MarkPropertyChanged(AIndex);
  5258. end;
  5259. Procedure TWorkerHealthReport.Setpods(AIndex : Integer; const AValue : TWorkerHealthReportTypepodsArray);
  5260. begin
  5261. If (Fpods=AValue) then exit;
  5262. Fpods:=AValue;
  5263. MarkPropertyChanged(AIndex);
  5264. end;
  5265. //2.6.4. bug workaround
  5266. {$IFDEF VER2_6}
  5267. Procedure TWorkerHealthReport.SetArrayLength(Const AName : String; ALength : Longint);
  5268. begin
  5269. Case AName of
  5270. 'pods' : SetLength(Fpods,ALength);
  5271. else
  5272. Inherited SetArrayLength(AName,ALength);
  5273. end;
  5274. end;
  5275. {$ENDIF VER2_6}
  5276. { --------------------------------------------------------------------
  5277. TWorkerMessageCodeTypeparameters
  5278. --------------------------------------------------------------------}
  5279. Class Function TWorkerMessageCodeTypeparameters.AllowAdditionalProperties : Boolean;
  5280. begin
  5281. Result:=True;
  5282. end;
  5283. { --------------------------------------------------------------------
  5284. TWorkerMessageCode
  5285. --------------------------------------------------------------------}
  5286. Procedure TWorkerMessageCode.Setcode(AIndex : Integer; const AValue : String);
  5287. begin
  5288. If (Fcode=AValue) then exit;
  5289. Fcode:=AValue;
  5290. MarkPropertyChanged(AIndex);
  5291. end;
  5292. Procedure TWorkerMessageCode.Setparameters(AIndex : Integer; const AValue : TWorkerMessageCodeTypeparameters);
  5293. begin
  5294. If (Fparameters=AValue) then exit;
  5295. Fparameters:=AValue;
  5296. MarkPropertyChanged(AIndex);
  5297. end;
  5298. { --------------------------------------------------------------------
  5299. TSendWorkerMessagesResponse
  5300. --------------------------------------------------------------------}
  5301. Procedure TSendWorkerMessagesResponse.SetworkerMessageResponses(AIndex : Integer; const AValue : TSendWorkerMessagesResponseTypeworkerMessageResponsesArray);
  5302. begin
  5303. If (FworkerMessageResponses=AValue) then exit;
  5304. FworkerMessageResponses:=AValue;
  5305. MarkPropertyChanged(AIndex);
  5306. end;
  5307. //2.6.4. bug workaround
  5308. {$IFDEF VER2_6}
  5309. Procedure TSendWorkerMessagesResponse.SetArrayLength(Const AName : String; ALength : Longint);
  5310. begin
  5311. Case AName of
  5312. 'workermessageresponses' : SetLength(FworkerMessageResponses,ALength);
  5313. else
  5314. Inherited SetArrayLength(AName,ALength);
  5315. end;
  5316. end;
  5317. {$ENDIF VER2_6}
  5318. { --------------------------------------------------------------------
  5319. TWorkerMessageResponse
  5320. --------------------------------------------------------------------}
  5321. Procedure TWorkerMessageResponse.SetworkerHealthReportResponse(AIndex : Integer; const AValue : TWorkerHealthReportResponse);
  5322. begin
  5323. If (FworkerHealthReportResponse=AValue) then exit;
  5324. FworkerHealthReportResponse:=AValue;
  5325. MarkPropertyChanged(AIndex);
  5326. end;
  5327. { --------------------------------------------------------------------
  5328. TWorkerHealthReportResponse
  5329. --------------------------------------------------------------------}
  5330. Procedure TWorkerHealthReportResponse.SetreportInterval(AIndex : Integer; const AValue : String);
  5331. begin
  5332. If (FreportInterval=AValue) then exit;
  5333. FreportInterval:=AValue;
  5334. MarkPropertyChanged(AIndex);
  5335. end;
  5336. { --------------------------------------------------------------------
  5337. TProjectsJobsMessagesResource
  5338. --------------------------------------------------------------------}
  5339. Class Function TProjectsJobsMessagesResource.ResourceName : String;
  5340. begin
  5341. Result:='messages';
  5342. end;
  5343. Class Function TProjectsJobsMessagesResource.DefaultAPI : TGoogleAPIClass;
  5344. begin
  5345. Result:=TdataflowAPI;
  5346. end;
  5347. Function TProjectsJobsMessagesResource.List(projectId: string; jobId: string; AQuery : string = '') : TListJobMessagesResponse;
  5348. Const
  5349. _HTTPMethod = 'GET';
  5350. _Path = 'v1b3/projects/{projectId}/jobs/{jobId}/messages';
  5351. _Methodid = 'dataflow.projects.jobs.messages.list';
  5352. Var
  5353. _P : String;
  5354. begin
  5355. _P:=SubstitutePath(_Path,['projectId',projectId,'jobId',jobId]);
  5356. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TListJobMessagesResponse) as TListJobMessagesResponse;
  5357. end;
  5358. Function TProjectsJobsMessagesResource.List(projectId: string; jobId: string; AQuery : TProjectsJobsMessageslistOptions) : TListJobMessagesResponse;
  5359. Var
  5360. _Q : String;
  5361. begin
  5362. _Q:='';
  5363. AddToQuery(_Q,'minimumImportance',AQuery.minimumImportance);
  5364. AddToQuery(_Q,'pageSize',AQuery.pageSize);
  5365. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  5366. AddToQuery(_Q,'startTime',AQuery.startTime);
  5367. AddToQuery(_Q,'endTime',AQuery.endTime);
  5368. Result:=List(projectId,jobId,_Q);
  5369. end;
  5370. { --------------------------------------------------------------------
  5371. TProjectsJobsWorkItemsResource
  5372. --------------------------------------------------------------------}
  5373. Class Function TProjectsJobsWorkItemsResource.ResourceName : String;
  5374. begin
  5375. Result:='workItems';
  5376. end;
  5377. Class Function TProjectsJobsWorkItemsResource.DefaultAPI : TGoogleAPIClass;
  5378. begin
  5379. Result:=TdataflowAPI;
  5380. end;
  5381. Function TProjectsJobsWorkItemsResource.ReportStatus(projectId: string; jobId: string; aReportWorkItemStatusRequest : TReportWorkItemStatusRequest) : TReportWorkItemStatusResponse;
  5382. Const
  5383. _HTTPMethod = 'POST';
  5384. _Path = 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus';
  5385. _Methodid = 'dataflow.projects.jobs.workItems.reportStatus';
  5386. Var
  5387. _P : String;
  5388. begin
  5389. _P:=SubstitutePath(_Path,['projectId',projectId,'jobId',jobId]);
  5390. Result:=ServiceCall(_HTTPMethod,_P,'',aReportWorkItemStatusRequest,TReportWorkItemStatusResponse) as TReportWorkItemStatusResponse;
  5391. end;
  5392. Function TProjectsJobsWorkItemsResource.Lease(projectId: string; jobId: string; aLeaseWorkItemRequest : TLeaseWorkItemRequest) : TLeaseWorkItemResponse;
  5393. Const
  5394. _HTTPMethod = 'POST';
  5395. _Path = 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease';
  5396. _Methodid = 'dataflow.projects.jobs.workItems.lease';
  5397. Var
  5398. _P : String;
  5399. begin
  5400. _P:=SubstitutePath(_Path,['projectId',projectId,'jobId',jobId]);
  5401. Result:=ServiceCall(_HTTPMethod,_P,'',aLeaseWorkItemRequest,TLeaseWorkItemResponse) as TLeaseWorkItemResponse;
  5402. end;
  5403. { --------------------------------------------------------------------
  5404. TProjectsJobsResource
  5405. --------------------------------------------------------------------}
  5406. Class Function TProjectsJobsResource.ResourceName : String;
  5407. begin
  5408. Result:='jobs';
  5409. end;
  5410. Class Function TProjectsJobsResource.DefaultAPI : TGoogleAPIClass;
  5411. begin
  5412. Result:=TdataflowAPI;
  5413. end;
  5414. Function TProjectsJobsResource.Create(projectId: string; aJob : TJob; AQuery : string = '') : TJob;
  5415. Const
  5416. _HTTPMethod = 'POST';
  5417. _Path = 'v1b3/projects/{projectId}/jobs';
  5418. _Methodid = 'dataflow.projects.jobs.create';
  5419. Var
  5420. _P : String;
  5421. begin
  5422. _P:=SubstitutePath(_Path,['projectId',projectId]);
  5423. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aJob,TJob) as TJob;
  5424. end;
  5425. Function TProjectsJobsResource.Create(projectId: string; aJob : TJob; AQuery : TProjectsJobscreateOptions) : TJob;
  5426. Var
  5427. _Q : String;
  5428. begin
  5429. _Q:='';
  5430. AddToQuery(_Q,'view',AQuery.view);
  5431. AddToQuery(_Q,'replaceJobId',AQuery.replaceJobId);
  5432. Result:=Create(projectId,aJob,_Q);
  5433. end;
  5434. Function TProjectsJobsResource.Get(projectId: string; jobId: string; AQuery : string = '') : TJob;
  5435. Const
  5436. _HTTPMethod = 'GET';
  5437. _Path = 'v1b3/projects/{projectId}/jobs/{jobId}';
  5438. _Methodid = 'dataflow.projects.jobs.get';
  5439. Var
  5440. _P : String;
  5441. begin
  5442. _P:=SubstitutePath(_Path,['projectId',projectId,'jobId',jobId]);
  5443. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TJob) as TJob;
  5444. end;
  5445. Function TProjectsJobsResource.Get(projectId: string; jobId: string; AQuery : TProjectsJobsgetOptions) : TJob;
  5446. Var
  5447. _Q : String;
  5448. begin
  5449. _Q:='';
  5450. AddToQuery(_Q,'view',AQuery.view);
  5451. Result:=Get(projectId,jobId,_Q);
  5452. end;
  5453. Function TProjectsJobsResource.Update(projectId: string; jobId: string; aJob : TJob) : TJob;
  5454. Const
  5455. _HTTPMethod = 'PUT';
  5456. _Path = 'v1b3/projects/{projectId}/jobs/{jobId}';
  5457. _Methodid = 'dataflow.projects.jobs.update';
  5458. Var
  5459. _P : String;
  5460. begin
  5461. _P:=SubstitutePath(_Path,['projectId',projectId,'jobId',jobId]);
  5462. Result:=ServiceCall(_HTTPMethod,_P,'',aJob,TJob) as TJob;
  5463. end;
  5464. Function TProjectsJobsResource.List(projectId: string; AQuery : string = '') : TListJobsResponse;
  5465. Const
  5466. _HTTPMethod = 'GET';
  5467. _Path = 'v1b3/projects/{projectId}/jobs';
  5468. _Methodid = 'dataflow.projects.jobs.list';
  5469. Var
  5470. _P : String;
  5471. begin
  5472. _P:=SubstitutePath(_Path,['projectId',projectId]);
  5473. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TListJobsResponse) as TListJobsResponse;
  5474. end;
  5475. Function TProjectsJobsResource.List(projectId: string; AQuery : TProjectsJobslistOptions) : TListJobsResponse;
  5476. Var
  5477. _Q : String;
  5478. begin
  5479. _Q:='';
  5480. AddToQuery(_Q,'filter',AQuery.filter);
  5481. AddToQuery(_Q,'view',AQuery.view);
  5482. AddToQuery(_Q,'pageSize',AQuery.pageSize);
  5483. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  5484. Result:=List(projectId,_Q);
  5485. end;
  5486. Function TProjectsJobsResource.GetMetrics(projectId: string; jobId: string; AQuery : string = '') : TJobMetrics;
  5487. Const
  5488. _HTTPMethod = 'GET';
  5489. _Path = 'v1b3/projects/{projectId}/jobs/{jobId}/metrics';
  5490. _Methodid = 'dataflow.projects.jobs.getMetrics';
  5491. Var
  5492. _P : String;
  5493. begin
  5494. _P:=SubstitutePath(_Path,['projectId',projectId,'jobId',jobId]);
  5495. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TJobMetrics) as TJobMetrics;
  5496. end;
  5497. Function TProjectsJobsResource.GetMetrics(projectId: string; jobId: string; AQuery : TProjectsJobsgetMetricsOptions) : TJobMetrics;
  5498. Var
  5499. _Q : String;
  5500. begin
  5501. _Q:='';
  5502. AddToQuery(_Q,'startTime',AQuery.startTime);
  5503. Result:=GetMetrics(projectId,jobId,_Q);
  5504. end;
  5505. Function TProjectsJobsResource.GetMessagesInstance : TProjectsJobsMessagesResource;
  5506. begin
  5507. if (FMessagesInstance=Nil) then
  5508. FMessagesInstance:=CreateMessagesResource;
  5509. Result:=FMessagesInstance;
  5510. end;
  5511. Function TProjectsJobsResource.CreateMessagesResource : TProjectsJobsMessagesResource;
  5512. begin
  5513. Result:=CreateMessagesResource(Self);
  5514. end;
  5515. Function TProjectsJobsResource.CreateMessagesResource(AOwner : TComponent) : TProjectsJobsMessagesResource;
  5516. begin
  5517. Result:=TProjectsJobsMessagesResource.Create(AOwner);
  5518. Result.API:=Self.API;
  5519. end;
  5520. Function TProjectsJobsResource.GetWorkItemsInstance : TProjectsJobsWorkItemsResource;
  5521. begin
  5522. if (FWorkItemsInstance=Nil) then
  5523. FWorkItemsInstance:=CreateWorkItemsResource;
  5524. Result:=FWorkItemsInstance;
  5525. end;
  5526. Function TProjectsJobsResource.CreateWorkItemsResource : TProjectsJobsWorkItemsResource;
  5527. begin
  5528. Result:=CreateWorkItemsResource(Self);
  5529. end;
  5530. Function TProjectsJobsResource.CreateWorkItemsResource(AOwner : TComponent) : TProjectsJobsWorkItemsResource;
  5531. begin
  5532. Result:=TProjectsJobsWorkItemsResource.Create(AOwner);
  5533. Result.API:=Self.API;
  5534. end;
  5535. { --------------------------------------------------------------------
  5536. TProjectsResource
  5537. --------------------------------------------------------------------}
  5538. Class Function TProjectsResource.ResourceName : String;
  5539. begin
  5540. Result:='projects';
  5541. end;
  5542. Class Function TProjectsResource.DefaultAPI : TGoogleAPIClass;
  5543. begin
  5544. Result:=TdataflowAPI;
  5545. end;
  5546. Function TProjectsResource.WorkerMessages(projectId: string; aSendWorkerMessagesRequest : TSendWorkerMessagesRequest) : TSendWorkerMessagesResponse;
  5547. Const
  5548. _HTTPMethod = 'POST';
  5549. _Path = 'v1b3/projects/{projectId}/WorkerMessages';
  5550. _Methodid = 'dataflow.projects.workerMessages';
  5551. Var
  5552. _P : String;
  5553. begin
  5554. _P:=SubstitutePath(_Path,['projectId',projectId]);
  5555. Result:=ServiceCall(_HTTPMethod,_P,'',aSendWorkerMessagesRequest,TSendWorkerMessagesResponse) as TSendWorkerMessagesResponse;
  5556. end;
  5557. Function TProjectsResource.GetJobsMessagesInstance : TProjectsJobsMessagesResource;
  5558. begin
  5559. if (FJobsMessagesInstance=Nil) then
  5560. FJobsMessagesInstance:=CreateJobsMessagesResource;
  5561. Result:=FJobsMessagesInstance;
  5562. end;
  5563. Function TProjectsResource.CreateJobsMessagesResource : TProjectsJobsMessagesResource;
  5564. begin
  5565. Result:=CreateJobsMessagesResource(Self);
  5566. end;
  5567. Function TProjectsResource.CreateJobsMessagesResource(AOwner : TComponent) : TProjectsJobsMessagesResource;
  5568. begin
  5569. Result:=TProjectsJobsMessagesResource.Create(AOwner);
  5570. Result.API:=Self.API;
  5571. end;
  5572. Function TProjectsResource.GetJobsWorkItemsInstance : TProjectsJobsWorkItemsResource;
  5573. begin
  5574. if (FJobsWorkItemsInstance=Nil) then
  5575. FJobsWorkItemsInstance:=CreateJobsWorkItemsResource;
  5576. Result:=FJobsWorkItemsInstance;
  5577. end;
  5578. Function TProjectsResource.CreateJobsWorkItemsResource : TProjectsJobsWorkItemsResource;
  5579. begin
  5580. Result:=CreateJobsWorkItemsResource(Self);
  5581. end;
  5582. Function TProjectsResource.CreateJobsWorkItemsResource(AOwner : TComponent) : TProjectsJobsWorkItemsResource;
  5583. begin
  5584. Result:=TProjectsJobsWorkItemsResource.Create(AOwner);
  5585. Result.API:=Self.API;
  5586. end;
  5587. Function TProjectsResource.GetJobsInstance : TProjectsJobsResource;
  5588. begin
  5589. if (FJobsInstance=Nil) then
  5590. FJobsInstance:=CreateJobsResource;
  5591. Result:=FJobsInstance;
  5592. end;
  5593. Function TProjectsResource.CreateJobsResource : TProjectsJobsResource;
  5594. begin
  5595. Result:=CreateJobsResource(Self);
  5596. end;
  5597. Function TProjectsResource.CreateJobsResource(AOwner : TComponent) : TProjectsJobsResource;
  5598. begin
  5599. Result:=TProjectsJobsResource.Create(AOwner);
  5600. Result.API:=Self.API;
  5601. end;
  5602. { --------------------------------------------------------------------
  5603. TDataflowAPI
  5604. --------------------------------------------------------------------}
  5605. Class Function TDataflowAPI.APIName : String;
  5606. begin
  5607. Result:='dataflow';
  5608. end;
  5609. Class Function TDataflowAPI.APIVersion : String;
  5610. begin
  5611. Result:='v1b3';
  5612. end;
  5613. Class Function TDataflowAPI.APIRevision : String;
  5614. begin
  5615. Result:='20160331';
  5616. end;
  5617. Class Function TDataflowAPI.APIID : String;
  5618. begin
  5619. Result:='dataflow:v1b3';
  5620. end;
  5621. Class Function TDataflowAPI.APITitle : String;
  5622. begin
  5623. Result:='Google Dataflow API';
  5624. end;
  5625. Class Function TDataflowAPI.APIDescription : String;
  5626. begin
  5627. Result:='Develops and executes data processing patterns like ETL, batch computation, and continuous computation.';
  5628. end;
  5629. Class Function TDataflowAPI.APIOwnerDomain : String;
  5630. begin
  5631. Result:='google.com';
  5632. end;
  5633. Class Function TDataflowAPI.APIOwnerName : String;
  5634. begin
  5635. Result:='Google';
  5636. end;
  5637. Class Function TDataflowAPI.APIIcon16 : String;
  5638. begin
  5639. Result:='http://www.google.com/images/icons/product/search-16.gif';
  5640. end;
  5641. Class Function TDataflowAPI.APIIcon32 : String;
  5642. begin
  5643. Result:='http://www.google.com/images/icons/product/search-32.gif';
  5644. end;
  5645. Class Function TDataflowAPI.APIdocumentationLink : String;
  5646. begin
  5647. Result:='https://cloud.google.com/dataflow';
  5648. end;
  5649. Class Function TDataflowAPI.APIrootUrl : string;
  5650. begin
  5651. Result:='https://dataflow.googleapis.com/';
  5652. end;
  5653. Class Function TDataflowAPI.APIbasePath : string;
  5654. begin
  5655. Result:='';
  5656. end;
  5657. Class Function TDataflowAPI.APIbaseURL : String;
  5658. begin
  5659. Result:='https://dataflow.googleapis.com/';
  5660. end;
  5661. Class Function TDataflowAPI.APIProtocol : string;
  5662. begin
  5663. Result:='rest';
  5664. end;
  5665. Class Function TDataflowAPI.APIservicePath : string;
  5666. begin
  5667. Result:='';
  5668. end;
  5669. Class Function TDataflowAPI.APIbatchPath : String;
  5670. begin
  5671. Result:='batch';
  5672. end;
  5673. Class Function TDataflowAPI.APIAuthScopes : TScopeInfoArray;
  5674. begin
  5675. SetLength(Result,2);
  5676. Result[0].Name:='https://www.googleapis.com/auth/cloud-platform';
  5677. Result[0].Description:='View and manage your data across Google Cloud Platform services';
  5678. Result[1].Name:='https://www.googleapis.com/auth/userinfo.email';
  5679. Result[1].Description:='View your email address';
  5680. end;
  5681. Class Function TDataflowAPI.APINeedsAuth : Boolean;
  5682. begin
  5683. Result:=True;
  5684. end;
  5685. Class Procedure TDataflowAPI.RegisterAPIResources;
  5686. begin
  5687. TJobTypetransformNameMapping.RegisterObject;
  5688. TJob.RegisterObject;
  5689. TEnvironmentTypeuserAgent.RegisterObject;
  5690. TEnvironmentTypeversion.RegisterObject;
  5691. TEnvironmentTypesdkPipelineOptions.RegisterObject;
  5692. TEnvironmentTypeinternalExperiments.RegisterObject;
  5693. TEnvironment.RegisterObject;
  5694. TWorkerPoolTypemetadata.RegisterObject;
  5695. TWorkerPoolTypepoolArgs.RegisterObject;
  5696. TWorkerPool.RegisterObject;
  5697. TPackage.RegisterObject;
  5698. TTaskRunnerSettings.RegisterObject;
  5699. TWorkerSettings.RegisterObject;
  5700. TDisk.RegisterObject;
  5701. TAutoscalingSettings.RegisterObject;
  5702. TStepTypeproperties.RegisterObject;
  5703. TStep.RegisterObject;
  5704. TJobExecutionInfoTypestages.RegisterObject;
  5705. TJobExecutionInfo.RegisterObject;
  5706. TJobExecutionStageInfo.RegisterObject;
  5707. TListJobsResponse.RegisterObject;
  5708. TListJobMessagesResponse.RegisterObject;
  5709. TJobMessage.RegisterObject;
  5710. TJobMetrics.RegisterObject;
  5711. TMetricUpdate.RegisterObject;
  5712. TMetricStructuredNameTypecontext.RegisterObject;
  5713. TMetricStructuredName.RegisterObject;
  5714. TReportWorkItemStatusRequest.RegisterObject;
  5715. TWorkItemStatus.RegisterObject;
  5716. TStatusTypedetailsItem.RegisterObject;
  5717. TStatus.RegisterObject;
  5718. TApproximateReportedProgress.RegisterObject;
  5719. TPosition.RegisterObject;
  5720. TConcatPosition.RegisterObject;
  5721. TReportedParallelism.RegisterObject;
  5722. TDynamicSourceSplit.RegisterObject;
  5723. TDerivedSource.RegisterObject;
  5724. TSourceTypespec.RegisterObject;
  5725. TSourceTypecodec.RegisterObject;
  5726. TSourceTypebaseSpecsItem.RegisterObject;
  5727. TSource.RegisterObject;
  5728. TSourceMetadata.RegisterObject;
  5729. TSourceOperationResponse.RegisterObject;
  5730. TSourceSplitResponse.RegisterObject;
  5731. TSourceSplitShard.RegisterObject;
  5732. TSourceGetMetadataResponse.RegisterObject;
  5733. TSourceFork.RegisterObject;
  5734. TApproximateProgress.RegisterObject;
  5735. TReportWorkItemStatusResponse.RegisterObject;
  5736. TWorkItemServiceStateTypeharnessData.RegisterObject;
  5737. TWorkItemServiceState.RegisterObject;
  5738. TApproximateSplitRequest.RegisterObject;
  5739. TLeaseWorkItemRequest.RegisterObject;
  5740. TLeaseWorkItemResponse.RegisterObject;
  5741. TWorkItem.RegisterObject;
  5742. TMapTask.RegisterObject;
  5743. TParallelInstruction.RegisterObject;
  5744. TReadInstruction.RegisterObject;
  5745. TWriteInstruction.RegisterObject;
  5746. TInstructionInput.RegisterObject;
  5747. TSinkTypespec.RegisterObject;
  5748. TSinkTypecodec.RegisterObject;
  5749. TSink.RegisterObject;
  5750. TParDoInstructionTypeuserFn.RegisterObject;
  5751. TParDoInstruction.RegisterObject;
  5752. TSideInputInfoTypekind.RegisterObject;
  5753. TSideInputInfo.RegisterObject;
  5754. TMultiOutputInfo.RegisterObject;
  5755. TPartialGroupByKeyInstructionTypeinputElementCodec.RegisterObject;
  5756. TPartialGroupByKeyInstructionTypevalueCombiningFn.RegisterObject;
  5757. TPartialGroupByKeyInstruction.RegisterObject;
  5758. TFlattenInstruction.RegisterObject;
  5759. TInstructionOutputTypecodec.RegisterObject;
  5760. TInstructionOutput.RegisterObject;
  5761. TSeqMapTaskTypeuserFn.RegisterObject;
  5762. TSeqMapTask.RegisterObject;
  5763. TSeqMapTaskOutputInfo.RegisterObject;
  5764. TShellTask.RegisterObject;
  5765. TStreamingSetupTask.RegisterObject;
  5766. TTopologyConfigTypeuserStageToComputationNameMap.RegisterObject;
  5767. TTopologyConfig.RegisterObject;
  5768. TComputationTopology.RegisterObject;
  5769. TKeyRangeLocation.RegisterObject;
  5770. TStreamLocation.RegisterObject;
  5771. TStreamingStageLocation.RegisterObject;
  5772. TPubsubLocation.RegisterObject;
  5773. TStreamingSideInputLocation.RegisterObject;
  5774. TCustomSourceLocation.RegisterObject;
  5775. TStateFamilyConfig.RegisterObject;
  5776. TDataDiskAssignment.RegisterObject;
  5777. TSourceOperationRequest.RegisterObject;
  5778. TSourceSplitRequest.RegisterObject;
  5779. TSourceSplitOptions.RegisterObject;
  5780. TSourceGetMetadataRequest.RegisterObject;
  5781. TStreamingComputationTask.RegisterObject;
  5782. TMountedDataDisk.RegisterObject;
  5783. TStreamingComputationRanges.RegisterObject;
  5784. TKeyRangeDataDiskAssignment.RegisterObject;
  5785. TSendWorkerMessagesRequest.RegisterObject;
  5786. TWorkerMessageTypelabels.RegisterObject;
  5787. TWorkerMessage.RegisterObject;
  5788. TWorkerHealthReportTypepodsItem.RegisterObject;
  5789. TWorkerHealthReport.RegisterObject;
  5790. TWorkerMessageCodeTypeparameters.RegisterObject;
  5791. TWorkerMessageCode.RegisterObject;
  5792. TSendWorkerMessagesResponse.RegisterObject;
  5793. TWorkerMessageResponse.RegisterObject;
  5794. TWorkerHealthReportResponse.RegisterObject;
  5795. end;
  5796. Function TDataflowAPI.GetProjectsJobsMessagesInstance : TProjectsJobsMessagesResource;
  5797. begin
  5798. if (FProjectsJobsMessagesInstance=Nil) then
  5799. FProjectsJobsMessagesInstance:=CreateProjectsJobsMessagesResource;
  5800. Result:=FProjectsJobsMessagesInstance;
  5801. end;
  5802. Function TDataflowAPI.CreateProjectsJobsMessagesResource : TProjectsJobsMessagesResource;
  5803. begin
  5804. Result:=CreateProjectsJobsMessagesResource(Self);
  5805. end;
  5806. Function TDataflowAPI.CreateProjectsJobsMessagesResource(AOwner : TComponent) : TProjectsJobsMessagesResource;
  5807. begin
  5808. Result:=TProjectsJobsMessagesResource.Create(AOwner);
  5809. Result.API:=Self.API;
  5810. end;
  5811. Function TDataflowAPI.GetProjectsJobsWorkItemsInstance : TProjectsJobsWorkItemsResource;
  5812. begin
  5813. if (FProjectsJobsWorkItemsInstance=Nil) then
  5814. FProjectsJobsWorkItemsInstance:=CreateProjectsJobsWorkItemsResource;
  5815. Result:=FProjectsJobsWorkItemsInstance;
  5816. end;
  5817. Function TDataflowAPI.CreateProjectsJobsWorkItemsResource : TProjectsJobsWorkItemsResource;
  5818. begin
  5819. Result:=CreateProjectsJobsWorkItemsResource(Self);
  5820. end;
  5821. Function TDataflowAPI.CreateProjectsJobsWorkItemsResource(AOwner : TComponent) : TProjectsJobsWorkItemsResource;
  5822. begin
  5823. Result:=TProjectsJobsWorkItemsResource.Create(AOwner);
  5824. Result.API:=Self.API;
  5825. end;
  5826. Function TDataflowAPI.GetProjectsJobsInstance : TProjectsJobsResource;
  5827. begin
  5828. if (FProjectsJobsInstance=Nil) then
  5829. FProjectsJobsInstance:=CreateProjectsJobsResource;
  5830. Result:=FProjectsJobsInstance;
  5831. end;
  5832. Function TDataflowAPI.CreateProjectsJobsResource : TProjectsJobsResource;
  5833. begin
  5834. Result:=CreateProjectsJobsResource(Self);
  5835. end;
  5836. Function TDataflowAPI.CreateProjectsJobsResource(AOwner : TComponent) : TProjectsJobsResource;
  5837. begin
  5838. Result:=TProjectsJobsResource.Create(AOwner);
  5839. Result.API:=Self.API;
  5840. end;
  5841. Function TDataflowAPI.GetProjectsInstance : TProjectsResource;
  5842. begin
  5843. if (FProjectsInstance=Nil) then
  5844. FProjectsInstance:=CreateProjectsResource;
  5845. Result:=FProjectsInstance;
  5846. end;
  5847. Function TDataflowAPI.CreateProjectsResource : TProjectsResource;
  5848. begin
  5849. Result:=CreateProjectsResource(Self);
  5850. end;
  5851. Function TDataflowAPI.CreateProjectsResource(AOwner : TComponent) : TProjectsResource;
  5852. begin
  5853. Result:=TProjectsResource.Create(AOwner);
  5854. Result.API:=Self.API;
  5855. end;
  5856. initialization
  5857. TDataflowAPI.RegisterAPI;
  5858. end.