index.d.ts 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. import { Long } from 'long'
  2. import * as $protobuf from "protobufjs";
  3. /** Properties of a GeoCoordiantes. */
  4. export interface IGeoCoordiantes {
  5. /** GeoCoordiantes latitude */
  6. latitude?: (number|null);
  7. /** GeoCoordiantes longitude */
  8. longitude?: (number|null);
  9. }
  10. /** Represents a GeoCoordiantes. */
  11. export class GeoCoordiantes implements IGeoCoordiantes {
  12. /**
  13. * Constructs a new GeoCoordiantes.
  14. * @param [properties] Properties to set
  15. */
  16. constructor(properties?: IGeoCoordiantes);
  17. /** GeoCoordiantes latitude. */
  18. public latitude: number;
  19. /** GeoCoordiantes longitude. */
  20. public longitude: number;
  21. /**
  22. * Creates a new GeoCoordiantes instance using the specified properties.
  23. * @param [properties] Properties to set
  24. * @returns GeoCoordiantes instance
  25. */
  26. public static create(properties?: IGeoCoordiantes): GeoCoordiantes;
  27. /**
  28. * Encodes the specified GeoCoordiantes message. Does not implicitly {@link GeoCoordiantes.verify|verify} messages.
  29. * @param message GeoCoordiantes message or plain object to encode
  30. * @param [writer] Writer to encode to
  31. * @returns Writer
  32. */
  33. public static encode(message: IGeoCoordiantes, writer?: $protobuf.Writer): $protobuf.Writer;
  34. /**
  35. * Encodes the specified GeoCoordiantes message, length delimited. Does not implicitly {@link GeoCoordiantes.verify|verify} messages.
  36. * @param message GeoCoordiantes message or plain object to encode
  37. * @param [writer] Writer to encode to
  38. * @returns Writer
  39. */
  40. public static encodeDelimited(message: IGeoCoordiantes, writer?: $protobuf.Writer): $protobuf.Writer;
  41. /**
  42. * Decodes a GeoCoordiantes message from the specified reader or buffer.
  43. * @param reader Reader or buffer to decode from
  44. * @param [length] Message length if known beforehand
  45. * @returns GeoCoordiantes
  46. * @throws {Error} If the payload is not a reader or valid buffer
  47. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  48. */
  49. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GeoCoordiantes;
  50. /**
  51. * Decodes a GeoCoordiantes message from the specified reader or buffer, length delimited.
  52. * @param reader Reader or buffer to decode from
  53. * @returns GeoCoordiantes
  54. * @throws {Error} If the payload is not a reader or valid buffer
  55. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  56. */
  57. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GeoCoordiantes;
  58. /**
  59. * Verifies a GeoCoordiantes message.
  60. * @param message Plain object to verify
  61. * @returns `null` if valid, otherwise the reason why it is not
  62. */
  63. public static verify(message: { [k: string]: any }): (string|null);
  64. /**
  65. * Creates a GeoCoordiantes message from a plain object. Also converts values to their respective internal types.
  66. * @param object Plain object
  67. * @returns GeoCoordiantes
  68. */
  69. public static fromObject(object: { [k: string]: any }): GeoCoordiantes;
  70. /**
  71. * Creates a plain object from a GeoCoordiantes message. Also converts values to other types if specified.
  72. * @param message GeoCoordiantes
  73. * @param [options] Conversion options
  74. * @returns Plain object
  75. */
  76. public static toObject(message: GeoCoordiantes, options?: $protobuf.IConversionOptions): { [k: string]: any };
  77. /**
  78. * Converts this GeoCoordiantes to JSON.
  79. * @returns JSON object
  80. */
  81. public toJSON(): { [k: string]: any };
  82. }
  83. /** Properties of a NodeLocationMetadata. */
  84. export interface INodeLocationMetadata {
  85. /** NodeLocationMetadata countryCode */
  86. countryCode?: (string|null);
  87. /** NodeLocationMetadata city */
  88. city?: (string|null);
  89. /** NodeLocationMetadata coordinates */
  90. coordinates?: (IGeoCoordiantes|null);
  91. }
  92. /** Represents a NodeLocationMetadata. */
  93. export class NodeLocationMetadata implements INodeLocationMetadata {
  94. /**
  95. * Constructs a new NodeLocationMetadata.
  96. * @param [properties] Properties to set
  97. */
  98. constructor(properties?: INodeLocationMetadata);
  99. /** NodeLocationMetadata countryCode. */
  100. public countryCode: string;
  101. /** NodeLocationMetadata city. */
  102. public city: string;
  103. /** NodeLocationMetadata coordinates. */
  104. public coordinates?: (IGeoCoordiantes|null);
  105. /**
  106. * Creates a new NodeLocationMetadata instance using the specified properties.
  107. * @param [properties] Properties to set
  108. * @returns NodeLocationMetadata instance
  109. */
  110. public static create(properties?: INodeLocationMetadata): NodeLocationMetadata;
  111. /**
  112. * Encodes the specified NodeLocationMetadata message. Does not implicitly {@link NodeLocationMetadata.verify|verify} messages.
  113. * @param message NodeLocationMetadata message or plain object to encode
  114. * @param [writer] Writer to encode to
  115. * @returns Writer
  116. */
  117. public static encode(message: INodeLocationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  118. /**
  119. * Encodes the specified NodeLocationMetadata message, length delimited. Does not implicitly {@link NodeLocationMetadata.verify|verify} messages.
  120. * @param message NodeLocationMetadata message or plain object to encode
  121. * @param [writer] Writer to encode to
  122. * @returns Writer
  123. */
  124. public static encodeDelimited(message: INodeLocationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  125. /**
  126. * Decodes a NodeLocationMetadata message from the specified reader or buffer.
  127. * @param reader Reader or buffer to decode from
  128. * @param [length] Message length if known beforehand
  129. * @returns NodeLocationMetadata
  130. * @throws {Error} If the payload is not a reader or valid buffer
  131. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  132. */
  133. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): NodeLocationMetadata;
  134. /**
  135. * Decodes a NodeLocationMetadata message from the specified reader or buffer, length delimited.
  136. * @param reader Reader or buffer to decode from
  137. * @returns NodeLocationMetadata
  138. * @throws {Error} If the payload is not a reader or valid buffer
  139. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  140. */
  141. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): NodeLocationMetadata;
  142. /**
  143. * Verifies a NodeLocationMetadata message.
  144. * @param message Plain object to verify
  145. * @returns `null` if valid, otherwise the reason why it is not
  146. */
  147. public static verify(message: { [k: string]: any }): (string|null);
  148. /**
  149. * Creates a NodeLocationMetadata message from a plain object. Also converts values to their respective internal types.
  150. * @param object Plain object
  151. * @returns NodeLocationMetadata
  152. */
  153. public static fromObject(object: { [k: string]: any }): NodeLocationMetadata;
  154. /**
  155. * Creates a plain object from a NodeLocationMetadata message. Also converts values to other types if specified.
  156. * @param message NodeLocationMetadata
  157. * @param [options] Conversion options
  158. * @returns Plain object
  159. */
  160. public static toObject(message: NodeLocationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  161. /**
  162. * Converts this NodeLocationMetadata to JSON.
  163. * @returns JSON object
  164. */
  165. public toJSON(): { [k: string]: any };
  166. }
  167. /** Properties of a StorageBucketOperatorMetadata. */
  168. export interface IStorageBucketOperatorMetadata {
  169. /** StorageBucketOperatorMetadata endpoint */
  170. endpoint?: (string|null);
  171. /** StorageBucketOperatorMetadata location */
  172. location?: (INodeLocationMetadata|null);
  173. /** StorageBucketOperatorMetadata extra */
  174. extra?: (string|null);
  175. }
  176. /** Represents a StorageBucketOperatorMetadata. */
  177. export class StorageBucketOperatorMetadata implements IStorageBucketOperatorMetadata {
  178. /**
  179. * Constructs a new StorageBucketOperatorMetadata.
  180. * @param [properties] Properties to set
  181. */
  182. constructor(properties?: IStorageBucketOperatorMetadata);
  183. /** StorageBucketOperatorMetadata endpoint. */
  184. public endpoint: string;
  185. /** StorageBucketOperatorMetadata location. */
  186. public location?: (INodeLocationMetadata|null);
  187. /** StorageBucketOperatorMetadata extra. */
  188. public extra: string;
  189. /**
  190. * Creates a new StorageBucketOperatorMetadata instance using the specified properties.
  191. * @param [properties] Properties to set
  192. * @returns StorageBucketOperatorMetadata instance
  193. */
  194. public static create(properties?: IStorageBucketOperatorMetadata): StorageBucketOperatorMetadata;
  195. /**
  196. * Encodes the specified StorageBucketOperatorMetadata message. Does not implicitly {@link StorageBucketOperatorMetadata.verify|verify} messages.
  197. * @param message StorageBucketOperatorMetadata message or plain object to encode
  198. * @param [writer] Writer to encode to
  199. * @returns Writer
  200. */
  201. public static encode(message: IStorageBucketOperatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  202. /**
  203. * Encodes the specified StorageBucketOperatorMetadata message, length delimited. Does not implicitly {@link StorageBucketOperatorMetadata.verify|verify} messages.
  204. * @param message StorageBucketOperatorMetadata message or plain object to encode
  205. * @param [writer] Writer to encode to
  206. * @returns Writer
  207. */
  208. public static encodeDelimited(message: IStorageBucketOperatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  209. /**
  210. * Decodes a StorageBucketOperatorMetadata message from the specified reader or buffer.
  211. * @param reader Reader or buffer to decode from
  212. * @param [length] Message length if known beforehand
  213. * @returns StorageBucketOperatorMetadata
  214. * @throws {Error} If the payload is not a reader or valid buffer
  215. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  216. */
  217. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): StorageBucketOperatorMetadata;
  218. /**
  219. * Decodes a StorageBucketOperatorMetadata message from the specified reader or buffer, length delimited.
  220. * @param reader Reader or buffer to decode from
  221. * @returns StorageBucketOperatorMetadata
  222. * @throws {Error} If the payload is not a reader or valid buffer
  223. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  224. */
  225. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): StorageBucketOperatorMetadata;
  226. /**
  227. * Verifies a StorageBucketOperatorMetadata message.
  228. * @param message Plain object to verify
  229. * @returns `null` if valid, otherwise the reason why it is not
  230. */
  231. public static verify(message: { [k: string]: any }): (string|null);
  232. /**
  233. * Creates a StorageBucketOperatorMetadata message from a plain object. Also converts values to their respective internal types.
  234. * @param object Plain object
  235. * @returns StorageBucketOperatorMetadata
  236. */
  237. public static fromObject(object: { [k: string]: any }): StorageBucketOperatorMetadata;
  238. /**
  239. * Creates a plain object from a StorageBucketOperatorMetadata message. Also converts values to other types if specified.
  240. * @param message StorageBucketOperatorMetadata
  241. * @param [options] Conversion options
  242. * @returns Plain object
  243. */
  244. public static toObject(message: StorageBucketOperatorMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  245. /**
  246. * Converts this StorageBucketOperatorMetadata to JSON.
  247. * @returns JSON object
  248. */
  249. public toJSON(): { [k: string]: any };
  250. }
  251. /** Properties of a DistributionBucketOperatorMetadata. */
  252. export interface IDistributionBucketOperatorMetadata {
  253. /** DistributionBucketOperatorMetadata endpoint */
  254. endpoint?: (string|null);
  255. /** DistributionBucketOperatorMetadata location */
  256. location?: (INodeLocationMetadata|null);
  257. /** DistributionBucketOperatorMetadata extra */
  258. extra?: (string|null);
  259. }
  260. /** Represents a DistributionBucketOperatorMetadata. */
  261. export class DistributionBucketOperatorMetadata implements IDistributionBucketOperatorMetadata {
  262. /**
  263. * Constructs a new DistributionBucketOperatorMetadata.
  264. * @param [properties] Properties to set
  265. */
  266. constructor(properties?: IDistributionBucketOperatorMetadata);
  267. /** DistributionBucketOperatorMetadata endpoint. */
  268. public endpoint: string;
  269. /** DistributionBucketOperatorMetadata location. */
  270. public location?: (INodeLocationMetadata|null);
  271. /** DistributionBucketOperatorMetadata extra. */
  272. public extra: string;
  273. /**
  274. * Creates a new DistributionBucketOperatorMetadata instance using the specified properties.
  275. * @param [properties] Properties to set
  276. * @returns DistributionBucketOperatorMetadata instance
  277. */
  278. public static create(properties?: IDistributionBucketOperatorMetadata): DistributionBucketOperatorMetadata;
  279. /**
  280. * Encodes the specified DistributionBucketOperatorMetadata message. Does not implicitly {@link DistributionBucketOperatorMetadata.verify|verify} messages.
  281. * @param message DistributionBucketOperatorMetadata message or plain object to encode
  282. * @param [writer] Writer to encode to
  283. * @returns Writer
  284. */
  285. public static encode(message: IDistributionBucketOperatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  286. /**
  287. * Encodes the specified DistributionBucketOperatorMetadata message, length delimited. Does not implicitly {@link DistributionBucketOperatorMetadata.verify|verify} messages.
  288. * @param message DistributionBucketOperatorMetadata message or plain object to encode
  289. * @param [writer] Writer to encode to
  290. * @returns Writer
  291. */
  292. public static encodeDelimited(message: IDistributionBucketOperatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  293. /**
  294. * Decodes a DistributionBucketOperatorMetadata message from the specified reader or buffer.
  295. * @param reader Reader or buffer to decode from
  296. * @param [length] Message length if known beforehand
  297. * @returns DistributionBucketOperatorMetadata
  298. * @throws {Error} If the payload is not a reader or valid buffer
  299. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  300. */
  301. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DistributionBucketOperatorMetadata;
  302. /**
  303. * Decodes a DistributionBucketOperatorMetadata message from the specified reader or buffer, length delimited.
  304. * @param reader Reader or buffer to decode from
  305. * @returns DistributionBucketOperatorMetadata
  306. * @throws {Error} If the payload is not a reader or valid buffer
  307. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  308. */
  309. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DistributionBucketOperatorMetadata;
  310. /**
  311. * Verifies a DistributionBucketOperatorMetadata message.
  312. * @param message Plain object to verify
  313. * @returns `null` if valid, otherwise the reason why it is not
  314. */
  315. public static verify(message: { [k: string]: any }): (string|null);
  316. /**
  317. * Creates a DistributionBucketOperatorMetadata message from a plain object. Also converts values to their respective internal types.
  318. * @param object Plain object
  319. * @returns DistributionBucketOperatorMetadata
  320. */
  321. public static fromObject(object: { [k: string]: any }): DistributionBucketOperatorMetadata;
  322. /**
  323. * Creates a plain object from a DistributionBucketOperatorMetadata message. Also converts values to other types if specified.
  324. * @param message DistributionBucketOperatorMetadata
  325. * @param [options] Conversion options
  326. * @returns Plain object
  327. */
  328. public static toObject(message: DistributionBucketOperatorMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  329. /**
  330. * Converts this DistributionBucketOperatorMetadata to JSON.
  331. * @returns JSON object
  332. */
  333. public toJSON(): { [k: string]: any };
  334. }
  335. /** Properties of a DistributionBucketFamilyMetadata. */
  336. export interface IDistributionBucketFamilyMetadata {
  337. /** DistributionBucketFamilyMetadata region */
  338. region?: (string|null);
  339. /** DistributionBucketFamilyMetadata description */
  340. description?: (string|null);
  341. /** DistributionBucketFamilyMetadata boundary */
  342. boundary?: (IGeoCoordiantes[]|null);
  343. }
  344. /** Represents a DistributionBucketFamilyMetadata. */
  345. export class DistributionBucketFamilyMetadata implements IDistributionBucketFamilyMetadata {
  346. /**
  347. * Constructs a new DistributionBucketFamilyMetadata.
  348. * @param [properties] Properties to set
  349. */
  350. constructor(properties?: IDistributionBucketFamilyMetadata);
  351. /** DistributionBucketFamilyMetadata region. */
  352. public region: string;
  353. /** DistributionBucketFamilyMetadata description. */
  354. public description: string;
  355. /** DistributionBucketFamilyMetadata boundary. */
  356. public boundary: IGeoCoordiantes[];
  357. /**
  358. * Creates a new DistributionBucketFamilyMetadata instance using the specified properties.
  359. * @param [properties] Properties to set
  360. * @returns DistributionBucketFamilyMetadata instance
  361. */
  362. public static create(properties?: IDistributionBucketFamilyMetadata): DistributionBucketFamilyMetadata;
  363. /**
  364. * Encodes the specified DistributionBucketFamilyMetadata message. Does not implicitly {@link DistributionBucketFamilyMetadata.verify|verify} messages.
  365. * @param message DistributionBucketFamilyMetadata message or plain object to encode
  366. * @param [writer] Writer to encode to
  367. * @returns Writer
  368. */
  369. public static encode(message: IDistributionBucketFamilyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  370. /**
  371. * Encodes the specified DistributionBucketFamilyMetadata message, length delimited. Does not implicitly {@link DistributionBucketFamilyMetadata.verify|verify} messages.
  372. * @param message DistributionBucketFamilyMetadata message or plain object to encode
  373. * @param [writer] Writer to encode to
  374. * @returns Writer
  375. */
  376. public static encodeDelimited(message: IDistributionBucketFamilyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
  377. /**
  378. * Decodes a DistributionBucketFamilyMetadata message from the specified reader or buffer.
  379. * @param reader Reader or buffer to decode from
  380. * @param [length] Message length if known beforehand
  381. * @returns DistributionBucketFamilyMetadata
  382. * @throws {Error} If the payload is not a reader or valid buffer
  383. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  384. */
  385. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DistributionBucketFamilyMetadata;
  386. /**
  387. * Decodes a DistributionBucketFamilyMetadata message from the specified reader or buffer, length delimited.
  388. * @param reader Reader or buffer to decode from
  389. * @returns DistributionBucketFamilyMetadata
  390. * @throws {Error} If the payload is not a reader or valid buffer
  391. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  392. */
  393. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DistributionBucketFamilyMetadata;
  394. /**
  395. * Verifies a DistributionBucketFamilyMetadata message.
  396. * @param message Plain object to verify
  397. * @returns `null` if valid, otherwise the reason why it is not
  398. */
  399. public static verify(message: { [k: string]: any }): (string|null);
  400. /**
  401. * Creates a DistributionBucketFamilyMetadata message from a plain object. Also converts values to their respective internal types.
  402. * @param object Plain object
  403. * @returns DistributionBucketFamilyMetadata
  404. */
  405. public static fromObject(object: { [k: string]: any }): DistributionBucketFamilyMetadata;
  406. /**
  407. * Creates a plain object from a DistributionBucketFamilyMetadata message. Also converts values to other types if specified.
  408. * @param message DistributionBucketFamilyMetadata
  409. * @param [options] Conversion options
  410. * @returns Plain object
  411. */
  412. public static toObject(message: DistributionBucketFamilyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
  413. /**
  414. * Converts this DistributionBucketFamilyMetadata to JSON.
  415. * @returns JSON object
  416. */
  417. public toJSON(): { [k: string]: any };
  418. }