@raystack/proton 0.1.0-ce225175aa066e6f296bc489293bb83ed0edcef6

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 (197) hide show
  1. package/google/api/annotations_pb.ts +33 -0
  2. package/google/api/field_behavior.ts +95 -0
  3. package/google/api/field_behavior_pb.ts +139 -0
  4. package/google/api/http.ts +695 -0
  5. package/google/api/http_pb.ts +547 -0
  6. package/google/api/httpbody.ts +159 -0
  7. package/google/api/httpbody_pb.ts +122 -0
  8. package/google/protobuf/any.ts +322 -0
  9. package/google/protobuf/descriptor.ts +3475 -0
  10. package/google/protobuf/duration.ts +231 -0
  11. package/google/protobuf/struct.ts +484 -0
  12. package/google/protobuf/timestamp.ts +290 -0
  13. package/google/protobuf/wrappers.ts +752 -0
  14. package/package.json +47 -0
  15. package/protoc-gen-openapiv2/options/annotations_pb.ts +78 -0
  16. package/protoc-gen-openapiv2/options/openapiv2.ts +3110 -0
  17. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1995 -0
  18. package/raystack/assets/index.ts +29 -0
  19. package/raystack/assets/v1beta1/bucket.ts +362 -0
  20. package/raystack/assets/v1beta1/bucket_pb.ts +233 -0
  21. package/raystack/assets/v1beta1/dashboard.ts +426 -0
  22. package/raystack/assets/v1beta1/dashboard_pb.ts +275 -0
  23. package/raystack/assets/v1beta1/event.ts +105 -0
  24. package/raystack/assets/v1beta1/event_pb.ts +70 -0
  25. package/raystack/assets/v1beta1/group.ts +223 -0
  26. package/raystack/assets/v1beta1/group_pb.ts +149 -0
  27. package/raystack/assets/v1beta1/job.ts +147 -0
  28. package/raystack/assets/v1beta1/job_pb.ts +100 -0
  29. package/raystack/assets/v1beta1/lineage.ts +90 -0
  30. package/raystack/assets/v1beta1/lineage_pb.ts +61 -0
  31. package/raystack/assets/v1beta1/ownership.ts +179 -0
  32. package/raystack/assets/v1beta1/ownership_pb.ts +119 -0
  33. package/raystack/assets/v1beta1/preview.ts +87 -0
  34. package/raystack/assets/v1beta1/preview_pb.ts +58 -0
  35. package/raystack/assets/v1beta1/properties.ts +116 -0
  36. package/raystack/assets/v1beta1/properties_pb.ts +63 -0
  37. package/raystack/assets/v1beta1/resource.ts +149 -0
  38. package/raystack/assets/v1beta1/resource_pb.ts +96 -0
  39. package/raystack/assets/v1beta1/schema.ts +421 -0
  40. package/raystack/assets/v1beta1/schema_pb.ts +262 -0
  41. package/raystack/assets/v1beta1/table.ts +408 -0
  42. package/raystack/assets/v1beta1/table_pb.ts +266 -0
  43. package/raystack/assets/v1beta1/timestamp.ts +158 -0
  44. package/raystack/assets/v1beta1/timestamp_pb.ts +107 -0
  45. package/raystack/assets/v1beta1/topic.ts +253 -0
  46. package/raystack/assets/v1beta1/topic_pb.ts +171 -0
  47. package/raystack/assets/v1beta1/user.ts +451 -0
  48. package/raystack/assets/v1beta1/user_pb.ts +292 -0
  49. package/raystack/assets/v1beta2/application.ts +125 -0
  50. package/raystack/assets/v1beta2/application_pb.ts +79 -0
  51. package/raystack/assets/v1beta2/asset.ts +269 -0
  52. package/raystack/assets/v1beta2/asset_pb.ts +157 -0
  53. package/raystack/assets/v1beta2/bucket.ts +341 -0
  54. package/raystack/assets/v1beta2/bucket_pb.ts +215 -0
  55. package/raystack/assets/v1beta2/common.ts +392 -0
  56. package/raystack/assets/v1beta2/common_pb.ts +258 -0
  57. package/raystack/assets/v1beta2/dashboard.ts +393 -0
  58. package/raystack/assets/v1beta2/dashboard_pb.ts +247 -0
  59. package/raystack/assets/v1beta2/experiment.ts +274 -0
  60. package/raystack/assets/v1beta2/experiment_pb.ts +180 -0
  61. package/raystack/assets/v1beta2/feature_table.ts +387 -0
  62. package/raystack/assets/v1beta2/feature_table_pb.ts +237 -0
  63. package/raystack/assets/v1beta2/group.ts +178 -0
  64. package/raystack/assets/v1beta2/group_pb.ts +118 -0
  65. package/raystack/assets/v1beta2/job.ts +99 -0
  66. package/raystack/assets/v1beta2/job_pb.ts +65 -0
  67. package/raystack/assets/v1beta2/metric.ts +163 -0
  68. package/raystack/assets/v1beta2/metric_pb.ts +105 -0
  69. package/raystack/assets/v1beta2/model.ts +519 -0
  70. package/raystack/assets/v1beta2/model_pb.ts +322 -0
  71. package/raystack/assets/v1beta2/table.ts +663 -0
  72. package/raystack/assets/v1beta2/table_pb.ts +409 -0
  73. package/raystack/assets/v1beta2/topic.ts +275 -0
  74. package/raystack/assets/v1beta2/topic_pb.ts +181 -0
  75. package/raystack/assets/v1beta2/user.ts +433 -0
  76. package/raystack/assets/v1beta2/user_pb.ts +277 -0
  77. package/raystack/common/index.ts +3 -0
  78. package/raystack/common/v1/service-CommonService_connectquery.ts +21 -0
  79. package/raystack/common/v1/service.client.ts +37 -0
  80. package/raystack/common/v1/service.ts +245 -0
  81. package/raystack/common/v1/service_connect.ts +26 -0
  82. package/raystack/common/v1/service_pb.ts +149 -0
  83. package/raystack/compass/index.ts +3 -0
  84. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +605 -0
  85. package/raystack/compass/v1beta1/service.client.ts +594 -0
  86. package/raystack/compass/v1beta1/service.ts +8169 -0
  87. package/raystack/compass/v1beta1/service_connect.ts +407 -0
  88. package/raystack/compass/v1beta1/service_pb.ts +4975 -0
  89. package/raystack/entropy/index.ts +6 -0
  90. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +77 -0
  91. package/raystack/entropy/v1beta1/module.client.ts +89 -0
  92. package/raystack/entropy/v1beta1/module.ts +692 -0
  93. package/raystack/entropy/v1beta1/module_connect.ts +62 -0
  94. package/raystack/entropy/v1beta1/module_pb.ts +445 -0
  95. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +105 -0
  96. package/raystack/entropy/v1beta1/resource.client.ts +129 -0
  97. package/raystack/entropy/v1beta1/resource.ts +1817 -0
  98. package/raystack/entropy/v1beta1/resource_connect.ts +89 -0
  99. package/raystack/entropy/v1beta1/resource_pb.ts +1092 -0
  100. package/raystack/frontier/index.ts +7 -0
  101. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +756 -0
  102. package/raystack/frontier/v1beta1/admin.client.ts +849 -0
  103. package/raystack/frontier/v1beta1/admin.ts +9007 -0
  104. package/raystack/frontier/v1beta1/admin_connect.ts +573 -0
  105. package/raystack/frontier/v1beta1/admin_pb.ts +5615 -0
  106. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +2399 -0
  107. package/raystack/frontier/v1beta1/frontier.client.ts +2307 -0
  108. package/raystack/frontier/v1beta1/frontier.ts +23706 -0
  109. package/raystack/frontier/v1beta1/frontier_connect.ts +1574 -0
  110. package/raystack/frontier/v1beta1/frontier_pb.ts +15258 -0
  111. package/raystack/frontier/v1beta1/models.ts +7433 -0
  112. package/raystack/frontier/v1beta1/models_pb.ts +4345 -0
  113. package/raystack/guardian/index.ts +3 -0
  114. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +569 -0
  115. package/raystack/guardian/v1beta1/guardian.client.ts +552 -0
  116. package/raystack/guardian/v1beta1/guardian.ts +9688 -0
  117. package/raystack/guardian/v1beta1/guardian_connect.ts +381 -0
  118. package/raystack/guardian/v1beta1/guardian_pb.ts +5858 -0
  119. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +49 -0
  120. package/raystack/optimus/core/v1beta1/backup.client.ts +63 -0
  121. package/raystack/optimus/core/v1beta1/backup.ts +708 -0
  122. package/raystack/optimus/core/v1beta1/backup_connect.ts +44 -0
  123. package/raystack/optimus/core/v1beta1/backup_pb.ts +406 -0
  124. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +71 -0
  125. package/raystack/optimus/core/v1beta1/job_run.client.ts +96 -0
  126. package/raystack/optimus/core/v1beta1/job_run.ts +1008 -0
  127. package/raystack/optimus/core/v1beta1/job_run_connect.ts +63 -0
  128. package/raystack/optimus/core/v1beta1/job_run_pb.ts +612 -0
  129. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +249 -0
  130. package/raystack/optimus/core/v1beta1/job_spec.client.ts +363 -0
  131. package/raystack/optimus/core/v1beta1/job_spec.ts +5134 -0
  132. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +233 -0
  133. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +3196 -0
  134. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +55 -0
  135. package/raystack/optimus/core/v1beta1/namespace.client.ts +75 -0
  136. package/raystack/optimus/core/v1beta1/namespace.ts +477 -0
  137. package/raystack/optimus/core/v1beta1/namespace_connect.ts +50 -0
  138. package/raystack/optimus/core/v1beta1/namespace_pb.ts +291 -0
  139. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +55 -0
  140. package/raystack/optimus/core/v1beta1/project.client.ts +75 -0
  141. package/raystack/optimus/core/v1beta1/project.ts +520 -0
  142. package/raystack/optimus/core/v1beta1/project_connect.ts +50 -0
  143. package/raystack/optimus/core/v1beta1/project_pb.ts +322 -0
  144. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +63 -0
  145. package/raystack/optimus/core/v1beta1/replay.client.ts +76 -0
  146. package/raystack/optimus/core/v1beta1/replay.ts +881 -0
  147. package/raystack/optimus/core/v1beta1/replay_connect.ts +53 -0
  148. package/raystack/optimus/core/v1beta1/replay_pb.ts +522 -0
  149. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +104 -0
  150. package/raystack/optimus/core/v1beta1/resource.client.ts +148 -0
  151. package/raystack/optimus/core/v1beta1/resource.ts +1329 -0
  152. package/raystack/optimus/core/v1beta1/resource_connect.ts +96 -0
  153. package/raystack/optimus/core/v1beta1/resource_pb.ts +791 -0
  154. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +23 -0
  155. package/raystack/optimus/core/v1beta1/runtime.client.ts +45 -0
  156. package/raystack/optimus/core/v1beta1/runtime.ts +131 -0
  157. package/raystack/optimus/core/v1beta1/runtime_connect.ts +30 -0
  158. package/raystack/optimus/core/v1beta1/runtime_pb.ts +82 -0
  159. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +71 -0
  160. package/raystack/optimus/core/v1beta1/secret.client.ts +92 -0
  161. package/raystack/optimus/core/v1beta1/secret.ts +619 -0
  162. package/raystack/optimus/core/v1beta1/secret_connect.ts +61 -0
  163. package/raystack/optimus/core/v1beta1/secret_pb.ts +393 -0
  164. package/raystack/optimus/core/v1beta1/status.ts +113 -0
  165. package/raystack/optimus/core/v1beta1/status_pb.ts +101 -0
  166. package/raystack/optimus/integration/v1beta1/event.ts +531 -0
  167. package/raystack/optimus/integration/v1beta1/event_pb.ts +362 -0
  168. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +72 -0
  169. package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +100 -0
  170. package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +950 -0
  171. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +65 -0
  172. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +604 -0
  173. package/raystack/predator/index.ts +2 -0
  174. package/raystack/predator/v1beta1/metrics_log.ts +457 -0
  175. package/raystack/predator/v1beta1/metrics_log_pb.ts +277 -0
  176. package/raystack/predator/v1beta1/result_log.ts +390 -0
  177. package/raystack/predator/v1beta1/result_log_pb.ts +235 -0
  178. package/raystack/raccoon/index.ts +3 -0
  179. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +21 -0
  180. package/raystack/raccoon/v1beta1/raccoon.client.ts +37 -0
  181. package/raystack/raccoon/v1beta1/raccoon.ts +442 -0
  182. package/raystack/raccoon/v1beta1/raccoon_connect.ts +26 -0
  183. package/raystack/raccoon/v1beta1/raccoon_pb.ts +324 -0
  184. package/raystack/siren/index.ts +3 -0
  185. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +497 -0
  186. package/raystack/siren/v1beta1/siren.client.ts +479 -0
  187. package/raystack/siren/v1beta1/siren.ts +6507 -0
  188. package/raystack/siren/v1beta1/siren_connect.ts +332 -0
  189. package/raystack/siren/v1beta1/siren_pb.ts +3853 -0
  190. package/raystack/stencil/index.ts +3 -0
  191. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +231 -0
  192. package/raystack/stencil/v1beta1/stencil.client.ts +232 -0
  193. package/raystack/stencil/v1beta1/stencil.ts +2716 -0
  194. package/raystack/stencil/v1beta1/stencil_connect.ts +161 -0
  195. package/raystack/stencil/v1beta1/stencil_pb.ts +1729 -0
  196. package/validate/validate.ts +4130 -0
  197. package/validate/validate_pb.ts +2621 -0
