Channel_pb.d.ts 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // package:
  2. // file: proto/Channel.proto
  3. import * as jspb from "google-protobuf";
  4. export class ChannelMetadata 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. hasIsPublic(): boolean;
  14. clearIsPublic(): void;
  15. getIsPublic(): boolean | undefined;
  16. setIsPublic(value: boolean): void;
  17. hasLanguage(): boolean;
  18. clearLanguage(): void;
  19. getLanguage(): string | undefined;
  20. setLanguage(value: string): void;
  21. hasCoverPhoto(): boolean;
  22. clearCoverPhoto(): void;
  23. getCoverPhoto(): number | undefined;
  24. setCoverPhoto(value: number): void;
  25. hasAvatarPhoto(): boolean;
  26. clearAvatarPhoto(): void;
  27. getAvatarPhoto(): number | undefined;
  28. setAvatarPhoto(value: number): void;
  29. hasCategory(): boolean;
  30. clearCategory(): void;
  31. getCategory(): number | undefined;
  32. setCategory(value: number): void;
  33. serializeBinary(): Uint8Array;
  34. toObject(includeInstance?: boolean): ChannelMetadata.AsObject;
  35. static toObject(includeInstance: boolean, msg: ChannelMetadata): ChannelMetadata.AsObject;
  36. static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
  37. static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
  38. static serializeBinaryToWriter(message: ChannelMetadata, writer: jspb.BinaryWriter): void;
  39. static deserializeBinary(bytes: Uint8Array): ChannelMetadata;
  40. static deserializeBinaryFromReader(message: ChannelMetadata, reader: jspb.BinaryReader): ChannelMetadata;
  41. }
  42. export namespace ChannelMetadata {
  43. export type AsObject = {
  44. title?: string,
  45. description?: string,
  46. isPublic?: boolean,
  47. language?: string,
  48. coverPhoto?: number,
  49. avatarPhoto?: number,
  50. category?: number,
  51. }
  52. }
  53. export class ChannelCategoryMetadata extends jspb.Message {
  54. hasName(): boolean;
  55. clearName(): void;
  56. getName(): string | undefined;
  57. setName(value: string): void;
  58. serializeBinary(): Uint8Array;
  59. toObject(includeInstance?: boolean): ChannelCategoryMetadata.AsObject;
  60. static toObject(includeInstance: boolean, msg: ChannelCategoryMetadata): ChannelCategoryMetadata.AsObject;
  61. static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
  62. static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
  63. static serializeBinaryToWriter(message: ChannelCategoryMetadata, writer: jspb.BinaryWriter): void;
  64. static deserializeBinary(bytes: Uint8Array): ChannelCategoryMetadata;
  65. static deserializeBinaryFromReader(message: ChannelCategoryMetadata, reader: jspb.BinaryReader): ChannelCategoryMetadata;
  66. }
  67. export namespace ChannelCategoryMetadata {
  68. export type AsObject = {
  69. name?: string,
  70. }
  71. }