Video_pb.d.ts 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. // package:
  2. // file: proto/Video.proto
  3. import * as jspb from "google-protobuf";
  4. export class PublishedBeforeJoystream extends jspb.Message {
  5. hasIsPublished(): boolean;
  6. clearIsPublished(): void;
  7. getIsPublished(): boolean | undefined;
  8. setIsPublished(value: boolean): void;
  9. hasTimestamp(): boolean;
  10. clearTimestamp(): void;
  11. getTimestamp(): number | undefined;
  12. setTimestamp(value: number): void;
  13. serializeBinary(): Uint8Array;
  14. toObject(includeInstance?: boolean): PublishedBeforeJoystream.AsObject;
  15. static toObject(includeInstance: boolean, msg: PublishedBeforeJoystream): PublishedBeforeJoystream.AsObject;
  16. static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
  17. static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
  18. static serializeBinaryToWriter(message: PublishedBeforeJoystream, writer: jspb.BinaryWriter): void;
  19. static deserializeBinary(bytes: Uint8Array): PublishedBeforeJoystream;
  20. static deserializeBinaryFromReader(message: PublishedBeforeJoystream, reader: jspb.BinaryReader): PublishedBeforeJoystream;
  21. }
  22. export namespace PublishedBeforeJoystream {
  23. export type AsObject = {
  24. isPublished?: boolean,
  25. timestamp?: number,
  26. }
  27. }
  28. export class License extends jspb.Message {
  29. hasCode(): boolean;
  30. clearCode(): void;
  31. getCode(): number | undefined;
  32. setCode(value: number): void;
  33. hasAttribution(): boolean;
  34. clearAttribution(): void;
  35. getAttribution(): string | undefined;
  36. setAttribution(value: string): void;
  37. hasCustomText(): boolean;
  38. clearCustomText(): void;
  39. getCustomText(): string | undefined;
  40. setCustomText(value: string): void;
  41. serializeBinary(): Uint8Array;
  42. toObject(includeInstance?: boolean): License.AsObject;
  43. static toObject(includeInstance: boolean, msg: License): License.AsObject;
  44. static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
  45. static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
  46. static serializeBinaryToWriter(message: License, writer: jspb.BinaryWriter): void;
  47. static deserializeBinary(bytes: Uint8Array): License;
  48. static deserializeBinaryFromReader(message: License, reader: jspb.BinaryReader): License;
  49. }
  50. export namespace License {
  51. export type AsObject = {
  52. code?: number,
  53. attribution?: string,
  54. customText?: string,
  55. }
  56. }
  57. export class MediaType extends jspb.Message {
  58. hasCodecName(): boolean;
  59. clearCodecName(): void;
  60. getCodecName(): string | undefined;
  61. setCodecName(value: string): void;
  62. hasContainer(): boolean;
  63. clearContainer(): void;
  64. getContainer(): string | undefined;
  65. setContainer(value: string): void;
  66. hasMimeMediaType(): boolean;
  67. clearMimeMediaType(): void;
  68. getMimeMediaType(): string | undefined;
  69. setMimeMediaType(value: string): void;
  70. serializeBinary(): Uint8Array;
  71. toObject(includeInstance?: boolean): MediaType.AsObject;
  72. static toObject(includeInstance: boolean, msg: MediaType): MediaType.AsObject;
  73. static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
  74. static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
  75. static serializeBinaryToWriter(message: MediaType, writer: jspb.BinaryWriter): void;
  76. static deserializeBinary(bytes: Uint8Array): MediaType;
  77. static deserializeBinaryFromReader(message: MediaType, reader: jspb.BinaryReader): MediaType;
  78. }
  79. export namespace MediaType {
  80. export type AsObject = {
  81. codecName?: string,
  82. container?: string,
  83. mimeMediaType?: string,
  84. }
  85. }
  86. export class VideoMetadata extends jspb.Message {
  87. hasTitle(): boolean;
  88. clearTitle(): void;
  89. getTitle(): string | undefined;
  90. setTitle(value: string): void;
  91. hasDescription(): boolean;
  92. clearDescription(): void;
  93. getDescription(): string | undefined;
  94. setDescription(value: string): void;
  95. hasDuration(): boolean;
  96. clearDuration(): void;
  97. getDuration(): number | undefined;
  98. setDuration(value: number): void;
  99. hasMediaPixelHeight(): boolean;
  100. clearMediaPixelHeight(): void;
  101. getMediaPixelHeight(): number | undefined;
  102. setMediaPixelHeight(value: number): void;
  103. hasMediaPixelWidth(): boolean;
  104. clearMediaPixelWidth(): void;
  105. getMediaPixelWidth(): number | undefined;
  106. setMediaPixelWidth(value: number): void;
  107. hasMediaType(): boolean;
  108. clearMediaType(): void;
  109. getMediaType(): MediaType | undefined;
  110. setMediaType(value?: MediaType): void;
  111. hasLanguage(): boolean;
  112. clearLanguage(): void;
  113. getLanguage(): string | undefined;
  114. setLanguage(value: string): void;
  115. hasLicense(): boolean;
  116. clearLicense(): void;
  117. getLicense(): License | undefined;
  118. setLicense(value?: License): void;
  119. hasPublishedBeforeJoystream(): boolean;
  120. clearPublishedBeforeJoystream(): void;
  121. getPublishedBeforeJoystream(): PublishedBeforeJoystream | undefined;
  122. setPublishedBeforeJoystream(value?: PublishedBeforeJoystream): void;
  123. hasHasMarketing(): boolean;
  124. clearHasMarketing(): void;
  125. getHasMarketing(): boolean | undefined;
  126. setHasMarketing(value: boolean): void;
  127. hasIsPublic(): boolean;
  128. clearIsPublic(): void;
  129. getIsPublic(): boolean | undefined;
  130. setIsPublic(value: boolean): void;
  131. hasIsExplicit(): boolean;
  132. clearIsExplicit(): void;
  133. getIsExplicit(): boolean | undefined;
  134. setIsExplicit(value: boolean): void;
  135. serializeBinary(): Uint8Array;
  136. toObject(includeInstance?: boolean): VideoMetadata.AsObject;
  137. static toObject(includeInstance: boolean, msg: VideoMetadata): VideoMetadata.AsObject;
  138. static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
  139. static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
  140. static serializeBinaryToWriter(message: VideoMetadata, writer: jspb.BinaryWriter): void;
  141. static deserializeBinary(bytes: Uint8Array): VideoMetadata;
  142. static deserializeBinaryFromReader(message: VideoMetadata, reader: jspb.BinaryReader): VideoMetadata;
  143. }
  144. export namespace VideoMetadata {
  145. export type AsObject = {
  146. title?: string,
  147. description?: string,
  148. duration?: number,
  149. mediaPixelHeight?: number,
  150. mediaPixelWidth?: number,
  151. mediaType?: MediaType.AsObject,
  152. language?: string,
  153. license?: License.AsObject,
  154. publishedBeforeJoystream?: PublishedBeforeJoystream.AsObject,
  155. hasMarketing?: boolean,
  156. isPublic?: boolean,
  157. isExplicit?: boolean,
  158. }
  159. }