@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,1092 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
2
+ // @generated from file raystack/entropy/v1beta1/resource.proto (package raystack.entropy.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, Value } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from message raystack.entropy.v1beta1.ResourceDependency
11
+ */
12
+ export class ResourceDependency extends Message<ResourceDependency> {
13
+ /**
14
+ * Key should be as defined by the module being used for
15
+ * the resource.
16
+ *
17
+ * @generated from field: string key = 1;
18
+ */
19
+ key = "";
20
+
21
+ /**
22
+ * Value should refer to an existing resource via URN.
23
+ *
24
+ * @generated from field: string value = 2;
25
+ */
26
+ value = "";
27
+
28
+ constructor(data?: PartialMessage<ResourceDependency>) {
29
+ super();
30
+ proto3.util.initPartial(data, this);
31
+ }
32
+
33
+ static readonly runtime: typeof proto3 = proto3;
34
+ static readonly typeName = "raystack.entropy.v1beta1.ResourceDependency";
35
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
36
+ { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
37
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
38
+ ]);
39
+
40
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResourceDependency {
41
+ return new ResourceDependency().fromBinary(bytes, options);
42
+ }
43
+
44
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResourceDependency {
45
+ return new ResourceDependency().fromJson(jsonValue, options);
46
+ }
47
+
48
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResourceDependency {
49
+ return new ResourceDependency().fromJsonString(jsonString, options);
50
+ }
51
+
52
+ static equals(a: ResourceDependency | PlainMessage<ResourceDependency> | undefined, b: ResourceDependency | PlainMessage<ResourceDependency> | undefined): boolean {
53
+ return proto3.util.equals(ResourceDependency, a, b);
54
+ }
55
+ }
56
+
57
+ /**
58
+ * @generated from message raystack.entropy.v1beta1.ResourceSpec
59
+ */
60
+ export class ResourceSpec extends Message<ResourceSpec> {
61
+ /**
62
+ * @generated from field: google.protobuf.Value configs = 1;
63
+ */
64
+ configs?: Value;
65
+
66
+ /**
67
+ * dependencies can be used to refer to other existing resources
68
+ * as dependency of this resource.
69
+ *
70
+ * @generated from field: repeated raystack.entropy.v1beta1.ResourceDependency dependencies = 2;
71
+ */
72
+ dependencies: ResourceDependency[] = [];
73
+
74
+ constructor(data?: PartialMessage<ResourceSpec>) {
75
+ super();
76
+ proto3.util.initPartial(data, this);
77
+ }
78
+
79
+ static readonly runtime: typeof proto3 = proto3;
80
+ static readonly typeName = "raystack.entropy.v1beta1.ResourceSpec";
81
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
82
+ { no: 1, name: "configs", kind: "message", T: Value },
83
+ { no: 2, name: "dependencies", kind: "message", T: ResourceDependency, repeated: true },
84
+ ]);
85
+
86
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResourceSpec {
87
+ return new ResourceSpec().fromBinary(bytes, options);
88
+ }
89
+
90
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResourceSpec {
91
+ return new ResourceSpec().fromJson(jsonValue, options);
92
+ }
93
+
94
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResourceSpec {
95
+ return new ResourceSpec().fromJsonString(jsonString, options);
96
+ }
97
+
98
+ static equals(a: ResourceSpec | PlainMessage<ResourceSpec> | undefined, b: ResourceSpec | PlainMessage<ResourceSpec> | undefined): boolean {
99
+ return proto3.util.equals(ResourceSpec, a, b);
100
+ }
101
+ }
102
+
103
+ /**
104
+ * @generated from message raystack.entropy.v1beta1.ListString
105
+ */
106
+ export class ListString extends Message<ListString> {
107
+ /**
108
+ * @generated from field: repeated string values = 1;
109
+ */
110
+ values: string[] = [];
111
+
112
+ constructor(data?: PartialMessage<ListString>) {
113
+ super();
114
+ proto3.util.initPartial(data, this);
115
+ }
116
+
117
+ static readonly runtime: typeof proto3 = proto3;
118
+ static readonly typeName = "raystack.entropy.v1beta1.ListString";
119
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
120
+ { no: 1, name: "values", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
121
+ ]);
122
+
123
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListString {
124
+ return new ListString().fromBinary(bytes, options);
125
+ }
126
+
127
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListString {
128
+ return new ListString().fromJson(jsonValue, options);
129
+ }
130
+
131
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListString {
132
+ return new ListString().fromJsonString(jsonString, options);
133
+ }
134
+
135
+ static equals(a: ListString | PlainMessage<ListString> | undefined, b: ListString | PlainMessage<ListString> | undefined): boolean {
136
+ return proto3.util.equals(ListString, a, b);
137
+ }
138
+ }
139
+
140
+ /**
141
+ * @generated from message raystack.entropy.v1beta1.LogOptions
142
+ */
143
+ export class LogOptions extends Message<LogOptions> {
144
+ /**
145
+ * @generated from field: map<string, raystack.entropy.v1beta1.ListString> filters = 1;
146
+ */
147
+ filters: { [key: string]: ListString } = {};
148
+
149
+ constructor(data?: PartialMessage<LogOptions>) {
150
+ super();
151
+ proto3.util.initPartial(data, this);
152
+ }
153
+
154
+ static readonly runtime: typeof proto3 = proto3;
155
+ static readonly typeName = "raystack.entropy.v1beta1.LogOptions";
156
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
157
+ { no: 1, name: "filters", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: ListString} },
158
+ ]);
159
+
160
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LogOptions {
161
+ return new LogOptions().fromBinary(bytes, options);
162
+ }
163
+
164
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LogOptions {
165
+ return new LogOptions().fromJson(jsonValue, options);
166
+ }
167
+
168
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LogOptions {
169
+ return new LogOptions().fromJsonString(jsonString, options);
170
+ }
171
+
172
+ static equals(a: LogOptions | PlainMessage<LogOptions> | undefined, b: LogOptions | PlainMessage<LogOptions> | undefined): boolean {
173
+ return proto3.util.equals(LogOptions, a, b);
174
+ }
175
+ }
176
+
177
+ /**
178
+ * @generated from message raystack.entropy.v1beta1.ResourceState
179
+ */
180
+ export class ResourceState extends Message<ResourceState> {
181
+ /**
182
+ * @generated from field: raystack.entropy.v1beta1.ResourceState.Status status = 1;
183
+ */
184
+ status = ResourceState_Status.UNSPECIFIED;
185
+
186
+ /**
187
+ * @generated from field: google.protobuf.Value output = 2;
188
+ */
189
+ output?: Value;
190
+
191
+ /**
192
+ * @generated from field: bytes module_data = 3;
193
+ */
194
+ moduleData = new Uint8Array(0);
195
+
196
+ /**
197
+ * @generated from field: raystack.entropy.v1beta1.LogOptions log_options = 4;
198
+ */
199
+ logOptions?: LogOptions;
200
+
201
+ constructor(data?: PartialMessage<ResourceState>) {
202
+ super();
203
+ proto3.util.initPartial(data, this);
204
+ }
205
+
206
+ static readonly runtime: typeof proto3 = proto3;
207
+ static readonly typeName = "raystack.entropy.v1beta1.ResourceState";
208
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
209
+ { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(ResourceState_Status) },
210
+ { no: 2, name: "output", kind: "message", T: Value },
211
+ { no: 3, name: "module_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
212
+ { no: 4, name: "log_options", kind: "message", T: LogOptions },
213
+ ]);
214
+
215
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResourceState {
216
+ return new ResourceState().fromBinary(bytes, options);
217
+ }
218
+
219
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResourceState {
220
+ return new ResourceState().fromJson(jsonValue, options);
221
+ }
222
+
223
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResourceState {
224
+ return new ResourceState().fromJsonString(jsonString, options);
225
+ }
226
+
227
+ static equals(a: ResourceState | PlainMessage<ResourceState> | undefined, b: ResourceState | PlainMessage<ResourceState> | undefined): boolean {
228
+ return proto3.util.equals(ResourceState, a, b);
229
+ }
230
+ }
231
+
232
+ /**
233
+ * @generated from enum raystack.entropy.v1beta1.ResourceState.Status
234
+ */
235
+ export enum ResourceState_Status {
236
+ /**
237
+ * @generated from enum value: STATUS_UNSPECIFIED = 0;
238
+ */
239
+ UNSPECIFIED = 0,
240
+
241
+ /**
242
+ * @generated from enum value: STATUS_PENDING = 1;
243
+ */
244
+ PENDING = 1,
245
+
246
+ /**
247
+ * @generated from enum value: STATUS_ERROR = 2;
248
+ */
249
+ ERROR = 2,
250
+
251
+ /**
252
+ * @generated from enum value: STATUS_DELETED = 3;
253
+ */
254
+ DELETED = 3,
255
+
256
+ /**
257
+ * @generated from enum value: STATUS_COMPLETED = 4;
258
+ */
259
+ COMPLETED = 4,
260
+ }
261
+ // Retrieve enum metadata with: proto3.getEnumType(ResourceState_Status)
262
+ proto3.util.setEnumType(ResourceState_Status, "raystack.entropy.v1beta1.ResourceState.Status", [
263
+ { no: 0, name: "STATUS_UNSPECIFIED" },
264
+ { no: 1, name: "STATUS_PENDING" },
265
+ { no: 2, name: "STATUS_ERROR" },
266
+ { no: 3, name: "STATUS_DELETED" },
267
+ { no: 4, name: "STATUS_COMPLETED" },
268
+ ]);
269
+
270
+ /**
271
+ * @generated from message raystack.entropy.v1beta1.Resource
272
+ */
273
+ export class Resource extends Message<Resource> {
274
+ /**
275
+ * @generated from field: string urn = 1;
276
+ */
277
+ urn = "";
278
+
279
+ /**
280
+ * @generated from field: string kind = 2;
281
+ */
282
+ kind = "";
283
+
284
+ /**
285
+ * @generated from field: string name = 3;
286
+ */
287
+ name = "";
288
+
289
+ /**
290
+ * @generated from field: string project = 4;
291
+ */
292
+ project = "";
293
+
294
+ /**
295
+ * @generated from field: map<string, string> labels = 5;
296
+ */
297
+ labels: { [key: string]: string } = {};
298
+
299
+ /**
300
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
301
+ */
302
+ createdAt?: Timestamp;
303
+
304
+ /**
305
+ * @generated from field: google.protobuf.Timestamp updated_at = 7;
306
+ */
307
+ updatedAt?: Timestamp;
308
+
309
+ /**
310
+ * @generated from field: raystack.entropy.v1beta1.ResourceSpec spec = 8;
311
+ */
312
+ spec?: ResourceSpec;
313
+
314
+ /**
315
+ * @generated from field: raystack.entropy.v1beta1.ResourceState state = 9;
316
+ */
317
+ state?: ResourceState;
318
+
319
+ constructor(data?: PartialMessage<Resource>) {
320
+ super();
321
+ proto3.util.initPartial(data, this);
322
+ }
323
+
324
+ static readonly runtime: typeof proto3 = proto3;
325
+ static readonly typeName = "raystack.entropy.v1beta1.Resource";
326
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
327
+ { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
328
+ { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
329
+ { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
330
+ { no: 4, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ },
331
+ { no: 5, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
332
+ { no: 6, name: "created_at", kind: "message", T: Timestamp },
333
+ { no: 7, name: "updated_at", kind: "message", T: Timestamp },
334
+ { no: 8, name: "spec", kind: "message", T: ResourceSpec },
335
+ { no: 9, name: "state", kind: "message", T: ResourceState },
336
+ ]);
337
+
338
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Resource {
339
+ return new Resource().fromBinary(bytes, options);
340
+ }
341
+
342
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Resource {
343
+ return new Resource().fromJson(jsonValue, options);
344
+ }
345
+
346
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Resource {
347
+ return new Resource().fromJsonString(jsonString, options);
348
+ }
349
+
350
+ static equals(a: Resource | PlainMessage<Resource> | undefined, b: Resource | PlainMessage<Resource> | undefined): boolean {
351
+ return proto3.util.equals(Resource, a, b);
352
+ }
353
+ }
354
+
355
+ /**
356
+ * @generated from message raystack.entropy.v1beta1.ListResourcesRequest
357
+ */
358
+ export class ListResourcesRequest extends Message<ListResourcesRequest> {
359
+ /**
360
+ * @generated from field: string project = 1;
361
+ */
362
+ project = "";
363
+
364
+ /**
365
+ * @generated from field: string kind = 2;
366
+ */
367
+ kind = "";
368
+
369
+ constructor(data?: PartialMessage<ListResourcesRequest>) {
370
+ super();
371
+ proto3.util.initPartial(data, this);
372
+ }
373
+
374
+ static readonly runtime: typeof proto3 = proto3;
375
+ static readonly typeName = "raystack.entropy.v1beta1.ListResourcesRequest";
376
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
377
+ { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ },
378
+ { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
379
+ ]);
380
+
381
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListResourcesRequest {
382
+ return new ListResourcesRequest().fromBinary(bytes, options);
383
+ }
384
+
385
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListResourcesRequest {
386
+ return new ListResourcesRequest().fromJson(jsonValue, options);
387
+ }
388
+
389
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListResourcesRequest {
390
+ return new ListResourcesRequest().fromJsonString(jsonString, options);
391
+ }
392
+
393
+ static equals(a: ListResourcesRequest | PlainMessage<ListResourcesRequest> | undefined, b: ListResourcesRequest | PlainMessage<ListResourcesRequest> | undefined): boolean {
394
+ return proto3.util.equals(ListResourcesRequest, a, b);
395
+ }
396
+ }
397
+
398
+ /**
399
+ * @generated from message raystack.entropy.v1beta1.ListResourcesResponse
400
+ */
401
+ export class ListResourcesResponse extends Message<ListResourcesResponse> {
402
+ /**
403
+ * @generated from field: repeated raystack.entropy.v1beta1.Resource resources = 1;
404
+ */
405
+ resources: Resource[] = [];
406
+
407
+ constructor(data?: PartialMessage<ListResourcesResponse>) {
408
+ super();
409
+ proto3.util.initPartial(data, this);
410
+ }
411
+
412
+ static readonly runtime: typeof proto3 = proto3;
413
+ static readonly typeName = "raystack.entropy.v1beta1.ListResourcesResponse";
414
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
415
+ { no: 1, name: "resources", kind: "message", T: Resource, repeated: true },
416
+ ]);
417
+
418
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListResourcesResponse {
419
+ return new ListResourcesResponse().fromBinary(bytes, options);
420
+ }
421
+
422
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListResourcesResponse {
423
+ return new ListResourcesResponse().fromJson(jsonValue, options);
424
+ }
425
+
426
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListResourcesResponse {
427
+ return new ListResourcesResponse().fromJsonString(jsonString, options);
428
+ }
429
+
430
+ static equals(a: ListResourcesResponse | PlainMessage<ListResourcesResponse> | undefined, b: ListResourcesResponse | PlainMessage<ListResourcesResponse> | undefined): boolean {
431
+ return proto3.util.equals(ListResourcesResponse, a, b);
432
+ }
433
+ }
434
+
435
+ /**
436
+ * @generated from message raystack.entropy.v1beta1.GetResourceRequest
437
+ */
438
+ export class GetResourceRequest extends Message<GetResourceRequest> {
439
+ /**
440
+ * @generated from field: string urn = 1;
441
+ */
442
+ urn = "";
443
+
444
+ constructor(data?: PartialMessage<GetResourceRequest>) {
445
+ super();
446
+ proto3.util.initPartial(data, this);
447
+ }
448
+
449
+ static readonly runtime: typeof proto3 = proto3;
450
+ static readonly typeName = "raystack.entropy.v1beta1.GetResourceRequest";
451
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
452
+ { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
453
+ ]);
454
+
455
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetResourceRequest {
456
+ return new GetResourceRequest().fromBinary(bytes, options);
457
+ }
458
+
459
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetResourceRequest {
460
+ return new GetResourceRequest().fromJson(jsonValue, options);
461
+ }
462
+
463
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetResourceRequest {
464
+ return new GetResourceRequest().fromJsonString(jsonString, options);
465
+ }
466
+
467
+ static equals(a: GetResourceRequest | PlainMessage<GetResourceRequest> | undefined, b: GetResourceRequest | PlainMessage<GetResourceRequest> | undefined): boolean {
468
+ return proto3.util.equals(GetResourceRequest, a, b);
469
+ }
470
+ }
471
+
472
+ /**
473
+ * @generated from message raystack.entropy.v1beta1.GetResourceResponse
474
+ */
475
+ export class GetResourceResponse extends Message<GetResourceResponse> {
476
+ /**
477
+ * @generated from field: raystack.entropy.v1beta1.Resource resource = 1;
478
+ */
479
+ resource?: Resource;
480
+
481
+ constructor(data?: PartialMessage<GetResourceResponse>) {
482
+ super();
483
+ proto3.util.initPartial(data, this);
484
+ }
485
+
486
+ static readonly runtime: typeof proto3 = proto3;
487
+ static readonly typeName = "raystack.entropy.v1beta1.GetResourceResponse";
488
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
489
+ { no: 1, name: "resource", kind: "message", T: Resource },
490
+ ]);
491
+
492
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetResourceResponse {
493
+ return new GetResourceResponse().fromBinary(bytes, options);
494
+ }
495
+
496
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetResourceResponse {
497
+ return new GetResourceResponse().fromJson(jsonValue, options);
498
+ }
499
+
500
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetResourceResponse {
501
+ return new GetResourceResponse().fromJsonString(jsonString, options);
502
+ }
503
+
504
+ static equals(a: GetResourceResponse | PlainMessage<GetResourceResponse> | undefined, b: GetResourceResponse | PlainMessage<GetResourceResponse> | undefined): boolean {
505
+ return proto3.util.equals(GetResourceResponse, a, b);
506
+ }
507
+ }
508
+
509
+ /**
510
+ * @generated from message raystack.entropy.v1beta1.CreateResourceRequest
511
+ */
512
+ export class CreateResourceRequest extends Message<CreateResourceRequest> {
513
+ /**
514
+ * @generated from field: raystack.entropy.v1beta1.Resource resource = 1;
515
+ */
516
+ resource?: Resource;
517
+
518
+ constructor(data?: PartialMessage<CreateResourceRequest>) {
519
+ super();
520
+ proto3.util.initPartial(data, this);
521
+ }
522
+
523
+ static readonly runtime: typeof proto3 = proto3;
524
+ static readonly typeName = "raystack.entropy.v1beta1.CreateResourceRequest";
525
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
526
+ { no: 1, name: "resource", kind: "message", T: Resource },
527
+ ]);
528
+
529
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateResourceRequest {
530
+ return new CreateResourceRequest().fromBinary(bytes, options);
531
+ }
532
+
533
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateResourceRequest {
534
+ return new CreateResourceRequest().fromJson(jsonValue, options);
535
+ }
536
+
537
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateResourceRequest {
538
+ return new CreateResourceRequest().fromJsonString(jsonString, options);
539
+ }
540
+
541
+ static equals(a: CreateResourceRequest | PlainMessage<CreateResourceRequest> | undefined, b: CreateResourceRequest | PlainMessage<CreateResourceRequest> | undefined): boolean {
542
+ return proto3.util.equals(CreateResourceRequest, a, b);
543
+ }
544
+ }
545
+
546
+ /**
547
+ * @generated from message raystack.entropy.v1beta1.CreateResourceResponse
548
+ */
549
+ export class CreateResourceResponse extends Message<CreateResourceResponse> {
550
+ /**
551
+ * @generated from field: raystack.entropy.v1beta1.Resource resource = 1;
552
+ */
553
+ resource?: Resource;
554
+
555
+ constructor(data?: PartialMessage<CreateResourceResponse>) {
556
+ super();
557
+ proto3.util.initPartial(data, this);
558
+ }
559
+
560
+ static readonly runtime: typeof proto3 = proto3;
561
+ static readonly typeName = "raystack.entropy.v1beta1.CreateResourceResponse";
562
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
563
+ { no: 1, name: "resource", kind: "message", T: Resource },
564
+ ]);
565
+
566
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateResourceResponse {
567
+ return new CreateResourceResponse().fromBinary(bytes, options);
568
+ }
569
+
570
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateResourceResponse {
571
+ return new CreateResourceResponse().fromJson(jsonValue, options);
572
+ }
573
+
574
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateResourceResponse {
575
+ return new CreateResourceResponse().fromJsonString(jsonString, options);
576
+ }
577
+
578
+ static equals(a: CreateResourceResponse | PlainMessage<CreateResourceResponse> | undefined, b: CreateResourceResponse | PlainMessage<CreateResourceResponse> | undefined): boolean {
579
+ return proto3.util.equals(CreateResourceResponse, a, b);
580
+ }
581
+ }
582
+
583
+ /**
584
+ * @generated from message raystack.entropy.v1beta1.UpdateResourceRequest
585
+ */
586
+ export class UpdateResourceRequest extends Message<UpdateResourceRequest> {
587
+ /**
588
+ * @generated from field: string urn = 1;
589
+ */
590
+ urn = "";
591
+
592
+ /**
593
+ * @generated from field: raystack.entropy.v1beta1.ResourceSpec new_spec = 2;
594
+ */
595
+ newSpec?: ResourceSpec;
596
+
597
+ /**
598
+ * @generated from field: map<string, string> labels = 3;
599
+ */
600
+ labels: { [key: string]: string } = {};
601
+
602
+ constructor(data?: PartialMessage<UpdateResourceRequest>) {
603
+ super();
604
+ proto3.util.initPartial(data, this);
605
+ }
606
+
607
+ static readonly runtime: typeof proto3 = proto3;
608
+ static readonly typeName = "raystack.entropy.v1beta1.UpdateResourceRequest";
609
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
610
+ { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
611
+ { no: 2, name: "new_spec", kind: "message", T: ResourceSpec },
612
+ { no: 3, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
613
+ ]);
614
+
615
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateResourceRequest {
616
+ return new UpdateResourceRequest().fromBinary(bytes, options);
617
+ }
618
+
619
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateResourceRequest {
620
+ return new UpdateResourceRequest().fromJson(jsonValue, options);
621
+ }
622
+
623
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateResourceRequest {
624
+ return new UpdateResourceRequest().fromJsonString(jsonString, options);
625
+ }
626
+
627
+ static equals(a: UpdateResourceRequest | PlainMessage<UpdateResourceRequest> | undefined, b: UpdateResourceRequest | PlainMessage<UpdateResourceRequest> | undefined): boolean {
628
+ return proto3.util.equals(UpdateResourceRequest, a, b);
629
+ }
630
+ }
631
+
632
+ /**
633
+ * @generated from message raystack.entropy.v1beta1.UpdateResourceResponse
634
+ */
635
+ export class UpdateResourceResponse extends Message<UpdateResourceResponse> {
636
+ /**
637
+ * @generated from field: raystack.entropy.v1beta1.Resource resource = 1;
638
+ */
639
+ resource?: Resource;
640
+
641
+ constructor(data?: PartialMessage<UpdateResourceResponse>) {
642
+ super();
643
+ proto3.util.initPartial(data, this);
644
+ }
645
+
646
+ static readonly runtime: typeof proto3 = proto3;
647
+ static readonly typeName = "raystack.entropy.v1beta1.UpdateResourceResponse";
648
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
649
+ { no: 1, name: "resource", kind: "message", T: Resource },
650
+ ]);
651
+
652
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateResourceResponse {
653
+ return new UpdateResourceResponse().fromBinary(bytes, options);
654
+ }
655
+
656
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateResourceResponse {
657
+ return new UpdateResourceResponse().fromJson(jsonValue, options);
658
+ }
659
+
660
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateResourceResponse {
661
+ return new UpdateResourceResponse().fromJsonString(jsonString, options);
662
+ }
663
+
664
+ static equals(a: UpdateResourceResponse | PlainMessage<UpdateResourceResponse> | undefined, b: UpdateResourceResponse | PlainMessage<UpdateResourceResponse> | undefined): boolean {
665
+ return proto3.util.equals(UpdateResourceResponse, a, b);
666
+ }
667
+ }
668
+
669
+ /**
670
+ * @generated from message raystack.entropy.v1beta1.DeleteResourceRequest
671
+ */
672
+ export class DeleteResourceRequest extends Message<DeleteResourceRequest> {
673
+ /**
674
+ * @generated from field: string urn = 1;
675
+ */
676
+ urn = "";
677
+
678
+ constructor(data?: PartialMessage<DeleteResourceRequest>) {
679
+ super();
680
+ proto3.util.initPartial(data, this);
681
+ }
682
+
683
+ static readonly runtime: typeof proto3 = proto3;
684
+ static readonly typeName = "raystack.entropy.v1beta1.DeleteResourceRequest";
685
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
686
+ { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
687
+ ]);
688
+
689
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteResourceRequest {
690
+ return new DeleteResourceRequest().fromBinary(bytes, options);
691
+ }
692
+
693
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteResourceRequest {
694
+ return new DeleteResourceRequest().fromJson(jsonValue, options);
695
+ }
696
+
697
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteResourceRequest {
698
+ return new DeleteResourceRequest().fromJsonString(jsonString, options);
699
+ }
700
+
701
+ static equals(a: DeleteResourceRequest | PlainMessage<DeleteResourceRequest> | undefined, b: DeleteResourceRequest | PlainMessage<DeleteResourceRequest> | undefined): boolean {
702
+ return proto3.util.equals(DeleteResourceRequest, a, b);
703
+ }
704
+ }
705
+
706
+ /**
707
+ * @generated from message raystack.entropy.v1beta1.DeleteResourceResponse
708
+ */
709
+ export class DeleteResourceResponse extends Message<DeleteResourceResponse> {
710
+ constructor(data?: PartialMessage<DeleteResourceResponse>) {
711
+ super();
712
+ proto3.util.initPartial(data, this);
713
+ }
714
+
715
+ static readonly runtime: typeof proto3 = proto3;
716
+ static readonly typeName = "raystack.entropy.v1beta1.DeleteResourceResponse";
717
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
718
+ ]);
719
+
720
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteResourceResponse {
721
+ return new DeleteResourceResponse().fromBinary(bytes, options);
722
+ }
723
+
724
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteResourceResponse {
725
+ return new DeleteResourceResponse().fromJson(jsonValue, options);
726
+ }
727
+
728
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteResourceResponse {
729
+ return new DeleteResourceResponse().fromJsonString(jsonString, options);
730
+ }
731
+
732
+ static equals(a: DeleteResourceResponse | PlainMessage<DeleteResourceResponse> | undefined, b: DeleteResourceResponse | PlainMessage<DeleteResourceResponse> | undefined): boolean {
733
+ return proto3.util.equals(DeleteResourceResponse, a, b);
734
+ }
735
+ }
736
+
737
+ /**
738
+ * @generated from message raystack.entropy.v1beta1.ApplyActionRequest
739
+ */
740
+ export class ApplyActionRequest extends Message<ApplyActionRequest> {
741
+ /**
742
+ * @generated from field: string urn = 1;
743
+ */
744
+ urn = "";
745
+
746
+ /**
747
+ * @generated from field: string action = 2;
748
+ */
749
+ action = "";
750
+
751
+ /**
752
+ * @generated from field: google.protobuf.Value params = 3;
753
+ */
754
+ params?: Value;
755
+
756
+ /**
757
+ * @generated from field: map<string, string> labels = 4;
758
+ */
759
+ labels: { [key: string]: string } = {};
760
+
761
+ constructor(data?: PartialMessage<ApplyActionRequest>) {
762
+ super();
763
+ proto3.util.initPartial(data, this);
764
+ }
765
+
766
+ static readonly runtime: typeof proto3 = proto3;
767
+ static readonly typeName = "raystack.entropy.v1beta1.ApplyActionRequest";
768
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
769
+ { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
770
+ { no: 2, name: "action", kind: "scalar", T: 9 /* ScalarType.STRING */ },
771
+ { no: 3, name: "params", kind: "message", T: Value },
772
+ { no: 4, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
773
+ ]);
774
+
775
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplyActionRequest {
776
+ return new ApplyActionRequest().fromBinary(bytes, options);
777
+ }
778
+
779
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplyActionRequest {
780
+ return new ApplyActionRequest().fromJson(jsonValue, options);
781
+ }
782
+
783
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplyActionRequest {
784
+ return new ApplyActionRequest().fromJsonString(jsonString, options);
785
+ }
786
+
787
+ static equals(a: ApplyActionRequest | PlainMessage<ApplyActionRequest> | undefined, b: ApplyActionRequest | PlainMessage<ApplyActionRequest> | undefined): boolean {
788
+ return proto3.util.equals(ApplyActionRequest, a, b);
789
+ }
790
+ }
791
+
792
+ /**
793
+ * @generated from message raystack.entropy.v1beta1.ApplyActionResponse
794
+ */
795
+ export class ApplyActionResponse extends Message<ApplyActionResponse> {
796
+ /**
797
+ * @generated from field: raystack.entropy.v1beta1.Resource resource = 1;
798
+ */
799
+ resource?: Resource;
800
+
801
+ constructor(data?: PartialMessage<ApplyActionResponse>) {
802
+ super();
803
+ proto3.util.initPartial(data, this);
804
+ }
805
+
806
+ static readonly runtime: typeof proto3 = proto3;
807
+ static readonly typeName = "raystack.entropy.v1beta1.ApplyActionResponse";
808
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
809
+ { no: 1, name: "resource", kind: "message", T: Resource },
810
+ ]);
811
+
812
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplyActionResponse {
813
+ return new ApplyActionResponse().fromBinary(bytes, options);
814
+ }
815
+
816
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplyActionResponse {
817
+ return new ApplyActionResponse().fromJson(jsonValue, options);
818
+ }
819
+
820
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplyActionResponse {
821
+ return new ApplyActionResponse().fromJsonString(jsonString, options);
822
+ }
823
+
824
+ static equals(a: ApplyActionResponse | PlainMessage<ApplyActionResponse> | undefined, b: ApplyActionResponse | PlainMessage<ApplyActionResponse> | undefined): boolean {
825
+ return proto3.util.equals(ApplyActionResponse, a, b);
826
+ }
827
+ }
828
+
829
+ /**
830
+ * @generated from message raystack.entropy.v1beta1.LogChunk
831
+ */
832
+ export class LogChunk extends Message<LogChunk> {
833
+ /**
834
+ * @generated from field: bytes data = 1;
835
+ */
836
+ data = new Uint8Array(0);
837
+
838
+ /**
839
+ * @generated from field: map<string, string> labels = 2;
840
+ */
841
+ labels: { [key: string]: string } = {};
842
+
843
+ constructor(data?: PartialMessage<LogChunk>) {
844
+ super();
845
+ proto3.util.initPartial(data, this);
846
+ }
847
+
848
+ static readonly runtime: typeof proto3 = proto3;
849
+ static readonly typeName = "raystack.entropy.v1beta1.LogChunk";
850
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
851
+ { no: 1, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
852
+ { no: 2, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
853
+ ]);
854
+
855
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LogChunk {
856
+ return new LogChunk().fromBinary(bytes, options);
857
+ }
858
+
859
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LogChunk {
860
+ return new LogChunk().fromJson(jsonValue, options);
861
+ }
862
+
863
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LogChunk {
864
+ return new LogChunk().fromJsonString(jsonString, options);
865
+ }
866
+
867
+ static equals(a: LogChunk | PlainMessage<LogChunk> | undefined, b: LogChunk | PlainMessage<LogChunk> | undefined): boolean {
868
+ return proto3.util.equals(LogChunk, a, b);
869
+ }
870
+ }
871
+
872
+ /**
873
+ * @generated from message raystack.entropy.v1beta1.GetLogRequest
874
+ */
875
+ export class GetLogRequest extends Message<GetLogRequest> {
876
+ /**
877
+ * @generated from field: string urn = 1;
878
+ */
879
+ urn = "";
880
+
881
+ /**
882
+ * @generated from field: map<string, string> filter = 6;
883
+ */
884
+ filter: { [key: string]: string } = {};
885
+
886
+ constructor(data?: PartialMessage<GetLogRequest>) {
887
+ super();
888
+ proto3.util.initPartial(data, this);
889
+ }
890
+
891
+ static readonly runtime: typeof proto3 = proto3;
892
+ static readonly typeName = "raystack.entropy.v1beta1.GetLogRequest";
893
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
894
+ { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
895
+ { no: 6, name: "filter", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
896
+ ]);
897
+
898
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLogRequest {
899
+ return new GetLogRequest().fromBinary(bytes, options);
900
+ }
901
+
902
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLogRequest {
903
+ return new GetLogRequest().fromJson(jsonValue, options);
904
+ }
905
+
906
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLogRequest {
907
+ return new GetLogRequest().fromJsonString(jsonString, options);
908
+ }
909
+
910
+ static equals(a: GetLogRequest | PlainMessage<GetLogRequest> | undefined, b: GetLogRequest | PlainMessage<GetLogRequest> | undefined): boolean {
911
+ return proto3.util.equals(GetLogRequest, a, b);
912
+ }
913
+ }
914
+
915
+ /**
916
+ * @generated from message raystack.entropy.v1beta1.GetLogResponse
917
+ */
918
+ export class GetLogResponse extends Message<GetLogResponse> {
919
+ /**
920
+ * @generated from field: raystack.entropy.v1beta1.LogChunk chunk = 1;
921
+ */
922
+ chunk?: LogChunk;
923
+
924
+ constructor(data?: PartialMessage<GetLogResponse>) {
925
+ super();
926
+ proto3.util.initPartial(data, this);
927
+ }
928
+
929
+ static readonly runtime: typeof proto3 = proto3;
930
+ static readonly typeName = "raystack.entropy.v1beta1.GetLogResponse";
931
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
932
+ { no: 1, name: "chunk", kind: "message", T: LogChunk },
933
+ ]);
934
+
935
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLogResponse {
936
+ return new GetLogResponse().fromBinary(bytes, options);
937
+ }
938
+
939
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLogResponse {
940
+ return new GetLogResponse().fromJson(jsonValue, options);
941
+ }
942
+
943
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLogResponse {
944
+ return new GetLogResponse().fromJsonString(jsonString, options);
945
+ }
946
+
947
+ static equals(a: GetLogResponse | PlainMessage<GetLogResponse> | undefined, b: GetLogResponse | PlainMessage<GetLogResponse> | undefined): boolean {
948
+ return proto3.util.equals(GetLogResponse, a, b);
949
+ }
950
+ }
951
+
952
+ /**
953
+ * @generated from message raystack.entropy.v1beta1.ResourceRevision
954
+ */
955
+ export class ResourceRevision extends Message<ResourceRevision> {
956
+ /**
957
+ * @generated from field: string id = 1;
958
+ */
959
+ id = "";
960
+
961
+ /**
962
+ * @generated from field: string urn = 2;
963
+ */
964
+ urn = "";
965
+
966
+ /**
967
+ * @generated from field: map<string, string> labels = 3;
968
+ */
969
+ labels: { [key: string]: string } = {};
970
+
971
+ /**
972
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
973
+ */
974
+ createdAt?: Timestamp;
975
+
976
+ /**
977
+ * @generated from field: raystack.entropy.v1beta1.ResourceSpec spec = 5;
978
+ */
979
+ spec?: ResourceSpec;
980
+
981
+ /**
982
+ * @generated from field: string reason = 6;
983
+ */
984
+ reason = "";
985
+
986
+ constructor(data?: PartialMessage<ResourceRevision>) {
987
+ super();
988
+ proto3.util.initPartial(data, this);
989
+ }
990
+
991
+ static readonly runtime: typeof proto3 = proto3;
992
+ static readonly typeName = "raystack.entropy.v1beta1.ResourceRevision";
993
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
994
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
995
+ { no: 2, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
996
+ { no: 3, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
997
+ { no: 4, name: "created_at", kind: "message", T: Timestamp },
998
+ { no: 5, name: "spec", kind: "message", T: ResourceSpec },
999
+ { no: 6, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1000
+ ]);
1001
+
1002
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResourceRevision {
1003
+ return new ResourceRevision().fromBinary(bytes, options);
1004
+ }
1005
+
1006
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResourceRevision {
1007
+ return new ResourceRevision().fromJson(jsonValue, options);
1008
+ }
1009
+
1010
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResourceRevision {
1011
+ return new ResourceRevision().fromJsonString(jsonString, options);
1012
+ }
1013
+
1014
+ static equals(a: ResourceRevision | PlainMessage<ResourceRevision> | undefined, b: ResourceRevision | PlainMessage<ResourceRevision> | undefined): boolean {
1015
+ return proto3.util.equals(ResourceRevision, a, b);
1016
+ }
1017
+ }
1018
+
1019
+ /**
1020
+ * @generated from message raystack.entropy.v1beta1.GetResourceRevisionsRequest
1021
+ */
1022
+ export class GetResourceRevisionsRequest extends Message<GetResourceRevisionsRequest> {
1023
+ /**
1024
+ * @generated from field: string urn = 1;
1025
+ */
1026
+ urn = "";
1027
+
1028
+ constructor(data?: PartialMessage<GetResourceRevisionsRequest>) {
1029
+ super();
1030
+ proto3.util.initPartial(data, this);
1031
+ }
1032
+
1033
+ static readonly runtime: typeof proto3 = proto3;
1034
+ static readonly typeName = "raystack.entropy.v1beta1.GetResourceRevisionsRequest";
1035
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1036
+ { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1037
+ ]);
1038
+
1039
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetResourceRevisionsRequest {
1040
+ return new GetResourceRevisionsRequest().fromBinary(bytes, options);
1041
+ }
1042
+
1043
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetResourceRevisionsRequest {
1044
+ return new GetResourceRevisionsRequest().fromJson(jsonValue, options);
1045
+ }
1046
+
1047
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetResourceRevisionsRequest {
1048
+ return new GetResourceRevisionsRequest().fromJsonString(jsonString, options);
1049
+ }
1050
+
1051
+ static equals(a: GetResourceRevisionsRequest | PlainMessage<GetResourceRevisionsRequest> | undefined, b: GetResourceRevisionsRequest | PlainMessage<GetResourceRevisionsRequest> | undefined): boolean {
1052
+ return proto3.util.equals(GetResourceRevisionsRequest, a, b);
1053
+ }
1054
+ }
1055
+
1056
+ /**
1057
+ * @generated from message raystack.entropy.v1beta1.GetResourceRevisionsResponse
1058
+ */
1059
+ export class GetResourceRevisionsResponse extends Message<GetResourceRevisionsResponse> {
1060
+ /**
1061
+ * @generated from field: repeated raystack.entropy.v1beta1.ResourceRevision revisions = 1;
1062
+ */
1063
+ revisions: ResourceRevision[] = [];
1064
+
1065
+ constructor(data?: PartialMessage<GetResourceRevisionsResponse>) {
1066
+ super();
1067
+ proto3.util.initPartial(data, this);
1068
+ }
1069
+
1070
+ static readonly runtime: typeof proto3 = proto3;
1071
+ static readonly typeName = "raystack.entropy.v1beta1.GetResourceRevisionsResponse";
1072
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1073
+ { no: 1, name: "revisions", kind: "message", T: ResourceRevision, repeated: true },
1074
+ ]);
1075
+
1076
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetResourceRevisionsResponse {
1077
+ return new GetResourceRevisionsResponse().fromBinary(bytes, options);
1078
+ }
1079
+
1080
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetResourceRevisionsResponse {
1081
+ return new GetResourceRevisionsResponse().fromJson(jsonValue, options);
1082
+ }
1083
+
1084
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetResourceRevisionsResponse {
1085
+ return new GetResourceRevisionsResponse().fromJsonString(jsonString, options);
1086
+ }
1087
+
1088
+ static equals(a: GetResourceRevisionsResponse | PlainMessage<GetResourceRevisionsResponse> | undefined, b: GetResourceRevisionsResponse | PlainMessage<GetResourceRevisionsResponse> | undefined): boolean {
1089
+ return proto3.util.equals(GetResourceRevisionsResponse, a, b);
1090
+ }
1091
+ }
1092
+