Playlist_pb.d.ts 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. // package:
  2. // file: proto/Playlist.proto
  3. import * as jspb from "google-protobuf";
  4. export class PlaylistMetadata extends jspb.Message {
  5. hasTitle(): boolean;
  6. clearTitle(): void;
  7. getTitle(): string | undefined;
  8. setTitle(value: string): void;
  9. clearVideosList(): void;
  10. getVideosList(): Array<number>;
  11. setVideosList(value: Array<number>): void;
  12. addVideos(value: number, index?: number): number;
  13. serializeBinary(): Uint8Array;
  14. toObject(includeInstance?: boolean): PlaylistMetadata.AsObject;
  15. static toObject(includeInstance: boolean, msg: PlaylistMetadata): PlaylistMetadata.AsObject;
  16. static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
  17. static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
  18. static serializeBinaryToWriter(message: PlaylistMetadata, writer: jspb.BinaryWriter): void;
  19. static deserializeBinary(bytes: Uint8Array): PlaylistMetadata;
  20. static deserializeBinaryFromReader(message: PlaylistMetadata, reader: jspb.BinaryReader): PlaylistMetadata;
  21. }
  22. export namespace PlaylistMetadata {
  23. export type AsObject = {
  24. title?: string,
  25. videosList: Array<number>,
  26. }
  27. }