Video_pb.d.ts 6.1 KB

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