index.d.ts 107 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932
  1. import { Long } from 'long'
  2. import * as $protobuf from "protobufjs";
  3. /** Properties of a BountyMetadata. */
  4. export interface IBountyMetadata {
  5. /** BountyMetadata title */
  6. title?: (string|null);
  7. /** BountyMetadata description */
  8. description?: (string|null);
  9. /** BountyMetadata discussionThread */
  10. discussionThread?: (number|null);
  11. /** BountyMetadata bannerImageUri */
  12. bannerImageUri?: (string|null);
  13. }
  14. /** Represents a BountyMetadata. */
  15. export class BountyMetadata implements IBountyMetadata {
  16. /**
  17. * Constructs a new BountyMetadata.
  18. * @param [properties] Properties to set
  19. */
  20. constructor(properties?: IBountyMetadata);
  21. /** BountyMetadata title. */
  22. public title: string;
  23. /** BountyMetadata description. */
  24. public description: string;
  25. /** BountyMetadata discussionThread. */
  26. public discussionThread: number;
  27. /** BountyMetadata bannerImageUri. */
  28. public bannerImageUri: string;
  29. /**
  30. * Creates a new BountyMetadata instance using the specified properties.
  31. * @param [properties] Properties to set
  32. * @returns BountyMetadata instance
  33. */
  34. public static create(properties?: IBountyMetadata): BountyMetadata;
  35. /**
  36. * Encodes the specified BountyMetadata message. Does not implicitly {@link BountyMetadata.verify|verify} messages.
  37. * @param message BountyMetadata message or plain object to encode
  38. * @param [writer] Writer to encode to
  39. * @returns Writer
  40. */
  41. public static encode(message: IBountyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  42. /**
  43. * Encodes the specified BountyMetadata message, length delimited. Does not implicitly {@link BountyMetadata.verify|verify} messages.
  44. * @param message BountyMetadata message or plain object to encode
  45. * @param [writer] Writer to encode to
  46. * @returns Writer
  47. */
  48. public static encodeDelimited(message: IBountyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  49. /**
  50. * Decodes a BountyMetadata message from the specified reader or buffer.
  51. * @param reader Reader or buffer to decode from
  52. * @param [length] Message length if known beforehand
  53. * @returns BountyMetadata
  54. * @throws {Error} If the payload is not a reader or valid buffer
  55. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  56. */
  57. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BountyMetadata;
  58. /**
  59. * Decodes a BountyMetadata message from the specified reader or buffer, length delimited.
  60. * @param reader Reader or buffer to decode from
  61. * @returns BountyMetadata
  62. * @throws {Error} If the payload is not a reader or valid buffer
  63. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  64. */
  65. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BountyMetadata;
  66. /**
  67. * Verifies a BountyMetadata message.
  68. * @param message Plain object to verify
  69. * @returns `null` if valid, otherwise the reason why it is not
  70. */
  71. public static verify(message: { [k: string]: any }): (string|null);
  72. /**
  73. * Creates a BountyMetadata message from a plain object. Also converts values to their respective internal types.
  74. * @param object Plain object
  75. * @returns BountyMetadata
  76. */
  77. public static fromObject(object: { [k: string]: any }): BountyMetadata;
  78. /**
  79. * Creates a plain object from a BountyMetadata message. Also converts values to other types if specified.
  80. * @param message BountyMetadata
  81. * @param [options] Conversion options
  82. * @returns Plain object
  83. */
  84. public static toObject(message: BountyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  85. /**
  86. * Converts this BountyMetadata to JSON.
  87. * @returns JSON object
  88. */
  89. public toJSON(): { [k: string]: any };
  90. }
  91. /** Properties of a BountyWorkData. */
  92. export interface IBountyWorkData {
  93. /** BountyWorkData title */
  94. title?: (string|null);
  95. /** BountyWorkData description */
  96. description?: (string|null);
  97. }
  98. /** Represents a BountyWorkData. */
  99. export class BountyWorkData implements IBountyWorkData {
  100. /**
  101. * Constructs a new BountyWorkData.
  102. * @param [properties] Properties to set
  103. */
  104. constructor(properties?: IBountyWorkData);
  105. /** BountyWorkData title. */
  106. public title: string;
  107. /** BountyWorkData description. */
  108. public description: string;
  109. /**
  110. * Creates a new BountyWorkData instance using the specified properties.
  111. * @param [properties] Properties to set
  112. * @returns BountyWorkData instance
  113. */
  114. public static create(properties?: IBountyWorkData): BountyWorkData;
  115. /**
  116. * Encodes the specified BountyWorkData message. Does not implicitly {@link BountyWorkData.verify|verify} messages.
  117. * @param message BountyWorkData message or plain object to encode
  118. * @param [writer] Writer to encode to
  119. * @returns Writer
  120. */
  121. public static encode(message: IBountyWorkData, writer?: $protobuf.Writer): $protobuf.Writer;
  122. /**
  123. * Encodes the specified BountyWorkData message, length delimited. Does not implicitly {@link BountyWorkData.verify|verify} messages.
  124. * @param message BountyWorkData message or plain object to encode
  125. * @param [writer] Writer to encode to
  126. * @returns Writer
  127. */
  128. public static encodeDelimited(message: IBountyWorkData, writer?: $protobuf.Writer): $protobuf.Writer;
  129. /**
  130. * Decodes a BountyWorkData message from the specified reader or buffer.
  131. * @param reader Reader or buffer to decode from
  132. * @param [length] Message length if known beforehand
  133. * @returns BountyWorkData
  134. * @throws {Error} If the payload is not a reader or valid buffer
  135. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  136. */
  137. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BountyWorkData;
  138. /**
  139. * Decodes a BountyWorkData message from the specified reader or buffer, length delimited.
  140. * @param reader Reader or buffer to decode from
  141. * @returns BountyWorkData
  142. * @throws {Error} If the payload is not a reader or valid buffer
  143. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  144. */
  145. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BountyWorkData;
  146. /**
  147. * Verifies a BountyWorkData message.
  148. * @param message Plain object to verify
  149. * @returns `null` if valid, otherwise the reason why it is not
  150. */
  151. public static verify(message: { [k: string]: any }): (string|null);
  152. /**
  153. * Creates a BountyWorkData message from a plain object. Also converts values to their respective internal types.
  154. * @param object Plain object
  155. * @returns BountyWorkData
  156. */
  157. public static fromObject(object: { [k: string]: any }): BountyWorkData;
  158. /**
  159. * Creates a plain object from a BountyWorkData message. Also converts values to other types if specified.
  160. * @param message BountyWorkData
  161. * @param [options] Conversion options
  162. * @returns Plain object
  163. */
  164. public static toObject(message: BountyWorkData, options?: $protobuf.IConversionOptions): { [k: string]: any };
  165. /**
  166. * Converts this BountyWorkData to JSON.
  167. * @returns JSON object
  168. */
  169. public toJSON(): { [k: string]: any };
  170. }
  171. /** Properties of a ChannelMetadata. */
  172. export interface IChannelMetadata {
  173. /** ChannelMetadata title */
  174. title?: (string|null);
  175. /** ChannelMetadata description */
  176. description?: (string|null);
  177. /** ChannelMetadata isPublic */
  178. isPublic?: (boolean|null);
  179. /** ChannelMetadata language */
  180. language?: (string|null);
  181. /** ChannelMetadata coverPhoto */
  182. coverPhoto?: (number|null);
  183. /** ChannelMetadata avatarPhoto */
  184. avatarPhoto?: (number|null);
  185. /** ChannelMetadata category */
  186. category?: (Long|null);
  187. }
  188. /** Represents a ChannelMetadata. */
  189. export class ChannelMetadata implements IChannelMetadata {
  190. /**
  191. * Constructs a new ChannelMetadata.
  192. * @param [properties] Properties to set
  193. */
  194. constructor(properties?: IChannelMetadata);
  195. /** ChannelMetadata title. */
  196. public title: string;
  197. /** ChannelMetadata description. */
  198. public description: string;
  199. /** ChannelMetadata isPublic. */
  200. public isPublic: boolean;
  201. /** ChannelMetadata language. */
  202. public language: string;
  203. /** ChannelMetadata coverPhoto. */
  204. public coverPhoto: number;
  205. /** ChannelMetadata avatarPhoto. */
  206. public avatarPhoto: number;
  207. /** ChannelMetadata category. */
  208. public category: Long;
  209. /**
  210. * Creates a new ChannelMetadata instance using the specified properties.
  211. * @param [properties] Properties to set
  212. * @returns ChannelMetadata instance
  213. */
  214. public static create(properties?: IChannelMetadata): ChannelMetadata;
  215. /**
  216. * Encodes the specified ChannelMetadata message. Does not implicitly {@link ChannelMetadata.verify|verify} messages.
  217. * @param message ChannelMetadata message or plain object to encode
  218. * @param [writer] Writer to encode to
  219. * @returns Writer
  220. */
  221. public static encode(message: IChannelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  222. /**
  223. * Encodes the specified ChannelMetadata message, length delimited. Does not implicitly {@link ChannelMetadata.verify|verify} messages.
  224. * @param message ChannelMetadata message or plain object to encode
  225. * @param [writer] Writer to encode to
  226. * @returns Writer
  227. */
  228. public static encodeDelimited(message: IChannelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  229. /**
  230. * Decodes a ChannelMetadata message from the specified reader or buffer.
  231. * @param reader Reader or buffer to decode from
  232. * @param [length] Message length if known beforehand
  233. * @returns ChannelMetadata
  234. * @throws {Error} If the payload is not a reader or valid buffer
  235. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  236. */
  237. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ChannelMetadata;
  238. /**
  239. * Decodes a ChannelMetadata message from the specified reader or buffer, length delimited.
  240. * @param reader Reader or buffer to decode from
  241. * @returns ChannelMetadata
  242. * @throws {Error} If the payload is not a reader or valid buffer
  243. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  244. */
  245. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ChannelMetadata;
  246. /**
  247. * Verifies a ChannelMetadata message.
  248. * @param message Plain object to verify
  249. * @returns `null` if valid, otherwise the reason why it is not
  250. */
  251. public static verify(message: { [k: string]: any }): (string|null);
  252. /**
  253. * Creates a ChannelMetadata message from a plain object. Also converts values to their respective internal types.
  254. * @param object Plain object
  255. * @returns ChannelMetadata
  256. */
  257. public static fromObject(object: { [k: string]: any }): ChannelMetadata;
  258. /**
  259. * Creates a plain object from a ChannelMetadata message. Also converts values to other types if specified.
  260. * @param message ChannelMetadata
  261. * @param [options] Conversion options
  262. * @returns Plain object
  263. */
  264. public static toObject(message: ChannelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  265. /**
  266. * Converts this ChannelMetadata to JSON.
  267. * @returns JSON object
  268. */
  269. public toJSON(): { [k: string]: any };
  270. }
  271. /** Properties of a ChannelCategoryMetadata. */
  272. export interface IChannelCategoryMetadata {
  273. /** ChannelCategoryMetadata name */
  274. name?: (string|null);
  275. }
  276. /** Represents a ChannelCategoryMetadata. */
  277. export class ChannelCategoryMetadata implements IChannelCategoryMetadata {
  278. /**
  279. * Constructs a new ChannelCategoryMetadata.
  280. * @param [properties] Properties to set
  281. */
  282. constructor(properties?: IChannelCategoryMetadata);
  283. /** ChannelCategoryMetadata name. */
  284. public name: string;
  285. /**
  286. * Creates a new ChannelCategoryMetadata instance using the specified properties.
  287. * @param [properties] Properties to set
  288. * @returns ChannelCategoryMetadata instance
  289. */
  290. public static create(properties?: IChannelCategoryMetadata): ChannelCategoryMetadata;
  291. /**
  292. * Encodes the specified ChannelCategoryMetadata message. Does not implicitly {@link ChannelCategoryMetadata.verify|verify} messages.
  293. * @param message ChannelCategoryMetadata message or plain object to encode
  294. * @param [writer] Writer to encode to
  295. * @returns Writer
  296. */
  297. public static encode(message: IChannelCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  298. /**
  299. * Encodes the specified ChannelCategoryMetadata message, length delimited. Does not implicitly {@link ChannelCategoryMetadata.verify|verify} messages.
  300. * @param message ChannelCategoryMetadata message or plain object to encode
  301. * @param [writer] Writer to encode to
  302. * @returns Writer
  303. */
  304. public static encodeDelimited(message: IChannelCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  305. /**
  306. * Decodes a ChannelCategoryMetadata message from the specified reader or buffer.
  307. * @param reader Reader or buffer to decode from
  308. * @param [length] Message length if known beforehand
  309. * @returns ChannelCategoryMetadata
  310. * @throws {Error} If the payload is not a reader or valid buffer
  311. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  312. */
  313. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ChannelCategoryMetadata;
  314. /**
  315. * Decodes a ChannelCategoryMetadata message from the specified reader or buffer, length delimited.
  316. * @param reader Reader or buffer to decode from
  317. * @returns ChannelCategoryMetadata
  318. * @throws {Error} If the payload is not a reader or valid buffer
  319. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  320. */
  321. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ChannelCategoryMetadata;
  322. /**
  323. * Verifies a ChannelCategoryMetadata message.
  324. * @param message Plain object to verify
  325. * @returns `null` if valid, otherwise the reason why it is not
  326. */
  327. public static verify(message: { [k: string]: any }): (string|null);
  328. /**
  329. * Creates a ChannelCategoryMetadata message from a plain object. Also converts values to their respective internal types.
  330. * @param object Plain object
  331. * @returns ChannelCategoryMetadata
  332. */
  333. public static fromObject(object: { [k: string]: any }): ChannelCategoryMetadata;
  334. /**
  335. * Creates a plain object from a ChannelCategoryMetadata message. Also converts values to other types if specified.
  336. * @param message ChannelCategoryMetadata
  337. * @param [options] Conversion options
  338. * @returns Plain object
  339. */
  340. public static toObject(message: ChannelCategoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  341. /**
  342. * Converts this ChannelCategoryMetadata to JSON.
  343. * @returns JSON object
  344. */
  345. public toJSON(): { [k: string]: any };
  346. }
  347. /** Properties of a CouncilCandidacyNoteMetadata. */
  348. export interface ICouncilCandidacyNoteMetadata {
  349. /** CouncilCandidacyNoteMetadata header */
  350. header?: (string|null);
  351. /** CouncilCandidacyNoteMetadata bulletPoints */
  352. bulletPoints?: (string[]|null);
  353. /** CouncilCandidacyNoteMetadata bannerImageUri */
  354. bannerImageUri?: (string|null);
  355. /** CouncilCandidacyNoteMetadata description */
  356. description?: (string|null);
  357. }
  358. /** Represents a CouncilCandidacyNoteMetadata. */
  359. export class CouncilCandidacyNoteMetadata implements ICouncilCandidacyNoteMetadata {
  360. /**
  361. * Constructs a new CouncilCandidacyNoteMetadata.
  362. * @param [properties] Properties to set
  363. */
  364. constructor(properties?: ICouncilCandidacyNoteMetadata);
  365. /** CouncilCandidacyNoteMetadata header. */
  366. public header: string;
  367. /** CouncilCandidacyNoteMetadata bulletPoints. */
  368. public bulletPoints: string[];
  369. /** CouncilCandidacyNoteMetadata bannerImageUri. */
  370. public bannerImageUri: string;
  371. /** CouncilCandidacyNoteMetadata description. */
  372. public description: string;
  373. /**
  374. * Creates a new CouncilCandidacyNoteMetadata instance using the specified properties.
  375. * @param [properties] Properties to set
  376. * @returns CouncilCandidacyNoteMetadata instance
  377. */
  378. public static create(properties?: ICouncilCandidacyNoteMetadata): CouncilCandidacyNoteMetadata;
  379. /**
  380. * Encodes the specified CouncilCandidacyNoteMetadata message. Does not implicitly {@link CouncilCandidacyNoteMetadata.verify|verify} messages.
  381. * @param message CouncilCandidacyNoteMetadata message or plain object to encode
  382. * @param [writer] Writer to encode to
  383. * @returns Writer
  384. */
  385. public static encode(message: ICouncilCandidacyNoteMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  386. /**
  387. * Encodes the specified CouncilCandidacyNoteMetadata message, length delimited. Does not implicitly {@link CouncilCandidacyNoteMetadata.verify|verify} messages.
  388. * @param message CouncilCandidacyNoteMetadata message or plain object to encode
  389. * @param [writer] Writer to encode to
  390. * @returns Writer
  391. */
  392. public static encodeDelimited(message: ICouncilCandidacyNoteMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  393. /**
  394. * Decodes a CouncilCandidacyNoteMetadata message from the specified reader or buffer.
  395. * @param reader Reader or buffer to decode from
  396. * @param [length] Message length if known beforehand
  397. * @returns CouncilCandidacyNoteMetadata
  398. * @throws {Error} If the payload is not a reader or valid buffer
  399. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  400. */
  401. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CouncilCandidacyNoteMetadata;
  402. /**
  403. * Decodes a CouncilCandidacyNoteMetadata message from the specified reader or buffer, length delimited.
  404. * @param reader Reader or buffer to decode from
  405. * @returns CouncilCandidacyNoteMetadata
  406. * @throws {Error} If the payload is not a reader or valid buffer
  407. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  408. */
  409. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CouncilCandidacyNoteMetadata;
  410. /**
  411. * Verifies a CouncilCandidacyNoteMetadata message.
  412. * @param message Plain object to verify
  413. * @returns `null` if valid, otherwise the reason why it is not
  414. */
  415. public static verify(message: { [k: string]: any }): (string|null);
  416. /**
  417. * Creates a CouncilCandidacyNoteMetadata message from a plain object. Also converts values to their respective internal types.
  418. * @param object Plain object
  419. * @returns CouncilCandidacyNoteMetadata
  420. */
  421. public static fromObject(object: { [k: string]: any }): CouncilCandidacyNoteMetadata;
  422. /**
  423. * Creates a plain object from a CouncilCandidacyNoteMetadata message. Also converts values to other types if specified.
  424. * @param message CouncilCandidacyNoteMetadata
  425. * @param [options] Conversion options
  426. * @returns Plain object
  427. */
  428. public static toObject(message: CouncilCandidacyNoteMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  429. /**
  430. * Converts this CouncilCandidacyNoteMetadata to JSON.
  431. * @returns JSON object
  432. */
  433. public toJSON(): { [k: string]: any };
  434. }
  435. /** Properties of a ForumPostReaction. */
  436. export interface IForumPostReaction {
  437. }
  438. /** Represents a ForumPostReaction. */
  439. export class ForumPostReaction implements IForumPostReaction {
  440. /**
  441. * Constructs a new ForumPostReaction.
  442. * @param [properties] Properties to set
  443. */
  444. constructor(properties?: IForumPostReaction);
  445. /**
  446. * Creates a new ForumPostReaction instance using the specified properties.
  447. * @param [properties] Properties to set
  448. * @returns ForumPostReaction instance
  449. */
  450. public static create(properties?: IForumPostReaction): ForumPostReaction;
  451. /**
  452. * Encodes the specified ForumPostReaction message. Does not implicitly {@link ForumPostReaction.verify|verify} messages.
  453. * @param message ForumPostReaction message or plain object to encode
  454. * @param [writer] Writer to encode to
  455. * @returns Writer
  456. */
  457. public static encode(message: IForumPostReaction, writer?: $protobuf.Writer): $protobuf.Writer;
  458. /**
  459. * Encodes the specified ForumPostReaction message, length delimited. Does not implicitly {@link ForumPostReaction.verify|verify} messages.
  460. * @param message ForumPostReaction message or plain object to encode
  461. * @param [writer] Writer to encode to
  462. * @returns Writer
  463. */
  464. public static encodeDelimited(message: IForumPostReaction, writer?: $protobuf.Writer): $protobuf.Writer;
  465. /**
  466. * Decodes a ForumPostReaction message from the specified reader or buffer.
  467. * @param reader Reader or buffer to decode from
  468. * @param [length] Message length if known beforehand
  469. * @returns ForumPostReaction
  470. * @throws {Error} If the payload is not a reader or valid buffer
  471. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  472. */
  473. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ForumPostReaction;
  474. /**
  475. * Decodes a ForumPostReaction message from the specified reader or buffer, length delimited.
  476. * @param reader Reader or buffer to decode from
  477. * @returns ForumPostReaction
  478. * @throws {Error} If the payload is not a reader or valid buffer
  479. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  480. */
  481. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ForumPostReaction;
  482. /**
  483. * Verifies a ForumPostReaction message.
  484. * @param message Plain object to verify
  485. * @returns `null` if valid, otherwise the reason why it is not
  486. */
  487. public static verify(message: { [k: string]: any }): (string|null);
  488. /**
  489. * Creates a ForumPostReaction message from a plain object. Also converts values to their respective internal types.
  490. * @param object Plain object
  491. * @returns ForumPostReaction
  492. */
  493. public static fromObject(object: { [k: string]: any }): ForumPostReaction;
  494. /**
  495. * Creates a plain object from a ForumPostReaction message. Also converts values to other types if specified.
  496. * @param message ForumPostReaction
  497. * @param [options] Conversion options
  498. * @returns Plain object
  499. */
  500. public static toObject(message: ForumPostReaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
  501. /**
  502. * Converts this ForumPostReaction to JSON.
  503. * @returns JSON object
  504. */
  505. public toJSON(): { [k: string]: any };
  506. }
  507. export namespace ForumPostReaction {
  508. /** Reaction enum. */
  509. enum Reaction {
  510. CANCEL = 0,
  511. LIKE = 1
  512. }
  513. }
  514. /** Properties of a ForumPostMetadata. */
  515. export interface IForumPostMetadata {
  516. /** ForumPostMetadata text */
  517. text?: (string|null);
  518. /** ForumPostMetadata repliesTo */
  519. repliesTo?: (number|null);
  520. }
  521. /** Represents a ForumPostMetadata. */
  522. export class ForumPostMetadata implements IForumPostMetadata {
  523. /**
  524. * Constructs a new ForumPostMetadata.
  525. * @param [properties] Properties to set
  526. */
  527. constructor(properties?: IForumPostMetadata);
  528. /** ForumPostMetadata text. */
  529. public text: string;
  530. /** ForumPostMetadata repliesTo. */
  531. public repliesTo: number;
  532. /**
  533. * Creates a new ForumPostMetadata instance using the specified properties.
  534. * @param [properties] Properties to set
  535. * @returns ForumPostMetadata instance
  536. */
  537. public static create(properties?: IForumPostMetadata): ForumPostMetadata;
  538. /**
  539. * Encodes the specified ForumPostMetadata message. Does not implicitly {@link ForumPostMetadata.verify|verify} messages.
  540. * @param message ForumPostMetadata message or plain object to encode
  541. * @param [writer] Writer to encode to
  542. * @returns Writer
  543. */
  544. public static encode(message: IForumPostMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  545. /**
  546. * Encodes the specified ForumPostMetadata message, length delimited. Does not implicitly {@link ForumPostMetadata.verify|verify} messages.
  547. * @param message ForumPostMetadata message or plain object to encode
  548. * @param [writer] Writer to encode to
  549. * @returns Writer
  550. */
  551. public static encodeDelimited(message: IForumPostMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  552. /**
  553. * Decodes a ForumPostMetadata message from the specified reader or buffer.
  554. * @param reader Reader or buffer to decode from
  555. * @param [length] Message length if known beforehand
  556. * @returns ForumPostMetadata
  557. * @throws {Error} If the payload is not a reader or valid buffer
  558. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  559. */
  560. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ForumPostMetadata;
  561. /**
  562. * Decodes a ForumPostMetadata message from the specified reader or buffer, length delimited.
  563. * @param reader Reader or buffer to decode from
  564. * @returns ForumPostMetadata
  565. * @throws {Error} If the payload is not a reader or valid buffer
  566. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  567. */
  568. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ForumPostMetadata;
  569. /**
  570. * Verifies a ForumPostMetadata message.
  571. * @param message Plain object to verify
  572. * @returns `null` if valid, otherwise the reason why it is not
  573. */
  574. public static verify(message: { [k: string]: any }): (string|null);
  575. /**
  576. * Creates a ForumPostMetadata message from a plain object. Also converts values to their respective internal types.
  577. * @param object Plain object
  578. * @returns ForumPostMetadata
  579. */
  580. public static fromObject(object: { [k: string]: any }): ForumPostMetadata;
  581. /**
  582. * Creates a plain object from a ForumPostMetadata message. Also converts values to other types if specified.
  583. * @param message ForumPostMetadata
  584. * @param [options] Conversion options
  585. * @returns Plain object
  586. */
  587. public static toObject(message: ForumPostMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  588. /**
  589. * Converts this ForumPostMetadata to JSON.
  590. * @returns JSON object
  591. */
  592. public toJSON(): { [k: string]: any };
  593. }
  594. /** Properties of a ForumThreadMetadata. */
  595. export interface IForumThreadMetadata {
  596. /** ForumThreadMetadata title */
  597. title?: (string|null);
  598. /** ForumThreadMetadata tags */
  599. tags?: (string[]|null);
  600. }
  601. /** Represents a ForumThreadMetadata. */
  602. export class ForumThreadMetadata implements IForumThreadMetadata {
  603. /**
  604. * Constructs a new ForumThreadMetadata.
  605. * @param [properties] Properties to set
  606. */
  607. constructor(properties?: IForumThreadMetadata);
  608. /** ForumThreadMetadata title. */
  609. public title: string;
  610. /** ForumThreadMetadata tags. */
  611. public tags: string[];
  612. /**
  613. * Creates a new ForumThreadMetadata instance using the specified properties.
  614. * @param [properties] Properties to set
  615. * @returns ForumThreadMetadata instance
  616. */
  617. public static create(properties?: IForumThreadMetadata): ForumThreadMetadata;
  618. /**
  619. * Encodes the specified ForumThreadMetadata message. Does not implicitly {@link ForumThreadMetadata.verify|verify} messages.
  620. * @param message ForumThreadMetadata message or plain object to encode
  621. * @param [writer] Writer to encode to
  622. * @returns Writer
  623. */
  624. public static encode(message: IForumThreadMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  625. /**
  626. * Encodes the specified ForumThreadMetadata message, length delimited. Does not implicitly {@link ForumThreadMetadata.verify|verify} messages.
  627. * @param message ForumThreadMetadata message or plain object to encode
  628. * @param [writer] Writer to encode to
  629. * @returns Writer
  630. */
  631. public static encodeDelimited(message: IForumThreadMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  632. /**
  633. * Decodes a ForumThreadMetadata message from the specified reader or buffer.
  634. * @param reader Reader or buffer to decode from
  635. * @param [length] Message length if known beforehand
  636. * @returns ForumThreadMetadata
  637. * @throws {Error} If the payload is not a reader or valid buffer
  638. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  639. */
  640. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ForumThreadMetadata;
  641. /**
  642. * Decodes a ForumThreadMetadata message from the specified reader or buffer, length delimited.
  643. * @param reader Reader or buffer to decode from
  644. * @returns ForumThreadMetadata
  645. * @throws {Error} If the payload is not a reader or valid buffer
  646. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  647. */
  648. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ForumThreadMetadata;
  649. /**
  650. * Verifies a ForumThreadMetadata message.
  651. * @param message Plain object to verify
  652. * @returns `null` if valid, otherwise the reason why it is not
  653. */
  654. public static verify(message: { [k: string]: any }): (string|null);
  655. /**
  656. * Creates a ForumThreadMetadata message from a plain object. Also converts values to their respective internal types.
  657. * @param object Plain object
  658. * @returns ForumThreadMetadata
  659. */
  660. public static fromObject(object: { [k: string]: any }): ForumThreadMetadata;
  661. /**
  662. * Creates a plain object from a ForumThreadMetadata message. Also converts values to other types if specified.
  663. * @param message ForumThreadMetadata
  664. * @param [options] Conversion options
  665. * @returns Plain object
  666. */
  667. public static toObject(message: ForumThreadMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  668. /**
  669. * Converts this ForumThreadMetadata to JSON.
  670. * @returns JSON object
  671. */
  672. public toJSON(): { [k: string]: any };
  673. }
  674. /** Properties of a MembershipMetadata. */
  675. export interface IMembershipMetadata {
  676. /** MembershipMetadata name */
  677. name?: (string|null);
  678. /** MembershipMetadata avatarObject */
  679. avatarObject?: (number|null);
  680. /** MembershipMetadata avatarUri */
  681. avatarUri?: (string|null);
  682. /** MembershipMetadata about */
  683. about?: (string|null);
  684. }
  685. /** Represents a MembershipMetadata. */
  686. export class MembershipMetadata implements IMembershipMetadata {
  687. /**
  688. * Constructs a new MembershipMetadata.
  689. * @param [properties] Properties to set
  690. */
  691. constructor(properties?: IMembershipMetadata);
  692. /** MembershipMetadata name. */
  693. public name: string;
  694. /** MembershipMetadata avatarObject. */
  695. public avatarObject?: (number|null);
  696. /** MembershipMetadata avatarUri. */
  697. public avatarUri?: (string|null);
  698. /** MembershipMetadata about. */
  699. public about: string;
  700. /** MembershipMetadata avatar. */
  701. public avatar?: ("avatarObject"|"avatarUri");
  702. /**
  703. * Creates a new MembershipMetadata instance using the specified properties.
  704. * @param [properties] Properties to set
  705. * @returns MembershipMetadata instance
  706. */
  707. public static create(properties?: IMembershipMetadata): MembershipMetadata;
  708. /**
  709. * Encodes the specified MembershipMetadata message. Does not implicitly {@link MembershipMetadata.verify|verify} messages.
  710. * @param message MembershipMetadata message or plain object to encode
  711. * @param [writer] Writer to encode to
  712. * @returns Writer
  713. */
  714. public static encode(message: IMembershipMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  715. /**
  716. * Encodes the specified MembershipMetadata message, length delimited. Does not implicitly {@link MembershipMetadata.verify|verify} messages.
  717. * @param message MembershipMetadata message or plain object to encode
  718. * @param [writer] Writer to encode to
  719. * @returns Writer
  720. */
  721. public static encodeDelimited(message: IMembershipMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  722. /**
  723. * Decodes a MembershipMetadata message from the specified reader or buffer.
  724. * @param reader Reader or buffer to decode from
  725. * @param [length] Message length if known beforehand
  726. * @returns MembershipMetadata
  727. * @throws {Error} If the payload is not a reader or valid buffer
  728. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  729. */
  730. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MembershipMetadata;
  731. /**
  732. * Decodes a MembershipMetadata message from the specified reader or buffer, length delimited.
  733. * @param reader Reader or buffer to decode from
  734. * @returns MembershipMetadata
  735. * @throws {Error} If the payload is not a reader or valid buffer
  736. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  737. */
  738. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MembershipMetadata;
  739. /**
  740. * Verifies a MembershipMetadata message.
  741. * @param message Plain object to verify
  742. * @returns `null` if valid, otherwise the reason why it is not
  743. */
  744. public static verify(message: { [k: string]: any }): (string|null);
  745. /**
  746. * Creates a MembershipMetadata message from a plain object. Also converts values to their respective internal types.
  747. * @param object Plain object
  748. * @returns MembershipMetadata
  749. */
  750. public static fromObject(object: { [k: string]: any }): MembershipMetadata;
  751. /**
  752. * Creates a plain object from a MembershipMetadata message. Also converts values to other types if specified.
  753. * @param message MembershipMetadata
  754. * @param [options] Conversion options
  755. * @returns Plain object
  756. */
  757. public static toObject(message: MembershipMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  758. /**
  759. * Converts this MembershipMetadata to JSON.
  760. * @returns JSON object
  761. */
  762. public toJSON(): { [k: string]: any };
  763. }
  764. /** Properties of a PersonMetadata. */
  765. export interface IPersonMetadata {
  766. /** PersonMetadata firstName */
  767. firstName?: (string|null);
  768. /** PersonMetadata middleName */
  769. middleName?: (string|null);
  770. /** PersonMetadata lastName */
  771. lastName?: (string|null);
  772. /** PersonMetadata about */
  773. about?: (string|null);
  774. /** PersonMetadata coverPhoto */
  775. coverPhoto?: (number|null);
  776. /** PersonMetadata avatarPhoto */
  777. avatarPhoto?: (number|null);
  778. }
  779. /** Represents a PersonMetadata. */
  780. export class PersonMetadata implements IPersonMetadata {
  781. /**
  782. * Constructs a new PersonMetadata.
  783. * @param [properties] Properties to set
  784. */
  785. constructor(properties?: IPersonMetadata);
  786. /** PersonMetadata firstName. */
  787. public firstName: string;
  788. /** PersonMetadata middleName. */
  789. public middleName: string;
  790. /** PersonMetadata lastName. */
  791. public lastName: string;
  792. /** PersonMetadata about. */
  793. public about: string;
  794. /** PersonMetadata coverPhoto. */
  795. public coverPhoto: number;
  796. /** PersonMetadata avatarPhoto. */
  797. public avatarPhoto: number;
  798. /**
  799. * Creates a new PersonMetadata instance using the specified properties.
  800. * @param [properties] Properties to set
  801. * @returns PersonMetadata instance
  802. */
  803. public static create(properties?: IPersonMetadata): PersonMetadata;
  804. /**
  805. * Encodes the specified PersonMetadata message. Does not implicitly {@link PersonMetadata.verify|verify} messages.
  806. * @param message PersonMetadata message or plain object to encode
  807. * @param [writer] Writer to encode to
  808. * @returns Writer
  809. */
  810. public static encode(message: IPersonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  811. /**
  812. * Encodes the specified PersonMetadata message, length delimited. Does not implicitly {@link PersonMetadata.verify|verify} messages.
  813. * @param message PersonMetadata message or plain object to encode
  814. * @param [writer] Writer to encode to
  815. * @returns Writer
  816. */
  817. public static encodeDelimited(message: IPersonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  818. /**
  819. * Decodes a PersonMetadata message from the specified reader or buffer.
  820. * @param reader Reader or buffer to decode from
  821. * @param [length] Message length if known beforehand
  822. * @returns PersonMetadata
  823. * @throws {Error} If the payload is not a reader or valid buffer
  824. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  825. */
  826. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PersonMetadata;
  827. /**
  828. * Decodes a PersonMetadata message from the specified reader or buffer, length delimited.
  829. * @param reader Reader or buffer to decode from
  830. * @returns PersonMetadata
  831. * @throws {Error} If the payload is not a reader or valid buffer
  832. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  833. */
  834. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PersonMetadata;
  835. /**
  836. * Verifies a PersonMetadata message.
  837. * @param message Plain object to verify
  838. * @returns `null` if valid, otherwise the reason why it is not
  839. */
  840. public static verify(message: { [k: string]: any }): (string|null);
  841. /**
  842. * Creates a PersonMetadata message from a plain object. Also converts values to their respective internal types.
  843. * @param object Plain object
  844. * @returns PersonMetadata
  845. */
  846. public static fromObject(object: { [k: string]: any }): PersonMetadata;
  847. /**
  848. * Creates a plain object from a PersonMetadata message. Also converts values to other types if specified.
  849. * @param message PersonMetadata
  850. * @param [options] Conversion options
  851. * @returns Plain object
  852. */
  853. public static toObject(message: PersonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  854. /**
  855. * Converts this PersonMetadata to JSON.
  856. * @returns JSON object
  857. */
  858. public toJSON(): { [k: string]: any };
  859. }
  860. /** Properties of a PlaylistMetadata. */
  861. export interface IPlaylistMetadata {
  862. /** PlaylistMetadata title */
  863. title?: (string|null);
  864. /** PlaylistMetadata videos */
  865. videos?: (Long[]|null);
  866. }
  867. /** Represents a PlaylistMetadata. */
  868. export class PlaylistMetadata implements IPlaylistMetadata {
  869. /**
  870. * Constructs a new PlaylistMetadata.
  871. * @param [properties] Properties to set
  872. */
  873. constructor(properties?: IPlaylistMetadata);
  874. /** PlaylistMetadata title. */
  875. public title: string;
  876. /** PlaylistMetadata videos. */
  877. public videos: Long[];
  878. /**
  879. * Creates a new PlaylistMetadata instance using the specified properties.
  880. * @param [properties] Properties to set
  881. * @returns PlaylistMetadata instance
  882. */
  883. public static create(properties?: IPlaylistMetadata): PlaylistMetadata;
  884. /**
  885. * Encodes the specified PlaylistMetadata message. Does not implicitly {@link PlaylistMetadata.verify|verify} messages.
  886. * @param message PlaylistMetadata message or plain object to encode
  887. * @param [writer] Writer to encode to
  888. * @returns Writer
  889. */
  890. public static encode(message: IPlaylistMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  891. /**
  892. * Encodes the specified PlaylistMetadata message, length delimited. Does not implicitly {@link PlaylistMetadata.verify|verify} messages.
  893. * @param message PlaylistMetadata message or plain object to encode
  894. * @param [writer] Writer to encode to
  895. * @returns Writer
  896. */
  897. public static encodeDelimited(message: IPlaylistMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  898. /**
  899. * Decodes a PlaylistMetadata message from the specified reader or buffer.
  900. * @param reader Reader or buffer to decode from
  901. * @param [length] Message length if known beforehand
  902. * @returns PlaylistMetadata
  903. * @throws {Error} If the payload is not a reader or valid buffer
  904. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  905. */
  906. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PlaylistMetadata;
  907. /**
  908. * Decodes a PlaylistMetadata message from the specified reader or buffer, length delimited.
  909. * @param reader Reader or buffer to decode from
  910. * @returns PlaylistMetadata
  911. * @throws {Error} If the payload is not a reader or valid buffer
  912. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  913. */
  914. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PlaylistMetadata;
  915. /**
  916. * Verifies a PlaylistMetadata message.
  917. * @param message Plain object to verify
  918. * @returns `null` if valid, otherwise the reason why it is not
  919. */
  920. public static verify(message: { [k: string]: any }): (string|null);
  921. /**
  922. * Creates a PlaylistMetadata message from a plain object. Also converts values to their respective internal types.
  923. * @param object Plain object
  924. * @returns PlaylistMetadata
  925. */
  926. public static fromObject(object: { [k: string]: any }): PlaylistMetadata;
  927. /**
  928. * Creates a plain object from a PlaylistMetadata message. Also converts values to other types if specified.
  929. * @param message PlaylistMetadata
  930. * @param [options] Conversion options
  931. * @returns Plain object
  932. */
  933. public static toObject(message: PlaylistMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  934. /**
  935. * Converts this PlaylistMetadata to JSON.
  936. * @returns JSON object
  937. */
  938. public toJSON(): { [k: string]: any };
  939. }
  940. /** Properties of a ProposalsDiscussionPostMetadata. */
  941. export interface IProposalsDiscussionPostMetadata {
  942. /** ProposalsDiscussionPostMetadata text */
  943. text?: (string|null);
  944. /** ProposalsDiscussionPostMetadata repliesTo */
  945. repliesTo?: (number|null);
  946. }
  947. /** Represents a ProposalsDiscussionPostMetadata. */
  948. export class ProposalsDiscussionPostMetadata implements IProposalsDiscussionPostMetadata {
  949. /**
  950. * Constructs a new ProposalsDiscussionPostMetadata.
  951. * @param [properties] Properties to set
  952. */
  953. constructor(properties?: IProposalsDiscussionPostMetadata);
  954. /** ProposalsDiscussionPostMetadata text. */
  955. public text: string;
  956. /** ProposalsDiscussionPostMetadata repliesTo. */
  957. public repliesTo: number;
  958. /**
  959. * Creates a new ProposalsDiscussionPostMetadata instance using the specified properties.
  960. * @param [properties] Properties to set
  961. * @returns ProposalsDiscussionPostMetadata instance
  962. */
  963. public static create(properties?: IProposalsDiscussionPostMetadata): ProposalsDiscussionPostMetadata;
  964. /**
  965. * Encodes the specified ProposalsDiscussionPostMetadata message. Does not implicitly {@link ProposalsDiscussionPostMetadata.verify|verify} messages.
  966. * @param message ProposalsDiscussionPostMetadata message or plain object to encode
  967. * @param [writer] Writer to encode to
  968. * @returns Writer
  969. */
  970. public static encode(message: IProposalsDiscussionPostMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  971. /**
  972. * Encodes the specified ProposalsDiscussionPostMetadata message, length delimited. Does not implicitly {@link ProposalsDiscussionPostMetadata.verify|verify} messages.
  973. * @param message ProposalsDiscussionPostMetadata message or plain object to encode
  974. * @param [writer] Writer to encode to
  975. * @returns Writer
  976. */
  977. public static encodeDelimited(message: IProposalsDiscussionPostMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  978. /**
  979. * Decodes a ProposalsDiscussionPostMetadata message from the specified reader or buffer.
  980. * @param reader Reader or buffer to decode from
  981. * @param [length] Message length if known beforehand
  982. * @returns ProposalsDiscussionPostMetadata
  983. * @throws {Error} If the payload is not a reader or valid buffer
  984. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  985. */
  986. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProposalsDiscussionPostMetadata;
  987. /**
  988. * Decodes a ProposalsDiscussionPostMetadata message from the specified reader or buffer, length delimited.
  989. * @param reader Reader or buffer to decode from
  990. * @returns ProposalsDiscussionPostMetadata
  991. * @throws {Error} If the payload is not a reader or valid buffer
  992. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  993. */
  994. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProposalsDiscussionPostMetadata;
  995. /**
  996. * Verifies a ProposalsDiscussionPostMetadata message.
  997. * @param message Plain object to verify
  998. * @returns `null` if valid, otherwise the reason why it is not
  999. */
  1000. public static verify(message: { [k: string]: any }): (string|null);
  1001. /**
  1002. * Creates a ProposalsDiscussionPostMetadata message from a plain object. Also converts values to their respective internal types.
  1003. * @param object Plain object
  1004. * @returns ProposalsDiscussionPostMetadata
  1005. */
  1006. public static fromObject(object: { [k: string]: any }): ProposalsDiscussionPostMetadata;
  1007. /**
  1008. * Creates a plain object from a ProposalsDiscussionPostMetadata message. Also converts values to other types if specified.
  1009. * @param message ProposalsDiscussionPostMetadata
  1010. * @param [options] Conversion options
  1011. * @returns Plain object
  1012. */
  1013. public static toObject(message: ProposalsDiscussionPostMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1014. /**
  1015. * Converts this ProposalsDiscussionPostMetadata to JSON.
  1016. * @returns JSON object
  1017. */
  1018. public toJSON(): { [k: string]: any };
  1019. }
  1020. /** Properties of a SeriesMetadata. */
  1021. export interface ISeriesMetadata {
  1022. /** SeriesMetadata title */
  1023. title?: (string|null);
  1024. /** SeriesMetadata description */
  1025. description?: (string|null);
  1026. /** SeriesMetadata coverPhoto */
  1027. coverPhoto?: (number|null);
  1028. /** SeriesMetadata persons */
  1029. persons?: (Long[]|null);
  1030. }
  1031. /** Represents a SeriesMetadata. */
  1032. export class SeriesMetadata implements ISeriesMetadata {
  1033. /**
  1034. * Constructs a new SeriesMetadata.
  1035. * @param [properties] Properties to set
  1036. */
  1037. constructor(properties?: ISeriesMetadata);
  1038. /** SeriesMetadata title. */
  1039. public title: string;
  1040. /** SeriesMetadata description. */
  1041. public description: string;
  1042. /** SeriesMetadata coverPhoto. */
  1043. public coverPhoto: number;
  1044. /** SeriesMetadata persons. */
  1045. public persons: Long[];
  1046. /**
  1047. * Creates a new SeriesMetadata instance using the specified properties.
  1048. * @param [properties] Properties to set
  1049. * @returns SeriesMetadata instance
  1050. */
  1051. public static create(properties?: ISeriesMetadata): SeriesMetadata;
  1052. /**
  1053. * Encodes the specified SeriesMetadata message. Does not implicitly {@link SeriesMetadata.verify|verify} messages.
  1054. * @param message SeriesMetadata message or plain object to encode
  1055. * @param [writer] Writer to encode to
  1056. * @returns Writer
  1057. */
  1058. public static encode(message: ISeriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1059. /**
  1060. * Encodes the specified SeriesMetadata message, length delimited. Does not implicitly {@link SeriesMetadata.verify|verify} messages.
  1061. * @param message SeriesMetadata message or plain object to encode
  1062. * @param [writer] Writer to encode to
  1063. * @returns Writer
  1064. */
  1065. public static encodeDelimited(message: ISeriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1066. /**
  1067. * Decodes a SeriesMetadata message from the specified reader or buffer.
  1068. * @param reader Reader or buffer to decode from
  1069. * @param [length] Message length if known beforehand
  1070. * @returns SeriesMetadata
  1071. * @throws {Error} If the payload is not a reader or valid buffer
  1072. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1073. */
  1074. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SeriesMetadata;
  1075. /**
  1076. * Decodes a SeriesMetadata message from the specified reader or buffer, length delimited.
  1077. * @param reader Reader or buffer to decode from
  1078. * @returns SeriesMetadata
  1079. * @throws {Error} If the payload is not a reader or valid buffer
  1080. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1081. */
  1082. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SeriesMetadata;
  1083. /**
  1084. * Verifies a SeriesMetadata message.
  1085. * @param message Plain object to verify
  1086. * @returns `null` if valid, otherwise the reason why it is not
  1087. */
  1088. public static verify(message: { [k: string]: any }): (string|null);
  1089. /**
  1090. * Creates a SeriesMetadata message from a plain object. Also converts values to their respective internal types.
  1091. * @param object Plain object
  1092. * @returns SeriesMetadata
  1093. */
  1094. public static fromObject(object: { [k: string]: any }): SeriesMetadata;
  1095. /**
  1096. * Creates a plain object from a SeriesMetadata message. Also converts values to other types if specified.
  1097. * @param message SeriesMetadata
  1098. * @param [options] Conversion options
  1099. * @returns Plain object
  1100. */
  1101. public static toObject(message: SeriesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1102. /**
  1103. * Converts this SeriesMetadata to JSON.
  1104. * @returns JSON object
  1105. */
  1106. public toJSON(): { [k: string]: any };
  1107. }
  1108. /** Properties of a SeasonMetadata. */
  1109. export interface ISeasonMetadata {
  1110. /** SeasonMetadata title */
  1111. title?: (string|null);
  1112. /** SeasonMetadata description */
  1113. description?: (string|null);
  1114. /** SeasonMetadata coverPhoto */
  1115. coverPhoto?: (number|null);
  1116. /** SeasonMetadata persons */
  1117. persons?: (Long[]|null);
  1118. }
  1119. /** Represents a SeasonMetadata. */
  1120. export class SeasonMetadata implements ISeasonMetadata {
  1121. /**
  1122. * Constructs a new SeasonMetadata.
  1123. * @param [properties] Properties to set
  1124. */
  1125. constructor(properties?: ISeasonMetadata);
  1126. /** SeasonMetadata title. */
  1127. public title: string;
  1128. /** SeasonMetadata description. */
  1129. public description: string;
  1130. /** SeasonMetadata coverPhoto. */
  1131. public coverPhoto: number;
  1132. /** SeasonMetadata persons. */
  1133. public persons: Long[];
  1134. /**
  1135. * Creates a new SeasonMetadata instance using the specified properties.
  1136. * @param [properties] Properties to set
  1137. * @returns SeasonMetadata instance
  1138. */
  1139. public static create(properties?: ISeasonMetadata): SeasonMetadata;
  1140. /**
  1141. * Encodes the specified SeasonMetadata message. Does not implicitly {@link SeasonMetadata.verify|verify} messages.
  1142. * @param message SeasonMetadata message or plain object to encode
  1143. * @param [writer] Writer to encode to
  1144. * @returns Writer
  1145. */
  1146. public static encode(message: ISeasonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1147. /**
  1148. * Encodes the specified SeasonMetadata message, length delimited. Does not implicitly {@link SeasonMetadata.verify|verify} messages.
  1149. * @param message SeasonMetadata message or plain object to encode
  1150. * @param [writer] Writer to encode to
  1151. * @returns Writer
  1152. */
  1153. public static encodeDelimited(message: ISeasonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1154. /**
  1155. * Decodes a SeasonMetadata message from the specified reader or buffer.
  1156. * @param reader Reader or buffer to decode from
  1157. * @param [length] Message length if known beforehand
  1158. * @returns SeasonMetadata
  1159. * @throws {Error} If the payload is not a reader or valid buffer
  1160. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1161. */
  1162. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SeasonMetadata;
  1163. /**
  1164. * Decodes a SeasonMetadata message from the specified reader or buffer, length delimited.
  1165. * @param reader Reader or buffer to decode from
  1166. * @returns SeasonMetadata
  1167. * @throws {Error} If the payload is not a reader or valid buffer
  1168. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1169. */
  1170. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SeasonMetadata;
  1171. /**
  1172. * Verifies a SeasonMetadata message.
  1173. * @param message Plain object to verify
  1174. * @returns `null` if valid, otherwise the reason why it is not
  1175. */
  1176. public static verify(message: { [k: string]: any }): (string|null);
  1177. /**
  1178. * Creates a SeasonMetadata message from a plain object. Also converts values to their respective internal types.
  1179. * @param object Plain object
  1180. * @returns SeasonMetadata
  1181. */
  1182. public static fromObject(object: { [k: string]: any }): SeasonMetadata;
  1183. /**
  1184. * Creates a plain object from a SeasonMetadata message. Also converts values to other types if specified.
  1185. * @param message SeasonMetadata
  1186. * @param [options] Conversion options
  1187. * @returns Plain object
  1188. */
  1189. public static toObject(message: SeasonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1190. /**
  1191. * Converts this SeasonMetadata to JSON.
  1192. * @returns JSON object
  1193. */
  1194. public toJSON(): { [k: string]: any };
  1195. }
  1196. /** Properties of a PublishedBeforeJoystream. */
  1197. export interface IPublishedBeforeJoystream {
  1198. /** PublishedBeforeJoystream isPublished */
  1199. isPublished?: (boolean|null);
  1200. /** PublishedBeforeJoystream date */
  1201. date?: (string|null);
  1202. }
  1203. /** Represents a PublishedBeforeJoystream. */
  1204. export class PublishedBeforeJoystream implements IPublishedBeforeJoystream {
  1205. /**
  1206. * Constructs a new PublishedBeforeJoystream.
  1207. * @param [properties] Properties to set
  1208. */
  1209. constructor(properties?: IPublishedBeforeJoystream);
  1210. /** PublishedBeforeJoystream isPublished. */
  1211. public isPublished: boolean;
  1212. /** PublishedBeforeJoystream date. */
  1213. public date: string;
  1214. /**
  1215. * Creates a new PublishedBeforeJoystream instance using the specified properties.
  1216. * @param [properties] Properties to set
  1217. * @returns PublishedBeforeJoystream instance
  1218. */
  1219. public static create(properties?: IPublishedBeforeJoystream): PublishedBeforeJoystream;
  1220. /**
  1221. * Encodes the specified PublishedBeforeJoystream message. Does not implicitly {@link PublishedBeforeJoystream.verify|verify} messages.
  1222. * @param message PublishedBeforeJoystream message or plain object to encode
  1223. * @param [writer] Writer to encode to
  1224. * @returns Writer
  1225. */
  1226. public static encode(message: IPublishedBeforeJoystream, writer?: $protobuf.Writer): $protobuf.Writer;
  1227. /**
  1228. * Encodes the specified PublishedBeforeJoystream message, length delimited. Does not implicitly {@link PublishedBeforeJoystream.verify|verify} messages.
  1229. * @param message PublishedBeforeJoystream message or plain object to encode
  1230. * @param [writer] Writer to encode to
  1231. * @returns Writer
  1232. */
  1233. public static encodeDelimited(message: IPublishedBeforeJoystream, writer?: $protobuf.Writer): $protobuf.Writer;
  1234. /**
  1235. * Decodes a PublishedBeforeJoystream message from the specified reader or buffer.
  1236. * @param reader Reader or buffer to decode from
  1237. * @param [length] Message length if known beforehand
  1238. * @returns PublishedBeforeJoystream
  1239. * @throws {Error} If the payload is not a reader or valid buffer
  1240. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1241. */
  1242. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PublishedBeforeJoystream;
  1243. /**
  1244. * Decodes a PublishedBeforeJoystream message from the specified reader or buffer, length delimited.
  1245. * @param reader Reader or buffer to decode from
  1246. * @returns PublishedBeforeJoystream
  1247. * @throws {Error} If the payload is not a reader or valid buffer
  1248. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1249. */
  1250. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PublishedBeforeJoystream;
  1251. /**
  1252. * Verifies a PublishedBeforeJoystream message.
  1253. * @param message Plain object to verify
  1254. * @returns `null` if valid, otherwise the reason why it is not
  1255. */
  1256. public static verify(message: { [k: string]: any }): (string|null);
  1257. /**
  1258. * Creates a PublishedBeforeJoystream message from a plain object. Also converts values to their respective internal types.
  1259. * @param object Plain object
  1260. * @returns PublishedBeforeJoystream
  1261. */
  1262. public static fromObject(object: { [k: string]: any }): PublishedBeforeJoystream;
  1263. /**
  1264. * Creates a plain object from a PublishedBeforeJoystream message. Also converts values to other types if specified.
  1265. * @param message PublishedBeforeJoystream
  1266. * @param [options] Conversion options
  1267. * @returns Plain object
  1268. */
  1269. public static toObject(message: PublishedBeforeJoystream, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1270. /**
  1271. * Converts this PublishedBeforeJoystream to JSON.
  1272. * @returns JSON object
  1273. */
  1274. public toJSON(): { [k: string]: any };
  1275. }
  1276. /** Properties of a License. */
  1277. export interface ILicense {
  1278. /** License code */
  1279. code?: (number|null);
  1280. /** License attribution */
  1281. attribution?: (string|null);
  1282. /** License customText */
  1283. customText?: (string|null);
  1284. }
  1285. /** Represents a License. */
  1286. export class License implements ILicense {
  1287. /**
  1288. * Constructs a new License.
  1289. * @param [properties] Properties to set
  1290. */
  1291. constructor(properties?: ILicense);
  1292. /** License code. */
  1293. public code: number;
  1294. /** License attribution. */
  1295. public attribution: string;
  1296. /** License customText. */
  1297. public customText: string;
  1298. /**
  1299. * Creates a new License instance using the specified properties.
  1300. * @param [properties] Properties to set
  1301. * @returns License instance
  1302. */
  1303. public static create(properties?: ILicense): License;
  1304. /**
  1305. * Encodes the specified License message. Does not implicitly {@link License.verify|verify} messages.
  1306. * @param message License message or plain object to encode
  1307. * @param [writer] Writer to encode to
  1308. * @returns Writer
  1309. */
  1310. public static encode(message: ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
  1311. /**
  1312. * Encodes the specified License message, length delimited. Does not implicitly {@link License.verify|verify} messages.
  1313. * @param message License message or plain object to encode
  1314. * @param [writer] Writer to encode to
  1315. * @returns Writer
  1316. */
  1317. public static encodeDelimited(message: ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
  1318. /**
  1319. * Decodes a License message from the specified reader or buffer.
  1320. * @param reader Reader or buffer to decode from
  1321. * @param [length] Message length if known beforehand
  1322. * @returns License
  1323. * @throws {Error} If the payload is not a reader or valid buffer
  1324. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1325. */
  1326. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): License;
  1327. /**
  1328. * Decodes a License message from the specified reader or buffer, length delimited.
  1329. * @param reader Reader or buffer to decode from
  1330. * @returns License
  1331. * @throws {Error} If the payload is not a reader or valid buffer
  1332. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1333. */
  1334. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License;
  1335. /**
  1336. * Verifies a License message.
  1337. * @param message Plain object to verify
  1338. * @returns `null` if valid, otherwise the reason why it is not
  1339. */
  1340. public static verify(message: { [k: string]: any }): (string|null);
  1341. /**
  1342. * Creates a License message from a plain object. Also converts values to their respective internal types.
  1343. * @param object Plain object
  1344. * @returns License
  1345. */
  1346. public static fromObject(object: { [k: string]: any }): License;
  1347. /**
  1348. * Creates a plain object from a License message. Also converts values to other types if specified.
  1349. * @param message License
  1350. * @param [options] Conversion options
  1351. * @returns Plain object
  1352. */
  1353. public static toObject(message: License, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1354. /**
  1355. * Converts this License to JSON.
  1356. * @returns JSON object
  1357. */
  1358. public toJSON(): { [k: string]: any };
  1359. }
  1360. /** Properties of a MediaType. */
  1361. export interface IMediaType {
  1362. /** MediaType codecName */
  1363. codecName?: (string|null);
  1364. /** MediaType container */
  1365. container?: (string|null);
  1366. /** MediaType mimeMediaType */
  1367. mimeMediaType?: (string|null);
  1368. }
  1369. /** Represents a MediaType. */
  1370. export class MediaType implements IMediaType {
  1371. /**
  1372. * Constructs a new MediaType.
  1373. * @param [properties] Properties to set
  1374. */
  1375. constructor(properties?: IMediaType);
  1376. /** MediaType codecName. */
  1377. public codecName: string;
  1378. /** MediaType container. */
  1379. public container: string;
  1380. /** MediaType mimeMediaType. */
  1381. public mimeMediaType: string;
  1382. /**
  1383. * Creates a new MediaType instance using the specified properties.
  1384. * @param [properties] Properties to set
  1385. * @returns MediaType instance
  1386. */
  1387. public static create(properties?: IMediaType): MediaType;
  1388. /**
  1389. * Encodes the specified MediaType message. Does not implicitly {@link MediaType.verify|verify} messages.
  1390. * @param message MediaType message or plain object to encode
  1391. * @param [writer] Writer to encode to
  1392. * @returns Writer
  1393. */
  1394. public static encode(message: IMediaType, writer?: $protobuf.Writer): $protobuf.Writer;
  1395. /**
  1396. * Encodes the specified MediaType message, length delimited. Does not implicitly {@link MediaType.verify|verify} messages.
  1397. * @param message MediaType message or plain object to encode
  1398. * @param [writer] Writer to encode to
  1399. * @returns Writer
  1400. */
  1401. public static encodeDelimited(message: IMediaType, writer?: $protobuf.Writer): $protobuf.Writer;
  1402. /**
  1403. * Decodes a MediaType message from the specified reader or buffer.
  1404. * @param reader Reader or buffer to decode from
  1405. * @param [length] Message length if known beforehand
  1406. * @returns MediaType
  1407. * @throws {Error} If the payload is not a reader or valid buffer
  1408. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1409. */
  1410. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MediaType;
  1411. /**
  1412. * Decodes a MediaType message from the specified reader or buffer, length delimited.
  1413. * @param reader Reader or buffer to decode from
  1414. * @returns MediaType
  1415. * @throws {Error} If the payload is not a reader or valid buffer
  1416. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1417. */
  1418. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MediaType;
  1419. /**
  1420. * Verifies a MediaType message.
  1421. * @param message Plain object to verify
  1422. * @returns `null` if valid, otherwise the reason why it is not
  1423. */
  1424. public static verify(message: { [k: string]: any }): (string|null);
  1425. /**
  1426. * Creates a MediaType message from a plain object. Also converts values to their respective internal types.
  1427. * @param object Plain object
  1428. * @returns MediaType
  1429. */
  1430. public static fromObject(object: { [k: string]: any }): MediaType;
  1431. /**
  1432. * Creates a plain object from a MediaType message. Also converts values to other types if specified.
  1433. * @param message MediaType
  1434. * @param [options] Conversion options
  1435. * @returns Plain object
  1436. */
  1437. public static toObject(message: MediaType, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1438. /**
  1439. * Converts this MediaType to JSON.
  1440. * @returns JSON object
  1441. */
  1442. public toJSON(): { [k: string]: any };
  1443. }
  1444. /** Properties of a VideoMetadata. */
  1445. export interface IVideoMetadata {
  1446. /** VideoMetadata title */
  1447. title?: (string|null);
  1448. /** VideoMetadata description */
  1449. description?: (string|null);
  1450. /** VideoMetadata video */
  1451. video?: (number|null);
  1452. /** VideoMetadata thumbnailPhoto */
  1453. thumbnailPhoto?: (number|null);
  1454. /** VideoMetadata duration */
  1455. duration?: (number|null);
  1456. /** VideoMetadata mediaPixelHeight */
  1457. mediaPixelHeight?: (number|null);
  1458. /** VideoMetadata mediaPixelWidth */
  1459. mediaPixelWidth?: (number|null);
  1460. /** VideoMetadata mediaType */
  1461. mediaType?: (IMediaType|null);
  1462. /** VideoMetadata language */
  1463. language?: (string|null);
  1464. /** VideoMetadata license */
  1465. license?: (ILicense|null);
  1466. /** VideoMetadata publishedBeforeJoystream */
  1467. publishedBeforeJoystream?: (IPublishedBeforeJoystream|null);
  1468. /** VideoMetadata hasMarketing */
  1469. hasMarketing?: (boolean|null);
  1470. /** VideoMetadata isPublic */
  1471. isPublic?: (boolean|null);
  1472. /** VideoMetadata isExplicit */
  1473. isExplicit?: (boolean|null);
  1474. /** VideoMetadata persons */
  1475. persons?: (Long[]|null);
  1476. /** VideoMetadata category */
  1477. category?: (Long|null);
  1478. }
  1479. /** Represents a VideoMetadata. */
  1480. export class VideoMetadata implements IVideoMetadata {
  1481. /**
  1482. * Constructs a new VideoMetadata.
  1483. * @param [properties] Properties to set
  1484. */
  1485. constructor(properties?: IVideoMetadata);
  1486. /** VideoMetadata title. */
  1487. public title: string;
  1488. /** VideoMetadata description. */
  1489. public description: string;
  1490. /** VideoMetadata video. */
  1491. public video: number;
  1492. /** VideoMetadata thumbnailPhoto. */
  1493. public thumbnailPhoto: number;
  1494. /** VideoMetadata duration. */
  1495. public duration: number;
  1496. /** VideoMetadata mediaPixelHeight. */
  1497. public mediaPixelHeight: number;
  1498. /** VideoMetadata mediaPixelWidth. */
  1499. public mediaPixelWidth: number;
  1500. /** VideoMetadata mediaType. */
  1501. public mediaType?: (IMediaType|null);
  1502. /** VideoMetadata language. */
  1503. public language: string;
  1504. /** VideoMetadata license. */
  1505. public license?: (ILicense|null);
  1506. /** VideoMetadata publishedBeforeJoystream. */
  1507. public publishedBeforeJoystream?: (IPublishedBeforeJoystream|null);
  1508. /** VideoMetadata hasMarketing. */
  1509. public hasMarketing: boolean;
  1510. /** VideoMetadata isPublic. */
  1511. public isPublic: boolean;
  1512. /** VideoMetadata isExplicit. */
  1513. public isExplicit: boolean;
  1514. /** VideoMetadata persons. */
  1515. public persons: Long[];
  1516. /** VideoMetadata category. */
  1517. public category: Long;
  1518. /**
  1519. * Creates a new VideoMetadata instance using the specified properties.
  1520. * @param [properties] Properties to set
  1521. * @returns VideoMetadata instance
  1522. */
  1523. public static create(properties?: IVideoMetadata): VideoMetadata;
  1524. /**
  1525. * Encodes the specified VideoMetadata message. Does not implicitly {@link VideoMetadata.verify|verify} messages.
  1526. * @param message VideoMetadata message or plain object to encode
  1527. * @param [writer] Writer to encode to
  1528. * @returns Writer
  1529. */
  1530. public static encode(message: IVideoMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1531. /**
  1532. * Encodes the specified VideoMetadata message, length delimited. Does not implicitly {@link VideoMetadata.verify|verify} messages.
  1533. * @param message VideoMetadata message or plain object to encode
  1534. * @param [writer] Writer to encode to
  1535. * @returns Writer
  1536. */
  1537. public static encodeDelimited(message: IVideoMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1538. /**
  1539. * Decodes a VideoMetadata message from the specified reader or buffer.
  1540. * @param reader Reader or buffer to decode from
  1541. * @param [length] Message length if known beforehand
  1542. * @returns VideoMetadata
  1543. * @throws {Error} If the payload is not a reader or valid buffer
  1544. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1545. */
  1546. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VideoMetadata;
  1547. /**
  1548. * Decodes a VideoMetadata message from the specified reader or buffer, length delimited.
  1549. * @param reader Reader or buffer to decode from
  1550. * @returns VideoMetadata
  1551. * @throws {Error} If the payload is not a reader or valid buffer
  1552. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1553. */
  1554. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VideoMetadata;
  1555. /**
  1556. * Verifies a VideoMetadata message.
  1557. * @param message Plain object to verify
  1558. * @returns `null` if valid, otherwise the reason why it is not
  1559. */
  1560. public static verify(message: { [k: string]: any }): (string|null);
  1561. /**
  1562. * Creates a VideoMetadata message from a plain object. Also converts values to their respective internal types.
  1563. * @param object Plain object
  1564. * @returns VideoMetadata
  1565. */
  1566. public static fromObject(object: { [k: string]: any }): VideoMetadata;
  1567. /**
  1568. * Creates a plain object from a VideoMetadata message. Also converts values to other types if specified.
  1569. * @param message VideoMetadata
  1570. * @param [options] Conversion options
  1571. * @returns Plain object
  1572. */
  1573. public static toObject(message: VideoMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1574. /**
  1575. * Converts this VideoMetadata to JSON.
  1576. * @returns JSON object
  1577. */
  1578. public toJSON(): { [k: string]: any };
  1579. }
  1580. /** Properties of a VideoCategoryMetadata. */
  1581. export interface IVideoCategoryMetadata {
  1582. /** VideoCategoryMetadata name */
  1583. name?: (string|null);
  1584. }
  1585. /** Represents a VideoCategoryMetadata. */
  1586. export class VideoCategoryMetadata implements IVideoCategoryMetadata {
  1587. /**
  1588. * Constructs a new VideoCategoryMetadata.
  1589. * @param [properties] Properties to set
  1590. */
  1591. constructor(properties?: IVideoCategoryMetadata);
  1592. /** VideoCategoryMetadata name. */
  1593. public name: string;
  1594. /**
  1595. * Creates a new VideoCategoryMetadata instance using the specified properties.
  1596. * @param [properties] Properties to set
  1597. * @returns VideoCategoryMetadata instance
  1598. */
  1599. public static create(properties?: IVideoCategoryMetadata): VideoCategoryMetadata;
  1600. /**
  1601. * Encodes the specified VideoCategoryMetadata message. Does not implicitly {@link VideoCategoryMetadata.verify|verify} messages.
  1602. * @param message VideoCategoryMetadata message or plain object to encode
  1603. * @param [writer] Writer to encode to
  1604. * @returns Writer
  1605. */
  1606. public static encode(message: IVideoCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1607. /**
  1608. * Encodes the specified VideoCategoryMetadata message, length delimited. Does not implicitly {@link VideoCategoryMetadata.verify|verify} messages.
  1609. * @param message VideoCategoryMetadata message or plain object to encode
  1610. * @param [writer] Writer to encode to
  1611. * @returns Writer
  1612. */
  1613. public static encodeDelimited(message: IVideoCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1614. /**
  1615. * Decodes a VideoCategoryMetadata message from the specified reader or buffer.
  1616. * @param reader Reader or buffer to decode from
  1617. * @param [length] Message length if known beforehand
  1618. * @returns VideoCategoryMetadata
  1619. * @throws {Error} If the payload is not a reader or valid buffer
  1620. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1621. */
  1622. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VideoCategoryMetadata;
  1623. /**
  1624. * Decodes a VideoCategoryMetadata message from the specified reader or buffer, length delimited.
  1625. * @param reader Reader or buffer to decode from
  1626. * @returns VideoCategoryMetadata
  1627. * @throws {Error} If the payload is not a reader or valid buffer
  1628. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1629. */
  1630. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VideoCategoryMetadata;
  1631. /**
  1632. * Verifies a VideoCategoryMetadata message.
  1633. * @param message Plain object to verify
  1634. * @returns `null` if valid, otherwise the reason why it is not
  1635. */
  1636. public static verify(message: { [k: string]: any }): (string|null);
  1637. /**
  1638. * Creates a VideoCategoryMetadata message from a plain object. Also converts values to their respective internal types.
  1639. * @param object Plain object
  1640. * @returns VideoCategoryMetadata
  1641. */
  1642. public static fromObject(object: { [k: string]: any }): VideoCategoryMetadata;
  1643. /**
  1644. * Creates a plain object from a VideoCategoryMetadata message. Also converts values to other types if specified.
  1645. * @param message VideoCategoryMetadata
  1646. * @param [options] Conversion options
  1647. * @returns Plain object
  1648. */
  1649. public static toObject(message: VideoCategoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1650. /**
  1651. * Converts this VideoCategoryMetadata to JSON.
  1652. * @returns JSON object
  1653. */
  1654. public toJSON(): { [k: string]: any };
  1655. }
  1656. /** Properties of an OpeningMetadata. */
  1657. export interface IOpeningMetadata {
  1658. /** OpeningMetadata shortDescription */
  1659. shortDescription?: (string|null);
  1660. /** OpeningMetadata description */
  1661. description?: (string|null);
  1662. /** OpeningMetadata hiringLimit */
  1663. hiringLimit?: (number|null);
  1664. /** OpeningMetadata expectedEndingTimestamp */
  1665. expectedEndingTimestamp?: (number|null);
  1666. /** OpeningMetadata applicationDetails */
  1667. applicationDetails?: (string|null);
  1668. /** OpeningMetadata applicationFormQuestions */
  1669. applicationFormQuestions?: (OpeningMetadata.IApplicationFormQuestion[]|null);
  1670. }
  1671. /** Represents an OpeningMetadata. */
  1672. export class OpeningMetadata implements IOpeningMetadata {
  1673. /**
  1674. * Constructs a new OpeningMetadata.
  1675. * @param [properties] Properties to set
  1676. */
  1677. constructor(properties?: IOpeningMetadata);
  1678. /** OpeningMetadata shortDescription. */
  1679. public shortDescription: string;
  1680. /** OpeningMetadata description. */
  1681. public description: string;
  1682. /** OpeningMetadata hiringLimit. */
  1683. public hiringLimit: number;
  1684. /** OpeningMetadata expectedEndingTimestamp. */
  1685. public expectedEndingTimestamp: number;
  1686. /** OpeningMetadata applicationDetails. */
  1687. public applicationDetails: string;
  1688. /** OpeningMetadata applicationFormQuestions. */
  1689. public applicationFormQuestions: OpeningMetadata.IApplicationFormQuestion[];
  1690. /**
  1691. * Creates a new OpeningMetadata instance using the specified properties.
  1692. * @param [properties] Properties to set
  1693. * @returns OpeningMetadata instance
  1694. */
  1695. public static create(properties?: IOpeningMetadata): OpeningMetadata;
  1696. /**
  1697. * Encodes the specified OpeningMetadata message. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
  1698. * @param message OpeningMetadata message or plain object to encode
  1699. * @param [writer] Writer to encode to
  1700. * @returns Writer
  1701. */
  1702. public static encode(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1703. /**
  1704. * Encodes the specified OpeningMetadata message, length delimited. Does not implicitly {@link OpeningMetadata.verify|verify} messages.
  1705. * @param message OpeningMetadata message or plain object to encode
  1706. * @param [writer] Writer to encode to
  1707. * @returns Writer
  1708. */
  1709. public static encodeDelimited(message: IOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1710. /**
  1711. * Decodes an OpeningMetadata message from the specified reader or buffer.
  1712. * @param reader Reader or buffer to decode from
  1713. * @param [length] Message length if known beforehand
  1714. * @returns OpeningMetadata
  1715. * @throws {Error} If the payload is not a reader or valid buffer
  1716. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1717. */
  1718. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata;
  1719. /**
  1720. * Decodes an OpeningMetadata message from the specified reader or buffer, length delimited.
  1721. * @param reader Reader or buffer to decode from
  1722. * @returns OpeningMetadata
  1723. * @throws {Error} If the payload is not a reader or valid buffer
  1724. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1725. */
  1726. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata;
  1727. /**
  1728. * Verifies an OpeningMetadata message.
  1729. * @param message Plain object to verify
  1730. * @returns `null` if valid, otherwise the reason why it is not
  1731. */
  1732. public static verify(message: { [k: string]: any }): (string|null);
  1733. /**
  1734. * Creates an OpeningMetadata message from a plain object. Also converts values to their respective internal types.
  1735. * @param object Plain object
  1736. * @returns OpeningMetadata
  1737. */
  1738. public static fromObject(object: { [k: string]: any }): OpeningMetadata;
  1739. /**
  1740. * Creates a plain object from an OpeningMetadata message. Also converts values to other types if specified.
  1741. * @param message OpeningMetadata
  1742. * @param [options] Conversion options
  1743. * @returns Plain object
  1744. */
  1745. public static toObject(message: OpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1746. /**
  1747. * Converts this OpeningMetadata to JSON.
  1748. * @returns JSON object
  1749. */
  1750. public toJSON(): { [k: string]: any };
  1751. }
  1752. export namespace OpeningMetadata {
  1753. /** Properties of an ApplicationFormQuestion. */
  1754. interface IApplicationFormQuestion {
  1755. /** ApplicationFormQuestion question */
  1756. question?: (string|null);
  1757. /** ApplicationFormQuestion type */
  1758. type?: (OpeningMetadata.ApplicationFormQuestion.InputType|null);
  1759. }
  1760. /** Represents an ApplicationFormQuestion. */
  1761. class ApplicationFormQuestion implements IApplicationFormQuestion {
  1762. /**
  1763. * Constructs a new ApplicationFormQuestion.
  1764. * @param [properties] Properties to set
  1765. */
  1766. constructor(properties?: OpeningMetadata.IApplicationFormQuestion);
  1767. /** ApplicationFormQuestion question. */
  1768. public question: string;
  1769. /** ApplicationFormQuestion type. */
  1770. public type: OpeningMetadata.ApplicationFormQuestion.InputType;
  1771. /**
  1772. * Creates a new ApplicationFormQuestion instance using the specified properties.
  1773. * @param [properties] Properties to set
  1774. * @returns ApplicationFormQuestion instance
  1775. */
  1776. public static create(properties?: OpeningMetadata.IApplicationFormQuestion): OpeningMetadata.ApplicationFormQuestion;
  1777. /**
  1778. * Encodes the specified ApplicationFormQuestion message. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
  1779. * @param message ApplicationFormQuestion message or plain object to encode
  1780. * @param [writer] Writer to encode to
  1781. * @returns Writer
  1782. */
  1783. public static encode(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
  1784. /**
  1785. * Encodes the specified ApplicationFormQuestion message, length delimited. Does not implicitly {@link OpeningMetadata.ApplicationFormQuestion.verify|verify} messages.
  1786. * @param message ApplicationFormQuestion message or plain object to encode
  1787. * @param [writer] Writer to encode to
  1788. * @returns Writer
  1789. */
  1790. public static encodeDelimited(message: OpeningMetadata.IApplicationFormQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
  1791. /**
  1792. * Decodes an ApplicationFormQuestion message from the specified reader or buffer.
  1793. * @param reader Reader or buffer to decode from
  1794. * @param [length] Message length if known beforehand
  1795. * @returns ApplicationFormQuestion
  1796. * @throws {Error} If the payload is not a reader or valid buffer
  1797. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1798. */
  1799. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OpeningMetadata.ApplicationFormQuestion;
  1800. /**
  1801. * Decodes an ApplicationFormQuestion message from the specified reader or buffer, length delimited.
  1802. * @param reader Reader or buffer to decode from
  1803. * @returns ApplicationFormQuestion
  1804. * @throws {Error} If the payload is not a reader or valid buffer
  1805. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1806. */
  1807. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OpeningMetadata.ApplicationFormQuestion;
  1808. /**
  1809. * Verifies an ApplicationFormQuestion message.
  1810. * @param message Plain object to verify
  1811. * @returns `null` if valid, otherwise the reason why it is not
  1812. */
  1813. public static verify(message: { [k: string]: any }): (string|null);
  1814. /**
  1815. * Creates an ApplicationFormQuestion message from a plain object. Also converts values to their respective internal types.
  1816. * @param object Plain object
  1817. * @returns ApplicationFormQuestion
  1818. */
  1819. public static fromObject(object: { [k: string]: any }): OpeningMetadata.ApplicationFormQuestion;
  1820. /**
  1821. * Creates a plain object from an ApplicationFormQuestion message. Also converts values to other types if specified.
  1822. * @param message ApplicationFormQuestion
  1823. * @param [options] Conversion options
  1824. * @returns Plain object
  1825. */
  1826. public static toObject(message: OpeningMetadata.ApplicationFormQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1827. /**
  1828. * Converts this ApplicationFormQuestion to JSON.
  1829. * @returns JSON object
  1830. */
  1831. public toJSON(): { [k: string]: any };
  1832. }
  1833. namespace ApplicationFormQuestion {
  1834. /** InputType enum. */
  1835. enum InputType {
  1836. TEXTAREA = 0,
  1837. TEXT = 1
  1838. }
  1839. }
  1840. }
  1841. /** Properties of an UpcomingOpeningMetadata. */
  1842. export interface IUpcomingOpeningMetadata {
  1843. /** UpcomingOpeningMetadata expectedStart */
  1844. expectedStart?: (number|null);
  1845. /** UpcomingOpeningMetadata rewardPerBlock */
  1846. rewardPerBlock?: (Long|null);
  1847. /** UpcomingOpeningMetadata minApplicationStake */
  1848. minApplicationStake?: (Long|null);
  1849. /** UpcomingOpeningMetadata metadata */
  1850. metadata?: (IOpeningMetadata|null);
  1851. }
  1852. /** Represents an UpcomingOpeningMetadata. */
  1853. export class UpcomingOpeningMetadata implements IUpcomingOpeningMetadata {
  1854. /**
  1855. * Constructs a new UpcomingOpeningMetadata.
  1856. * @param [properties] Properties to set
  1857. */
  1858. constructor(properties?: IUpcomingOpeningMetadata);
  1859. /** UpcomingOpeningMetadata expectedStart. */
  1860. public expectedStart: number;
  1861. /** UpcomingOpeningMetadata rewardPerBlock. */
  1862. public rewardPerBlock: Long;
  1863. /** UpcomingOpeningMetadata minApplicationStake. */
  1864. public minApplicationStake: Long;
  1865. /** UpcomingOpeningMetadata metadata. */
  1866. public metadata?: (IOpeningMetadata|null);
  1867. /**
  1868. * Creates a new UpcomingOpeningMetadata instance using the specified properties.
  1869. * @param [properties] Properties to set
  1870. * @returns UpcomingOpeningMetadata instance
  1871. */
  1872. public static create(properties?: IUpcomingOpeningMetadata): UpcomingOpeningMetadata;
  1873. /**
  1874. * Encodes the specified UpcomingOpeningMetadata message. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
  1875. * @param message UpcomingOpeningMetadata message or plain object to encode
  1876. * @param [writer] Writer to encode to
  1877. * @returns Writer
  1878. */
  1879. public static encode(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1880. /**
  1881. * Encodes the specified UpcomingOpeningMetadata message, length delimited. Does not implicitly {@link UpcomingOpeningMetadata.verify|verify} messages.
  1882. * @param message UpcomingOpeningMetadata message or plain object to encode
  1883. * @param [writer] Writer to encode to
  1884. * @returns Writer
  1885. */
  1886. public static encodeDelimited(message: IUpcomingOpeningMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1887. /**
  1888. * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer.
  1889. * @param reader Reader or buffer to decode from
  1890. * @param [length] Message length if known beforehand
  1891. * @returns UpcomingOpeningMetadata
  1892. * @throws {Error} If the payload is not a reader or valid buffer
  1893. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1894. */
  1895. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UpcomingOpeningMetadata;
  1896. /**
  1897. * Decodes an UpcomingOpeningMetadata message from the specified reader or buffer, length delimited.
  1898. * @param reader Reader or buffer to decode from
  1899. * @returns UpcomingOpeningMetadata
  1900. * @throws {Error} If the payload is not a reader or valid buffer
  1901. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1902. */
  1903. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UpcomingOpeningMetadata;
  1904. /**
  1905. * Verifies an UpcomingOpeningMetadata message.
  1906. * @param message Plain object to verify
  1907. * @returns `null` if valid, otherwise the reason why it is not
  1908. */
  1909. public static verify(message: { [k: string]: any }): (string|null);
  1910. /**
  1911. * Creates an UpcomingOpeningMetadata message from a plain object. Also converts values to their respective internal types.
  1912. * @param object Plain object
  1913. * @returns UpcomingOpeningMetadata
  1914. */
  1915. public static fromObject(object: { [k: string]: any }): UpcomingOpeningMetadata;
  1916. /**
  1917. * Creates a plain object from an UpcomingOpeningMetadata message. Also converts values to other types if specified.
  1918. * @param message UpcomingOpeningMetadata
  1919. * @param [options] Conversion options
  1920. * @returns Plain object
  1921. */
  1922. public static toObject(message: UpcomingOpeningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1923. /**
  1924. * Converts this UpcomingOpeningMetadata to JSON.
  1925. * @returns JSON object
  1926. */
  1927. public toJSON(): { [k: string]: any };
  1928. }
  1929. /** Properties of an ApplicationMetadata. */
  1930. export interface IApplicationMetadata {
  1931. /** ApplicationMetadata answers */
  1932. answers?: (string[]|null);
  1933. }
  1934. /** Represents an ApplicationMetadata. */
  1935. export class ApplicationMetadata implements IApplicationMetadata {
  1936. /**
  1937. * Constructs a new ApplicationMetadata.
  1938. * @param [properties] Properties to set
  1939. */
  1940. constructor(properties?: IApplicationMetadata);
  1941. /** ApplicationMetadata answers. */
  1942. public answers: string[];
  1943. /**
  1944. * Creates a new ApplicationMetadata instance using the specified properties.
  1945. * @param [properties] Properties to set
  1946. * @returns ApplicationMetadata instance
  1947. */
  1948. public static create(properties?: IApplicationMetadata): ApplicationMetadata;
  1949. /**
  1950. * Encodes the specified ApplicationMetadata message. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
  1951. * @param message ApplicationMetadata message or plain object to encode
  1952. * @param [writer] Writer to encode to
  1953. * @returns Writer
  1954. */
  1955. public static encode(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1956. /**
  1957. * Encodes the specified ApplicationMetadata message, length delimited. Does not implicitly {@link ApplicationMetadata.verify|verify} messages.
  1958. * @param message ApplicationMetadata message or plain object to encode
  1959. * @param [writer] Writer to encode to
  1960. * @returns Writer
  1961. */
  1962. public static encodeDelimited(message: IApplicationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1963. /**
  1964. * Decodes an ApplicationMetadata message from the specified reader or buffer.
  1965. * @param reader Reader or buffer to decode from
  1966. * @param [length] Message length if known beforehand
  1967. * @returns ApplicationMetadata
  1968. * @throws {Error} If the payload is not a reader or valid buffer
  1969. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1970. */
  1971. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ApplicationMetadata;
  1972. /**
  1973. * Decodes an ApplicationMetadata message from the specified reader or buffer, length delimited.
  1974. * @param reader Reader or buffer to decode from
  1975. * @returns ApplicationMetadata
  1976. * @throws {Error} If the payload is not a reader or valid buffer
  1977. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1978. */
  1979. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ApplicationMetadata;
  1980. /**
  1981. * Verifies an ApplicationMetadata message.
  1982. * @param message Plain object to verify
  1983. * @returns `null` if valid, otherwise the reason why it is not
  1984. */
  1985. public static verify(message: { [k: string]: any }): (string|null);
  1986. /**
  1987. * Creates an ApplicationMetadata message from a plain object. Also converts values to their respective internal types.
  1988. * @param object Plain object
  1989. * @returns ApplicationMetadata
  1990. */
  1991. public static fromObject(object: { [k: string]: any }): ApplicationMetadata;
  1992. /**
  1993. * Creates a plain object from an ApplicationMetadata message. Also converts values to other types if specified.
  1994. * @param message ApplicationMetadata
  1995. * @param [options] Conversion options
  1996. * @returns Plain object
  1997. */
  1998. public static toObject(message: ApplicationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1999. /**
  2000. * Converts this ApplicationMetadata to JSON.
  2001. * @returns JSON object
  2002. */
  2003. public toJSON(): { [k: string]: any };
  2004. }
  2005. /** Properties of a WorkingGroupMetadata. */
  2006. export interface IWorkingGroupMetadata {
  2007. /** WorkingGroupMetadata description */
  2008. description?: (string|null);
  2009. /** WorkingGroupMetadata about */
  2010. about?: (string|null);
  2011. /** WorkingGroupMetadata status */
  2012. status?: (string|null);
  2013. /** WorkingGroupMetadata statusMessage */
  2014. statusMessage?: (string|null);
  2015. }
  2016. /** Represents a WorkingGroupMetadata. */
  2017. export class WorkingGroupMetadata implements IWorkingGroupMetadata {
  2018. /**
  2019. * Constructs a new WorkingGroupMetadata.
  2020. * @param [properties] Properties to set
  2021. */
  2022. constructor(properties?: IWorkingGroupMetadata);
  2023. /** WorkingGroupMetadata description. */
  2024. public description: string;
  2025. /** WorkingGroupMetadata about. */
  2026. public about: string;
  2027. /** WorkingGroupMetadata status. */
  2028. public status: string;
  2029. /** WorkingGroupMetadata statusMessage. */
  2030. public statusMessage: string;
  2031. /**
  2032. * Creates a new WorkingGroupMetadata instance using the specified properties.
  2033. * @param [properties] Properties to set
  2034. * @returns WorkingGroupMetadata instance
  2035. */
  2036. public static create(properties?: IWorkingGroupMetadata): WorkingGroupMetadata;
  2037. /**
  2038. * Encodes the specified WorkingGroupMetadata message. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
  2039. * @param message WorkingGroupMetadata message or plain object to encode
  2040. * @param [writer] Writer to encode to
  2041. * @returns Writer
  2042. */
  2043. public static encode(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  2044. /**
  2045. * Encodes the specified WorkingGroupMetadata message, length delimited. Does not implicitly {@link WorkingGroupMetadata.verify|verify} messages.
  2046. * @param message WorkingGroupMetadata message or plain object to encode
  2047. * @param [writer] Writer to encode to
  2048. * @returns Writer
  2049. */
  2050. public static encodeDelimited(message: IWorkingGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  2051. /**
  2052. * Decodes a WorkingGroupMetadata message from the specified reader or buffer.
  2053. * @param reader Reader or buffer to decode from
  2054. * @param [length] Message length if known beforehand
  2055. * @returns WorkingGroupMetadata
  2056. * @throws {Error} If the payload is not a reader or valid buffer
  2057. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2058. */
  2059. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadata;
  2060. /**
  2061. * Decodes a WorkingGroupMetadata message from the specified reader or buffer, length delimited.
  2062. * @param reader Reader or buffer to decode from
  2063. * @returns WorkingGroupMetadata
  2064. * @throws {Error} If the payload is not a reader or valid buffer
  2065. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2066. */
  2067. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadata;
  2068. /**
  2069. * Verifies a WorkingGroupMetadata message.
  2070. * @param message Plain object to verify
  2071. * @returns `null` if valid, otherwise the reason why it is not
  2072. */
  2073. public static verify(message: { [k: string]: any }): (string|null);
  2074. /**
  2075. * Creates a WorkingGroupMetadata message from a plain object. Also converts values to their respective internal types.
  2076. * @param object Plain object
  2077. * @returns WorkingGroupMetadata
  2078. */
  2079. public static fromObject(object: { [k: string]: any }): WorkingGroupMetadata;
  2080. /**
  2081. * Creates a plain object from a WorkingGroupMetadata message. Also converts values to other types if specified.
  2082. * @param message WorkingGroupMetadata
  2083. * @param [options] Conversion options
  2084. * @returns Plain object
  2085. */
  2086. public static toObject(message: WorkingGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2087. /**
  2088. * Converts this WorkingGroupMetadata to JSON.
  2089. * @returns JSON object
  2090. */
  2091. public toJSON(): { [k: string]: any };
  2092. }
  2093. /** Properties of a SetGroupMetadata. */
  2094. export interface ISetGroupMetadata {
  2095. /** SetGroupMetadata newMetadata */
  2096. newMetadata?: (IWorkingGroupMetadata|null);
  2097. }
  2098. /** Represents a SetGroupMetadata. */
  2099. export class SetGroupMetadata implements ISetGroupMetadata {
  2100. /**
  2101. * Constructs a new SetGroupMetadata.
  2102. * @param [properties] Properties to set
  2103. */
  2104. constructor(properties?: ISetGroupMetadata);
  2105. /** SetGroupMetadata newMetadata. */
  2106. public newMetadata?: (IWorkingGroupMetadata|null);
  2107. /**
  2108. * Creates a new SetGroupMetadata instance using the specified properties.
  2109. * @param [properties] Properties to set
  2110. * @returns SetGroupMetadata instance
  2111. */
  2112. public static create(properties?: ISetGroupMetadata): SetGroupMetadata;
  2113. /**
  2114. * Encodes the specified SetGroupMetadata message. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
  2115. * @param message SetGroupMetadata message or plain object to encode
  2116. * @param [writer] Writer to encode to
  2117. * @returns Writer
  2118. */
  2119. public static encode(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  2120. /**
  2121. * Encodes the specified SetGroupMetadata message, length delimited. Does not implicitly {@link SetGroupMetadata.verify|verify} messages.
  2122. * @param message SetGroupMetadata message or plain object to encode
  2123. * @param [writer] Writer to encode to
  2124. * @returns Writer
  2125. */
  2126. public static encodeDelimited(message: ISetGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  2127. /**
  2128. * Decodes a SetGroupMetadata message from the specified reader or buffer.
  2129. * @param reader Reader or buffer to decode from
  2130. * @param [length] Message length if known beforehand
  2131. * @returns SetGroupMetadata
  2132. * @throws {Error} If the payload is not a reader or valid buffer
  2133. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2134. */
  2135. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SetGroupMetadata;
  2136. /**
  2137. * Decodes a SetGroupMetadata message from the specified reader or buffer, length delimited.
  2138. * @param reader Reader or buffer to decode from
  2139. * @returns SetGroupMetadata
  2140. * @throws {Error} If the payload is not a reader or valid buffer
  2141. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2142. */
  2143. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SetGroupMetadata;
  2144. /**
  2145. * Verifies a SetGroupMetadata message.
  2146. * @param message Plain object to verify
  2147. * @returns `null` if valid, otherwise the reason why it is not
  2148. */
  2149. public static verify(message: { [k: string]: any }): (string|null);
  2150. /**
  2151. * Creates a SetGroupMetadata message from a plain object. Also converts values to their respective internal types.
  2152. * @param object Plain object
  2153. * @returns SetGroupMetadata
  2154. */
  2155. public static fromObject(object: { [k: string]: any }): SetGroupMetadata;
  2156. /**
  2157. * Creates a plain object from a SetGroupMetadata message. Also converts values to other types if specified.
  2158. * @param message SetGroupMetadata
  2159. * @param [options] Conversion options
  2160. * @returns Plain object
  2161. */
  2162. public static toObject(message: SetGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2163. /**
  2164. * Converts this SetGroupMetadata to JSON.
  2165. * @returns JSON object
  2166. */
  2167. public toJSON(): { [k: string]: any };
  2168. }
  2169. /** Properties of an AddUpcomingOpening. */
  2170. export interface IAddUpcomingOpening {
  2171. /** AddUpcomingOpening metadata */
  2172. metadata?: (IUpcomingOpeningMetadata|null);
  2173. }
  2174. /** Represents an AddUpcomingOpening. */
  2175. export class AddUpcomingOpening implements IAddUpcomingOpening {
  2176. /**
  2177. * Constructs a new AddUpcomingOpening.
  2178. * @param [properties] Properties to set
  2179. */
  2180. constructor(properties?: IAddUpcomingOpening);
  2181. /** AddUpcomingOpening metadata. */
  2182. public metadata?: (IUpcomingOpeningMetadata|null);
  2183. /**
  2184. * Creates a new AddUpcomingOpening instance using the specified properties.
  2185. * @param [properties] Properties to set
  2186. * @returns AddUpcomingOpening instance
  2187. */
  2188. public static create(properties?: IAddUpcomingOpening): AddUpcomingOpening;
  2189. /**
  2190. * Encodes the specified AddUpcomingOpening message. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
  2191. * @param message AddUpcomingOpening message or plain object to encode
  2192. * @param [writer] Writer to encode to
  2193. * @returns Writer
  2194. */
  2195. public static encode(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  2196. /**
  2197. * Encodes the specified AddUpcomingOpening message, length delimited. Does not implicitly {@link AddUpcomingOpening.verify|verify} messages.
  2198. * @param message AddUpcomingOpening message or plain object to encode
  2199. * @param [writer] Writer to encode to
  2200. * @returns Writer
  2201. */
  2202. public static encodeDelimited(message: IAddUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  2203. /**
  2204. * Decodes an AddUpcomingOpening message from the specified reader or buffer.
  2205. * @param reader Reader or buffer to decode from
  2206. * @param [length] Message length if known beforehand
  2207. * @returns AddUpcomingOpening
  2208. * @throws {Error} If the payload is not a reader or valid buffer
  2209. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2210. */
  2211. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AddUpcomingOpening;
  2212. /**
  2213. * Decodes an AddUpcomingOpening message from the specified reader or buffer, length delimited.
  2214. * @param reader Reader or buffer to decode from
  2215. * @returns AddUpcomingOpening
  2216. * @throws {Error} If the payload is not a reader or valid buffer
  2217. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2218. */
  2219. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AddUpcomingOpening;
  2220. /**
  2221. * Verifies an AddUpcomingOpening message.
  2222. * @param message Plain object to verify
  2223. * @returns `null` if valid, otherwise the reason why it is not
  2224. */
  2225. public static verify(message: { [k: string]: any }): (string|null);
  2226. /**
  2227. * Creates an AddUpcomingOpening message from a plain object. Also converts values to their respective internal types.
  2228. * @param object Plain object
  2229. * @returns AddUpcomingOpening
  2230. */
  2231. public static fromObject(object: { [k: string]: any }): AddUpcomingOpening;
  2232. /**
  2233. * Creates a plain object from an AddUpcomingOpening message. Also converts values to other types if specified.
  2234. * @param message AddUpcomingOpening
  2235. * @param [options] Conversion options
  2236. * @returns Plain object
  2237. */
  2238. public static toObject(message: AddUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2239. /**
  2240. * Converts this AddUpcomingOpening to JSON.
  2241. * @returns JSON object
  2242. */
  2243. public toJSON(): { [k: string]: any };
  2244. }
  2245. /** Properties of a RemoveUpcomingOpening. */
  2246. export interface IRemoveUpcomingOpening {
  2247. /** RemoveUpcomingOpening id */
  2248. id?: (string|null);
  2249. }
  2250. /** Represents a RemoveUpcomingOpening. */
  2251. export class RemoveUpcomingOpening implements IRemoveUpcomingOpening {
  2252. /**
  2253. * Constructs a new RemoveUpcomingOpening.
  2254. * @param [properties] Properties to set
  2255. */
  2256. constructor(properties?: IRemoveUpcomingOpening);
  2257. /** RemoveUpcomingOpening id. */
  2258. public id: string;
  2259. /**
  2260. * Creates a new RemoveUpcomingOpening instance using the specified properties.
  2261. * @param [properties] Properties to set
  2262. * @returns RemoveUpcomingOpening instance
  2263. */
  2264. public static create(properties?: IRemoveUpcomingOpening): RemoveUpcomingOpening;
  2265. /**
  2266. * Encodes the specified RemoveUpcomingOpening message. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
  2267. * @param message RemoveUpcomingOpening message or plain object to encode
  2268. * @param [writer] Writer to encode to
  2269. * @returns Writer
  2270. */
  2271. public static encode(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  2272. /**
  2273. * Encodes the specified RemoveUpcomingOpening message, length delimited. Does not implicitly {@link RemoveUpcomingOpening.verify|verify} messages.
  2274. * @param message RemoveUpcomingOpening message or plain object to encode
  2275. * @param [writer] Writer to encode to
  2276. * @returns Writer
  2277. */
  2278. public static encodeDelimited(message: IRemoveUpcomingOpening, writer?: $protobuf.Writer): $protobuf.Writer;
  2279. /**
  2280. * Decodes a RemoveUpcomingOpening message from the specified reader or buffer.
  2281. * @param reader Reader or buffer to decode from
  2282. * @param [length] Message length if known beforehand
  2283. * @returns RemoveUpcomingOpening
  2284. * @throws {Error} If the payload is not a reader or valid buffer
  2285. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2286. */
  2287. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RemoveUpcomingOpening;
  2288. /**
  2289. * Decodes a RemoveUpcomingOpening message from the specified reader or buffer, length delimited.
  2290. * @param reader Reader or buffer to decode from
  2291. * @returns RemoveUpcomingOpening
  2292. * @throws {Error} If the payload is not a reader or valid buffer
  2293. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2294. */
  2295. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RemoveUpcomingOpening;
  2296. /**
  2297. * Verifies a RemoveUpcomingOpening message.
  2298. * @param message Plain object to verify
  2299. * @returns `null` if valid, otherwise the reason why it is not
  2300. */
  2301. public static verify(message: { [k: string]: any }): (string|null);
  2302. /**
  2303. * Creates a RemoveUpcomingOpening message from a plain object. Also converts values to their respective internal types.
  2304. * @param object Plain object
  2305. * @returns RemoveUpcomingOpening
  2306. */
  2307. public static fromObject(object: { [k: string]: any }): RemoveUpcomingOpening;
  2308. /**
  2309. * Creates a plain object from a RemoveUpcomingOpening message. Also converts values to other types if specified.
  2310. * @param message RemoveUpcomingOpening
  2311. * @param [options] Conversion options
  2312. * @returns Plain object
  2313. */
  2314. public static toObject(message: RemoveUpcomingOpening, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2315. /**
  2316. * Converts this RemoveUpcomingOpening to JSON.
  2317. * @returns JSON object
  2318. */
  2319. public toJSON(): { [k: string]: any };
  2320. }
  2321. /** Properties of a WorkingGroupMetadataAction. */
  2322. export interface IWorkingGroupMetadataAction {
  2323. /** WorkingGroupMetadataAction setGroupMetadata */
  2324. setGroupMetadata?: (ISetGroupMetadata|null);
  2325. /** WorkingGroupMetadataAction addUpcomingOpening */
  2326. addUpcomingOpening?: (IAddUpcomingOpening|null);
  2327. /** WorkingGroupMetadataAction removeUpcomingOpening */
  2328. removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
  2329. }
  2330. /** Represents a WorkingGroupMetadataAction. */
  2331. export class WorkingGroupMetadataAction implements IWorkingGroupMetadataAction {
  2332. /**
  2333. * Constructs a new WorkingGroupMetadataAction.
  2334. * @param [properties] Properties to set
  2335. */
  2336. constructor(properties?: IWorkingGroupMetadataAction);
  2337. /** WorkingGroupMetadataAction setGroupMetadata. */
  2338. public setGroupMetadata?: (ISetGroupMetadata|null);
  2339. /** WorkingGroupMetadataAction addUpcomingOpening. */
  2340. public addUpcomingOpening?: (IAddUpcomingOpening|null);
  2341. /** WorkingGroupMetadataAction removeUpcomingOpening. */
  2342. public removeUpcomingOpening?: (IRemoveUpcomingOpening|null);
  2343. /** WorkingGroupMetadataAction action. */
  2344. public action?: ("setGroupMetadata"|"addUpcomingOpening"|"removeUpcomingOpening");
  2345. /**
  2346. * Creates a new WorkingGroupMetadataAction instance using the specified properties.
  2347. * @param [properties] Properties to set
  2348. * @returns WorkingGroupMetadataAction instance
  2349. */
  2350. public static create(properties?: IWorkingGroupMetadataAction): WorkingGroupMetadataAction;
  2351. /**
  2352. * Encodes the specified WorkingGroupMetadataAction message. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
  2353. * @param message WorkingGroupMetadataAction message or plain object to encode
  2354. * @param [writer] Writer to encode to
  2355. * @returns Writer
  2356. */
  2357. public static encode(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
  2358. /**
  2359. * Encodes the specified WorkingGroupMetadataAction message, length delimited. Does not implicitly {@link WorkingGroupMetadataAction.verify|verify} messages.
  2360. * @param message WorkingGroupMetadataAction message or plain object to encode
  2361. * @param [writer] Writer to encode to
  2362. * @returns Writer
  2363. */
  2364. public static encodeDelimited(message: IWorkingGroupMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer;
  2365. /**
  2366. * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer.
  2367. * @param reader Reader or buffer to decode from
  2368. * @param [length] Message length if known beforehand
  2369. * @returns WorkingGroupMetadataAction
  2370. * @throws {Error} If the payload is not a reader or valid buffer
  2371. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2372. */
  2373. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WorkingGroupMetadataAction;
  2374. /**
  2375. * Decodes a WorkingGroupMetadataAction message from the specified reader or buffer, length delimited.
  2376. * @param reader Reader or buffer to decode from
  2377. * @returns WorkingGroupMetadataAction
  2378. * @throws {Error} If the payload is not a reader or valid buffer
  2379. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2380. */
  2381. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WorkingGroupMetadataAction;
  2382. /**
  2383. * Verifies a WorkingGroupMetadataAction message.
  2384. * @param message Plain object to verify
  2385. * @returns `null` if valid, otherwise the reason why it is not
  2386. */
  2387. public static verify(message: { [k: string]: any }): (string|null);
  2388. /**
  2389. * Creates a WorkingGroupMetadataAction message from a plain object. Also converts values to their respective internal types.
  2390. * @param object Plain object
  2391. * @returns WorkingGroupMetadataAction
  2392. */
  2393. public static fromObject(object: { [k: string]: any }): WorkingGroupMetadataAction;
  2394. /**
  2395. * Creates a plain object from a WorkingGroupMetadataAction message. Also converts values to other types if specified.
  2396. * @param message WorkingGroupMetadataAction
  2397. * @param [options] Conversion options
  2398. * @returns Plain object
  2399. */
  2400. public static toObject(message: WorkingGroupMetadataAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2401. /**
  2402. * Converts this WorkingGroupMetadataAction to JSON.
  2403. * @returns JSON object
  2404. */
  2405. public toJSON(): { [k: string]: any };
  2406. }