index.d.ts 62 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723
  1. import { Long } from 'long'
  2. import * as $protobuf from "protobufjs";
  3. /** Properties of a ChannelMetadata. */
  4. export interface IChannelMetadata {
  5. /** ChannelMetadata title */
  6. title?: (string|null);
  7. /** ChannelMetadata description */
  8. description?: (string|null);
  9. /** ChannelMetadata isPublic */
  10. isPublic?: (boolean|null);
  11. /** ChannelMetadata language */
  12. language?: (string|null);
  13. /** ChannelMetadata coverPhoto */
  14. coverPhoto?: (number|null);
  15. /** ChannelMetadata avatarPhoto */
  16. avatarPhoto?: (number|null);
  17. /** ChannelMetadata category */
  18. category?: (Long|null);
  19. }
  20. /** Represents a ChannelMetadata. */
  21. export class ChannelMetadata implements IChannelMetadata {
  22. /**
  23. * Constructs a new ChannelMetadata.
  24. * @param [properties] Properties to set
  25. */
  26. constructor(properties?: IChannelMetadata);
  27. /** ChannelMetadata title. */
  28. public title: string;
  29. /** ChannelMetadata description. */
  30. public description: string;
  31. /** ChannelMetadata isPublic. */
  32. public isPublic: boolean;
  33. /** ChannelMetadata language. */
  34. public language: string;
  35. /** ChannelMetadata coverPhoto. */
  36. public coverPhoto: number;
  37. /** ChannelMetadata avatarPhoto. */
  38. public avatarPhoto: number;
  39. /** ChannelMetadata category. */
  40. public category: Long;
  41. /**
  42. * Creates a new ChannelMetadata instance using the specified properties.
  43. * @param [properties] Properties to set
  44. * @returns ChannelMetadata instance
  45. */
  46. public static create(properties?: IChannelMetadata): ChannelMetadata;
  47. /**
  48. * Encodes the specified ChannelMetadata message. Does not implicitly {@link ChannelMetadata.verify|verify} messages.
  49. * @param message ChannelMetadata message or plain object to encode
  50. * @param [writer] Writer to encode to
  51. * @returns Writer
  52. */
  53. public static encode(message: IChannelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  54. /**
  55. * Encodes the specified ChannelMetadata message, length delimited. Does not implicitly {@link ChannelMetadata.verify|verify} messages.
  56. * @param message ChannelMetadata message or plain object to encode
  57. * @param [writer] Writer to encode to
  58. * @returns Writer
  59. */
  60. public static encodeDelimited(message: IChannelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  61. /**
  62. * Decodes a ChannelMetadata message from the specified reader or buffer.
  63. * @param reader Reader or buffer to decode from
  64. * @param [length] Message length if known beforehand
  65. * @returns ChannelMetadata
  66. * @throws {Error} If the payload is not a reader or valid buffer
  67. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  68. */
  69. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ChannelMetadata;
  70. /**
  71. * Decodes a ChannelMetadata message from the specified reader or buffer, length delimited.
  72. * @param reader Reader or buffer to decode from
  73. * @returns ChannelMetadata
  74. * @throws {Error} If the payload is not a reader or valid buffer
  75. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  76. */
  77. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ChannelMetadata;
  78. /**
  79. * Verifies a ChannelMetadata message.
  80. * @param message Plain object to verify
  81. * @returns `null` if valid, otherwise the reason why it is not
  82. */
  83. public static verify(message: { [k: string]: any }): (string|null);
  84. /**
  85. * Creates a ChannelMetadata message from a plain object. Also converts values to their respective internal types.
  86. * @param object Plain object
  87. * @returns ChannelMetadata
  88. */
  89. public static fromObject(object: { [k: string]: any }): ChannelMetadata;
  90. /**
  91. * Creates a plain object from a ChannelMetadata message. Also converts values to other types if specified.
  92. * @param message ChannelMetadata
  93. * @param [options] Conversion options
  94. * @returns Plain object
  95. */
  96. public static toObject(message: ChannelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  97. /**
  98. * Converts this ChannelMetadata to JSON.
  99. * @returns JSON object
  100. */
  101. public toJSON(): { [k: string]: any };
  102. }
  103. /** Properties of a ChannelCategoryMetadata. */
  104. export interface IChannelCategoryMetadata {
  105. /** ChannelCategoryMetadata name */
  106. name?: (string|null);
  107. }
  108. /** Represents a ChannelCategoryMetadata. */
  109. export class ChannelCategoryMetadata implements IChannelCategoryMetadata {
  110. /**
  111. * Constructs a new ChannelCategoryMetadata.
  112. * @param [properties] Properties to set
  113. */
  114. constructor(properties?: IChannelCategoryMetadata);
  115. /** ChannelCategoryMetadata name. */
  116. public name: string;
  117. /**
  118. * Creates a new ChannelCategoryMetadata instance using the specified properties.
  119. * @param [properties] Properties to set
  120. * @returns ChannelCategoryMetadata instance
  121. */
  122. public static create(properties?: IChannelCategoryMetadata): ChannelCategoryMetadata;
  123. /**
  124. * Encodes the specified ChannelCategoryMetadata message. Does not implicitly {@link ChannelCategoryMetadata.verify|verify} messages.
  125. * @param message ChannelCategoryMetadata message or plain object to encode
  126. * @param [writer] Writer to encode to
  127. * @returns Writer
  128. */
  129. public static encode(message: IChannelCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  130. /**
  131. * Encodes the specified ChannelCategoryMetadata message, length delimited. Does not implicitly {@link ChannelCategoryMetadata.verify|verify} messages.
  132. * @param message ChannelCategoryMetadata message or plain object to encode
  133. * @param [writer] Writer to encode to
  134. * @returns Writer
  135. */
  136. public static encodeDelimited(message: IChannelCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  137. /**
  138. * Decodes a ChannelCategoryMetadata message from the specified reader or buffer.
  139. * @param reader Reader or buffer to decode from
  140. * @param [length] Message length if known beforehand
  141. * @returns ChannelCategoryMetadata
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ChannelCategoryMetadata;
  146. /**
  147. * Decodes a ChannelCategoryMetadata message from the specified reader or buffer, length delimited.
  148. * @param reader Reader or buffer to decode from
  149. * @returns ChannelCategoryMetadata
  150. * @throws {Error} If the payload is not a reader or valid buffer
  151. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  152. */
  153. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ChannelCategoryMetadata;
  154. /**
  155. * Verifies a ChannelCategoryMetadata message.
  156. * @param message Plain object to verify
  157. * @returns `null` if valid, otherwise the reason why it is not
  158. */
  159. public static verify(message: { [k: string]: any }): (string|null);
  160. /**
  161. * Creates a ChannelCategoryMetadata message from a plain object. Also converts values to their respective internal types.
  162. * @param object Plain object
  163. * @returns ChannelCategoryMetadata
  164. */
  165. public static fromObject(object: { [k: string]: any }): ChannelCategoryMetadata;
  166. /**
  167. * Creates a plain object from a ChannelCategoryMetadata message. Also converts values to other types if specified.
  168. * @param message ChannelCategoryMetadata
  169. * @param [options] Conversion options
  170. * @returns Plain object
  171. */
  172. public static toObject(message: ChannelCategoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  173. /**
  174. * Converts this ChannelCategoryMetadata to JSON.
  175. * @returns JSON object
  176. */
  177. public toJSON(): { [k: string]: any };
  178. }
  179. /** Properties of a PersonMetadata. */
  180. export interface IPersonMetadata {
  181. /** PersonMetadata firstName */
  182. firstName?: (string|null);
  183. /** PersonMetadata middleName */
  184. middleName?: (string|null);
  185. /** PersonMetadata lastName */
  186. lastName?: (string|null);
  187. /** PersonMetadata about */
  188. about?: (string|null);
  189. /** PersonMetadata coverPhoto */
  190. coverPhoto?: (number|null);
  191. /** PersonMetadata avatarPhoto */
  192. avatarPhoto?: (number|null);
  193. }
  194. /** Represents a PersonMetadata. */
  195. export class PersonMetadata implements IPersonMetadata {
  196. /**
  197. * Constructs a new PersonMetadata.
  198. * @param [properties] Properties to set
  199. */
  200. constructor(properties?: IPersonMetadata);
  201. /** PersonMetadata firstName. */
  202. public firstName: string;
  203. /** PersonMetadata middleName. */
  204. public middleName: string;
  205. /** PersonMetadata lastName. */
  206. public lastName: string;
  207. /** PersonMetadata about. */
  208. public about: string;
  209. /** PersonMetadata coverPhoto. */
  210. public coverPhoto: number;
  211. /** PersonMetadata avatarPhoto. */
  212. public avatarPhoto: number;
  213. /**
  214. * Creates a new PersonMetadata instance using the specified properties.
  215. * @param [properties] Properties to set
  216. * @returns PersonMetadata instance
  217. */
  218. public static create(properties?: IPersonMetadata): PersonMetadata;
  219. /**
  220. * Encodes the specified PersonMetadata message. Does not implicitly {@link PersonMetadata.verify|verify} messages.
  221. * @param message PersonMetadata message or plain object to encode
  222. * @param [writer] Writer to encode to
  223. * @returns Writer
  224. */
  225. public static encode(message: IPersonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  226. /**
  227. * Encodes the specified PersonMetadata message, length delimited. Does not implicitly {@link PersonMetadata.verify|verify} messages.
  228. * @param message PersonMetadata message or plain object to encode
  229. * @param [writer] Writer to encode to
  230. * @returns Writer
  231. */
  232. public static encodeDelimited(message: IPersonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  233. /**
  234. * Decodes a PersonMetadata message from the specified reader or buffer.
  235. * @param reader Reader or buffer to decode from
  236. * @param [length] Message length if known beforehand
  237. * @returns PersonMetadata
  238. * @throws {Error} If the payload is not a reader or valid buffer
  239. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  240. */
  241. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PersonMetadata;
  242. /**
  243. * Decodes a PersonMetadata message from the specified reader or buffer, length delimited.
  244. * @param reader Reader or buffer to decode from
  245. * @returns PersonMetadata
  246. * @throws {Error} If the payload is not a reader or valid buffer
  247. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  248. */
  249. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PersonMetadata;
  250. /**
  251. * Verifies a PersonMetadata message.
  252. * @param message Plain object to verify
  253. * @returns `null` if valid, otherwise the reason why it is not
  254. */
  255. public static verify(message: { [k: string]: any }): (string|null);
  256. /**
  257. * Creates a PersonMetadata message from a plain object. Also converts values to their respective internal types.
  258. * @param object Plain object
  259. * @returns PersonMetadata
  260. */
  261. public static fromObject(object: { [k: string]: any }): PersonMetadata;
  262. /**
  263. * Creates a plain object from a PersonMetadata message. Also converts values to other types if specified.
  264. * @param message PersonMetadata
  265. * @param [options] Conversion options
  266. * @returns Plain object
  267. */
  268. public static toObject(message: PersonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  269. /**
  270. * Converts this PersonMetadata to JSON.
  271. * @returns JSON object
  272. */
  273. public toJSON(): { [k: string]: any };
  274. }
  275. /** Properties of a PlaylistMetadata. */
  276. export interface IPlaylistMetadata {
  277. /** PlaylistMetadata title */
  278. title?: (string|null);
  279. /** PlaylistMetadata videos */
  280. videos?: (Long[]|null);
  281. }
  282. /** Represents a PlaylistMetadata. */
  283. export class PlaylistMetadata implements IPlaylistMetadata {
  284. /**
  285. * Constructs a new PlaylistMetadata.
  286. * @param [properties] Properties to set
  287. */
  288. constructor(properties?: IPlaylistMetadata);
  289. /** PlaylistMetadata title. */
  290. public title: string;
  291. /** PlaylistMetadata videos. */
  292. public videos: Long[];
  293. /**
  294. * Creates a new PlaylistMetadata instance using the specified properties.
  295. * @param [properties] Properties to set
  296. * @returns PlaylistMetadata instance
  297. */
  298. public static create(properties?: IPlaylistMetadata): PlaylistMetadata;
  299. /**
  300. * Encodes the specified PlaylistMetadata message. Does not implicitly {@link PlaylistMetadata.verify|verify} messages.
  301. * @param message PlaylistMetadata message or plain object to encode
  302. * @param [writer] Writer to encode to
  303. * @returns Writer
  304. */
  305. public static encode(message: IPlaylistMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  306. /**
  307. * Encodes the specified PlaylistMetadata message, length delimited. Does not implicitly {@link PlaylistMetadata.verify|verify} messages.
  308. * @param message PlaylistMetadata message or plain object to encode
  309. * @param [writer] Writer to encode to
  310. * @returns Writer
  311. */
  312. public static encodeDelimited(message: IPlaylistMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  313. /**
  314. * Decodes a PlaylistMetadata message from the specified reader or buffer.
  315. * @param reader Reader or buffer to decode from
  316. * @param [length] Message length if known beforehand
  317. * @returns PlaylistMetadata
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PlaylistMetadata;
  322. /**
  323. * Decodes a PlaylistMetadata message from the specified reader or buffer, length delimited.
  324. * @param reader Reader or buffer to decode from
  325. * @returns PlaylistMetadata
  326. * @throws {Error} If the payload is not a reader or valid buffer
  327. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  328. */
  329. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PlaylistMetadata;
  330. /**
  331. * Verifies a PlaylistMetadata message.
  332. * @param message Plain object to verify
  333. * @returns `null` if valid, otherwise the reason why it is not
  334. */
  335. public static verify(message: { [k: string]: any }): (string|null);
  336. /**
  337. * Creates a PlaylistMetadata message from a plain object. Also converts values to their respective internal types.
  338. * @param object Plain object
  339. * @returns PlaylistMetadata
  340. */
  341. public static fromObject(object: { [k: string]: any }): PlaylistMetadata;
  342. /**
  343. * Creates a plain object from a PlaylistMetadata message. Also converts values to other types if specified.
  344. * @param message PlaylistMetadata
  345. * @param [options] Conversion options
  346. * @returns Plain object
  347. */
  348. public static toObject(message: PlaylistMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  349. /**
  350. * Converts this PlaylistMetadata to JSON.
  351. * @returns JSON object
  352. */
  353. public toJSON(): { [k: string]: any };
  354. }
  355. /** Properties of a SeriesMetadata. */
  356. export interface ISeriesMetadata {
  357. /** SeriesMetadata title */
  358. title?: (string|null);
  359. /** SeriesMetadata description */
  360. description?: (string|null);
  361. /** SeriesMetadata coverPhoto */
  362. coverPhoto?: (number|null);
  363. /** SeriesMetadata persons */
  364. persons?: (Long[]|null);
  365. }
  366. /** Represents a SeriesMetadata. */
  367. export class SeriesMetadata implements ISeriesMetadata {
  368. /**
  369. * Constructs a new SeriesMetadata.
  370. * @param [properties] Properties to set
  371. */
  372. constructor(properties?: ISeriesMetadata);
  373. /** SeriesMetadata title. */
  374. public title: string;
  375. /** SeriesMetadata description. */
  376. public description: string;
  377. /** SeriesMetadata coverPhoto. */
  378. public coverPhoto: number;
  379. /** SeriesMetadata persons. */
  380. public persons: Long[];
  381. /**
  382. * Creates a new SeriesMetadata instance using the specified properties.
  383. * @param [properties] Properties to set
  384. * @returns SeriesMetadata instance
  385. */
  386. public static create(properties?: ISeriesMetadata): SeriesMetadata;
  387. /**
  388. * Encodes the specified SeriesMetadata message. Does not implicitly {@link SeriesMetadata.verify|verify} messages.
  389. * @param message SeriesMetadata message or plain object to encode
  390. * @param [writer] Writer to encode to
  391. * @returns Writer
  392. */
  393. public static encode(message: ISeriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  394. /**
  395. * Encodes the specified SeriesMetadata message, length delimited. Does not implicitly {@link SeriesMetadata.verify|verify} messages.
  396. * @param message SeriesMetadata message or plain object to encode
  397. * @param [writer] Writer to encode to
  398. * @returns Writer
  399. */
  400. public static encodeDelimited(message: ISeriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  401. /**
  402. * Decodes a SeriesMetadata message from the specified reader or buffer.
  403. * @param reader Reader or buffer to decode from
  404. * @param [length] Message length if known beforehand
  405. * @returns SeriesMetadata
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SeriesMetadata;
  410. /**
  411. * Decodes a SeriesMetadata message from the specified reader or buffer, length delimited.
  412. * @param reader Reader or buffer to decode from
  413. * @returns SeriesMetadata
  414. * @throws {Error} If the payload is not a reader or valid buffer
  415. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  416. */
  417. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SeriesMetadata;
  418. /**
  419. * Verifies a SeriesMetadata message.
  420. * @param message Plain object to verify
  421. * @returns `null` if valid, otherwise the reason why it is not
  422. */
  423. public static verify(message: { [k: string]: any }): (string|null);
  424. /**
  425. * Creates a SeriesMetadata message from a plain object. Also converts values to their respective internal types.
  426. * @param object Plain object
  427. * @returns SeriesMetadata
  428. */
  429. public static fromObject(object: { [k: string]: any }): SeriesMetadata;
  430. /**
  431. * Creates a plain object from a SeriesMetadata message. Also converts values to other types if specified.
  432. * @param message SeriesMetadata
  433. * @param [options] Conversion options
  434. * @returns Plain object
  435. */
  436. public static toObject(message: SeriesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  437. /**
  438. * Converts this SeriesMetadata to JSON.
  439. * @returns JSON object
  440. */
  441. public toJSON(): { [k: string]: any };
  442. }
  443. /** Properties of a SeasonMetadata. */
  444. export interface ISeasonMetadata {
  445. /** SeasonMetadata title */
  446. title?: (string|null);
  447. /** SeasonMetadata description */
  448. description?: (string|null);
  449. /** SeasonMetadata coverPhoto */
  450. coverPhoto?: (number|null);
  451. /** SeasonMetadata persons */
  452. persons?: (Long[]|null);
  453. }
  454. /** Represents a SeasonMetadata. */
  455. export class SeasonMetadata implements ISeasonMetadata {
  456. /**
  457. * Constructs a new SeasonMetadata.
  458. * @param [properties] Properties to set
  459. */
  460. constructor(properties?: ISeasonMetadata);
  461. /** SeasonMetadata title. */
  462. public title: string;
  463. /** SeasonMetadata description. */
  464. public description: string;
  465. /** SeasonMetadata coverPhoto. */
  466. public coverPhoto: number;
  467. /** SeasonMetadata persons. */
  468. public persons: Long[];
  469. /**
  470. * Creates a new SeasonMetadata instance using the specified properties.
  471. * @param [properties] Properties to set
  472. * @returns SeasonMetadata instance
  473. */
  474. public static create(properties?: ISeasonMetadata): SeasonMetadata;
  475. /**
  476. * Encodes the specified SeasonMetadata message. Does not implicitly {@link SeasonMetadata.verify|verify} messages.
  477. * @param message SeasonMetadata message or plain object to encode
  478. * @param [writer] Writer to encode to
  479. * @returns Writer
  480. */
  481. public static encode(message: ISeasonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  482. /**
  483. * Encodes the specified SeasonMetadata message, length delimited. Does not implicitly {@link SeasonMetadata.verify|verify} messages.
  484. * @param message SeasonMetadata message or plain object to encode
  485. * @param [writer] Writer to encode to
  486. * @returns Writer
  487. */
  488. public static encodeDelimited(message: ISeasonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  489. /**
  490. * Decodes a SeasonMetadata message from the specified reader or buffer.
  491. * @param reader Reader or buffer to decode from
  492. * @param [length] Message length if known beforehand
  493. * @returns SeasonMetadata
  494. * @throws {Error} If the payload is not a reader or valid buffer
  495. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  496. */
  497. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SeasonMetadata;
  498. /**
  499. * Decodes a SeasonMetadata message from the specified reader or buffer, length delimited.
  500. * @param reader Reader or buffer to decode from
  501. * @returns SeasonMetadata
  502. * @throws {Error} If the payload is not a reader or valid buffer
  503. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  504. */
  505. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SeasonMetadata;
  506. /**
  507. * Verifies a SeasonMetadata message.
  508. * @param message Plain object to verify
  509. * @returns `null` if valid, otherwise the reason why it is not
  510. */
  511. public static verify(message: { [k: string]: any }): (string|null);
  512. /**
  513. * Creates a SeasonMetadata message from a plain object. Also converts values to their respective internal types.
  514. * @param object Plain object
  515. * @returns SeasonMetadata
  516. */
  517. public static fromObject(object: { [k: string]: any }): SeasonMetadata;
  518. /**
  519. * Creates a plain object from a SeasonMetadata message. Also converts values to other types if specified.
  520. * @param message SeasonMetadata
  521. * @param [options] Conversion options
  522. * @returns Plain object
  523. */
  524. public static toObject(message: SeasonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  525. /**
  526. * Converts this SeasonMetadata to JSON.
  527. * @returns JSON object
  528. */
  529. public toJSON(): { [k: string]: any };
  530. }
  531. /** Properties of a GeoCoordiantes. */
  532. export interface IGeoCoordiantes {
  533. /** GeoCoordiantes latitude */
  534. latitude?: (number|null);
  535. /** GeoCoordiantes longitude */
  536. longitude?: (number|null);
  537. }
  538. /** Represents a GeoCoordiantes. */
  539. export class GeoCoordiantes implements IGeoCoordiantes {
  540. /**
  541. * Constructs a new GeoCoordiantes.
  542. * @param [properties] Properties to set
  543. */
  544. constructor(properties?: IGeoCoordiantes);
  545. /** GeoCoordiantes latitude. */
  546. public latitude: number;
  547. /** GeoCoordiantes longitude. */
  548. public longitude: number;
  549. /**
  550. * Creates a new GeoCoordiantes instance using the specified properties.
  551. * @param [properties] Properties to set
  552. * @returns GeoCoordiantes instance
  553. */
  554. public static create(properties?: IGeoCoordiantes): GeoCoordiantes;
  555. /**
  556. * Encodes the specified GeoCoordiantes message. Does not implicitly {@link GeoCoordiantes.verify|verify} messages.
  557. * @param message GeoCoordiantes message or plain object to encode
  558. * @param [writer] Writer to encode to
  559. * @returns Writer
  560. */
  561. public static encode(message: IGeoCoordiantes, writer?: $protobuf.Writer): $protobuf.Writer;
  562. /**
  563. * Encodes the specified GeoCoordiantes message, length delimited. Does not implicitly {@link GeoCoordiantes.verify|verify} messages.
  564. * @param message GeoCoordiantes message or plain object to encode
  565. * @param [writer] Writer to encode to
  566. * @returns Writer
  567. */
  568. public static encodeDelimited(message: IGeoCoordiantes, writer?: $protobuf.Writer): $protobuf.Writer;
  569. /**
  570. * Decodes a GeoCoordiantes message from the specified reader or buffer.
  571. * @param reader Reader or buffer to decode from
  572. * @param [length] Message length if known beforehand
  573. * @returns GeoCoordiantes
  574. * @throws {Error} If the payload is not a reader or valid buffer
  575. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  576. */
  577. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GeoCoordiantes;
  578. /**
  579. * Decodes a GeoCoordiantes message from the specified reader or buffer, length delimited.
  580. * @param reader Reader or buffer to decode from
  581. * @returns GeoCoordiantes
  582. * @throws {Error} If the payload is not a reader or valid buffer
  583. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  584. */
  585. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GeoCoordiantes;
  586. /**
  587. * Verifies a GeoCoordiantes message.
  588. * @param message Plain object to verify
  589. * @returns `null` if valid, otherwise the reason why it is not
  590. */
  591. public static verify(message: { [k: string]: any }): (string|null);
  592. /**
  593. * Creates a GeoCoordiantes message from a plain object. Also converts values to their respective internal types.
  594. * @param object Plain object
  595. * @returns GeoCoordiantes
  596. */
  597. public static fromObject(object: { [k: string]: any }): GeoCoordiantes;
  598. /**
  599. * Creates a plain object from a GeoCoordiantes message. Also converts values to other types if specified.
  600. * @param message GeoCoordiantes
  601. * @param [options] Conversion options
  602. * @returns Plain object
  603. */
  604. public static toObject(message: GeoCoordiantes, options?: $protobuf.IConversionOptions): { [k: string]: any };
  605. /**
  606. * Converts this GeoCoordiantes to JSON.
  607. * @returns JSON object
  608. */
  609. public toJSON(): { [k: string]: any };
  610. }
  611. /** Properties of a NodeLocationMetadata. */
  612. export interface INodeLocationMetadata {
  613. /** NodeLocationMetadata countryCode */
  614. countryCode?: (string|null);
  615. /** NodeLocationMetadata city */
  616. city?: (string|null);
  617. /** NodeLocationMetadata coordinates */
  618. coordinates?: (IGeoCoordiantes|null);
  619. }
  620. /** Represents a NodeLocationMetadata. */
  621. export class NodeLocationMetadata implements INodeLocationMetadata {
  622. /**
  623. * Constructs a new NodeLocationMetadata.
  624. * @param [properties] Properties to set
  625. */
  626. constructor(properties?: INodeLocationMetadata);
  627. /** NodeLocationMetadata countryCode. */
  628. public countryCode: string;
  629. /** NodeLocationMetadata city. */
  630. public city: string;
  631. /** NodeLocationMetadata coordinates. */
  632. public coordinates?: (IGeoCoordiantes|null);
  633. /**
  634. * Creates a new NodeLocationMetadata instance using the specified properties.
  635. * @param [properties] Properties to set
  636. * @returns NodeLocationMetadata instance
  637. */
  638. public static create(properties?: INodeLocationMetadata): NodeLocationMetadata;
  639. /**
  640. * Encodes the specified NodeLocationMetadata message. Does not implicitly {@link NodeLocationMetadata.verify|verify} messages.
  641. * @param message NodeLocationMetadata message or plain object to encode
  642. * @param [writer] Writer to encode to
  643. * @returns Writer
  644. */
  645. public static encode(message: INodeLocationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  646. /**
  647. * Encodes the specified NodeLocationMetadata message, length delimited. Does not implicitly {@link NodeLocationMetadata.verify|verify} messages.
  648. * @param message NodeLocationMetadata message or plain object to encode
  649. * @param [writer] Writer to encode to
  650. * @returns Writer
  651. */
  652. public static encodeDelimited(message: INodeLocationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  653. /**
  654. * Decodes a NodeLocationMetadata message from the specified reader or buffer.
  655. * @param reader Reader or buffer to decode from
  656. * @param [length] Message length if known beforehand
  657. * @returns NodeLocationMetadata
  658. * @throws {Error} If the payload is not a reader or valid buffer
  659. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  660. */
  661. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): NodeLocationMetadata;
  662. /**
  663. * Decodes a NodeLocationMetadata message from the specified reader or buffer, length delimited.
  664. * @param reader Reader or buffer to decode from
  665. * @returns NodeLocationMetadata
  666. * @throws {Error} If the payload is not a reader or valid buffer
  667. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  668. */
  669. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): NodeLocationMetadata;
  670. /**
  671. * Verifies a NodeLocationMetadata message.
  672. * @param message Plain object to verify
  673. * @returns `null` if valid, otherwise the reason why it is not
  674. */
  675. public static verify(message: { [k: string]: any }): (string|null);
  676. /**
  677. * Creates a NodeLocationMetadata message from a plain object. Also converts values to their respective internal types.
  678. * @param object Plain object
  679. * @returns NodeLocationMetadata
  680. */
  681. public static fromObject(object: { [k: string]: any }): NodeLocationMetadata;
  682. /**
  683. * Creates a plain object from a NodeLocationMetadata message. Also converts values to other types if specified.
  684. * @param message NodeLocationMetadata
  685. * @param [options] Conversion options
  686. * @returns Plain object
  687. */
  688. public static toObject(message: NodeLocationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  689. /**
  690. * Converts this NodeLocationMetadata to JSON.
  691. * @returns JSON object
  692. */
  693. public toJSON(): { [k: string]: any };
  694. }
  695. /** Properties of a StorageBucketOperatorMetadata. */
  696. export interface IStorageBucketOperatorMetadata {
  697. /** StorageBucketOperatorMetadata endpoint */
  698. endpoint?: (string|null);
  699. /** StorageBucketOperatorMetadata location */
  700. location?: (INodeLocationMetadata|null);
  701. /** StorageBucketOperatorMetadata extra */
  702. extra?: (string|null);
  703. }
  704. /** Represents a StorageBucketOperatorMetadata. */
  705. export class StorageBucketOperatorMetadata implements IStorageBucketOperatorMetadata {
  706. /**
  707. * Constructs a new StorageBucketOperatorMetadata.
  708. * @param [properties] Properties to set
  709. */
  710. constructor(properties?: IStorageBucketOperatorMetadata);
  711. /** StorageBucketOperatorMetadata endpoint. */
  712. public endpoint: string;
  713. /** StorageBucketOperatorMetadata location. */
  714. public location?: (INodeLocationMetadata|null);
  715. /** StorageBucketOperatorMetadata extra. */
  716. public extra: string;
  717. /**
  718. * Creates a new StorageBucketOperatorMetadata instance using the specified properties.
  719. * @param [properties] Properties to set
  720. * @returns StorageBucketOperatorMetadata instance
  721. */
  722. public static create(properties?: IStorageBucketOperatorMetadata): StorageBucketOperatorMetadata;
  723. /**
  724. * Encodes the specified StorageBucketOperatorMetadata message. Does not implicitly {@link StorageBucketOperatorMetadata.verify|verify} messages.
  725. * @param message StorageBucketOperatorMetadata message or plain object to encode
  726. * @param [writer] Writer to encode to
  727. * @returns Writer
  728. */
  729. public static encode(message: IStorageBucketOperatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  730. /**
  731. * Encodes the specified StorageBucketOperatorMetadata message, length delimited. Does not implicitly {@link StorageBucketOperatorMetadata.verify|verify} messages.
  732. * @param message StorageBucketOperatorMetadata message or plain object to encode
  733. * @param [writer] Writer to encode to
  734. * @returns Writer
  735. */
  736. public static encodeDelimited(message: IStorageBucketOperatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  737. /**
  738. * Decodes a StorageBucketOperatorMetadata message from the specified reader or buffer.
  739. * @param reader Reader or buffer to decode from
  740. * @param [length] Message length if known beforehand
  741. * @returns StorageBucketOperatorMetadata
  742. * @throws {Error} If the payload is not a reader or valid buffer
  743. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  744. */
  745. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): StorageBucketOperatorMetadata;
  746. /**
  747. * Decodes a StorageBucketOperatorMetadata message from the specified reader or buffer, length delimited.
  748. * @param reader Reader or buffer to decode from
  749. * @returns StorageBucketOperatorMetadata
  750. * @throws {Error} If the payload is not a reader or valid buffer
  751. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  752. */
  753. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): StorageBucketOperatorMetadata;
  754. /**
  755. * Verifies a StorageBucketOperatorMetadata message.
  756. * @param message Plain object to verify
  757. * @returns `null` if valid, otherwise the reason why it is not
  758. */
  759. public static verify(message: { [k: string]: any }): (string|null);
  760. /**
  761. * Creates a StorageBucketOperatorMetadata message from a plain object. Also converts values to their respective internal types.
  762. * @param object Plain object
  763. * @returns StorageBucketOperatorMetadata
  764. */
  765. public static fromObject(object: { [k: string]: any }): StorageBucketOperatorMetadata;
  766. /**
  767. * Creates a plain object from a StorageBucketOperatorMetadata message. Also converts values to other types if specified.
  768. * @param message StorageBucketOperatorMetadata
  769. * @param [options] Conversion options
  770. * @returns Plain object
  771. */
  772. public static toObject(message: StorageBucketOperatorMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  773. /**
  774. * Converts this StorageBucketOperatorMetadata to JSON.
  775. * @returns JSON object
  776. */
  777. public toJSON(): { [k: string]: any };
  778. }
  779. /** Properties of a DistributionBucketOperatorMetadata. */
  780. export interface IDistributionBucketOperatorMetadata {
  781. /** DistributionBucketOperatorMetadata endpoint */
  782. endpoint?: (string|null);
  783. /** DistributionBucketOperatorMetadata location */
  784. location?: (INodeLocationMetadata|null);
  785. /** DistributionBucketOperatorMetadata extra */
  786. extra?: (string|null);
  787. }
  788. /** Represents a DistributionBucketOperatorMetadata. */
  789. export class DistributionBucketOperatorMetadata implements IDistributionBucketOperatorMetadata {
  790. /**
  791. * Constructs a new DistributionBucketOperatorMetadata.
  792. * @param [properties] Properties to set
  793. */
  794. constructor(properties?: IDistributionBucketOperatorMetadata);
  795. /** DistributionBucketOperatorMetadata endpoint. */
  796. public endpoint: string;
  797. /** DistributionBucketOperatorMetadata location. */
  798. public location?: (INodeLocationMetadata|null);
  799. /** DistributionBucketOperatorMetadata extra. */
  800. public extra: string;
  801. /**
  802. * Creates a new DistributionBucketOperatorMetadata instance using the specified properties.
  803. * @param [properties] Properties to set
  804. * @returns DistributionBucketOperatorMetadata instance
  805. */
  806. public static create(properties?: IDistributionBucketOperatorMetadata): DistributionBucketOperatorMetadata;
  807. /**
  808. * Encodes the specified DistributionBucketOperatorMetadata message. Does not implicitly {@link DistributionBucketOperatorMetadata.verify|verify} messages.
  809. * @param message DistributionBucketOperatorMetadata message or plain object to encode
  810. * @param [writer] Writer to encode to
  811. * @returns Writer
  812. */
  813. public static encode(message: IDistributionBucketOperatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  814. /**
  815. * Encodes the specified DistributionBucketOperatorMetadata message, length delimited. Does not implicitly {@link DistributionBucketOperatorMetadata.verify|verify} messages.
  816. * @param message DistributionBucketOperatorMetadata message or plain object to encode
  817. * @param [writer] Writer to encode to
  818. * @returns Writer
  819. */
  820. public static encodeDelimited(message: IDistributionBucketOperatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  821. /**
  822. * Decodes a DistributionBucketOperatorMetadata message from the specified reader or buffer.
  823. * @param reader Reader or buffer to decode from
  824. * @param [length] Message length if known beforehand
  825. * @returns DistributionBucketOperatorMetadata
  826. * @throws {Error} If the payload is not a reader or valid buffer
  827. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  828. */
  829. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DistributionBucketOperatorMetadata;
  830. /**
  831. * Decodes a DistributionBucketOperatorMetadata message from the specified reader or buffer, length delimited.
  832. * @param reader Reader or buffer to decode from
  833. * @returns DistributionBucketOperatorMetadata
  834. * @throws {Error} If the payload is not a reader or valid buffer
  835. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  836. */
  837. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DistributionBucketOperatorMetadata;
  838. /**
  839. * Verifies a DistributionBucketOperatorMetadata message.
  840. * @param message Plain object to verify
  841. * @returns `null` if valid, otherwise the reason why it is not
  842. */
  843. public static verify(message: { [k: string]: any }): (string|null);
  844. /**
  845. * Creates a DistributionBucketOperatorMetadata message from a plain object. Also converts values to their respective internal types.
  846. * @param object Plain object
  847. * @returns DistributionBucketOperatorMetadata
  848. */
  849. public static fromObject(object: { [k: string]: any }): DistributionBucketOperatorMetadata;
  850. /**
  851. * Creates a plain object from a DistributionBucketOperatorMetadata message. Also converts values to other types if specified.
  852. * @param message DistributionBucketOperatorMetadata
  853. * @param [options] Conversion options
  854. * @returns Plain object
  855. */
  856. public static toObject(message: DistributionBucketOperatorMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  857. /**
  858. * Converts this DistributionBucketOperatorMetadata to JSON.
  859. * @returns JSON object
  860. */
  861. public toJSON(): { [k: string]: any };
  862. }
  863. /** Properties of a DistributionBucketFamilyMetadata. */
  864. export interface IDistributionBucketFamilyMetadata {
  865. /** DistributionBucketFamilyMetadata region */
  866. region?: (string|null);
  867. /** DistributionBucketFamilyMetadata description */
  868. description?: (string|null);
  869. /** DistributionBucketFamilyMetadata boundary */
  870. boundary?: (IGeoCoordiantes[]|null);
  871. }
  872. /** Represents a DistributionBucketFamilyMetadata. */
  873. export class DistributionBucketFamilyMetadata implements IDistributionBucketFamilyMetadata {
  874. /**
  875. * Constructs a new DistributionBucketFamilyMetadata.
  876. * @param [properties] Properties to set
  877. */
  878. constructor(properties?: IDistributionBucketFamilyMetadata);
  879. /** DistributionBucketFamilyMetadata region. */
  880. public region: string;
  881. /** DistributionBucketFamilyMetadata description. */
  882. public description: string;
  883. /** DistributionBucketFamilyMetadata boundary. */
  884. public boundary: IGeoCoordiantes[];
  885. /**
  886. * Creates a new DistributionBucketFamilyMetadata instance using the specified properties.
  887. * @param [properties] Properties to set
  888. * @returns DistributionBucketFamilyMetadata instance
  889. */
  890. public static create(properties?: IDistributionBucketFamilyMetadata): DistributionBucketFamilyMetadata;
  891. /**
  892. * Encodes the specified DistributionBucketFamilyMetadata message. Does not implicitly {@link DistributionBucketFamilyMetadata.verify|verify} messages.
  893. * @param message DistributionBucketFamilyMetadata message or plain object to encode
  894. * @param [writer] Writer to encode to
  895. * @returns Writer
  896. */
  897. public static encode(message: IDistributionBucketFamilyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  898. /**
  899. * Encodes the specified DistributionBucketFamilyMetadata message, length delimited. Does not implicitly {@link DistributionBucketFamilyMetadata.verify|verify} messages.
  900. * @param message DistributionBucketFamilyMetadata message or plain object to encode
  901. * @param [writer] Writer to encode to
  902. * @returns Writer
  903. */
  904. public static encodeDelimited(message: IDistributionBucketFamilyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  905. /**
  906. * Decodes a DistributionBucketFamilyMetadata message from the specified reader or buffer.
  907. * @param reader Reader or buffer to decode from
  908. * @param [length] Message length if known beforehand
  909. * @returns DistributionBucketFamilyMetadata
  910. * @throws {Error} If the payload is not a reader or valid buffer
  911. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  912. */
  913. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DistributionBucketFamilyMetadata;
  914. /**
  915. * Decodes a DistributionBucketFamilyMetadata message from the specified reader or buffer, length delimited.
  916. * @param reader Reader or buffer to decode from
  917. * @returns DistributionBucketFamilyMetadata
  918. * @throws {Error} If the payload is not a reader or valid buffer
  919. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  920. */
  921. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DistributionBucketFamilyMetadata;
  922. /**
  923. * Verifies a DistributionBucketFamilyMetadata message.
  924. * @param message Plain object to verify
  925. * @returns `null` if valid, otherwise the reason why it is not
  926. */
  927. public static verify(message: { [k: string]: any }): (string|null);
  928. /**
  929. * Creates a DistributionBucketFamilyMetadata message from a plain object. Also converts values to their respective internal types.
  930. * @param object Plain object
  931. * @returns DistributionBucketFamilyMetadata
  932. */
  933. public static fromObject(object: { [k: string]: any }): DistributionBucketFamilyMetadata;
  934. /**
  935. * Creates a plain object from a DistributionBucketFamilyMetadata message. Also converts values to other types if specified.
  936. * @param message DistributionBucketFamilyMetadata
  937. * @param [options] Conversion options
  938. * @returns Plain object
  939. */
  940. public static toObject(message: DistributionBucketFamilyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  941. /**
  942. * Converts this DistributionBucketFamilyMetadata to JSON.
  943. * @returns JSON object
  944. */
  945. public toJSON(): { [k: string]: any };
  946. }
  947. /** Properties of a PublishedBeforeJoystream. */
  948. export interface IPublishedBeforeJoystream {
  949. /** PublishedBeforeJoystream isPublished */
  950. isPublished?: (boolean|null);
  951. /** PublishedBeforeJoystream date */
  952. date?: (string|null);
  953. }
  954. /** Represents a PublishedBeforeJoystream. */
  955. export class PublishedBeforeJoystream implements IPublishedBeforeJoystream {
  956. /**
  957. * Constructs a new PublishedBeforeJoystream.
  958. * @param [properties] Properties to set
  959. */
  960. constructor(properties?: IPublishedBeforeJoystream);
  961. /** PublishedBeforeJoystream isPublished. */
  962. public isPublished: boolean;
  963. /** PublishedBeforeJoystream date. */
  964. public date: string;
  965. /**
  966. * Creates a new PublishedBeforeJoystream instance using the specified properties.
  967. * @param [properties] Properties to set
  968. * @returns PublishedBeforeJoystream instance
  969. */
  970. public static create(properties?: IPublishedBeforeJoystream): PublishedBeforeJoystream;
  971. /**
  972. * Encodes the specified PublishedBeforeJoystream message. Does not implicitly {@link PublishedBeforeJoystream.verify|verify} messages.
  973. * @param message PublishedBeforeJoystream message or plain object to encode
  974. * @param [writer] Writer to encode to
  975. * @returns Writer
  976. */
  977. public static encode(message: IPublishedBeforeJoystream, writer?: $protobuf.Writer): $protobuf.Writer;
  978. /**
  979. * Encodes the specified PublishedBeforeJoystream message, length delimited. Does not implicitly {@link PublishedBeforeJoystream.verify|verify} messages.
  980. * @param message PublishedBeforeJoystream message or plain object to encode
  981. * @param [writer] Writer to encode to
  982. * @returns Writer
  983. */
  984. public static encodeDelimited(message: IPublishedBeforeJoystream, writer?: $protobuf.Writer): $protobuf.Writer;
  985. /**
  986. * Decodes a PublishedBeforeJoystream message from the specified reader or buffer.
  987. * @param reader Reader or buffer to decode from
  988. * @param [length] Message length if known beforehand
  989. * @returns PublishedBeforeJoystream
  990. * @throws {Error} If the payload is not a reader or valid buffer
  991. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  992. */
  993. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PublishedBeforeJoystream;
  994. /**
  995. * Decodes a PublishedBeforeJoystream message from the specified reader or buffer, length delimited.
  996. * @param reader Reader or buffer to decode from
  997. * @returns PublishedBeforeJoystream
  998. * @throws {Error} If the payload is not a reader or valid buffer
  999. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1000. */
  1001. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PublishedBeforeJoystream;
  1002. /**
  1003. * Verifies a PublishedBeforeJoystream message.
  1004. * @param message Plain object to verify
  1005. * @returns `null` if valid, otherwise the reason why it is not
  1006. */
  1007. public static verify(message: { [k: string]: any }): (string|null);
  1008. /**
  1009. * Creates a PublishedBeforeJoystream message from a plain object. Also converts values to their respective internal types.
  1010. * @param object Plain object
  1011. * @returns PublishedBeforeJoystream
  1012. */
  1013. public static fromObject(object: { [k: string]: any }): PublishedBeforeJoystream;
  1014. /**
  1015. * Creates a plain object from a PublishedBeforeJoystream message. Also converts values to other types if specified.
  1016. * @param message PublishedBeforeJoystream
  1017. * @param [options] Conversion options
  1018. * @returns Plain object
  1019. */
  1020. public static toObject(message: PublishedBeforeJoystream, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1021. /**
  1022. * Converts this PublishedBeforeJoystream to JSON.
  1023. * @returns JSON object
  1024. */
  1025. public toJSON(): { [k: string]: any };
  1026. }
  1027. /** Properties of a License. */
  1028. export interface ILicense {
  1029. /** License code */
  1030. code?: (number|null);
  1031. /** License attribution */
  1032. attribution?: (string|null);
  1033. /** License customText */
  1034. customText?: (string|null);
  1035. }
  1036. /** Represents a License. */
  1037. export class License implements ILicense {
  1038. /**
  1039. * Constructs a new License.
  1040. * @param [properties] Properties to set
  1041. */
  1042. constructor(properties?: ILicense);
  1043. /** License code. */
  1044. public code: number;
  1045. /** License attribution. */
  1046. public attribution: string;
  1047. /** License customText. */
  1048. public customText: string;
  1049. /**
  1050. * Creates a new License instance using the specified properties.
  1051. * @param [properties] Properties to set
  1052. * @returns License instance
  1053. */
  1054. public static create(properties?: ILicense): License;
  1055. /**
  1056. * Encodes the specified License message. Does not implicitly {@link License.verify|verify} messages.
  1057. * @param message License message or plain object to encode
  1058. * @param [writer] Writer to encode to
  1059. * @returns Writer
  1060. */
  1061. public static encode(message: ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
  1062. /**
  1063. * Encodes the specified License message, length delimited. Does not implicitly {@link License.verify|verify} messages.
  1064. * @param message License message or plain object to encode
  1065. * @param [writer] Writer to encode to
  1066. * @returns Writer
  1067. */
  1068. public static encodeDelimited(message: ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
  1069. /**
  1070. * Decodes a License message from the specified reader or buffer.
  1071. * @param reader Reader or buffer to decode from
  1072. * @param [length] Message length if known beforehand
  1073. * @returns License
  1074. * @throws {Error} If the payload is not a reader or valid buffer
  1075. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1076. */
  1077. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): License;
  1078. /**
  1079. * Decodes a License message from the specified reader or buffer, length delimited.
  1080. * @param reader Reader or buffer to decode from
  1081. * @returns License
  1082. * @throws {Error} If the payload is not a reader or valid buffer
  1083. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1084. */
  1085. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License;
  1086. /**
  1087. * Verifies a License message.
  1088. * @param message Plain object to verify
  1089. * @returns `null` if valid, otherwise the reason why it is not
  1090. */
  1091. public static verify(message: { [k: string]: any }): (string|null);
  1092. /**
  1093. * Creates a License message from a plain object. Also converts values to their respective internal types.
  1094. * @param object Plain object
  1095. * @returns License
  1096. */
  1097. public static fromObject(object: { [k: string]: any }): License;
  1098. /**
  1099. * Creates a plain object from a License message. Also converts values to other types if specified.
  1100. * @param message License
  1101. * @param [options] Conversion options
  1102. * @returns Plain object
  1103. */
  1104. public static toObject(message: License, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1105. /**
  1106. * Converts this License to JSON.
  1107. * @returns JSON object
  1108. */
  1109. public toJSON(): { [k: string]: any };
  1110. }
  1111. /** Properties of a MediaType. */
  1112. export interface IMediaType {
  1113. /** MediaType codecName */
  1114. codecName?: (string|null);
  1115. /** MediaType container */
  1116. container?: (string|null);
  1117. /** MediaType mimeMediaType */
  1118. mimeMediaType?: (string|null);
  1119. }
  1120. /** Represents a MediaType. */
  1121. export class MediaType implements IMediaType {
  1122. /**
  1123. * Constructs a new MediaType.
  1124. * @param [properties] Properties to set
  1125. */
  1126. constructor(properties?: IMediaType);
  1127. /** MediaType codecName. */
  1128. public codecName: string;
  1129. /** MediaType container. */
  1130. public container: string;
  1131. /** MediaType mimeMediaType. */
  1132. public mimeMediaType: string;
  1133. /**
  1134. * Creates a new MediaType instance using the specified properties.
  1135. * @param [properties] Properties to set
  1136. * @returns MediaType instance
  1137. */
  1138. public static create(properties?: IMediaType): MediaType;
  1139. /**
  1140. * Encodes the specified MediaType message. Does not implicitly {@link MediaType.verify|verify} messages.
  1141. * @param message MediaType message or plain object to encode
  1142. * @param [writer] Writer to encode to
  1143. * @returns Writer
  1144. */
  1145. public static encode(message: IMediaType, writer?: $protobuf.Writer): $protobuf.Writer;
  1146. /**
  1147. * Encodes the specified MediaType message, length delimited. Does not implicitly {@link MediaType.verify|verify} messages.
  1148. * @param message MediaType message or plain object to encode
  1149. * @param [writer] Writer to encode to
  1150. * @returns Writer
  1151. */
  1152. public static encodeDelimited(message: IMediaType, writer?: $protobuf.Writer): $protobuf.Writer;
  1153. /**
  1154. * Decodes a MediaType message from the specified reader or buffer.
  1155. * @param reader Reader or buffer to decode from
  1156. * @param [length] Message length if known beforehand
  1157. * @returns MediaType
  1158. * @throws {Error} If the payload is not a reader or valid buffer
  1159. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1160. */
  1161. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MediaType;
  1162. /**
  1163. * Decodes a MediaType message from the specified reader or buffer, length delimited.
  1164. * @param reader Reader or buffer to decode from
  1165. * @returns MediaType
  1166. * @throws {Error} If the payload is not a reader or valid buffer
  1167. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1168. */
  1169. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MediaType;
  1170. /**
  1171. * Verifies a MediaType message.
  1172. * @param message Plain object to verify
  1173. * @returns `null` if valid, otherwise the reason why it is not
  1174. */
  1175. public static verify(message: { [k: string]: any }): (string|null);
  1176. /**
  1177. * Creates a MediaType message from a plain object. Also converts values to their respective internal types.
  1178. * @param object Plain object
  1179. * @returns MediaType
  1180. */
  1181. public static fromObject(object: { [k: string]: any }): MediaType;
  1182. /**
  1183. * Creates a plain object from a MediaType message. Also converts values to other types if specified.
  1184. * @param message MediaType
  1185. * @param [options] Conversion options
  1186. * @returns Plain object
  1187. */
  1188. public static toObject(message: MediaType, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1189. /**
  1190. * Converts this MediaType to JSON.
  1191. * @returns JSON object
  1192. */
  1193. public toJSON(): { [k: string]: any };
  1194. }
  1195. /** Properties of a VideoMetadata. */
  1196. export interface IVideoMetadata {
  1197. /** VideoMetadata title */
  1198. title?: (string|null);
  1199. /** VideoMetadata description */
  1200. description?: (string|null);
  1201. /** VideoMetadata video */
  1202. video?: (number|null);
  1203. /** VideoMetadata thumbnailPhoto */
  1204. thumbnailPhoto?: (number|null);
  1205. /** VideoMetadata duration */
  1206. duration?: (number|null);
  1207. /** VideoMetadata mediaPixelHeight */
  1208. mediaPixelHeight?: (number|null);
  1209. /** VideoMetadata mediaPixelWidth */
  1210. mediaPixelWidth?: (number|null);
  1211. /** VideoMetadata mediaType */
  1212. mediaType?: (IMediaType|null);
  1213. /** VideoMetadata language */
  1214. language?: (string|null);
  1215. /** VideoMetadata license */
  1216. license?: (ILicense|null);
  1217. /** VideoMetadata publishedBeforeJoystream */
  1218. publishedBeforeJoystream?: (IPublishedBeforeJoystream|null);
  1219. /** VideoMetadata hasMarketing */
  1220. hasMarketing?: (boolean|null);
  1221. /** VideoMetadata isPublic */
  1222. isPublic?: (boolean|null);
  1223. /** VideoMetadata isExplicit */
  1224. isExplicit?: (boolean|null);
  1225. /** VideoMetadata persons */
  1226. persons?: (Long[]|null);
  1227. /** VideoMetadata category */
  1228. category?: (Long|null);
  1229. }
  1230. /** Represents a VideoMetadata. */
  1231. export class VideoMetadata implements IVideoMetadata {
  1232. /**
  1233. * Constructs a new VideoMetadata.
  1234. * @param [properties] Properties to set
  1235. */
  1236. constructor(properties?: IVideoMetadata);
  1237. /** VideoMetadata title. */
  1238. public title: string;
  1239. /** VideoMetadata description. */
  1240. public description: string;
  1241. /** VideoMetadata video. */
  1242. public video: number;
  1243. /** VideoMetadata thumbnailPhoto. */
  1244. public thumbnailPhoto: number;
  1245. /** VideoMetadata duration. */
  1246. public duration: number;
  1247. /** VideoMetadata mediaPixelHeight. */
  1248. public mediaPixelHeight: number;
  1249. /** VideoMetadata mediaPixelWidth. */
  1250. public mediaPixelWidth: number;
  1251. /** VideoMetadata mediaType. */
  1252. public mediaType?: (IMediaType|null);
  1253. /** VideoMetadata language. */
  1254. public language: string;
  1255. /** VideoMetadata license. */
  1256. public license?: (ILicense|null);
  1257. /** VideoMetadata publishedBeforeJoystream. */
  1258. public publishedBeforeJoystream?: (IPublishedBeforeJoystream|null);
  1259. /** VideoMetadata hasMarketing. */
  1260. public hasMarketing: boolean;
  1261. /** VideoMetadata isPublic. */
  1262. public isPublic: boolean;
  1263. /** VideoMetadata isExplicit. */
  1264. public isExplicit: boolean;
  1265. /** VideoMetadata persons. */
  1266. public persons: Long[];
  1267. /** VideoMetadata category. */
  1268. public category: Long;
  1269. /**
  1270. * Creates a new VideoMetadata instance using the specified properties.
  1271. * @param [properties] Properties to set
  1272. * @returns VideoMetadata instance
  1273. */
  1274. public static create(properties?: IVideoMetadata): VideoMetadata;
  1275. /**
  1276. * Encodes the specified VideoMetadata message. Does not implicitly {@link VideoMetadata.verify|verify} messages.
  1277. * @param message VideoMetadata message or plain object to encode
  1278. * @param [writer] Writer to encode to
  1279. * @returns Writer
  1280. */
  1281. public static encode(message: IVideoMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1282. /**
  1283. * Encodes the specified VideoMetadata message, length delimited. Does not implicitly {@link VideoMetadata.verify|verify} messages.
  1284. * @param message VideoMetadata message or plain object to encode
  1285. * @param [writer] Writer to encode to
  1286. * @returns Writer
  1287. */
  1288. public static encodeDelimited(message: IVideoMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1289. /**
  1290. * Decodes a VideoMetadata message from the specified reader or buffer.
  1291. * @param reader Reader or buffer to decode from
  1292. * @param [length] Message length if known beforehand
  1293. * @returns VideoMetadata
  1294. * @throws {Error} If the payload is not a reader or valid buffer
  1295. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1296. */
  1297. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VideoMetadata;
  1298. /**
  1299. * Decodes a VideoMetadata message from the specified reader or buffer, length delimited.
  1300. * @param reader Reader or buffer to decode from
  1301. * @returns VideoMetadata
  1302. * @throws {Error} If the payload is not a reader or valid buffer
  1303. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1304. */
  1305. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VideoMetadata;
  1306. /**
  1307. * Verifies a VideoMetadata message.
  1308. * @param message Plain object to verify
  1309. * @returns `null` if valid, otherwise the reason why it is not
  1310. */
  1311. public static verify(message: { [k: string]: any }): (string|null);
  1312. /**
  1313. * Creates a VideoMetadata message from a plain object. Also converts values to their respective internal types.
  1314. * @param object Plain object
  1315. * @returns VideoMetadata
  1316. */
  1317. public static fromObject(object: { [k: string]: any }): VideoMetadata;
  1318. /**
  1319. * Creates a plain object from a VideoMetadata message. Also converts values to other types if specified.
  1320. * @param message VideoMetadata
  1321. * @param [options] Conversion options
  1322. * @returns Plain object
  1323. */
  1324. public static toObject(message: VideoMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1325. /**
  1326. * Converts this VideoMetadata to JSON.
  1327. * @returns JSON object
  1328. */
  1329. public toJSON(): { [k: string]: any };
  1330. }
  1331. /** Properties of a VideoCategoryMetadata. */
  1332. export interface IVideoCategoryMetadata {
  1333. /** VideoCategoryMetadata name */
  1334. name?: (string|null);
  1335. }
  1336. /** Represents a VideoCategoryMetadata. */
  1337. export class VideoCategoryMetadata implements IVideoCategoryMetadata {
  1338. /**
  1339. * Constructs a new VideoCategoryMetadata.
  1340. * @param [properties] Properties to set
  1341. */
  1342. constructor(properties?: IVideoCategoryMetadata);
  1343. /** VideoCategoryMetadata name. */
  1344. public name: string;
  1345. /**
  1346. * Creates a new VideoCategoryMetadata instance using the specified properties.
  1347. * @param [properties] Properties to set
  1348. * @returns VideoCategoryMetadata instance
  1349. */
  1350. public static create(properties?: IVideoCategoryMetadata): VideoCategoryMetadata;
  1351. /**
  1352. * Encodes the specified VideoCategoryMetadata message. Does not implicitly {@link VideoCategoryMetadata.verify|verify} messages.
  1353. * @param message VideoCategoryMetadata message or plain object to encode
  1354. * @param [writer] Writer to encode to
  1355. * @returns Writer
  1356. */
  1357. public static encode(message: IVideoCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1358. /**
  1359. * Encodes the specified VideoCategoryMetadata message, length delimited. Does not implicitly {@link VideoCategoryMetadata.verify|verify} messages.
  1360. * @param message VideoCategoryMetadata message or plain object to encode
  1361. * @param [writer] Writer to encode to
  1362. * @returns Writer
  1363. */
  1364. public static encodeDelimited(message: IVideoCategoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  1365. /**
  1366. * Decodes a VideoCategoryMetadata message from the specified reader or buffer.
  1367. * @param reader Reader or buffer to decode from
  1368. * @param [length] Message length if known beforehand
  1369. * @returns VideoCategoryMetadata
  1370. * @throws {Error} If the payload is not a reader or valid buffer
  1371. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1372. */
  1373. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VideoCategoryMetadata;
  1374. /**
  1375. * Decodes a VideoCategoryMetadata message from the specified reader or buffer, length delimited.
  1376. * @param reader Reader or buffer to decode from
  1377. * @returns VideoCategoryMetadata
  1378. * @throws {Error} If the payload is not a reader or valid buffer
  1379. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1380. */
  1381. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VideoCategoryMetadata;
  1382. /**
  1383. * Verifies a VideoCategoryMetadata message.
  1384. * @param message Plain object to verify
  1385. * @returns `null` if valid, otherwise the reason why it is not
  1386. */
  1387. public static verify(message: { [k: string]: any }): (string|null);
  1388. /**
  1389. * Creates a VideoCategoryMetadata message from a plain object. Also converts values to their respective internal types.
  1390. * @param object Plain object
  1391. * @returns VideoCategoryMetadata
  1392. */
  1393. public static fromObject(object: { [k: string]: any }): VideoCategoryMetadata;
  1394. /**
  1395. * Creates a plain object from a VideoCategoryMetadata message. Also converts values to other types if specified.
  1396. * @param message VideoCategoryMetadata
  1397. * @param [options] Conversion options
  1398. * @returns Plain object
  1399. */
  1400. public static toObject(message: VideoCategoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1401. /**
  1402. * Converts this VideoCategoryMetadata to JSON.
  1403. * @returns JSON object
  1404. */
  1405. public toJSON(): { [k: string]: any };
  1406. }