@raystack/proton 0.1.0-8a4f578dceca476c696c82054faaf4871b1b949c → 0.1.0-8cb19702a3e47d173732860d58084b83d6941865

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/google/api/annotations_pb.ts +15 -9
  2. package/google/api/field_behavior_pb.ts +19 -19
  3. package/google/api/http_pb.ts +43 -108
  4. package/google/api/httpbody_pb.ts +23 -37
  5. package/index.ts +10 -0
  6. package/package.json +61 -17
  7. package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
  8. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
  9. package/raystack/assets/index.ts +29 -29
  10. package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
  11. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  12. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  13. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  14. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  15. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  16. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  17. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  18. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  19. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  20. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  21. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  22. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  23. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  24. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  25. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  26. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  27. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  28. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  29. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  30. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  31. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  32. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  33. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  34. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  35. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  36. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  37. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  38. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  39. package/raystack/common/index.ts +1 -2
  40. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  41. package/raystack/common/v1/service_pb.ts +57 -97
  42. package/raystack/compass/index.ts +1 -2
  43. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  44. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  45. package/raystack/entropy/index.ts +2 -4
  46. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  47. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  48. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  49. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  50. package/raystack/frontier/index.ts +3 -5
  51. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
  52. package/raystack/frontier/v1beta1/admin_pb.ts +1774 -3791
  53. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
  54. package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
  55. package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
  56. package/raystack/guardian/index.ts +1 -2
  57. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
  58. package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
  59. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
  60. package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
  61. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
  62. package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
  63. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
  64. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
  65. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
  66. package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
  67. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
  68. package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
  69. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
  70. package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
  71. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
  72. package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
  73. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
  74. package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
  75. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
  76. package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
  77. package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
  78. package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
  79. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
  80. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
  81. package/raystack/predator/index.ts +2 -2
  82. package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
  83. package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
  84. package/raystack/raccoon/index.ts +1 -2
  85. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
  86. package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
  87. package/raystack/siren/index.ts +1 -2
  88. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
  89. package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
  90. package/raystack/stencil/index.ts +1 -2
  91. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
  92. package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
  93. package/validate/validate_pb.ts +401 -1038
  94. package/google/api/field_behavior.ts +0 -95
  95. package/google/api/http.ts +0 -695
  96. package/google/api/httpbody.ts +0 -159
  97. package/google/protobuf/any.ts +0 -322
  98. package/google/protobuf/descriptor.ts +0 -3475
  99. package/google/protobuf/duration.ts +0 -231
  100. package/google/protobuf/struct.ts +0 -484
  101. package/google/protobuf/timestamp.ts +0 -290
  102. package/google/protobuf/wrappers.ts +0 -752
  103. package/protoc-gen-openapiv2/options/openapiv2.ts +0 -3110
  104. package/raystack/assets/v1beta1/bucket.ts +0 -362
  105. package/raystack/assets/v1beta1/dashboard.ts +0 -426
  106. package/raystack/assets/v1beta1/event.ts +0 -105
  107. package/raystack/assets/v1beta1/group.ts +0 -223
  108. package/raystack/assets/v1beta1/job.ts +0 -147
  109. package/raystack/assets/v1beta1/lineage.ts +0 -90
  110. package/raystack/assets/v1beta1/ownership.ts +0 -179
  111. package/raystack/assets/v1beta1/preview.ts +0 -87
  112. package/raystack/assets/v1beta1/properties.ts +0 -116
  113. package/raystack/assets/v1beta1/resource.ts +0 -149
  114. package/raystack/assets/v1beta1/schema.ts +0 -421
  115. package/raystack/assets/v1beta1/table.ts +0 -408
  116. package/raystack/assets/v1beta1/timestamp.ts +0 -158
  117. package/raystack/assets/v1beta1/topic.ts +0 -253
  118. package/raystack/assets/v1beta1/user.ts +0 -451
  119. package/raystack/assets/v1beta2/application.ts +0 -125
  120. package/raystack/assets/v1beta2/asset.ts +0 -269
  121. package/raystack/assets/v1beta2/bucket.ts +0 -341
  122. package/raystack/assets/v1beta2/common.ts +0 -392
  123. package/raystack/assets/v1beta2/dashboard.ts +0 -393
  124. package/raystack/assets/v1beta2/experiment.ts +0 -274
  125. package/raystack/assets/v1beta2/feature_table.ts +0 -387
  126. package/raystack/assets/v1beta2/group.ts +0 -178
  127. package/raystack/assets/v1beta2/job.ts +0 -99
  128. package/raystack/assets/v1beta2/metric.ts +0 -163
  129. package/raystack/assets/v1beta2/model.ts +0 -519
  130. package/raystack/assets/v1beta2/table.ts +0 -663
  131. package/raystack/assets/v1beta2/topic.ts +0 -275
  132. package/raystack/assets/v1beta2/user.ts +0 -433
  133. package/raystack/common/v1/service.client.ts +0 -37
  134. package/raystack/common/v1/service.ts +0 -245
  135. package/raystack/common/v1/service_connect.ts +0 -26
  136. package/raystack/compass/v1beta1/service.client.ts +0 -594
  137. package/raystack/compass/v1beta1/service.ts +0 -8169
  138. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  139. package/raystack/entropy/v1beta1/module.client.ts +0 -89
  140. package/raystack/entropy/v1beta1/module.ts +0 -692
  141. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  142. package/raystack/entropy/v1beta1/resource.client.ts +0 -129
  143. package/raystack/entropy/v1beta1/resource.ts +0 -1817
  144. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  145. package/raystack/frontier/v1beta1/admin.client.ts +0 -849
  146. package/raystack/frontier/v1beta1/admin.ts +0 -9007
  147. package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
  148. package/raystack/frontier/v1beta1/frontier.client.ts +0 -2307
  149. package/raystack/frontier/v1beta1/frontier.ts +0 -23706
  150. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  151. package/raystack/frontier/v1beta1/models.ts +0 -7433
  152. package/raystack/guardian/v1beta1/guardian.client.ts +0 -552
  153. package/raystack/guardian/v1beta1/guardian.ts +0 -9688
  154. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  155. package/raystack/optimus/core/v1beta1/backup.client.ts +0 -63
  156. package/raystack/optimus/core/v1beta1/backup.ts +0 -708
  157. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  158. package/raystack/optimus/core/v1beta1/job_run.client.ts +0 -96
  159. package/raystack/optimus/core/v1beta1/job_run.ts +0 -1008
  160. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  161. package/raystack/optimus/core/v1beta1/job_spec.client.ts +0 -363
  162. package/raystack/optimus/core/v1beta1/job_spec.ts +0 -5134
  163. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  164. package/raystack/optimus/core/v1beta1/namespace.client.ts +0 -75
  165. package/raystack/optimus/core/v1beta1/namespace.ts +0 -477
  166. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  167. package/raystack/optimus/core/v1beta1/project.client.ts +0 -75
  168. package/raystack/optimus/core/v1beta1/project.ts +0 -520
  169. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  170. package/raystack/optimus/core/v1beta1/replay.client.ts +0 -76
  171. package/raystack/optimus/core/v1beta1/replay.ts +0 -881
  172. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  173. package/raystack/optimus/core/v1beta1/resource.client.ts +0 -148
  174. package/raystack/optimus/core/v1beta1/resource.ts +0 -1329
  175. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  176. package/raystack/optimus/core/v1beta1/runtime.client.ts +0 -45
  177. package/raystack/optimus/core/v1beta1/runtime.ts +0 -131
  178. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  179. package/raystack/optimus/core/v1beta1/secret.client.ts +0 -92
  180. package/raystack/optimus/core/v1beta1/secret.ts +0 -619
  181. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  182. package/raystack/optimus/core/v1beta1/status.ts +0 -113
  183. package/raystack/optimus/integration/v1beta1/event.ts +0 -531
  184. package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +0 -100
  185. package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +0 -950
  186. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  187. package/raystack/predator/v1beta1/metrics_log.ts +0 -457
  188. package/raystack/predator/v1beta1/result_log.ts +0 -390
  189. package/raystack/raccoon/v1beta1/raccoon.client.ts +0 -37
  190. package/raystack/raccoon/v1beta1/raccoon.ts +0 -442
  191. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  192. package/raystack/siren/v1beta1/siren.client.ts +0 -479
  193. package/raystack/siren/v1beta1/siren.ts +0 -6507
  194. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  195. package/raystack/stencil/v1beta1/stencil.client.ts +0 -232
  196. package/raystack/stencil/v1beta1/stencil.ts +0 -2716
  197. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
  198. package/validate/validate.ts +0 -4130
