Series_pb.d.ts 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // package:
  2. // file: proto/Series.proto
  3. import * as jspb from "google-protobuf";
  4. export class SeriesMetadata extends jspb.Message {
  5. hasTitle(): boolean;
  6. clearTitle(): void;
  7. getTitle(): string | undefined;
  8. setTitle(value: string): void;
  9. hasDescription(): boolean;
  10. clearDescription(): void;
  11. getDescription(): string | undefined;
  12. setDescription(value: string): void;
  13. hasCoverPhoto(): boolean;
  14. clearCoverPhoto(): void;
  15. getCoverPhoto(): number | undefined;
  16. setCoverPhoto(value: number): void;
  17. clearPersonsList(): void;
  18. getPersonsList(): Array<number>;
  19. setPersonsList(value: Array<number>): void;
  20. addPersons(value: number, index?: number): number;
  21. serializeBinary(): Uint8Array;
  22. toObject(includeInstance?: boolean): SeriesMetadata.AsObject;
  23. static toObject(includeInstance: boolean, msg: SeriesMetadata): SeriesMetadata.AsObject;
  24. static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
  25. static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
  26. static serializeBinaryToWriter(message: SeriesMetadata, writer: jspb.BinaryWriter): void;
  27. static deserializeBinary(bytes: Uint8Array): SeriesMetadata;
  28. static deserializeBinaryFromReader(message: SeriesMetadata, reader: jspb.BinaryReader): SeriesMetadata;
  29. }
  30. export namespace SeriesMetadata {
  31. export type AsObject = {
  32. title?: string,
  33. description?: string,
  34. coverPhoto?: number,
  35. personsList: Array<number>,
  36. }
  37. }
  38. export class SeasonMetadata extends jspb.Message {
  39. hasTitle(): boolean;
  40. clearTitle(): void;
  41. getTitle(): string | undefined;
  42. setTitle(value: string): void;
  43. hasDescription(): boolean;
  44. clearDescription(): void;
  45. getDescription(): string | undefined;
  46. setDescription(value: string): void;
  47. hasCoverPhoto(): boolean;
  48. clearCoverPhoto(): void;
  49. getCoverPhoto(): number | undefined;
  50. setCoverPhoto(value: number): void;
  51. clearPersonsList(): void;
  52. getPersonsList(): Array<number>;
  53. setPersonsList(value: Array<number>): void;
  54. addPersons(value: number, index?: number): number;
  55. serializeBinary(): Uint8Array;
  56. toObject(includeInstance?: boolean): SeasonMetadata.AsObject;
  57. static toObject(includeInstance: boolean, msg: SeasonMetadata): SeasonMetadata.AsObject;
  58. static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
  59. static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
  60. static serializeBinaryToWriter(message: SeasonMetadata, writer: jspb.BinaryWriter): void;
  61. static deserializeBinary(bytes: Uint8Array): SeasonMetadata;
  62. static deserializeBinaryFromReader(message: SeasonMetadata, reader: jspb.BinaryReader): SeasonMetadata;
  63. }
  64. export namespace SeasonMetadata {
  65. export type AsObject = {
  66. title?: string,
  67. description?: string,
  68. coverPhoto?: number,
  69. personsList: Array<number>,
  70. }
  71. }