@@ -0,0 +1,1729 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
2
+ // @generated from file raystack/stencil/v1beta1/stencil.proto (package raystack.stencil.v1beta1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from message raystack.stencil.v1beta1.Namespace
11
+ */
12
+ export class Namespace extends Message<Namespace> {
13
+ /**
14
+ * @generated from field: string id = 1;
15
+ */
16
+ id = "";
17
+
18
+ /**
19
+ * @generated from field: raystack.stencil.v1beta1.Schema.Format format = 2;
20
+ */
21
+ format = Schema_Format.UNSPECIFIED;
22
+
23
+ /**
24
+ * @generated from field: raystack.stencil.v1beta1.Schema.Compatibility compatibility = 3;
25
+ */
26
+ compatibility = Schema_Compatibility.UNSPECIFIED;
27
+
28
+ /**
29
+ * @generated from field: string description = 4;
30
+ */
31
+ description = "";
32
+
33
+ /**
34
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
35
+ */
36
+ createdAt?: Timestamp;
37
+
38
+ /**
39
+ * @generated from field: google.protobuf.Timestamp updated_at = 6;
40
+ */
41
+ updatedAt?: Timestamp;
42
+
43
+ constructor(data?: PartialMessage<Namespace>) {
44
+ super();
45
+ proto3.util.initPartial(data, this);
46
+ }
47
+
48
+ static readonly runtime: typeof proto3 = proto3;
49
+ static readonly typeName = "raystack.stencil.v1beta1.Namespace";
50
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
51
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
52
+ { no: 2, name: "format", kind: "enum", T: proto3.getEnumType(Schema_Format) },
53
+ { no: 3, name: "compatibility", kind: "enum", T: proto3.getEnumType(Schema_Compatibility) },
54
+ { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
55
+ { no: 5, name: "created_at", kind: "message", T: Timestamp },
56
+ { no: 6, name: "updated_at", kind: "message", T: Timestamp },
57
+ ]);
58
+
59
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Namespace {
60
+ return new Namespace().fromBinary(bytes, options);
61
+ }
62
+
63
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Namespace {
64
+ return new Namespace().fromJson(jsonValue, options);
65
+ }
66
+
67
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Namespace {
68
+ return new Namespace().fromJsonString(jsonString, options);
69
+ }
70
+
71
+ static equals(a: Namespace | PlainMessage<Namespace> | undefined, b: Namespace | PlainMessage<Namespace> | undefined): boolean {
72
+ return proto3.util.equals(Namespace, a, b);
73
+ }
74
+ }
75
+
76
+ /**
77
+ * @generated from message raystack.stencil.v1beta1.Schema
78
+ */
79
+ export class Schema extends Message<Schema> {
80
+ /**
81
+ * @generated from field: string name = 1;
82
+ */
83
+ name = "";
84
+
85
+ /**
86
+ * @generated from field: raystack.stencil.v1beta1.Schema.Format format = 2;
87
+ */
88
+ format = Schema_Format.UNSPECIFIED;
89
+
90
+ /**
91
+ * @generated from field: string authority = 3;
92
+ */
93
+ authority = "";
94
+
95
+ /**
96
+ * @generated from field: raystack.stencil.v1beta1.Schema.Compatibility compatibility = 4;
97
+ */
98
+ compatibility = Schema_Compatibility.UNSPECIFIED;
99
+
100
+ /**
101
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
102
+ */
103
+ createdAt?: Timestamp;
104
+
105
+ /**
106
+ * @generated from field: google.protobuf.Timestamp updated_at = 6;
107
+ */
108
+ updatedAt?: Timestamp;
109
+
110
+ constructor(data?: PartialMessage<Schema>) {
111
+ super();
112
+ proto3.util.initPartial(data, this);
113
+ }
114
+
115
+ static readonly runtime: typeof proto3 = proto3;
116
+ static readonly typeName = "raystack.stencil.v1beta1.Schema";
117
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
118
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
119
+ { no: 2, name: "format", kind: "enum", T: proto3.getEnumType(Schema_Format) },
120
+ { no: 3, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ },
121
+ { no: 4, name: "compatibility", kind: "enum", T: proto3.getEnumType(Schema_Compatibility) },
122
+ { no: 5, name: "created_at", kind: "message", T: Timestamp },
123
+ { no: 6, name: "updated_at", kind: "message", T: Timestamp },
124
+ ]);
125
+
126
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Schema {
127
+ return new Schema().fromBinary(bytes, options);
128
+ }
129
+
130
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Schema {
131
+ return new Schema().fromJson(jsonValue, options);
132
+ }
133
+
134
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Schema {
135
+ return new Schema().fromJsonString(jsonString, options);
136
+ }
137
+
138
+ static equals(a: Schema | PlainMessage<Schema> | undefined, b: Schema | PlainMessage<Schema> | undefined): boolean {
139
+ return proto3.util.equals(Schema, a, b);
140
+ }
141
+ }
142
+
143
+ /**
144
+ * @generated from enum raystack.stencil.v1beta1.Schema.Format
145
+ */
146
+ export enum Schema_Format {
147
+ /**
148
+ * @generated from enum value: FORMAT_UNSPECIFIED = 0;
149
+ */
150
+ UNSPECIFIED = 0,
151
+
152
+ /**
153
+ * @generated from enum value: FORMAT_PROTOBUF = 1;
154
+ */
155
+ PROTOBUF = 1,
156
+
157
+ /**
158
+ * @generated from enum value: FORMAT_AVRO = 2;
159
+ */
160
+ AVRO = 2,
161
+
162
+ /**
163
+ * @generated from enum value: FORMAT_JSON = 3;
164
+ */
165
+ JSON = 3,
166
+ }
167
+ // Retrieve enum metadata with: proto3.getEnumType(Schema_Format)
168
+ proto3.util.setEnumType(Schema_Format, "raystack.stencil.v1beta1.Schema.Format", [
169
+ { no: 0, name: "FORMAT_UNSPECIFIED" },
170
+ { no: 1, name: "FORMAT_PROTOBUF" },
171
+ { no: 2, name: "FORMAT_AVRO" },
172
+ { no: 3, name: "FORMAT_JSON" },
173
+ ]);
174
+
175
+ /**
176
+ * @generated from enum raystack.stencil.v1beta1.Schema.Compatibility
177
+ */
178
+ export enum Schema_Compatibility {
179
+ /**
180
+ * @generated from enum value: COMPATIBILITY_UNSPECIFIED = 0;
181
+ */
182
+ UNSPECIFIED = 0,
183
+
184
+ /**
185
+ * @generated from enum value: COMPATIBILITY_BACKWARD = 1;
186
+ */
187
+ BACKWARD = 1,
188
+
189
+ /**
190
+ * @generated from enum value: COMPATIBILITY_BACKWARD_TRANSITIVE = 2;
191
+ */
192
+ BACKWARD_TRANSITIVE = 2,
193
+
194
+ /**
195
+ * @generated from enum value: COMPATIBILITY_FORWARD = 3;
196
+ */
197
+ FORWARD = 3,
198
+
199
+ /**
200
+ * @generated from enum value: COMPATIBILITY_FORWARD_TRANSITIVE = 4;
201
+ */
202
+ FORWARD_TRANSITIVE = 4,
203
+
204
+ /**
205
+ * @generated from enum value: COMPATIBILITY_FULL = 5;
206
+ */
207
+ FULL = 5,
208
+
209
+ /**
210
+ * @generated from enum value: COMPATIBILITY_FULL_TRANSITIVE = 6;
211
+ */
212
+ FULL_TRANSITIVE = 6,
213
+ }
214
+ // Retrieve enum metadata with: proto3.getEnumType(Schema_Compatibility)
215
+ proto3.util.setEnumType(Schema_Compatibility, "raystack.stencil.v1beta1.Schema.Compatibility", [
216
+ { no: 0, name: "COMPATIBILITY_UNSPECIFIED" },
217
+ { no: 1, name: "COMPATIBILITY_BACKWARD" },
218
+ { no: 2, name: "COMPATIBILITY_BACKWARD_TRANSITIVE" },
219
+ { no: 3, name: "COMPATIBILITY_FORWARD" },
220
+ { no: 4, name: "COMPATIBILITY_FORWARD_TRANSITIVE" },
221
+ { no: 5, name: "COMPATIBILITY_FULL" },
222
+ { no: 6, name: "COMPATIBILITY_FULL_TRANSITIVE" },
223
+ ]);
224
+
225
+ /**
226
+ * @generated from message raystack.stencil.v1beta1.ListNamespacesRequest
227
+ */
228
+ export class ListNamespacesRequest extends Message<ListNamespacesRequest> {
229
+ constructor(data?: PartialMessage<ListNamespacesRequest>) {
230
+ super();
231
+ proto3.util.initPartial(data, this);
232
+ }
233
+
234
+ static readonly runtime: typeof proto3 = proto3;
235
+ static readonly typeName = "raystack.stencil.v1beta1.ListNamespacesRequest";
236
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
237
+ ]);
238
+
239
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListNamespacesRequest {
240
+ return new ListNamespacesRequest().fromBinary(bytes, options);
241
+ }
242
+
243
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListNamespacesRequest {
244
+ return new ListNamespacesRequest().fromJson(jsonValue, options);
245
+ }
246
+
247
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListNamespacesRequest {
248
+ return new ListNamespacesRequest().fromJsonString(jsonString, options);
249
+ }
250
+
251
+ static equals(a: ListNamespacesRequest | PlainMessage<ListNamespacesRequest> | undefined, b: ListNamespacesRequest | PlainMessage<ListNamespacesRequest> | undefined): boolean {
252
+ return proto3.util.equals(ListNamespacesRequest, a, b);
253
+ }
254
+ }
255
+
256
+ /**
257
+ * @generated from message raystack.stencil.v1beta1.ListNamespacesResponse
258
+ */
259
+ export class ListNamespacesResponse extends Message<ListNamespacesResponse> {
260
+ /**
261
+ * @generated from field: repeated raystack.stencil.v1beta1.Namespace namespaces = 1;
262
+ */
263
+ namespaces: Namespace[] = [];
264
+
265
+ constructor(data?: PartialMessage<ListNamespacesResponse>) {
266
+ super();
267
+ proto3.util.initPartial(data, this);
268
+ }
269
+
270
+ static readonly runtime: typeof proto3 = proto3;
271
+ static readonly typeName = "raystack.stencil.v1beta1.ListNamespacesResponse";
272
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
273
+ { no: 1, name: "namespaces", kind: "message", T: Namespace, repeated: true },
274
+ ]);
275
+
276
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListNamespacesResponse {
277
+ return new ListNamespacesResponse().fromBinary(bytes, options);
278
+ }
279
+
280
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListNamespacesResponse {
281
+ return new ListNamespacesResponse().fromJson(jsonValue, options);
282
+ }
283
+
284
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListNamespacesResponse {
285
+ return new ListNamespacesResponse().fromJsonString(jsonString, options);
286
+ }
287
+
288
+ static equals(a: ListNamespacesResponse | PlainMessage<ListNamespacesResponse> | undefined, b: ListNamespacesResponse | PlainMessage<ListNamespacesResponse> | undefined): boolean {
289
+ return proto3.util.equals(ListNamespacesResponse, a, b);
290
+ }
291
+ }
292
+
293
+ /**
294
+ * @generated from message raystack.stencil.v1beta1.GetNamespaceRequest
295
+ */
296
+ export class GetNamespaceRequest extends Message<GetNamespaceRequest> {
297
+ /**
298
+ * @generated from field: string id = 1;
299
+ */
300
+ id = "";
301
+
302
+ constructor(data?: PartialMessage<GetNamespaceRequest>) {
303
+ super();
304
+ proto3.util.initPartial(data, this);
305
+ }
306
+
307
+ static readonly runtime: typeof proto3 = proto3;
308
+ static readonly typeName = "raystack.stencil.v1beta1.GetNamespaceRequest";
309
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
310
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
311
+ ]);
312
+
313
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetNamespaceRequest {
314
+ return new GetNamespaceRequest().fromBinary(bytes, options);
315
+ }
316
+
317
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetNamespaceRequest {
318
+ return new GetNamespaceRequest().fromJson(jsonValue, options);
319
+ }
320
+
321
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNamespaceRequest {
322
+ return new GetNamespaceRequest().fromJsonString(jsonString, options);
323
+ }
324
+
325
+ static equals(a: GetNamespaceRequest | PlainMessage<GetNamespaceRequest> | undefined, b: GetNamespaceRequest | PlainMessage<GetNamespaceRequest> | undefined): boolean {
326
+ return proto3.util.equals(GetNamespaceRequest, a, b);
327
+ }
328
+ }
329
+
330
+ /**
331
+ * @generated from message raystack.stencil.v1beta1.GetNamespaceResponse
332
+ */
333
+ export class GetNamespaceResponse extends Message<GetNamespaceResponse> {
334
+ /**
335
+ * @generated from field: raystack.stencil.v1beta1.Namespace namespace = 1;
336
+ */
337
+ namespace?: Namespace;
338
+
339
+ constructor(data?: PartialMessage<GetNamespaceResponse>) {
340
+ super();
341
+ proto3.util.initPartial(data, this);
342
+ }
343
+
344
+ static readonly runtime: typeof proto3 = proto3;
345
+ static readonly typeName = "raystack.stencil.v1beta1.GetNamespaceResponse";
346
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
347
+ { no: 1, name: "namespace", kind: "message", T: Namespace },
348
+ ]);
349
+
350
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetNamespaceResponse {
351
+ return new GetNamespaceResponse().fromBinary(bytes, options);
352
+ }
353
+
354
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetNamespaceResponse {
355
+ return new GetNamespaceResponse().fromJson(jsonValue, options);
356
+ }
357
+
358
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNamespaceResponse {
359
+ return new GetNamespaceResponse().fromJsonString(jsonString, options);
360
+ }
361
+
362
+ static equals(a: GetNamespaceResponse | PlainMessage<GetNamespaceResponse> | undefined, b: GetNamespaceResponse | PlainMessage<GetNamespaceResponse> | undefined): boolean {
363
+ return proto3.util.equals(GetNamespaceResponse, a, b);
364
+ }
365
+ }
366
+
367
+ /**
368
+ * @generated from message raystack.stencil.v1beta1.CreateNamespaceRequest
369
+ */
370
+ export class CreateNamespaceRequest extends Message<CreateNamespaceRequest> {
371
+ /**
372
+ * @generated from field: string id = 1;
373
+ */
374
+ id = "";
375
+
376
+ /**
377
+ * @generated from field: raystack.stencil.v1beta1.Schema.Format format = 2;
378
+ */
379
+ format = Schema_Format.UNSPECIFIED;
380
+
381
+ /**
382
+ * @generated from field: raystack.stencil.v1beta1.Schema.Compatibility compatibility = 3;
383
+ */
384
+ compatibility = Schema_Compatibility.UNSPECIFIED;
385
+
386
+ /**
387
+ * @generated from field: string description = 4;
388
+ */
389
+ description = "";
390
+
391
+ constructor(data?: PartialMessage<CreateNamespaceRequest>) {
392
+ super();
393
+ proto3.util.initPartial(data, this);
394
+ }
395
+
396
+ static readonly runtime: typeof proto3 = proto3;
397
+ static readonly typeName = "raystack.stencil.v1beta1.CreateNamespaceRequest";
398
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
399
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
400
+ { no: 2, name: "format", kind: "enum", T: proto3.getEnumType(Schema_Format) },
401
+ { no: 3, name: "compatibility", kind: "enum", T: proto3.getEnumType(Schema_Compatibility) },
402
+ { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
403
+ ]);
404
+
405
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateNamespaceRequest {
406
+ return new CreateNamespaceRequest().fromBinary(bytes, options);
407
+ }
408
+
409
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateNamespaceRequest {
410
+ return new CreateNamespaceRequest().fromJson(jsonValue, options);
411
+ }
412
+
413
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateNamespaceRequest {
414
+ return new CreateNamespaceRequest().fromJsonString(jsonString, options);
415
+ }
416
+
417
+ static equals(a: CreateNamespaceRequest | PlainMessage<CreateNamespaceRequest> | undefined, b: CreateNamespaceRequest | PlainMessage<CreateNamespaceRequest> | undefined): boolean {
418
+ return proto3.util.equals(CreateNamespaceRequest, a, b);
419
+ }
420
+ }
421
+
422
+ /**
423
+ * @generated from message raystack.stencil.v1beta1.CreateNamespaceResponse
424
+ */
425
+ export class CreateNamespaceResponse extends Message<CreateNamespaceResponse> {
426
+ /**
427
+ * @generated from field: raystack.stencil.v1beta1.Namespace namespace = 1;
428
+ */
429
+ namespace?: Namespace;
430
+
431
+ constructor(data?: PartialMessage<CreateNamespaceResponse>) {
432
+ super();
433
+ proto3.util.initPartial(data, this);
434
+ }
435
+
436
+ static readonly runtime: typeof proto3 = proto3;
437
+ static readonly typeName = "raystack.stencil.v1beta1.CreateNamespaceResponse";
438
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
439
+ { no: 1, name: "namespace", kind: "message", T: Namespace },
440
+ ]);
441
+
442
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateNamespaceResponse {
443
+ return new CreateNamespaceResponse().fromBinary(bytes, options);
444
+ }
445
+
446
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateNamespaceResponse {
447
+ return new CreateNamespaceResponse().fromJson(jsonValue, options);
448
+ }
449
+
450
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateNamespaceResponse {
451
+ return new CreateNamespaceResponse().fromJsonString(jsonString, options);
452
+ }
453
+
454
+ static equals(a: CreateNamespaceResponse | PlainMessage<CreateNamespaceResponse> | undefined, b: CreateNamespaceResponse | PlainMessage<CreateNamespaceResponse> | undefined): boolean {
455
+ return proto3.util.equals(CreateNamespaceResponse, a, b);
456
+ }
457
+ }
458
+
459
+ /**
460
+ * @generated from message raystack.stencil.v1beta1.UpdateNamespaceRequest
461
+ */
462
+ export class UpdateNamespaceRequest extends Message<UpdateNamespaceRequest> {
463
+ /**
464
+ * @generated from field: string id = 1;
465
+ */
466
+ id = "";
467
+
468
+ /**
469
+ * @generated from field: raystack.stencil.v1beta1.Schema.Format format = 2;
470
+ */
471
+ format = Schema_Format.UNSPECIFIED;
472
+
473
+ /**
474
+ * @generated from field: raystack.stencil.v1beta1.Schema.Compatibility compatibility = 3;
475
+ */
476
+ compatibility = Schema_Compatibility.UNSPECIFIED;
477
+
478
+ /**
479
+ * @generated from field: string description = 4;
480
+ */
481
+ description = "";
482
+
483
+ constructor(data?: PartialMessage<UpdateNamespaceRequest>) {
484
+ super();
485
+ proto3.util.initPartial(data, this);
486
+ }
487
+
488
+ static readonly runtime: typeof proto3 = proto3;
489
+ static readonly typeName = "raystack.stencil.v1beta1.UpdateNamespaceRequest";
490
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
491
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
492
+ { no: 2, name: "format", kind: "enum", T: proto3.getEnumType(Schema_Format) },
493
+ { no: 3, name: "compatibility", kind: "enum", T: proto3.getEnumType(Schema_Compatibility) },
494
+ { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
495
+ ]);
496
+
497
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateNamespaceRequest {
498
+ return new UpdateNamespaceRequest().fromBinary(bytes, options);
499
+ }
500
+
501
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateNamespaceRequest {
502
+ return new UpdateNamespaceRequest().fromJson(jsonValue, options);
503
+ }
504
+
505
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateNamespaceRequest {
506
+ return new UpdateNamespaceRequest().fromJsonString(jsonString, options);
507
+ }
508
+
509
+ static equals(a: UpdateNamespaceRequest | PlainMessage<UpdateNamespaceRequest> | undefined, b: UpdateNamespaceRequest | PlainMessage<UpdateNamespaceRequest> | undefined): boolean {
510
+ return proto3.util.equals(UpdateNamespaceRequest, a, b);
511
+ }
512
+ }
513
+
514
+ /**
515
+ * @generated from message raystack.stencil.v1beta1.UpdateNamespaceResponse
516
+ */
517
+ export class UpdateNamespaceResponse extends Message<UpdateNamespaceResponse> {
518
+ /**
519
+ * @generated from field: raystack.stencil.v1beta1.Namespace namespace = 1;
520
+ */
521
+ namespace?: Namespace;
522
+
523
+ constructor(data?: PartialMessage<UpdateNamespaceResponse>) {
524
+ super();
525
+ proto3.util.initPartial(data, this);
526
+ }
527
+
528
+ static readonly runtime: typeof proto3 = proto3;
529
+ static readonly typeName = "raystack.stencil.v1beta1.UpdateNamespaceResponse";
530
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
531
+ { no: 1, name: "namespace", kind: "message", T: Namespace },
532
+ ]);
533
+
534
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateNamespaceResponse {
535
+ return new UpdateNamespaceResponse().fromBinary(bytes, options);
536
+ }
537
+
538
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateNamespaceResponse {
539
+ return new UpdateNamespaceResponse().fromJson(jsonValue, options);
540
+ }
541
+
542
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateNamespaceResponse {
543
+ return new UpdateNamespaceResponse().fromJsonString(jsonString, options);
544
+ }
545
+
546
+ static equals(a: UpdateNamespaceResponse | PlainMessage<UpdateNamespaceResponse> | undefined, b: UpdateNamespaceResponse | PlainMessage<UpdateNamespaceResponse> | undefined): boolean {
547
+ return proto3.util.equals(UpdateNamespaceResponse, a, b);
548
+ }
549
+ }
550
+
551
+ /**
552
+ * @generated from message raystack.stencil.v1beta1.DeleteNamespaceRequest
553
+ */
554
+ export class DeleteNamespaceRequest extends Message<DeleteNamespaceRequest> {
555
+ /**
556
+ * @generated from field: string id = 1;
557
+ */
558
+ id = "";
559
+
560
+ constructor(data?: PartialMessage<DeleteNamespaceRequest>) {
561
+ super();
562
+ proto3.util.initPartial(data, this);
563
+ }
564
+
565
+ static readonly runtime: typeof proto3 = proto3;
566
+ static readonly typeName = "raystack.stencil.v1beta1.DeleteNamespaceRequest";
567
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
568
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
569
+ ]);
570
+
571
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteNamespaceRequest {
572
+ return new DeleteNamespaceRequest().fromBinary(bytes, options);
573
+ }
574
+
575
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteNamespaceRequest {
576
+ return new DeleteNamespaceRequest().fromJson(jsonValue, options);
577
+ }
578
+
579
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteNamespaceRequest {
580
+ return new DeleteNamespaceRequest().fromJsonString(jsonString, options);
581
+ }
582
+
583
+ static equals(a: DeleteNamespaceRequest | PlainMessage<DeleteNamespaceRequest> | undefined, b: DeleteNamespaceRequest | PlainMessage<DeleteNamespaceRequest> | undefined): boolean {
584
+ return proto3.util.equals(DeleteNamespaceRequest, a, b);
585
+ }
586
+ }
587
+
588
+ /**
589
+ * @generated from message raystack.stencil.v1beta1.DeleteNamespaceResponse
590
+ */
591
+ export class DeleteNamespaceResponse extends Message<DeleteNamespaceResponse> {
592
+ /**
593
+ * @generated from field: string message = 1;
594
+ */
595
+ message = "";
596
+
597
+ constructor(data?: PartialMessage<DeleteNamespaceResponse>) {
598
+ super();
599
+ proto3.util.initPartial(data, this);
600
+ }
601
+
602
+ static readonly runtime: typeof proto3 = proto3;
603
+ static readonly typeName = "raystack.stencil.v1beta1.DeleteNamespaceResponse";
604
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
605
+ { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
606
+ ]);
607
+
608
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteNamespaceResponse {
609
+ return new DeleteNamespaceResponse().fromBinary(bytes, options);
610
+ }
611
+
612
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteNamespaceResponse {
613
+ return new DeleteNamespaceResponse().fromJson(jsonValue, options);
614
+ }
615
+
616
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteNamespaceResponse {
617
+ return new DeleteNamespaceResponse().fromJsonString(jsonString, options);
618
+ }
619
+
620
+ static equals(a: DeleteNamespaceResponse | PlainMessage<DeleteNamespaceResponse> | undefined, b: DeleteNamespaceResponse | PlainMessage<DeleteNamespaceResponse> | undefined): boolean {
621
+ return proto3.util.equals(DeleteNamespaceResponse, a, b);
622
+ }
623
+ }
624
+
625
+ /**
626
+ * @generated from message raystack.stencil.v1beta1.ListSchemasRequest
627
+ */
628
+ export class ListSchemasRequest extends Message<ListSchemasRequest> {
629
+ /**
630
+ * @generated from field: string id = 1;
631
+ */
632
+ id = "";
633
+
634
+ constructor(data?: PartialMessage<ListSchemasRequest>) {
635
+ super();
636
+ proto3.util.initPartial(data, this);
637
+ }
638
+
639
+ static readonly runtime: typeof proto3 = proto3;
640
+ static readonly typeName = "raystack.stencil.v1beta1.ListSchemasRequest";
641
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
642
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
643
+ ]);
644
+
645
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSchemasRequest {
646
+ return new ListSchemasRequest().fromBinary(bytes, options);
647
+ }
648
+
649
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSchemasRequest {
650
+ return new ListSchemasRequest().fromJson(jsonValue, options);
651
+ }
652
+
653
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSchemasRequest {
654
+ return new ListSchemasRequest().fromJsonString(jsonString, options);
655
+ }
656
+
657
+ static equals(a: ListSchemasRequest | PlainMessage<ListSchemasRequest> | undefined, b: ListSchemasRequest | PlainMessage<ListSchemasRequest> | undefined): boolean {
658
+ return proto3.util.equals(ListSchemasRequest, a, b);
659
+ }
660
+ }
661
+
662
+ /**
663
+ * @generated from message raystack.stencil.v1beta1.ListSchemasResponse
664
+ */
665
+ export class ListSchemasResponse extends Message<ListSchemasResponse> {
666
+ /**
667
+ * @generated from field: repeated raystack.stencil.v1beta1.Schema schemas = 1;
668
+ */
669
+ schemas: Schema[] = [];
670
+
671
+ constructor(data?: PartialMessage<ListSchemasResponse>) {
672
+ super();
673
+ proto3.util.initPartial(data, this);
674
+ }
675
+
676
+ static readonly runtime: typeof proto3 = proto3;
677
+ static readonly typeName = "raystack.stencil.v1beta1.ListSchemasResponse";
678
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
679
+ { no: 1, name: "schemas", kind: "message", T: Schema, repeated: true },
680
+ ]);
681
+
682
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSchemasResponse {
683
+ return new ListSchemasResponse().fromBinary(bytes, options);
684
+ }
685
+
686
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSchemasResponse {
687
+ return new ListSchemasResponse().fromJson(jsonValue, options);
688
+ }
689
+
690
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSchemasResponse {
691
+ return new ListSchemasResponse().fromJsonString(jsonString, options);
692
+ }
693
+
694
+ static equals(a: ListSchemasResponse | PlainMessage<ListSchemasResponse> | undefined, b: ListSchemasResponse | PlainMessage<ListSchemasResponse> | undefined): boolean {
695
+ return proto3.util.equals(ListSchemasResponse, a, b);
696
+ }
697
+ }
698
+
699
+ /**
700
+ * @generated from message raystack.stencil.v1beta1.GetLatestSchemaRequest
701
+ */
702
+ export class GetLatestSchemaRequest extends Message<GetLatestSchemaRequest> {
703
+ /**
704
+ * @generated from field: string namespace_id = 1;
705
+ */
706
+ namespaceId = "";
707
+
708
+ /**
709
+ * @generated from field: string schema_id = 2;
710
+ */
711
+ schemaId = "";
712
+
713
+ constructor(data?: PartialMessage<GetLatestSchemaRequest>) {
714
+ super();
715
+ proto3.util.initPartial(data, this);
716
+ }
717
+
718
+ static readonly runtime: typeof proto3 = proto3;
719
+ static readonly typeName = "raystack.stencil.v1beta1.GetLatestSchemaRequest";
720
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
721
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
722
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
723
+ ]);
724
+
725
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLatestSchemaRequest {
726
+ return new GetLatestSchemaRequest().fromBinary(bytes, options);
727
+ }
728
+
729
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLatestSchemaRequest {
730
+ return new GetLatestSchemaRequest().fromJson(jsonValue, options);
731
+ }
732
+
733
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLatestSchemaRequest {
734
+ return new GetLatestSchemaRequest().fromJsonString(jsonString, options);
735
+ }
736
+
737
+ static equals(a: GetLatestSchemaRequest | PlainMessage<GetLatestSchemaRequest> | undefined, b: GetLatestSchemaRequest | PlainMessage<GetLatestSchemaRequest> | undefined): boolean {
738
+ return proto3.util.equals(GetLatestSchemaRequest, a, b);
739
+ }
740
+ }
741
+
742
+ /**
743
+ * @generated from message raystack.stencil.v1beta1.GetLatestSchemaResponse
744
+ */
745
+ export class GetLatestSchemaResponse extends Message<GetLatestSchemaResponse> {
746
+ /**
747
+ * @generated from field: bytes data = 3;
748
+ */
749
+ data = new Uint8Array(0);
750
+
751
+ constructor(data?: PartialMessage<GetLatestSchemaResponse>) {
752
+ super();
753
+ proto3.util.initPartial(data, this);
754
+ }
755
+
756
+ static readonly runtime: typeof proto3 = proto3;
757
+ static readonly typeName = "raystack.stencil.v1beta1.GetLatestSchemaResponse";
758
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
759
+ { no: 3, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
760
+ ]);
761
+
762
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLatestSchemaResponse {
763
+ return new GetLatestSchemaResponse().fromBinary(bytes, options);
764
+ }
765
+
766
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLatestSchemaResponse {
767
+ return new GetLatestSchemaResponse().fromJson(jsonValue, options);
768
+ }
769
+
770
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLatestSchemaResponse {
771
+ return new GetLatestSchemaResponse().fromJsonString(jsonString, options);
772
+ }
773
+
774
+ static equals(a: GetLatestSchemaResponse | PlainMessage<GetLatestSchemaResponse> | undefined, b: GetLatestSchemaResponse | PlainMessage<GetLatestSchemaResponse> | undefined): boolean {
775
+ return proto3.util.equals(GetLatestSchemaResponse, a, b);
776
+ }
777
+ }
778
+
779
+ /**
780
+ * @generated from message raystack.stencil.v1beta1.CreateSchemaRequest
781
+ */
782
+ export class CreateSchemaRequest extends Message<CreateSchemaRequest> {
783
+ /**
784
+ * @generated from field: string namespace_id = 1;
785
+ */
786
+ namespaceId = "";
787
+
788
+ /**
789
+ * @generated from field: string schema_id = 2;
790
+ */
791
+ schemaId = "";
792
+
793
+ /**
794
+ * @generated from field: bytes data = 3;
795
+ */
796
+ data = new Uint8Array(0);
797
+
798
+ /**
799
+ * @generated from field: raystack.stencil.v1beta1.Schema.Format format = 4;
800
+ */
801
+ format = Schema_Format.UNSPECIFIED;
802
+
803
+ /**
804
+ * @generated from field: raystack.stencil.v1beta1.Schema.Compatibility compatibility = 5;
805
+ */
806
+ compatibility = Schema_Compatibility.UNSPECIFIED;
807
+
808
+ constructor(data?: PartialMessage<CreateSchemaRequest>) {
809
+ super();
810
+ proto3.util.initPartial(data, this);
811
+ }
812
+
813
+ static readonly runtime: typeof proto3 = proto3;
814
+ static readonly typeName = "raystack.stencil.v1beta1.CreateSchemaRequest";
815
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
816
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
817
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
818
+ { no: 3, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
819
+ { no: 4, name: "format", kind: "enum", T: proto3.getEnumType(Schema_Format) },
820
+ { no: 5, name: "compatibility", kind: "enum", T: proto3.getEnumType(Schema_Compatibility) },
821
+ ]);
822
+
823
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSchemaRequest {
824
+ return new CreateSchemaRequest().fromBinary(bytes, options);
825
+ }
826
+
827
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSchemaRequest {
828
+ return new CreateSchemaRequest().fromJson(jsonValue, options);
829
+ }
830
+
831
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSchemaRequest {
832
+ return new CreateSchemaRequest().fromJsonString(jsonString, options);
833
+ }
834
+
835
+ static equals(a: CreateSchemaRequest | PlainMessage<CreateSchemaRequest> | undefined, b: CreateSchemaRequest | PlainMessage<CreateSchemaRequest> | undefined): boolean {
836
+ return proto3.util.equals(CreateSchemaRequest, a, b);
837
+ }
838
+ }
839
+
840
+ /**
841
+ * @generated from message raystack.stencil.v1beta1.CreateSchemaResponse
842
+ */
843
+ export class CreateSchemaResponse extends Message<CreateSchemaResponse> {
844
+ /**
845
+ * @generated from field: int32 version = 1;
846
+ */
847
+ version = 0;
848
+
849
+ /**
850
+ * @generated from field: string id = 2;
851
+ */
852
+ id = "";
853
+
854
+ /**
855
+ * @generated from field: string location = 3;
856
+ */
857
+ location = "";
858
+
859
+ constructor(data?: PartialMessage<CreateSchemaResponse>) {
860
+ super();
861
+ proto3.util.initPartial(data, this);
862
+ }
863
+
864
+ static readonly runtime: typeof proto3 = proto3;
865
+ static readonly typeName = "raystack.stencil.v1beta1.CreateSchemaResponse";
866
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
867
+ { no: 1, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
868
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
869
+ { no: 3, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
870
+ ]);
871
+
872
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSchemaResponse {
873
+ return new CreateSchemaResponse().fromBinary(bytes, options);
874
+ }
875
+
876
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSchemaResponse {
877
+ return new CreateSchemaResponse().fromJson(jsonValue, options);
878
+ }
879
+
880
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSchemaResponse {
881
+ return new CreateSchemaResponse().fromJsonString(jsonString, options);
882
+ }
883
+
884
+ static equals(a: CreateSchemaResponse | PlainMessage<CreateSchemaResponse> | undefined, b: CreateSchemaResponse | PlainMessage<CreateSchemaResponse> | undefined): boolean {
885
+ return proto3.util.equals(CreateSchemaResponse, a, b);
886
+ }
887
+ }
888
+
889
+ /**
890
+ * @generated from message raystack.stencil.v1beta1.CheckCompatibilityRequest
891
+ */
892
+ export class CheckCompatibilityRequest extends Message<CheckCompatibilityRequest> {
893
+ /**
894
+ * @generated from field: string namespace_id = 1;
895
+ */
896
+ namespaceId = "";
897
+
898
+ /**
899
+ * @generated from field: string schema_id = 2;
900
+ */
901
+ schemaId = "";
902
+
903
+ /**
904
+ * @generated from field: bytes data = 3;
905
+ */
906
+ data = new Uint8Array(0);
907
+
908
+ /**
909
+ * @generated from field: raystack.stencil.v1beta1.Schema.Compatibility compatibility = 4;
910
+ */
911
+ compatibility = Schema_Compatibility.UNSPECIFIED;
912
+
913
+ constructor(data?: PartialMessage<CheckCompatibilityRequest>) {
914
+ super();
915
+ proto3.util.initPartial(data, this);
916
+ }
917
+
918
+ static readonly runtime: typeof proto3 = proto3;
919
+ static readonly typeName = "raystack.stencil.v1beta1.CheckCompatibilityRequest";
920
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
921
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
922
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
923
+ { no: 3, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
924
+ { no: 4, name: "compatibility", kind: "enum", T: proto3.getEnumType(Schema_Compatibility) },
925
+ ]);
926
+
927
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckCompatibilityRequest {
928
+ return new CheckCompatibilityRequest().fromBinary(bytes, options);
929
+ }
930
+
931
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckCompatibilityRequest {
932
+ return new CheckCompatibilityRequest().fromJson(jsonValue, options);
933
+ }
934
+
935
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckCompatibilityRequest {
936
+ return new CheckCompatibilityRequest().fromJsonString(jsonString, options);
937
+ }
938
+
939
+ static equals(a: CheckCompatibilityRequest | PlainMessage<CheckCompatibilityRequest> | undefined, b: CheckCompatibilityRequest | PlainMessage<CheckCompatibilityRequest> | undefined): boolean {
940
+ return proto3.util.equals(CheckCompatibilityRequest, a, b);
941
+ }
942
+ }
943
+
944
+ /**
945
+ * @generated from message raystack.stencil.v1beta1.CheckCompatibilityResponse
946
+ */
947
+ export class CheckCompatibilityResponse extends Message<CheckCompatibilityResponse> {
948
+ constructor(data?: PartialMessage<CheckCompatibilityResponse>) {
949
+ super();
950
+ proto3.util.initPartial(data, this);
951
+ }
952
+
953
+ static readonly runtime: typeof proto3 = proto3;
954
+ static readonly typeName = "raystack.stencil.v1beta1.CheckCompatibilityResponse";
955
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
956
+ ]);
957
+
958
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckCompatibilityResponse {
959
+ return new CheckCompatibilityResponse().fromBinary(bytes, options);
960
+ }
961
+
962
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckCompatibilityResponse {
963
+ return new CheckCompatibilityResponse().fromJson(jsonValue, options);
964
+ }
965
+
966
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckCompatibilityResponse {
967
+ return new CheckCompatibilityResponse().fromJsonString(jsonString, options);
968
+ }
969
+
970
+ static equals(a: CheckCompatibilityResponse | PlainMessage<CheckCompatibilityResponse> | undefined, b: CheckCompatibilityResponse | PlainMessage<CheckCompatibilityResponse> | undefined): boolean {
971
+ return proto3.util.equals(CheckCompatibilityResponse, a, b);
972
+ }
973
+ }
974
+
975
+ /**
976
+ * @generated from message raystack.stencil.v1beta1.GetSchemaMetadataRequest
977
+ */
978
+ export class GetSchemaMetadataRequest extends Message<GetSchemaMetadataRequest> {
979
+ /**
980
+ * @generated from field: string namespace_id = 1;
981
+ */
982
+ namespaceId = "";
983
+
984
+ /**
985
+ * @generated from field: string schema_id = 2;
986
+ */
987
+ schemaId = "";
988
+
989
+ constructor(data?: PartialMessage<GetSchemaMetadataRequest>) {
990
+ super();
991
+ proto3.util.initPartial(data, this);
992
+ }
993
+
994
+ static readonly runtime: typeof proto3 = proto3;
995
+ static readonly typeName = "raystack.stencil.v1beta1.GetSchemaMetadataRequest";
996
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
997
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
998
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
999
+ ]);
1000
+
1001
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSchemaMetadataRequest {
1002
+ return new GetSchemaMetadataRequest().fromBinary(bytes, options);
1003
+ }
1004
+
1005
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSchemaMetadataRequest {
1006
+ return new GetSchemaMetadataRequest().fromJson(jsonValue, options);
1007
+ }
1008
+
1009
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSchemaMetadataRequest {
1010
+ return new GetSchemaMetadataRequest().fromJsonString(jsonString, options);
1011
+ }
1012
+
1013
+ static equals(a: GetSchemaMetadataRequest | PlainMessage<GetSchemaMetadataRequest> | undefined, b: GetSchemaMetadataRequest | PlainMessage<GetSchemaMetadataRequest> | undefined): boolean {
1014
+ return proto3.util.equals(GetSchemaMetadataRequest, a, b);
1015
+ }
1016
+ }
1017
+
1018
+ /**
1019
+ * @generated from message raystack.stencil.v1beta1.GetSchemaMetadataResponse
1020
+ */
1021
+ export class GetSchemaMetadataResponse extends Message<GetSchemaMetadataResponse> {
1022
+ /**
1023
+ * @generated from field: raystack.stencil.v1beta1.Schema.Format format = 1;
1024
+ */
1025
+ format = Schema_Format.UNSPECIFIED;
1026
+
1027
+ /**
1028
+ * @generated from field: raystack.stencil.v1beta1.Schema.Compatibility compatibility = 2;
1029
+ */
1030
+ compatibility = Schema_Compatibility.UNSPECIFIED;
1031
+
1032
+ /**
1033
+ * @generated from field: string authority = 3;
1034
+ */
1035
+ authority = "";
1036
+
1037
+ /**
1038
+ * @generated from field: string name = 4;
1039
+ */
1040
+ name = "";
1041
+
1042
+ /**
1043
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
1044
+ */
1045
+ createdAt?: Timestamp;
1046
+
1047
+ /**
1048
+ * @generated from field: google.protobuf.Timestamp updated_at = 6;
1049
+ */
1050
+ updatedAt?: Timestamp;
1051
+
1052
+ constructor(data?: PartialMessage<GetSchemaMetadataResponse>) {
1053
+ super();
1054
+ proto3.util.initPartial(data, this);
1055
+ }
1056
+
1057
+ static readonly runtime: typeof proto3 = proto3;
1058
+ static readonly typeName = "raystack.stencil.v1beta1.GetSchemaMetadataResponse";
1059
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1060
+ { no: 1, name: "format", kind: "enum", T: proto3.getEnumType(Schema_Format) },
1061
+ { no: 2, name: "compatibility", kind: "enum", T: proto3.getEnumType(Schema_Compatibility) },
1062
+ { no: 3, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1063
+ { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1064
+ { no: 5, name: "created_at", kind: "message", T: Timestamp },
1065
+ { no: 6, name: "updated_at", kind: "message", T: Timestamp },
1066
+ ]);
1067
+
1068
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSchemaMetadataResponse {
1069
+ return new GetSchemaMetadataResponse().fromBinary(bytes, options);
1070
+ }
1071
+
1072
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSchemaMetadataResponse {
1073
+ return new GetSchemaMetadataResponse().fromJson(jsonValue, options);
1074
+ }
1075
+
1076
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSchemaMetadataResponse {
1077
+ return new GetSchemaMetadataResponse().fromJsonString(jsonString, options);
1078
+ }
1079
+
1080
+ static equals(a: GetSchemaMetadataResponse | PlainMessage<GetSchemaMetadataResponse> | undefined, b: GetSchemaMetadataResponse | PlainMessage<GetSchemaMetadataResponse> | undefined): boolean {
1081
+ return proto3.util.equals(GetSchemaMetadataResponse, a, b);
1082
+ }
1083
+ }
1084
+
1085
+ /**
1086
+ * @generated from message raystack.stencil.v1beta1.UpdateSchemaMetadataRequest
1087
+ */
1088
+ export class UpdateSchemaMetadataRequest extends Message<UpdateSchemaMetadataRequest> {
1089
+ /**
1090
+ * @generated from field: string namespace_id = 1;
1091
+ */
1092
+ namespaceId = "";
1093
+
1094
+ /**
1095
+ * @generated from field: string schema_id = 2;
1096
+ */
1097
+ schemaId = "";
1098
+
1099
+ /**
1100
+ * @generated from field: raystack.stencil.v1beta1.Schema.Compatibility compatibility = 3;
1101
+ */
1102
+ compatibility = Schema_Compatibility.UNSPECIFIED;
1103
+
1104
+ constructor(data?: PartialMessage<UpdateSchemaMetadataRequest>) {
1105
+ super();
1106
+ proto3.util.initPartial(data, this);
1107
+ }
1108
+
1109
+ static readonly runtime: typeof proto3 = proto3;
1110
+ static readonly typeName = "raystack.stencil.v1beta1.UpdateSchemaMetadataRequest";
1111
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1112
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1113
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1114
+ { no: 3, name: "compatibility", kind: "enum", T: proto3.getEnumType(Schema_Compatibility) },
1115
+ ]);
1116
+
1117
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSchemaMetadataRequest {
1118
+ return new UpdateSchemaMetadataRequest().fromBinary(bytes, options);
1119
+ }
1120
+
1121
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSchemaMetadataRequest {
1122
+ return new UpdateSchemaMetadataRequest().fromJson(jsonValue, options);
1123
+ }
1124
+
1125
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSchemaMetadataRequest {
1126
+ return new UpdateSchemaMetadataRequest().fromJsonString(jsonString, options);
1127
+ }
1128
+
1129
+ static equals(a: UpdateSchemaMetadataRequest | PlainMessage<UpdateSchemaMetadataRequest> | undefined, b: UpdateSchemaMetadataRequest | PlainMessage<UpdateSchemaMetadataRequest> | undefined): boolean {
1130
+ return proto3.util.equals(UpdateSchemaMetadataRequest, a, b);
1131
+ }
1132
+ }
1133
+
1134
+ /**
1135
+ * @generated from message raystack.stencil.v1beta1.UpdateSchemaMetadataResponse
1136
+ */
1137
+ export class UpdateSchemaMetadataResponse extends Message<UpdateSchemaMetadataResponse> {
1138
+ /**
1139
+ * @generated from field: raystack.stencil.v1beta1.Schema.Format format = 1;
1140
+ */
1141
+ format = Schema_Format.UNSPECIFIED;
1142
+
1143
+ /**
1144
+ * @generated from field: raystack.stencil.v1beta1.Schema.Compatibility compatibility = 2;
1145
+ */
1146
+ compatibility = Schema_Compatibility.UNSPECIFIED;
1147
+
1148
+ /**
1149
+ * @generated from field: string authority = 3;
1150
+ */
1151
+ authority = "";
1152
+
1153
+ constructor(data?: PartialMessage<UpdateSchemaMetadataResponse>) {
1154
+ super();
1155
+ proto3.util.initPartial(data, this);
1156
+ }
1157
+
1158
+ static readonly runtime: typeof proto3 = proto3;
1159
+ static readonly typeName = "raystack.stencil.v1beta1.UpdateSchemaMetadataResponse";
1160
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1161
+ { no: 1, name: "format", kind: "enum", T: proto3.getEnumType(Schema_Format) },
1162
+ { no: 2, name: "compatibility", kind: "enum", T: proto3.getEnumType(Schema_Compatibility) },
1163
+ { no: 3, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1164
+ ]);
1165
+
1166
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSchemaMetadataResponse {
1167
+ return new UpdateSchemaMetadataResponse().fromBinary(bytes, options);
1168
+ }
1169
+
1170
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSchemaMetadataResponse {
1171
+ return new UpdateSchemaMetadataResponse().fromJson(jsonValue, options);
1172
+ }
1173
+
1174
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSchemaMetadataResponse {
1175
+ return new UpdateSchemaMetadataResponse().fromJsonString(jsonString, options);
1176
+ }
1177
+
1178
+ static equals(a: UpdateSchemaMetadataResponse | PlainMessage<UpdateSchemaMetadataResponse> | undefined, b: UpdateSchemaMetadataResponse | PlainMessage<UpdateSchemaMetadataResponse> | undefined): boolean {
1179
+ return proto3.util.equals(UpdateSchemaMetadataResponse, a, b);
1180
+ }
1181
+ }
1182
+
1183
+ /**
1184
+ * @generated from message raystack.stencil.v1beta1.DeleteSchemaRequest
1185
+ */
1186
+ export class DeleteSchemaRequest extends Message<DeleteSchemaRequest> {
1187
+ /**
1188
+ * @generated from field: string namespace_id = 1;
1189
+ */
1190
+ namespaceId = "";
1191
+
1192
+ /**
1193
+ * @generated from field: string schema_id = 2;
1194
+ */
1195
+ schemaId = "";
1196
+
1197
+ constructor(data?: PartialMessage<DeleteSchemaRequest>) {
1198
+ super();
1199
+ proto3.util.initPartial(data, this);
1200
+ }
1201
+
1202
+ static readonly runtime: typeof proto3 = proto3;
1203
+ static readonly typeName = "raystack.stencil.v1beta1.DeleteSchemaRequest";
1204
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1205
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1206
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1207
+ ]);
1208
+
1209
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSchemaRequest {
1210
+ return new DeleteSchemaRequest().fromBinary(bytes, options);
1211
+ }
1212
+
1213
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSchemaRequest {
1214
+ return new DeleteSchemaRequest().fromJson(jsonValue, options);
1215
+ }
1216
+
1217
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSchemaRequest {
1218
+ return new DeleteSchemaRequest().fromJsonString(jsonString, options);
1219
+ }
1220
+
1221
+ static equals(a: DeleteSchemaRequest | PlainMessage<DeleteSchemaRequest> | undefined, b: DeleteSchemaRequest | PlainMessage<DeleteSchemaRequest> | undefined): boolean {
1222
+ return proto3.util.equals(DeleteSchemaRequest, a, b);
1223
+ }
1224
+ }
1225
+
1226
+ /**
1227
+ * @generated from message raystack.stencil.v1beta1.DeleteSchemaResponse
1228
+ */
1229
+ export class DeleteSchemaResponse extends Message<DeleteSchemaResponse> {
1230
+ /**
1231
+ * @generated from field: string message = 1;
1232
+ */
1233
+ message = "";
1234
+
1235
+ constructor(data?: PartialMessage<DeleteSchemaResponse>) {
1236
+ super();
1237
+ proto3.util.initPartial(data, this);
1238
+ }
1239
+
1240
+ static readonly runtime: typeof proto3 = proto3;
1241
+ static readonly typeName = "raystack.stencil.v1beta1.DeleteSchemaResponse";
1242
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1243
+ { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1244
+ ]);
1245
+
1246
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSchemaResponse {
1247
+ return new DeleteSchemaResponse().fromBinary(bytes, options);
1248
+ }
1249
+
1250
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSchemaResponse {
1251
+ return new DeleteSchemaResponse().fromJson(jsonValue, options);
1252
+ }
1253
+
1254
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSchemaResponse {
1255
+ return new DeleteSchemaResponse().fromJsonString(jsonString, options);
1256
+ }
1257
+
1258
+ static equals(a: DeleteSchemaResponse | PlainMessage<DeleteSchemaResponse> | undefined, b: DeleteSchemaResponse | PlainMessage<DeleteSchemaResponse> | undefined): boolean {
1259
+ return proto3.util.equals(DeleteSchemaResponse, a, b);
1260
+ }
1261
+ }
1262
+
1263
+ /**
1264
+ * @generated from message raystack.stencil.v1beta1.ListVersionsRequest
1265
+ */
1266
+ export class ListVersionsRequest extends Message<ListVersionsRequest> {
1267
+ /**
1268
+ * @generated from field: string namespace_id = 1;
1269
+ */
1270
+ namespaceId = "";
1271
+
1272
+ /**
1273
+ * @generated from field: string schema_id = 2;
1274
+ */
1275
+ schemaId = "";
1276
+
1277
+ constructor(data?: PartialMessage<ListVersionsRequest>) {
1278
+ super();
1279
+ proto3.util.initPartial(data, this);
1280
+ }
1281
+
1282
+ static readonly runtime: typeof proto3 = proto3;
1283
+ static readonly typeName = "raystack.stencil.v1beta1.ListVersionsRequest";
1284
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1285
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1286
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1287
+ ]);
1288
+
1289
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListVersionsRequest {
1290
+ return new ListVersionsRequest().fromBinary(bytes, options);
1291
+ }
1292
+
1293
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListVersionsRequest {
1294
+ return new ListVersionsRequest().fromJson(jsonValue, options);
1295
+ }
1296
+
1297
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListVersionsRequest {
1298
+ return new ListVersionsRequest().fromJsonString(jsonString, options);
1299
+ }
1300
+
1301
+ static equals(a: ListVersionsRequest | PlainMessage<ListVersionsRequest> | undefined, b: ListVersionsRequest | PlainMessage<ListVersionsRequest> | undefined): boolean {
1302
+ return proto3.util.equals(ListVersionsRequest, a, b);
1303
+ }
1304
+ }
1305
+
1306
+ /**
1307
+ * @generated from message raystack.stencil.v1beta1.ListVersionsResponse
1308
+ */
1309
+ export class ListVersionsResponse extends Message<ListVersionsResponse> {
1310
+ /**
1311
+ * @generated from field: repeated int32 versions = 1;
1312
+ */
1313
+ versions: number[] = [];
1314
+
1315
+ constructor(data?: PartialMessage<ListVersionsResponse>) {
1316
+ super();
1317
+ proto3.util.initPartial(data, this);
1318
+ }
1319
+
1320
+ static readonly runtime: typeof proto3 = proto3;
1321
+ static readonly typeName = "raystack.stencil.v1beta1.ListVersionsResponse";
1322
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1323
+ { no: 1, name: "versions", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
1324
+ ]);
1325
+
1326
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListVersionsResponse {
1327
+ return new ListVersionsResponse().fromBinary(bytes, options);
1328
+ }
1329
+
1330
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListVersionsResponse {
1331
+ return new ListVersionsResponse().fromJson(jsonValue, options);
1332
+ }
1333
+
1334
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListVersionsResponse {
1335
+ return new ListVersionsResponse().fromJsonString(jsonString, options);
1336
+ }
1337
+
1338
+ static equals(a: ListVersionsResponse | PlainMessage<ListVersionsResponse> | undefined, b: ListVersionsResponse | PlainMessage<ListVersionsResponse> | undefined): boolean {
1339
+ return proto3.util.equals(ListVersionsResponse, a, b);
1340
+ }
1341
+ }
1342
+
1343
+ /**
1344
+ * @generated from message raystack.stencil.v1beta1.GetSchemaRequest
1345
+ */
1346
+ export class GetSchemaRequest extends Message<GetSchemaRequest> {
1347
+ /**
1348
+ * @generated from field: string namespace_id = 1;
1349
+ */
1350
+ namespaceId = "";
1351
+
1352
+ /**
1353
+ * @generated from field: string schema_id = 2;
1354
+ */
1355
+ schemaId = "";
1356
+
1357
+ /**
1358
+ * @generated from field: int32 version_id = 3;
1359
+ */
1360
+ versionId = 0;
1361
+
1362
+ constructor(data?: PartialMessage<GetSchemaRequest>) {
1363
+ super();
1364
+ proto3.util.initPartial(data, this);
1365
+ }
1366
+
1367
+ static readonly runtime: typeof proto3 = proto3;
1368
+ static readonly typeName = "raystack.stencil.v1beta1.GetSchemaRequest";
1369
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1370
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1371
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1372
+ { no: 3, name: "version_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1373
+ ]);
1374
+
1375
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSchemaRequest {
1376
+ return new GetSchemaRequest().fromBinary(bytes, options);
1377
+ }
1378
+
1379
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSchemaRequest {
1380
+ return new GetSchemaRequest().fromJson(jsonValue, options);
1381
+ }
1382
+
1383
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSchemaRequest {
1384
+ return new GetSchemaRequest().fromJsonString(jsonString, options);
1385
+ }
1386
+
1387
+ static equals(a: GetSchemaRequest | PlainMessage<GetSchemaRequest> | undefined, b: GetSchemaRequest | PlainMessage<GetSchemaRequest> | undefined): boolean {
1388
+ return proto3.util.equals(GetSchemaRequest, a, b);
1389
+ }
1390
+ }
1391
+
1392
+ /**
1393
+ * @generated from message raystack.stencil.v1beta1.GetSchemaResponse
1394
+ */
1395
+ export class GetSchemaResponse extends Message<GetSchemaResponse> {
1396
+ /**
1397
+ * @generated from field: bytes data = 1;
1398
+ */
1399
+ data = new Uint8Array(0);
1400
+
1401
+ constructor(data?: PartialMessage<GetSchemaResponse>) {
1402
+ super();
1403
+ proto3.util.initPartial(data, this);
1404
+ }
1405
+
1406
+ static readonly runtime: typeof proto3 = proto3;
1407
+ static readonly typeName = "raystack.stencil.v1beta1.GetSchemaResponse";
1408
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1409
+ { no: 1, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
1410
+ ]);
1411
+
1412
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSchemaResponse {
1413
+ return new GetSchemaResponse().fromBinary(bytes, options);
1414
+ }
1415
+
1416
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSchemaResponse {
1417
+ return new GetSchemaResponse().fromJson(jsonValue, options);
1418
+ }
1419
+
1420
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSchemaResponse {
1421
+ return new GetSchemaResponse().fromJsonString(jsonString, options);
1422
+ }
1423
+
1424
+ static equals(a: GetSchemaResponse | PlainMessage<GetSchemaResponse> | undefined, b: GetSchemaResponse | PlainMessage<GetSchemaResponse> | undefined): boolean {
1425
+ return proto3.util.equals(GetSchemaResponse, a, b);
1426
+ }
1427
+ }
1428
+
1429
+ /**
1430
+ * @generated from message raystack.stencil.v1beta1.DeleteVersionRequest
1431
+ */
1432
+ export class DeleteVersionRequest extends Message<DeleteVersionRequest> {
1433
+ /**
1434
+ * @generated from field: string namespace_id = 1;
1435
+ */
1436
+ namespaceId = "";
1437
+
1438
+ /**
1439
+ * @generated from field: string schema_id = 2;
1440
+ */
1441
+ schemaId = "";
1442
+
1443
+ /**
1444
+ * @generated from field: int32 version_id = 3;
1445
+ */
1446
+ versionId = 0;
1447
+
1448
+ constructor(data?: PartialMessage<DeleteVersionRequest>) {
1449
+ super();
1450
+ proto3.util.initPartial(data, this);
1451
+ }
1452
+
1453
+ static readonly runtime: typeof proto3 = proto3;
1454
+ static readonly typeName = "raystack.stencil.v1beta1.DeleteVersionRequest";
1455
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1456
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1457
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1458
+ { no: 3, name: "version_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1459
+ ]);
1460
+
1461
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteVersionRequest {
1462
+ return new DeleteVersionRequest().fromBinary(bytes, options);
1463
+ }
1464
+
1465
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteVersionRequest {
1466
+ return new DeleteVersionRequest().fromJson(jsonValue, options);
1467
+ }
1468
+
1469
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteVersionRequest {
1470
+ return new DeleteVersionRequest().fromJsonString(jsonString, options);
1471
+ }
1472
+
1473
+ static equals(a: DeleteVersionRequest | PlainMessage<DeleteVersionRequest> | undefined, b: DeleteVersionRequest | PlainMessage<DeleteVersionRequest> | undefined): boolean {
1474
+ return proto3.util.equals(DeleteVersionRequest, a, b);
1475
+ }
1476
+ }
1477
+
1478
+ /**
1479
+ * @generated from message raystack.stencil.v1beta1.DeleteVersionResponse
1480
+ */
1481
+ export class DeleteVersionResponse extends Message<DeleteVersionResponse> {
1482
+ /**
1483
+ * @generated from field: string message = 1;
1484
+ */
1485
+ message = "";
1486
+
1487
+ constructor(data?: PartialMessage<DeleteVersionResponse>) {
1488
+ super();
1489
+ proto3.util.initPartial(data, this);
1490
+ }
1491
+
1492
+ static readonly runtime: typeof proto3 = proto3;
1493
+ static readonly typeName = "raystack.stencil.v1beta1.DeleteVersionResponse";
1494
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1495
+ { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1496
+ ]);
1497
+
1498
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteVersionResponse {
1499
+ return new DeleteVersionResponse().fromBinary(bytes, options);
1500
+ }
1501
+
1502
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteVersionResponse {
1503
+ return new DeleteVersionResponse().fromJson(jsonValue, options);
1504
+ }
1505
+
1506
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteVersionResponse {
1507
+ return new DeleteVersionResponse().fromJsonString(jsonString, options);
1508
+ }
1509
+
1510
+ static equals(a: DeleteVersionResponse | PlainMessage<DeleteVersionResponse> | undefined, b: DeleteVersionResponse | PlainMessage<DeleteVersionResponse> | undefined): boolean {
1511
+ return proto3.util.equals(DeleteVersionResponse, a, b);
1512
+ }
1513
+ }
1514
+
1515
+ /**
1516
+ * @generated from message raystack.stencil.v1beta1.SearchRequest
1517
+ */
1518
+ export class SearchRequest extends Message<SearchRequest> {
1519
+ /**
1520
+ * @generated from field: string namespace_id = 1;
1521
+ */
1522
+ namespaceId = "";
1523
+
1524
+ /**
1525
+ * @generated from field: string schema_id = 2;
1526
+ */
1527
+ schemaId = "";
1528
+
1529
+ /**
1530
+ * @generated from field: string query = 3;
1531
+ */
1532
+ query = "";
1533
+
1534
+ /**
1535
+ * @generated from oneof raystack.stencil.v1beta1.SearchRequest.version
1536
+ */
1537
+ version: {
1538
+ /**
1539
+ * @generated from field: bool history = 4;
1540
+ */
1541
+ value: boolean;
1542
+ case: "history";
1543
+ } | {
1544
+ /**
1545
+ * @generated from field: int32 version_id = 5;
1546
+ */
1547
+ value: number;
1548
+ case: "versionId";
1549
+ } | { case: undefined; value?: undefined } = { case: undefined };
1550
+
1551
+ constructor(data?: PartialMessage<SearchRequest>) {
1552
+ super();
1553
+ proto3.util.initPartial(data, this);
1554
+ }
1555
+
1556
+ static readonly runtime: typeof proto3 = proto3;
1557
+ static readonly typeName = "raystack.stencil.v1beta1.SearchRequest";
1558
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1559
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1560
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1561
+ { no: 3, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1562
+ { no: 4, name: "history", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "version" },
1563
+ { no: 5, name: "version_id", kind: "scalar", T: 5 /* ScalarType.INT32 */, oneof: "version" },
1564
+ ]);
1565
+
1566
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchRequest {
1567
+ return new SearchRequest().fromBinary(bytes, options);
1568
+ }
1569
+
1570
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchRequest {
1571
+ return new SearchRequest().fromJson(jsonValue, options);
1572
+ }
1573
+
1574
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchRequest {
1575
+ return new SearchRequest().fromJsonString(jsonString, options);
1576
+ }
1577
+
1578
+ static equals(a: SearchRequest | PlainMessage<SearchRequest> | undefined, b: SearchRequest | PlainMessage<SearchRequest> | undefined): boolean {
1579
+ return proto3.util.equals(SearchRequest, a, b);
1580
+ }
1581
+ }
1582
+
1583
+ /**
1584
+ * @generated from message raystack.stencil.v1beta1.SearchResponse
1585
+ */
1586
+ export class SearchResponse extends Message<SearchResponse> {
1587
+ /**
1588
+ * @generated from field: repeated raystack.stencil.v1beta1.SearchHits hits = 1;
1589
+ */
1590
+ hits: SearchHits[] = [];
1591
+
1592
+ /**
1593
+ * @generated from field: raystack.stencil.v1beta1.SearchMeta meta = 2;
1594
+ */
1595
+ meta?: SearchMeta;
1596
+
1597
+ constructor(data?: PartialMessage<SearchResponse>) {
1598
+ super();
1599
+ proto3.util.initPartial(data, this);
1600
+ }
1601
+
1602
+ static readonly runtime: typeof proto3 = proto3;
1603
+ static readonly typeName = "raystack.stencil.v1beta1.SearchResponse";
1604
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1605
+ { no: 1, name: "hits", kind: "message", T: SearchHits, repeated: true },
1606
+ { no: 2, name: "meta", kind: "message", T: SearchMeta },
1607
+ ]);
1608
+
1609
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchResponse {
1610
+ return new SearchResponse().fromBinary(bytes, options);
1611
+ }
1612
+
1613
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchResponse {
1614
+ return new SearchResponse().fromJson(jsonValue, options);
1615
+ }
1616
+
1617
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchResponse {
1618
+ return new SearchResponse().fromJsonString(jsonString, options);
1619
+ }
1620
+
1621
+ static equals(a: SearchResponse | PlainMessage<SearchResponse> | undefined, b: SearchResponse | PlainMessage<SearchResponse> | undefined): boolean {
1622
+ return proto3.util.equals(SearchResponse, a, b);
1623
+ }
1624
+ }
1625
+
1626
+ /**
1627
+ * @generated from message raystack.stencil.v1beta1.SearchHits
1628
+ */
1629
+ export class SearchHits extends Message<SearchHits> {
1630
+ /**
1631
+ * @generated from field: string namespace_id = 1;
1632
+ */
1633
+ namespaceId = "";
1634
+
1635
+ /**
1636
+ * @generated from field: string schema_id = 2;
1637
+ */
1638
+ schemaId = "";
1639
+
1640
+ /**
1641
+ * @generated from field: int32 version_id = 3;
1642
+ */
1643
+ versionId = 0;
1644
+
1645
+ /**
1646
+ * @generated from field: repeated string fields = 4;
1647
+ */
1648
+ fields: string[] = [];
1649
+
1650
+ /**
1651
+ * @generated from field: repeated string types = 5;
1652
+ */
1653
+ types: string[] = [];
1654
+
1655
+ /**
1656
+ * @generated from field: string path = 6;
1657
+ */
1658
+ path = "";
1659
+
1660
+ constructor(data?: PartialMessage<SearchHits>) {
1661
+ super();
1662
+ proto3.util.initPartial(data, this);
1663
+ }
1664
+
1665
+ static readonly runtime: typeof proto3 = proto3;
1666
+ static readonly typeName = "raystack.stencil.v1beta1.SearchHits";
1667
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1668
+ { no: 1, name: "namespace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1669
+ { no: 2, name: "schema_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1670
+ { no: 3, name: "version_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1671
+ { no: 4, name: "fields", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1672
+ { no: 5, name: "types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1673
+ { no: 6, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1674
+ ]);
1675
+
1676
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchHits {
1677
+ return new SearchHits().fromBinary(bytes, options);
1678
+ }
1679
+
1680
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchHits {
1681
+ return new SearchHits().fromJson(jsonValue, options);
1682
+ }
1683
+
1684
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchHits {
1685
+ return new SearchHits().fromJsonString(jsonString, options);
1686
+ }
1687
+
1688
+ static equals(a: SearchHits | PlainMessage<SearchHits> | undefined, b: SearchHits | PlainMessage<SearchHits> | undefined): boolean {
1689
+ return proto3.util.equals(SearchHits, a, b);
1690
+ }
1691
+ }
1692
+
1693
+ /**
1694
+ * @generated from message raystack.stencil.v1beta1.SearchMeta
1695
+ */
1696
+ export class SearchMeta extends Message<SearchMeta> {
1697
+ /**
1698
+ * @generated from field: uint32 total = 1;
1699
+ */
1700
+ total = 0;
1701
+
1702
+ constructor(data?: PartialMessage<SearchMeta>) {
1703
+ super();
1704
+ proto3.util.initPartial(data, this);
1705
+ }
1706
+
1707
+ static readonly runtime: typeof proto3 = proto3;
1708
+ static readonly typeName = "raystack.stencil.v1beta1.SearchMeta";
1709
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1710
+ { no: 1, name: "total", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1711
+ ]);
1712
+
1713
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchMeta {
1714
+ return new SearchMeta().fromBinary(bytes, options);
1715
+ }
1716
+
1717
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchMeta {
1718
+ return new SearchMeta().fromJson(jsonValue, options);
1719
+ }
1720
+
1721
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchMeta {
1722
+ return new SearchMeta().fromJsonString(jsonString, options);
1723
+ }
1724
+
1725
+ static equals(a: SearchMeta | PlainMessage<SearchMeta> | undefined, b: SearchMeta | PlainMessage<SearchMeta> | undefined): boolean {
1726
+ return proto3.util.equals(SearchMeta, a, b);
1727
+ }
1728
+ }
1729
+