@@ -1,421 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1
2
- // @generated from protobuf file "raystack/assets/v1beta1/schema.proto" (package "raystack.assets.v1beta1", syntax proto3)
3
- // tslint:disable
4
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
- import { WireType } from "@protobuf-ts/runtime";
7
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
- import type { IBinaryReader } from "@protobuf-ts/runtime";
9
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
- import type { PartialMessage } from "@protobuf-ts/runtime";
11
- import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
- import { MessageType } from "@protobuf-ts/runtime";
13
- import { Properties } from "./properties";
14
- /**
15
- * Columns represents a list of columns.
16
- * It is facet used to specify the schema of a table or a file.
17
- *
18
- * @generated from protobuf message raystack.assets.v1beta1.Columns
19
- */
20
- export interface Columns {
21
- /**
22
- * The list of columns.
23
- *
24
- * @generated from protobuf field: repeated raystack.assets.v1beta1.Column columns = 1
25
- */
26
- columns: Column[];
27
- }
28
- /**
29
- * Column represents a column in a table or a file.
30
- *
31
- * @generated from protobuf message raystack.assets.v1beta1.Column
32
- */
33
- export interface Column {
34
- /**
35
- * The name of the column.
36
- * Example: `customer_id`.
37
- *
38
- * @generated from protobuf field: string name = 1
39
- */
40
- name: string;
41
- /**
42
- * The description of the column.
43
- * Example: `The unique id of the customer`
44
- *
45
- * @generated from protobuf field: string description = 2
46
- */
47
- description: string;
48
- // The data type of the column.
49
- // Example: `INT64`.
50
-
51
- /**
52
- * @generated from protobuf field: string data_type = 3
53
- */
54
- dataType: string;
55
- /**
56
- * The format of the column.
57
- * Example: `true`.
58
- *
59
- * @generated from protobuf field: bool is_nullable = 4
60
- */
61
- isNullable: boolean;
62
- /**
63
- * The length of the column.
64
- * Example: `10`.
65
- *
66
- * @generated from protobuf field: int64 length = 5
67
- */
68
- length: bigint;
69
- /**
70
- * The profile of the column.
71
- *
72
- * @generated from protobuf field: raystack.assets.v1beta1.ColumnProfile profile = 6
73
- */
74
- profile?: ColumnProfile;
75
- /**
76
- * Representation of the column properties.
77
- * Properties facet can be used to set custom properties, tags and labels for a column.
78
- *
79
- * @generated from protobuf field: raystack.assets.v1beta1.Properties properties = 31
80
- */
81
- properties?: Properties;
82
- }
83
- /**
84
- * @generated from protobuf message raystack.assets.v1beta1.ColumnProfile
85
- */
86
- export interface ColumnProfile {
87
- /**
88
- * @generated from protobuf field: string min = 1
89
- */
90
- min: string;
91
- /**
92
- * @generated from protobuf field: string max = 2
93
- */
94
- max: string;
95
- /**
96
- * @generated from protobuf field: double avg = 3
97
- */
98
- avg: number;
99
- /**
100
- * @generated from protobuf field: double med = 4
101
- */
102
- med: number;
103
- /**
104
- * @generated from protobuf field: int64 unique = 5
105
- */
106
- unique: bigint;
107
- /**
108
- * @generated from protobuf field: int64 count = 6
109
- */
110
- count: bigint;
111
- /**
112
- * @generated from protobuf field: string top = 7
113
- */
114
- top: string;
115
- }
116
- /**
117
- * TopicSchema represents a schema for message bus.
118
- * It is facet used to specify the schema of a message bus.
119
- *
120
- * @generated from protobuf message raystack.assets.v1beta1.TopicSchema
121
- */
122
- export interface TopicSchema {
123
- /**
124
- * @generated from protobuf field: string schema_url = 1
125
- */
126
- schemaUrl: string;
127
- /**
128
- * @generated from protobuf field: string format = 2
129
- */
130
- format: string;
131
- }
132
- // @generated message type with reflection information, may provide speed optimized methods
133
- class Columns$Type extends MessageType<Columns> {
134
- constructor() {
135
- super("raystack.assets.v1beta1.Columns", [
136
- { no: 1, name: "columns", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Column }
137
- ]);
138
- }
139
- create(value?: PartialMessage<Columns>): Columns {
140
- const message = globalThis.Object.create((this.messagePrototype!));
141
- message.columns = [];
142
- if (value !== undefined)
143
- reflectionMergePartial<Columns>(this, message, value);
144
- return message;
145
- }
146
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Columns): Columns {
147
- let message = target ?? this.create(), end = reader.pos + length;
148
- while (reader.pos < end) {
149
- let [fieldNo, wireType] = reader.tag();
150
- switch (fieldNo) {
151
- case /* repeated raystack.assets.v1beta1.Column columns */ 1:
152
- message.columns.push(Column.internalBinaryRead(reader, reader.uint32(), options));
153
- break;
154
- default:
155
- let u = options.readUnknownField;
156
- if (u === "throw")
157
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
158
- let d = reader.skip(wireType);
159
- if (u !== false)
160
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
161
- }
162
- }
163
- return message;
164
- }
165
- internalBinaryWrite(message: Columns, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
166
- /* repeated raystack.assets.v1beta1.Column columns = 1; */
167
- for (let i = 0; i < message.columns.length; i++)
168
- Column.internalBinaryWrite(message.columns[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
169
- let u = options.writeUnknownFields;
170
- if (u !== false)
171
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
172
- return writer;
173
- }
174
- }
175
- /**
176
- * @generated MessageType for protobuf message raystack.assets.v1beta1.Columns
177
- */
178
- export const Columns = new Columns$Type();
179
- // @generated message type with reflection information, may provide speed optimized methods
180
- class Column$Type extends MessageType<Column> {
181
- constructor() {
182
- super("raystack.assets.v1beta1.Column", [
183
- { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
184
- { no: 2, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
185
- { no: 3, name: "data_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
186
- { no: 4, name: "is_nullable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
187
- { no: 5, name: "length", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
188
- { no: 6, name: "profile", kind: "message", T: () => ColumnProfile },
189
- { no: 31, name: "properties", kind: "message", T: () => Properties }
190
- ]);
191
- }
192
- create(value?: PartialMessage<Column>): Column {
193
- const message = globalThis.Object.create((this.messagePrototype!));
194
- message.name = "";
195
- message.description = "";
196
- message.dataType = "";
197
- message.isNullable = false;
198
- message.length = 0n;
199
- if (value !== undefined)
200
- reflectionMergePartial<Column>(this, message, value);
201
- return message;
202
- }
203
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Column): Column {
204
- let message = target ?? this.create(), end = reader.pos + length;
205
- while (reader.pos < end) {
206
- let [fieldNo, wireType] = reader.tag();
207
- switch (fieldNo) {
208
- case /* string name */ 1:
209
- message.name = reader.string();
210
- break;
211
- case /* string description */ 2:
212
- message.description = reader.string();
213
- break;
214
- case /* string data_type */ 3:
215
- message.dataType = reader.string();
216
- break;
217
- case /* bool is_nullable */ 4:
218
- message.isNullable = reader.bool();
219
- break;
220
- case /* int64 length */ 5:
221
- message.length = reader.int64().toBigInt();
222
- break;
223
- case /* raystack.assets.v1beta1.ColumnProfile profile */ 6:
224
- message.profile = ColumnProfile.internalBinaryRead(reader, reader.uint32(), options, message.profile);
225
- break;
226
- case /* raystack.assets.v1beta1.Properties properties */ 31:
227
- message.properties = Properties.internalBinaryRead(reader, reader.uint32(), options, message.properties);
228
- break;
229
- default:
230
- let u = options.readUnknownField;
231
- if (u === "throw")
232
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
233
- let d = reader.skip(wireType);
234
- if (u !== false)
235
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
236
- }
237
- }
238
- return message;
239
- }
240
- internalBinaryWrite(message: Column, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
241
- /* string name = 1; */
242
- if (message.name !== "")
243
- writer.tag(1, WireType.LengthDelimited).string(message.name);
244
- /* string description = 2; */
245
- if (message.description !== "")
246
- writer.tag(2, WireType.LengthDelimited).string(message.description);
247
- /* string data_type = 3; */
248
- if (message.dataType !== "")
249
- writer.tag(3, WireType.LengthDelimited).string(message.dataType);
250
- /* bool is_nullable = 4; */
251
- if (message.isNullable !== false)
252
- writer.tag(4, WireType.Varint).bool(message.isNullable);
253
- /* int64 length = 5; */
254
- if (message.length !== 0n)
255
- writer.tag(5, WireType.Varint).int64(message.length);
256
- /* raystack.assets.v1beta1.ColumnProfile profile = 6; */
257
- if (message.profile)
258
- ColumnProfile.internalBinaryWrite(message.profile, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
259
- /* raystack.assets.v1beta1.Properties properties = 31; */
260
- if (message.properties)
261
- Properties.internalBinaryWrite(message.properties, writer.tag(31, WireType.LengthDelimited).fork(), options).join();
262
- let u = options.writeUnknownFields;
263
- if (u !== false)
264
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
265
- return writer;
266
- }
267
- }
268
- /**
269
- * @generated MessageType for protobuf message raystack.assets.v1beta1.Column
270
- */
271
- export const Column = new Column$Type();
272
- // @generated message type with reflection information, may provide speed optimized methods
273
- class ColumnProfile$Type extends MessageType<ColumnProfile> {
274
- constructor() {
275
- super("raystack.assets.v1beta1.ColumnProfile", [
276
- { no: 1, name: "min", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
277
- { no: 2, name: "max", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
278
- { no: 3, name: "avg", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ },
279
- { no: 4, name: "med", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ },
280
- { no: 5, name: "unique", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
281
- { no: 6, name: "count", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
282
- { no: 7, name: "top", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
283
- ]);
284
- }
285
- create(value?: PartialMessage<ColumnProfile>): ColumnProfile {
286
- const message = globalThis.Object.create((this.messagePrototype!));
287
- message.min = "";
288
- message.max = "";
289
- message.avg = 0;
290
- message.med = 0;
291
- message.unique = 0n;
292
- message.count = 0n;
293
- message.top = "";
294
- if (value !== undefined)
295
- reflectionMergePartial<ColumnProfile>(this, message, value);
296
- return message;
297
- }
298
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ColumnProfile): ColumnProfile {
299
- let message = target ?? this.create(), end = reader.pos + length;
300
- while (reader.pos < end) {
301
- let [fieldNo, wireType] = reader.tag();
302
- switch (fieldNo) {
303
- case /* string min */ 1:
304
- message.min = reader.string();
305
- break;
306
- case /* string max */ 2:
307
- message.max = reader.string();
308
- break;
309
- case /* double avg */ 3:
310
- message.avg = reader.double();
311
- break;
312
- case /* double med */ 4:
313
- message.med = reader.double();
314
- break;
315
- case /* int64 unique */ 5:
316
- message.unique = reader.int64().toBigInt();
317
- break;
318
- case /* int64 count */ 6:
319
- message.count = reader.int64().toBigInt();
320
- break;
321
- case /* string top */ 7:
322
- message.top = reader.string();
323
- break;
324
- default:
325
- let u = options.readUnknownField;
326
- if (u === "throw")
327
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
328
- let d = reader.skip(wireType);
329
- if (u !== false)
330
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
331
- }
332
- }
333
- return message;
334
- }
335
- internalBinaryWrite(message: ColumnProfile, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
336
- /* string min = 1; */
337
- if (message.min !== "")
338
- writer.tag(1, WireType.LengthDelimited).string(message.min);
339
- /* string max = 2; */
340
- if (message.max !== "")
341
- writer.tag(2, WireType.LengthDelimited).string(message.max);
342
- /* double avg = 3; */
343
- if (message.avg !== 0)
344
- writer.tag(3, WireType.Bit64).double(message.avg);
345
- /* double med = 4; */
346
- if (message.med !== 0)
347
- writer.tag(4, WireType.Bit64).double(message.med);
348
- /* int64 unique = 5; */
349
- if (message.unique !== 0n)
350
- writer.tag(5, WireType.Varint).int64(message.unique);
351
- /* int64 count = 6; */
352
- if (message.count !== 0n)
353
- writer.tag(6, WireType.Varint).int64(message.count);
354
- /* string top = 7; */
355
- if (message.top !== "")
356
- writer.tag(7, WireType.LengthDelimited).string(message.top);
357
- let u = options.writeUnknownFields;
358
- if (u !== false)
359
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
360
- return writer;
361
- }
362
- }
363
- /**
364
- * @generated MessageType for protobuf message raystack.assets.v1beta1.ColumnProfile
365
- */
366
- export const ColumnProfile = new ColumnProfile$Type();
367
- // @generated message type with reflection information, may provide speed optimized methods
368
- class TopicSchema$Type extends MessageType<TopicSchema> {
369
- constructor() {
370
- super("raystack.assets.v1beta1.TopicSchema", [
371
- { no: 1, name: "schema_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
372
- { no: 2, name: "format", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
373
- ]);
374
- }
375
- create(value?: PartialMessage<TopicSchema>): TopicSchema {
376
- const message = globalThis.Object.create((this.messagePrototype!));
377
- message.schemaUrl = "";
378
- message.format = "";
379
- if (value !== undefined)
380
- reflectionMergePartial<TopicSchema>(this, message, value);
381
- return message;
382
- }
383
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TopicSchema): TopicSchema {
384
- let message = target ?? this.create(), end = reader.pos + length;
385
- while (reader.pos < end) {
386
- let [fieldNo, wireType] = reader.tag();
387
- switch (fieldNo) {
388
- case /* string schema_url */ 1:
389
- message.schemaUrl = reader.string();
390
- break;
391
- case /* string format */ 2:
392
- message.format = reader.string();
393
- break;
394
- default:
395
- let u = options.readUnknownField;
396
- if (u === "throw")
397
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
398
- let d = reader.skip(wireType);
399
- if (u !== false)
400
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
401
- }
402
- }
403
- return message;
404
- }
405
- internalBinaryWrite(message: TopicSchema, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
406
- /* string schema_url = 1; */
407
- if (message.schemaUrl !== "")
408
- writer.tag(1, WireType.LengthDelimited).string(message.schemaUrl);
409
- /* string format = 2; */
410
- if (message.format !== "")
411
- writer.tag(2, WireType.LengthDelimited).string(message.format);
412
- let u = options.writeUnknownFields;
413
- if (u !== false)
414
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
415
- return writer;
416
- }
417
- }
418
- /**
419
- * @generated MessageType for protobuf message raystack.assets.v1beta1.TopicSchema
420
- */
421
- export const TopicSchema = new TopicSchema$Type();