@norskvideo/norsk-api 1.0.345 → 1.0.347

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.
package/lib/manager_pb.js CHANGED
@@ -4,9 +4,63 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.NorskStatusEvent = exports.JobSearchRequest = exports.ManagerActivityStreamEvent = exports.InitialDataComplete = exports.ManagerActivityStreamRequest = exports.JobFilter = exports.DateFilter_Within = exports.DateFilter = exports.IdFilter = exports.TagFilter = exports.StopJobRequest = exports.StartJobRequest = exports.UpdatePhysicalNodeRequest = exports.CreateAwsNodeRequest = exports.NodeId = exports.JobId = exports.PhysicalNodeConnected = exports.NodeRunning = exports.NodeFailed = exports.NodeStopped = exports.NodeStopping = exports.NodeStarted = exports.NodeStarting = exports.CurrentJob = exports.JobInstanceFailed = exports.JobInstanceStopped = exports.JobInstanceStopping = exports.JobDueToStop = exports.JobInstanceStarted = exports.JobInstanceStarting = exports.JobDueToStart = exports.JobUpdated = exports.JobPending = exports.RunningJob = exports.PhysicalNode = exports.AwsRunningNode = exports.AwsNodeAddress = exports.AwsNode = exports.Job = exports.NpmPackage = exports.DockerContainer = exports.Location = exports.CustomLocation = exports.PublicHttpLocation = exports.AwsS3Location = exports.Hello = void 0;
7
+ exports.ProviderHealth = exports.TestHealth = exports.OciHealth = exports.OciRegionHealth = exports.AwsHealth = exports.AwsRegionHealth = exports.EventStreamRequest = exports.JobFilter = exports.DateFilter_Within = exports.DateFilter = exports.IdFilter = exports.TagFilter = exports.StopJobRequest = exports.StartJobRequest = exports.UpdatePhysicalNodeRequest = exports.CreateOciNodeRequest = exports.CreateAwsNodeRequest = exports.AwsIamRole = exports.AwsLaunchTemplate = exports.PhysicalNodeConnected = exports.NodeRunning = exports.NodeStopped = exports.NodeStopping_Reason = exports.NodeStopping = exports.NodeStarted = exports.NodeStarting = exports.CurrentJob = exports.JobOutOfWindow = exports.JobDeleted = exports.JobUpdated = exports.JobPending = exports.JobActive = exports.RunningJob = exports.PhysicalNode = exports.JobWithHistory = exports.JobHistoryEntry = exports.JobHistoryJobCompleted = exports.JobHistoryJobStopped = exports.JobHistoryJobStopping_Reason = exports.JobHistoryJobStopping = exports.JobHistoryJobRunning = exports.JobHistoryJobProvisioned = exports.JobHistoryJobUpdated = exports.JobHistoryJobCreated = exports.JobHash = exports.Job_JobState = exports.Job = exports.Hello = exports.Health = exports.Version = void 0;
8
+ exports.NorskStatusEvent = exports.JobSearchRequest = exports.EventStreamEvent = exports.InitialDataComplete = void 0;
8
9
  const protobuf_1 = require("@bufbuild/protobuf");
9
10
  const common_pb_js_1 = require("./shared/common_pb.js");
11
+ /**
12
+ * @generated from enum norsk.api.manager.Version
13
+ */
14
+ var Version;
15
+ (function (Version) {
16
+ /**
17
+ * @generated from enum value: RECOMMENDED = 0;
18
+ */
19
+ Version[Version["RECOMMENDED"] = 0] = "RECOMMENDED";
20
+ /**
21
+ * @generated from enum value: LATEST = 1;
22
+ */
23
+ Version[Version["LATEST"] = 1] = "LATEST";
24
+ /**
25
+ * @generated from enum value: PREVIOUS_RECOMMENDED = 2;
26
+ */
27
+ Version[Version["PREVIOUS_RECOMMENDED"] = 2] = "PREVIOUS_RECOMMENDED";
28
+ /**
29
+ * @generated from enum value: LTS = 3;
30
+ */
31
+ Version[Version["LTS"] = 3] = "LTS";
32
+ })(Version = exports.Version || (exports.Version = {}));
33
+ // Retrieve enum metadata with: proto3.getEnumType(Version)
34
+ protobuf_1.proto3.util.setEnumType(Version, "norsk.api.manager.Version", [
35
+ { no: 0, name: "RECOMMENDED" },
36
+ { no: 1, name: "LATEST" },
37
+ { no: 2, name: "PREVIOUS_RECOMMENDED" },
38
+ { no: 3, name: "LTS" },
39
+ ]);
40
+ /**
41
+ * @generated from enum norsk.api.manager.Health
42
+ */
43
+ var Health;
44
+ (function (Health) {
45
+ /**
46
+ * @generated from enum value: HEALTHY = 0;
47
+ */
48
+ Health[Health["HEALTHY"] = 0] = "HEALTHY";
49
+ /**
50
+ * @generated from enum value: UNSTABLE = 1;
51
+ */
52
+ Health[Health["UNSTABLE"] = 1] = "UNSTABLE";
53
+ /**
54
+ * @generated from enum value: FAILED = 2;
55
+ */
56
+ Health[Health["FAILED"] = 2] = "FAILED";
57
+ })(Health = exports.Health || (exports.Health = {}));
58
+ // Retrieve enum metadata with: proto3.getEnumType(Health)
59
+ protobuf_1.proto3.util.setEnumType(Health, "norsk.api.manager.Health", [
60
+ { no: 0, name: "HEALTHY" },
61
+ { no: 1, name: "UNSTABLE" },
62
+ { no: 2, name: "FAILED" },
63
+ ]);
10
64
  /**
11
65
  * `Hello` is sent to the client at the start of a status channel, and gives
12
66
  * information about the current Norsk runtime
@@ -38,380 +92,478 @@ Hello.fields = protobuf_1.proto3.util.newFieldList(() => [
38
92
  { no: 1, name: "version", kind: "message", T: common_pb_js_1.Version },
39
93
  ]);
40
94
  /**
41
- * @generated from message norsk.api.manager.AwsS3Location
95
+ * @generated from message norsk.api.manager.Job
42
96
  */
43
- class AwsS3Location extends protobuf_1.Message {
97
+ class Job extends protobuf_1.Message {
44
98
  constructor(data) {
45
99
  super();
46
100
  /**
47
- * @generated from field: string url = 1;
101
+ * @generated from field: string description = 2;
48
102
  */
49
- this.url = "";
103
+ this.description = "";
104
+ /**
105
+ * @generated from field: map<string, string> tags = 3;
106
+ */
107
+ this.tags = {};
108
+ /**
109
+ * @generated from field: int64 current_hash = 5;
110
+ */
111
+ this.currentHash = protobuf_1.protoInt64.zero;
112
+ /**
113
+ * @generated from field: string manager_configuration = 6;
114
+ */
115
+ this.managerConfiguration = "";
116
+ /**
117
+ * @generated from field: repeated norsk.api.common.Service services = 7;
118
+ */
119
+ this.services = [];
120
+ /**
121
+ * @generated from field: norsk.api.manager.Version norsk_media_version = 8;
122
+ */
123
+ this.norskMediaVersion = Version.RECOMMENDED;
124
+ /**
125
+ * @generated from field: repeated string volumes = 10;
126
+ */
127
+ this.volumes = [];
128
+ /**
129
+ * @generated from field: norsk.api.manager.Job.JobState state = 11;
130
+ */
131
+ this.state = Job_JobState.PRE;
132
+ /**
133
+ * @generated from field: string shape = 12;
134
+ */
135
+ this.shape = "";
136
+ /**
137
+ * @generated from field: string architecture = 13;
138
+ */
139
+ this.architecture = "";
140
+ /**
141
+ * @generated from field: string subnet = 14;
142
+ */
143
+ this.subnet = "";
144
+ /**
145
+ * @generated from field: string availabilityDomain = 15;
146
+ */
147
+ this.availabilityDomain = "";
50
148
  protobuf_1.proto3.util.initPartial(data, this);
51
149
  }
52
150
  static fromBinary(bytes, options) {
53
- return new AwsS3Location().fromBinary(bytes, options);
151
+ return new Job().fromBinary(bytes, options);
54
152
  }
55
153
  static fromJson(jsonValue, options) {
56
- return new AwsS3Location().fromJson(jsonValue, options);
154
+ return new Job().fromJson(jsonValue, options);
57
155
  }
58
156
  static fromJsonString(jsonString, options) {
59
- return new AwsS3Location().fromJsonString(jsonString, options);
157
+ return new Job().fromJsonString(jsonString, options);
60
158
  }
61
159
  static equals(a, b) {
62
- return protobuf_1.proto3.util.equals(AwsS3Location, a, b);
160
+ return protobuf_1.proto3.util.equals(Job, a, b);
63
161
  }
64
162
  }
65
- exports.AwsS3Location = AwsS3Location;
66
- AwsS3Location.runtime = protobuf_1.proto3;
67
- AwsS3Location.typeName = "norsk.api.manager.AwsS3Location";
68
- AwsS3Location.fields = protobuf_1.proto3.util.newFieldList(() => [
69
- { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
163
+ exports.Job = Job;
164
+ Job.runtime = protobuf_1.proto3;
165
+ Job.typeName = "norsk.api.manager.Job";
166
+ Job.fields = protobuf_1.proto3.util.newFieldList(() => [
167
+ { no: 1, name: "job_id", kind: "message", T: common_pb_js_1.JobId },
168
+ { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
169
+ { no: 3, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
170
+ { no: 4, name: "start_date_time", kind: "message", T: protobuf_1.Timestamp },
171
+ { no: 5, name: "current_hash", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
172
+ { no: 6, name: "manager_configuration", kind: "scalar", T: 9 /* ScalarType.STRING */ },
173
+ { no: 7, name: "services", kind: "message", T: common_pb_js_1.Service, repeated: true },
174
+ { no: 8, name: "norsk_media_version", kind: "enum", T: protobuf_1.proto3.getEnumType(Version) },
175
+ { no: 9, name: "norsk_service_parameters", kind: "message", T: common_pb_js_1.ServiceParameters },
176
+ { no: 10, name: "volumes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
177
+ { no: 11, name: "state", kind: "enum", T: protobuf_1.proto3.getEnumType(Job_JobState) },
178
+ { no: 12, name: "shape", kind: "scalar", T: 9 /* ScalarType.STRING */ },
179
+ { no: 13, name: "architecture", kind: "scalar", T: 9 /* ScalarType.STRING */ },
180
+ { no: 14, name: "subnet", kind: "scalar", T: 9 /* ScalarType.STRING */ },
181
+ { no: 15, name: "availabilityDomain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
182
+ ]);
183
+ /**
184
+ * @generated from enum norsk.api.manager.Job.JobState
185
+ */
186
+ var Job_JobState;
187
+ (function (Job_JobState) {
188
+ /**
189
+ * @generated from enum value: PRE = 0;
190
+ */
191
+ Job_JobState[Job_JobState["PRE"] = 0] = "PRE";
192
+ /**
193
+ * @generated from enum value: ACTIVE = 1;
194
+ */
195
+ Job_JobState[Job_JobState["ACTIVE"] = 1] = "ACTIVE";
196
+ /**
197
+ * @generated from enum value: POST = 2;
198
+ */
199
+ Job_JobState[Job_JobState["POST"] = 2] = "POST";
200
+ })(Job_JobState = exports.Job_JobState || (exports.Job_JobState = {}));
201
+ // Retrieve enum metadata with: proto3.getEnumType(Job_JobState)
202
+ protobuf_1.proto3.util.setEnumType(Job_JobState, "norsk.api.manager.Job.JobState", [
203
+ { no: 0, name: "PRE" },
204
+ { no: 1, name: "ACTIVE" },
205
+ { no: 2, name: "POST" },
70
206
  ]);
71
207
  /**
72
- * @generated from message norsk.api.manager.PublicHttpLocation
208
+ * @generated from message norsk.api.manager.JobHash
73
209
  */
74
- class PublicHttpLocation extends protobuf_1.Message {
210
+ class JobHash extends protobuf_1.Message {
75
211
  constructor(data) {
76
212
  super();
77
213
  /**
78
- * @generated from field: string url = 1;
214
+ * @generated from field: int64 hash = 1;
79
215
  */
80
- this.url = "";
216
+ this.hash = protobuf_1.protoInt64.zero;
81
217
  protobuf_1.proto3.util.initPartial(data, this);
82
218
  }
83
219
  static fromBinary(bytes, options) {
84
- return new PublicHttpLocation().fromBinary(bytes, options);
220
+ return new JobHash().fromBinary(bytes, options);
85
221
  }
86
222
  static fromJson(jsonValue, options) {
87
- return new PublicHttpLocation().fromJson(jsonValue, options);
223
+ return new JobHash().fromJson(jsonValue, options);
88
224
  }
89
225
  static fromJsonString(jsonString, options) {
90
- return new PublicHttpLocation().fromJsonString(jsonString, options);
226
+ return new JobHash().fromJsonString(jsonString, options);
91
227
  }
92
228
  static equals(a, b) {
93
- return protobuf_1.proto3.util.equals(PublicHttpLocation, a, b);
229
+ return protobuf_1.proto3.util.equals(JobHash, a, b);
94
230
  }
95
231
  }
96
- exports.PublicHttpLocation = PublicHttpLocation;
97
- PublicHttpLocation.runtime = protobuf_1.proto3;
98
- PublicHttpLocation.typeName = "norsk.api.manager.PublicHttpLocation";
99
- PublicHttpLocation.fields = protobuf_1.proto3.util.newFieldList(() => [
100
- { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
232
+ exports.JobHash = JobHash;
233
+ JobHash.runtime = protobuf_1.proto3;
234
+ JobHash.typeName = "norsk.api.manager.JobHash";
235
+ JobHash.fields = protobuf_1.proto3.util.newFieldList(() => [
236
+ { no: 1, name: "hash", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
101
237
  ]);
102
238
  /**
103
- * @generated from message norsk.api.manager.CustomLocation
239
+ * @generated from message norsk.api.manager.JobHistoryJobCreated
104
240
  */
105
- class CustomLocation extends protobuf_1.Message {
241
+ class JobHistoryJobCreated extends protobuf_1.Message {
106
242
  constructor(data) {
107
243
  super();
108
- /**
109
- * @generated from oneof norsk.api.manager.CustomLocation.script
110
- */
111
- this.script = { case: undefined };
112
244
  protobuf_1.proto3.util.initPartial(data, this);
113
245
  }
114
246
  static fromBinary(bytes, options) {
115
- return new CustomLocation().fromBinary(bytes, options);
247
+ return new JobHistoryJobCreated().fromBinary(bytes, options);
116
248
  }
117
249
  static fromJson(jsonValue, options) {
118
- return new CustomLocation().fromJson(jsonValue, options);
250
+ return new JobHistoryJobCreated().fromJson(jsonValue, options);
119
251
  }
120
252
  static fromJsonString(jsonString, options) {
121
- return new CustomLocation().fromJsonString(jsonString, options);
253
+ return new JobHistoryJobCreated().fromJsonString(jsonString, options);
122
254
  }
123
255
  static equals(a, b) {
124
- return protobuf_1.proto3.util.equals(CustomLocation, a, b);
256
+ return protobuf_1.proto3.util.equals(JobHistoryJobCreated, a, b);
125
257
  }
126
258
  }
127
- exports.CustomLocation = CustomLocation;
128
- CustomLocation.runtime = protobuf_1.proto3;
129
- CustomLocation.typeName = "norsk.api.manager.CustomLocation";
130
- CustomLocation.fields = protobuf_1.proto3.util.newFieldList(() => [
131
- { no: 1, name: "aws_s3_location", kind: "message", T: AwsS3Location, oneof: "script" },
132
- { no: 2, name: "http_location", kind: "message", T: PublicHttpLocation, oneof: "script" },
259
+ exports.JobHistoryJobCreated = JobHistoryJobCreated;
260
+ JobHistoryJobCreated.runtime = protobuf_1.proto3;
261
+ JobHistoryJobCreated.typeName = "norsk.api.manager.JobHistoryJobCreated";
262
+ JobHistoryJobCreated.fields = protobuf_1.proto3.util.newFieldList(() => [
263
+ { no: 1, name: "timestamp", kind: "message", T: protobuf_1.Timestamp },
133
264
  ]);
134
265
  /**
135
- * @generated from message norsk.api.manager.Location
266
+ * @generated from message norsk.api.manager.JobHistoryJobUpdated
136
267
  */
137
- class Location extends protobuf_1.Message {
268
+ class JobHistoryJobUpdated extends protobuf_1.Message {
138
269
  constructor(data) {
139
270
  super();
140
- /**
141
- * @generated from oneof norsk.api.manager.Location.location
142
- */
143
- this.location = { case: undefined };
144
271
  protobuf_1.proto3.util.initPartial(data, this);
145
272
  }
146
273
  static fromBinary(bytes, options) {
147
- return new Location().fromBinary(bytes, options);
274
+ return new JobHistoryJobUpdated().fromBinary(bytes, options);
148
275
  }
149
276
  static fromJson(jsonValue, options) {
150
- return new Location().fromJson(jsonValue, options);
277
+ return new JobHistoryJobUpdated().fromJson(jsonValue, options);
151
278
  }
152
279
  static fromJsonString(jsonString, options) {
153
- return new Location().fromJsonString(jsonString, options);
280
+ return new JobHistoryJobUpdated().fromJsonString(jsonString, options);
154
281
  }
155
282
  static equals(a, b) {
156
- return protobuf_1.proto3.util.equals(Location, a, b);
283
+ return protobuf_1.proto3.util.equals(JobHistoryJobUpdated, a, b);
157
284
  }
158
285
  }
159
- exports.Location = Location;
160
- Location.runtime = protobuf_1.proto3;
161
- Location.typeName = "norsk.api.manager.Location";
162
- Location.fields = protobuf_1.proto3.util.newFieldList(() => [
163
- { no: 1, name: "aws_s3_location", kind: "message", T: AwsS3Location, oneof: "location" },
164
- { no: 2, name: "http_location", kind: "message", T: PublicHttpLocation, oneof: "location" },
165
- { no: 3, name: "custom_location", kind: "message", T: CustomLocation, oneof: "location" },
286
+ exports.JobHistoryJobUpdated = JobHistoryJobUpdated;
287
+ JobHistoryJobUpdated.runtime = protobuf_1.proto3;
288
+ JobHistoryJobUpdated.typeName = "norsk.api.manager.JobHistoryJobUpdated";
289
+ JobHistoryJobUpdated.fields = protobuf_1.proto3.util.newFieldList(() => [
290
+ { no: 1, name: "timestamp", kind: "message", T: protobuf_1.Timestamp },
291
+ { no: 2, name: "previous_job", kind: "message", T: Job },
166
292
  ]);
167
293
  /**
168
- * @generated from message norsk.api.manager.DockerContainer
294
+ * @generated from message norsk.api.manager.JobHistoryJobProvisioned
169
295
  */
170
- class DockerContainer extends protobuf_1.Message {
296
+ class JobHistoryJobProvisioned extends protobuf_1.Message {
171
297
  constructor(data) {
172
298
  super();
299
+ /**
300
+ * @generated from field: string role = 2;
301
+ */
302
+ this.role = "";
173
303
  protobuf_1.proto3.util.initPartial(data, this);
174
304
  }
175
305
  static fromBinary(bytes, options) {
176
- return new DockerContainer().fromBinary(bytes, options);
306
+ return new JobHistoryJobProvisioned().fromBinary(bytes, options);
177
307
  }
178
308
  static fromJson(jsonValue, options) {
179
- return new DockerContainer().fromJson(jsonValue, options);
309
+ return new JobHistoryJobProvisioned().fromJson(jsonValue, options);
180
310
  }
181
311
  static fromJsonString(jsonString, options) {
182
- return new DockerContainer().fromJsonString(jsonString, options);
312
+ return new JobHistoryJobProvisioned().fromJsonString(jsonString, options);
183
313
  }
184
314
  static equals(a, b) {
185
- return protobuf_1.proto3.util.equals(DockerContainer, a, b);
315
+ return protobuf_1.proto3.util.equals(JobHistoryJobProvisioned, a, b);
186
316
  }
187
317
  }
188
- exports.DockerContainer = DockerContainer;
189
- DockerContainer.runtime = protobuf_1.proto3;
190
- DockerContainer.typeName = "norsk.api.manager.DockerContainer";
191
- DockerContainer.fields = protobuf_1.proto3.util.newFieldList(() => [
192
- { no: 1, name: "location", kind: "message", T: Location },
318
+ exports.JobHistoryJobProvisioned = JobHistoryJobProvisioned;
319
+ JobHistoryJobProvisioned.runtime = protobuf_1.proto3;
320
+ JobHistoryJobProvisioned.typeName = "norsk.api.manager.JobHistoryJobProvisioned";
321
+ JobHistoryJobProvisioned.fields = protobuf_1.proto3.util.newFieldList(() => [
322
+ { no: 1, name: "timestamp", kind: "message", T: protobuf_1.Timestamp },
323
+ { no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
324
+ { no: 3, name: "nodeMetadata", kind: "message", T: common_pb_js_1.NodeMetadata },
193
325
  ]);
194
326
  /**
195
- * @generated from message norsk.api.manager.NpmPackage
327
+ * @generated from message norsk.api.manager.JobHistoryJobRunning
196
328
  */
197
- class NpmPackage extends protobuf_1.Message {
329
+ class JobHistoryJobRunning extends protobuf_1.Message {
198
330
  constructor(data) {
199
331
  super();
332
+ /**
333
+ * @generated from field: string role = 2;
334
+ */
335
+ this.role = "";
336
+ /**
337
+ * @generated from field: map<string, norsk.api.common.ResolvedPortMappings> service_port_mappings = 5;
338
+ */
339
+ this.servicePortMappings = {};
200
340
  protobuf_1.proto3.util.initPartial(data, this);
201
341
  }
202
342
  static fromBinary(bytes, options) {
203
- return new NpmPackage().fromBinary(bytes, options);
343
+ return new JobHistoryJobRunning().fromBinary(bytes, options);
204
344
  }
205
345
  static fromJson(jsonValue, options) {
206
- return new NpmPackage().fromJson(jsonValue, options);
346
+ return new JobHistoryJobRunning().fromJson(jsonValue, options);
207
347
  }
208
348
  static fromJsonString(jsonString, options) {
209
- return new NpmPackage().fromJsonString(jsonString, options);
349
+ return new JobHistoryJobRunning().fromJsonString(jsonString, options);
210
350
  }
211
351
  static equals(a, b) {
212
- return protobuf_1.proto3.util.equals(NpmPackage, a, b);
352
+ return protobuf_1.proto3.util.equals(JobHistoryJobRunning, a, b);
213
353
  }
214
354
  }
215
- exports.NpmPackage = NpmPackage;
216
- NpmPackage.runtime = protobuf_1.proto3;
217
- NpmPackage.typeName = "norsk.api.manager.NpmPackage";
218
- NpmPackage.fields = protobuf_1.proto3.util.newFieldList(() => [
219
- { no: 1, name: "location", kind: "message", T: Location },
355
+ exports.JobHistoryJobRunning = JobHistoryJobRunning;
356
+ JobHistoryJobRunning.runtime = protobuf_1.proto3;
357
+ JobHistoryJobRunning.typeName = "norsk.api.manager.JobHistoryJobRunning";
358
+ JobHistoryJobRunning.fields = protobuf_1.proto3.util.newFieldList(() => [
359
+ { no: 1, name: "timestamp", kind: "message", T: protobuf_1.Timestamp },
360
+ { no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
361
+ { no: 3, name: "nodeMetadata", kind: "message", T: common_pb_js_1.NodeMetadata },
362
+ { no: 4, name: "runningNodeMetadata", kind: "message", T: common_pb_js_1.RunningNodeMetadata },
363
+ { no: 5, name: "service_port_mappings", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: common_pb_js_1.ResolvedPortMappings } },
220
364
  ]);
221
365
  /**
222
- * @generated from message norsk.api.manager.Job
366
+ * @generated from message norsk.api.manager.JobHistoryJobStopping
223
367
  */
224
- class Job extends protobuf_1.Message {
368
+ class JobHistoryJobStopping extends protobuf_1.Message {
225
369
  constructor(data) {
226
370
  super();
227
371
  /**
228
- * @generated from field: string id = 1;
229
- */
230
- this.id = "";
231
- /**
232
- * @generated from field: string description = 2;
233
- */
234
- this.description = "";
235
- /**
236
- * @generated from field: map<string, string> tags = 3;
237
- */
238
- this.tags = {};
239
- /**
240
- * @generated from field: int64 current_hash = 6;
241
- */
242
- this.currentHash = protobuf_1.protoInt64.zero;
243
- /**
244
- * @generated from field: string media_configuration = 7;
245
- */
246
- this.mediaConfiguration = "";
247
- /**
248
- * @generated from field: string manager_configuration = 8;
249
- */
250
- this.managerConfiguration = "";
251
- /**
252
- * @generated from field: string norsk_media_version = 9;
372
+ * @generated from field: string role = 2;
253
373
  */
254
- this.norskMediaVersion = "";
374
+ this.role = "";
255
375
  /**
256
- * @generated from oneof norsk.api.manager.Job.client_code
376
+ * @generated from field: norsk.api.manager.JobHistoryJobStopping.Reason reason = 5;
257
377
  */
258
- this.clientCode = { case: undefined };
378
+ this.reason = JobHistoryJobStopping_Reason.JOB_STOPPED_NODE_STOPPED;
259
379
  protobuf_1.proto3.util.initPartial(data, this);
260
380
  }
261
381
  static fromBinary(bytes, options) {
262
- return new Job().fromBinary(bytes, options);
382
+ return new JobHistoryJobStopping().fromBinary(bytes, options);
263
383
  }
264
384
  static fromJson(jsonValue, options) {
265
- return new Job().fromJson(jsonValue, options);
385
+ return new JobHistoryJobStopping().fromJson(jsonValue, options);
266
386
  }
267
387
  static fromJsonString(jsonString, options) {
268
- return new Job().fromJsonString(jsonString, options);
388
+ return new JobHistoryJobStopping().fromJsonString(jsonString, options);
269
389
  }
270
390
  static equals(a, b) {
271
- return protobuf_1.proto3.util.equals(Job, a, b);
391
+ return protobuf_1.proto3.util.equals(JobHistoryJobStopping, a, b);
272
392
  }
273
393
  }
274
- exports.Job = Job;
275
- Job.runtime = protobuf_1.proto3;
276
- Job.typeName = "norsk.api.manager.Job";
277
- Job.fields = protobuf_1.proto3.util.newFieldList(() => [
278
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
279
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
280
- { no: 3, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
281
- { no: 4, name: "start_date_time", kind: "message", T: protobuf_1.Timestamp },
282
- { no: 5, name: "end_date_time", kind: "message", T: protobuf_1.Timestamp },
283
- { no: 6, name: "current_hash", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
284
- { no: 7, name: "media_configuration", kind: "scalar", T: 9 /* ScalarType.STRING */ },
285
- { no: 8, name: "manager_configuration", kind: "scalar", T: 9 /* ScalarType.STRING */ },
286
- { no: 9, name: "norsk_media_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
287
- { no: 10, name: "docker", kind: "message", T: DockerContainer, oneof: "client_code" },
288
- { no: 11, name: "npm", kind: "message", T: NpmPackage, oneof: "client_code" },
394
+ exports.JobHistoryJobStopping = JobHistoryJobStopping;
395
+ JobHistoryJobStopping.runtime = protobuf_1.proto3;
396
+ JobHistoryJobStopping.typeName = "norsk.api.manager.JobHistoryJobStopping";
397
+ JobHistoryJobStopping.fields = protobuf_1.proto3.util.newFieldList(() => [
398
+ { no: 1, name: "timestamp", kind: "message", T: protobuf_1.Timestamp },
399
+ { no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
400
+ { no: 3, name: "nodeMetadata", kind: "message", T: common_pb_js_1.NodeMetadata },
401
+ { no: 4, name: "runningNodeMetadata", kind: "message", T: common_pb_js_1.RunningNodeMetadata },
402
+ { no: 5, name: "reason", kind: "enum", T: protobuf_1.proto3.getEnumType(JobHistoryJobStopping_Reason) },
403
+ ]);
404
+ /**
405
+ * @generated from enum norsk.api.manager.JobHistoryJobStopping.Reason
406
+ */
407
+ var JobHistoryJobStopping_Reason;
408
+ (function (JobHistoryJobStopping_Reason) {
409
+ /**
410
+ * @generated from enum value: JOB_STOPPED_NODE_STOPPED = 0;
411
+ */
412
+ JobHistoryJobStopping_Reason[JobHistoryJobStopping_Reason["JOB_STOPPED_NODE_STOPPED"] = 0] = "JOB_STOPPED_NODE_STOPPED";
413
+ /**
414
+ * @generated from enum value: JOB_STOPPED_NODE_TERMINATED = 1;
415
+ */
416
+ JobHistoryJobStopping_Reason[JobHistoryJobStopping_Reason["JOB_STOPPED_NODE_TERMINATED"] = 1] = "JOB_STOPPED_NODE_TERMINATED";
417
+ /**
418
+ * @generated from enum value: JOB_STOPPED_USER_REQUESTED = 2;
419
+ */
420
+ JobHistoryJobStopping_Reason[JobHistoryJobStopping_Reason["JOB_STOPPED_USER_REQUESTED"] = 2] = "JOB_STOPPED_USER_REQUESTED";
421
+ /**
422
+ * @generated from enum value: JOB_STOPPED_UNKNOWN_JOB = 3;
423
+ */
424
+ JobHistoryJobStopping_Reason[JobHistoryJobStopping_Reason["JOB_STOPPED_UNKNOWN_JOB"] = 3] = "JOB_STOPPED_UNKNOWN_JOB";
425
+ /**
426
+ * @generated from enum value: JOB_STOPPED_JOB_FAILED = 4;
427
+ */
428
+ JobHistoryJobStopping_Reason[JobHistoryJobStopping_Reason["JOB_STOPPED_JOB_FAILED"] = 4] = "JOB_STOPPED_JOB_FAILED";
429
+ })(JobHistoryJobStopping_Reason = exports.JobHistoryJobStopping_Reason || (exports.JobHistoryJobStopping_Reason = {}));
430
+ // Retrieve enum metadata with: proto3.getEnumType(JobHistoryJobStopping_Reason)
431
+ protobuf_1.proto3.util.setEnumType(JobHistoryJobStopping_Reason, "norsk.api.manager.JobHistoryJobStopping.Reason", [
432
+ { no: 0, name: "JOB_STOPPED_NODE_STOPPED" },
433
+ { no: 1, name: "JOB_STOPPED_NODE_TERMINATED" },
434
+ { no: 2, name: "JOB_STOPPED_USER_REQUESTED" },
435
+ { no: 3, name: "JOB_STOPPED_UNKNOWN_JOB" },
436
+ { no: 4, name: "JOB_STOPPED_JOB_FAILED" },
289
437
  ]);
290
438
  /**
291
- * @generated from message norsk.api.manager.AwsNode
439
+ * @generated from message norsk.api.manager.JobHistoryJobStopped
292
440
  */
293
- class AwsNode extends protobuf_1.Message {
441
+ class JobHistoryJobStopped extends protobuf_1.Message {
294
442
  constructor(data) {
295
443
  super();
296
444
  /**
297
- * @generated from field: string id = 1;
298
- */
299
- this.id = "";
300
- /**
301
- * @generated from field: map<string, string> tags = 2;
302
- */
303
- this.tags = {};
304
- /**
305
- * @generated from field: string instance_type = 3;
306
- */
307
- this.instanceType = "";
308
- /**
309
- * @generated from field: string region = 4;
310
- */
311
- this.region = "";
312
- /**
313
- * @generated from field: string az = 5;
314
- */
315
- this.az = "";
316
- /**
317
- * @generated from field: string daemon_version = 7;
445
+ * @generated from field: string role = 2;
318
446
  */
319
- this.daemonVersion = "";
447
+ this.role = "";
320
448
  protobuf_1.proto3.util.initPartial(data, this);
321
449
  }
322
450
  static fromBinary(bytes, options) {
323
- return new AwsNode().fromBinary(bytes, options);
451
+ return new JobHistoryJobStopped().fromBinary(bytes, options);
324
452
  }
325
453
  static fromJson(jsonValue, options) {
326
- return new AwsNode().fromJson(jsonValue, options);
454
+ return new JobHistoryJobStopped().fromJson(jsonValue, options);
327
455
  }
328
456
  static fromJsonString(jsonString, options) {
329
- return new AwsNode().fromJsonString(jsonString, options);
457
+ return new JobHistoryJobStopped().fromJsonString(jsonString, options);
330
458
  }
331
459
  static equals(a, b) {
332
- return protobuf_1.proto3.util.equals(AwsNode, a, b);
460
+ return protobuf_1.proto3.util.equals(JobHistoryJobStopped, a, b);
333
461
  }
334
462
  }
335
- exports.AwsNode = AwsNode;
336
- AwsNode.runtime = protobuf_1.proto3;
337
- AwsNode.typeName = "norsk.api.manager.AwsNode";
338
- AwsNode.fields = protobuf_1.proto3.util.newFieldList(() => [
339
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
340
- { no: 2, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
341
- { no: 3, name: "instance_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
342
- { no: 4, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
343
- { no: 5, name: "az", kind: "scalar", T: 9 /* ScalarType.STRING */ },
344
- { no: 6, name: "created_at", kind: "message", T: protobuf_1.Timestamp },
345
- { no: 7, name: "daemon_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
463
+ exports.JobHistoryJobStopped = JobHistoryJobStopped;
464
+ JobHistoryJobStopped.runtime = protobuf_1.proto3;
465
+ JobHistoryJobStopped.typeName = "norsk.api.manager.JobHistoryJobStopped";
466
+ JobHistoryJobStopped.fields = protobuf_1.proto3.util.newFieldList(() => [
467
+ { no: 1, name: "timestamp", kind: "message", T: protobuf_1.Timestamp },
468
+ { no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
469
+ { no: 3, name: "nodeMetadata", kind: "message", T: common_pb_js_1.NodeMetadata },
470
+ { no: 4, name: "runningNodeMetadata", kind: "message", T: common_pb_js_1.RunningNodeMetadata },
346
471
  ]);
347
472
  /**
348
- * @generated from message norsk.api.manager.AwsNodeAddress
473
+ * @generated from message norsk.api.manager.JobHistoryJobCompleted
349
474
  */
350
- class AwsNodeAddress extends protobuf_1.Message {
475
+ class JobHistoryJobCompleted extends protobuf_1.Message {
476
+ constructor(data) {
477
+ super();
478
+ protobuf_1.proto3.util.initPartial(data, this);
479
+ }
480
+ static fromBinary(bytes, options) {
481
+ return new JobHistoryJobCompleted().fromBinary(bytes, options);
482
+ }
483
+ static fromJson(jsonValue, options) {
484
+ return new JobHistoryJobCompleted().fromJson(jsonValue, options);
485
+ }
486
+ static fromJsonString(jsonString, options) {
487
+ return new JobHistoryJobCompleted().fromJsonString(jsonString, options);
488
+ }
489
+ static equals(a, b) {
490
+ return protobuf_1.proto3.util.equals(JobHistoryJobCompleted, a, b);
491
+ }
492
+ }
493
+ exports.JobHistoryJobCompleted = JobHistoryJobCompleted;
494
+ JobHistoryJobCompleted.runtime = protobuf_1.proto3;
495
+ JobHistoryJobCompleted.typeName = "norsk.api.manager.JobHistoryJobCompleted";
496
+ JobHistoryJobCompleted.fields = protobuf_1.proto3.util.newFieldList(() => [
497
+ { no: 1, name: "timestamp", kind: "message", T: protobuf_1.Timestamp },
498
+ ]);
499
+ /**
500
+ * @generated from message norsk.api.manager.JobHistoryEntry
501
+ */
502
+ class JobHistoryEntry extends protobuf_1.Message {
351
503
  constructor(data) {
352
504
  super();
353
505
  /**
354
- * @generated from field: string public_dns_name = 1;
355
- */
356
- this.publicDnsName = "";
357
- /**
358
- * @generated from field: string private_dns_name = 2;
359
- */
360
- this.privateDnsName = "";
361
- /**
362
- * @generated from field: string private_ip_address = 3;
506
+ * @generated from oneof norsk.api.manager.JobHistoryEntry.history_entry
363
507
  */
364
- this.privateIpAddress = "";
508
+ this.historyEntry = { case: undefined };
365
509
  protobuf_1.proto3.util.initPartial(data, this);
366
510
  }
367
511
  static fromBinary(bytes, options) {
368
- return new AwsNodeAddress().fromBinary(bytes, options);
512
+ return new JobHistoryEntry().fromBinary(bytes, options);
369
513
  }
370
514
  static fromJson(jsonValue, options) {
371
- return new AwsNodeAddress().fromJson(jsonValue, options);
515
+ return new JobHistoryEntry().fromJson(jsonValue, options);
372
516
  }
373
517
  static fromJsonString(jsonString, options) {
374
- return new AwsNodeAddress().fromJsonString(jsonString, options);
518
+ return new JobHistoryEntry().fromJsonString(jsonString, options);
375
519
  }
376
520
  static equals(a, b) {
377
- return protobuf_1.proto3.util.equals(AwsNodeAddress, a, b);
521
+ return protobuf_1.proto3.util.equals(JobHistoryEntry, a, b);
378
522
  }
379
523
  }
380
- exports.AwsNodeAddress = AwsNodeAddress;
381
- AwsNodeAddress.runtime = protobuf_1.proto3;
382
- AwsNodeAddress.typeName = "norsk.api.manager.AwsNodeAddress";
383
- AwsNodeAddress.fields = protobuf_1.proto3.util.newFieldList(() => [
384
- { no: 1, name: "public_dns_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
385
- { no: 2, name: "private_dns_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
386
- { no: 3, name: "private_ip_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
524
+ exports.JobHistoryEntry = JobHistoryEntry;
525
+ JobHistoryEntry.runtime = protobuf_1.proto3;
526
+ JobHistoryEntry.typeName = "norsk.api.manager.JobHistoryEntry";
527
+ JobHistoryEntry.fields = protobuf_1.proto3.util.newFieldList(() => [
528
+ { no: 1, name: "job_created", kind: "message", T: JobHistoryJobCreated, oneof: "history_entry" },
529
+ { no: 2, name: "job_updated", kind: "message", T: JobHistoryJobUpdated, oneof: "history_entry" },
530
+ { no: 3, name: "job_provisioned", kind: "message", T: JobHistoryJobProvisioned, oneof: "history_entry" },
531
+ { no: 4, name: "job_running", kind: "message", T: JobHistoryJobRunning, oneof: "history_entry" },
532
+ { no: 5, name: "job_stopping", kind: "message", T: JobHistoryJobStopping, oneof: "history_entry" },
533
+ { no: 6, name: "job_stopped", kind: "message", T: JobHistoryJobStopped, oneof: "history_entry" },
534
+ { no: 7, name: "job_completed", kind: "message", T: JobHistoryJobCompleted, oneof: "history_entry" },
387
535
  ]);
388
536
  /**
389
- * @generated from message norsk.api.manager.AwsRunningNode
537
+ * @generated from message norsk.api.manager.JobWithHistory
390
538
  */
391
- class AwsRunningNode extends protobuf_1.Message {
539
+ class JobWithHistory extends protobuf_1.Message {
392
540
  constructor(data) {
393
541
  super();
542
+ /**
543
+ * @generated from field: repeated norsk.api.manager.JobHistoryEntry history_entry = 2;
544
+ */
545
+ this.historyEntry = [];
394
546
  protobuf_1.proto3.util.initPartial(data, this);
395
547
  }
396
548
  static fromBinary(bytes, options) {
397
- return new AwsRunningNode().fromBinary(bytes, options);
549
+ return new JobWithHistory().fromBinary(bytes, options);
398
550
  }
399
551
  static fromJson(jsonValue, options) {
400
- return new AwsRunningNode().fromJson(jsonValue, options);
552
+ return new JobWithHistory().fromJson(jsonValue, options);
401
553
  }
402
554
  static fromJsonString(jsonString, options) {
403
- return new AwsRunningNode().fromJsonString(jsonString, options);
555
+ return new JobWithHistory().fromJsonString(jsonString, options);
404
556
  }
405
557
  static equals(a, b) {
406
- return protobuf_1.proto3.util.equals(AwsRunningNode, a, b);
558
+ return protobuf_1.proto3.util.equals(JobWithHistory, a, b);
407
559
  }
408
560
  }
409
- exports.AwsRunningNode = AwsRunningNode;
410
- AwsRunningNode.runtime = protobuf_1.proto3;
411
- AwsRunningNode.typeName = "norsk.api.manager.AwsRunningNode";
412
- AwsRunningNode.fields = protobuf_1.proto3.util.newFieldList(() => [
413
- { no: 1, name: "node", kind: "message", T: AwsNode },
414
- { no: 2, name: "address", kind: "message", T: AwsNodeAddress },
561
+ exports.JobWithHistory = JobWithHistory;
562
+ JobWithHistory.runtime = protobuf_1.proto3;
563
+ JobWithHistory.typeName = "norsk.api.manager.JobWithHistory";
564
+ JobWithHistory.fields = protobuf_1.proto3.util.newFieldList(() => [
565
+ { no: 1, name: "job", kind: "message", T: Job },
566
+ { no: 2, name: "history_entry", kind: "message", T: JobHistoryEntry, repeated: true },
415
567
  ]);
416
568
  /**
417
569
  * @generated from message norsk.api.manager.PhysicalNode
@@ -460,10 +612,6 @@ PhysicalNode.fields = protobuf_1.proto3.util.newFieldList(() => [
460
612
  class RunningJob extends protobuf_1.Message {
461
613
  constructor(data) {
462
614
  super();
463
- /**
464
- * @generated from field: string role = 2;
465
- */
466
- this.role = "";
467
615
  protobuf_1.proto3.util.initPartial(data, this);
468
616
  }
469
617
  static fromBinary(bytes, options) {
@@ -483,9 +631,35 @@ exports.RunningJob = RunningJob;
483
631
  RunningJob.runtime = protobuf_1.proto3;
484
632
  RunningJob.typeName = "norsk.api.manager.RunningJob";
485
633
  RunningJob.fields = protobuf_1.proto3.util.newFieldList(() => [
486
- { no: 1, name: "job_id", kind: "message", T: JobId },
487
- { no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
488
- { no: 3, name: "node_id", kind: "message", T: NodeId },
634
+ { no: 1, name: "job_key", kind: "message", T: common_pb_js_1.ActiveJobKey },
635
+ { no: 2, name: "node_id", kind: "message", T: common_pb_js_1.NodeId },
636
+ ]);
637
+ /**
638
+ * @generated from message norsk.api.manager.JobActive
639
+ */
640
+ class JobActive extends protobuf_1.Message {
641
+ constructor(data) {
642
+ super();
643
+ protobuf_1.proto3.util.initPartial(data, this);
644
+ }
645
+ static fromBinary(bytes, options) {
646
+ return new JobActive().fromBinary(bytes, options);
647
+ }
648
+ static fromJson(jsonValue, options) {
649
+ return new JobActive().fromJson(jsonValue, options);
650
+ }
651
+ static fromJsonString(jsonString, options) {
652
+ return new JobActive().fromJsonString(jsonString, options);
653
+ }
654
+ static equals(a, b) {
655
+ return protobuf_1.proto3.util.equals(JobActive, a, b);
656
+ }
657
+ }
658
+ exports.JobActive = JobActive;
659
+ JobActive.runtime = protobuf_1.proto3;
660
+ JobActive.typeName = "norsk.api.manager.JobActive";
661
+ JobActive.fields = protobuf_1.proto3.util.newFieldList(() => [
662
+ { no: 1, name: "jobWithHistory", kind: "message", T: JobWithHistory },
489
663
  ]);
490
664
  /**
491
665
  * @generated from message norsk.api.manager.JobPending
@@ -512,7 +686,7 @@ exports.JobPending = JobPending;
512
686
  JobPending.runtime = protobuf_1.proto3;
513
687
  JobPending.typeName = "norsk.api.manager.JobPending";
514
688
  JobPending.fields = protobuf_1.proto3.util.newFieldList(() => [
515
- { no: 1, name: "job", kind: "message", T: Job },
689
+ { no: 1, name: "jobWithHistory", kind: "message", T: JobWithHistory },
516
690
  ]);
517
691
  /**
518
692
  * @generated from message norsk.api.manager.JobUpdated
@@ -539,201 +713,61 @@ exports.JobUpdated = JobUpdated;
539
713
  JobUpdated.runtime = protobuf_1.proto3;
540
714
  JobUpdated.typeName = "norsk.api.manager.JobUpdated";
541
715
  JobUpdated.fields = protobuf_1.proto3.util.newFieldList(() => [
542
- { no: 1, name: "job", kind: "message", T: Job },
543
- ]);
544
- /**
545
- * @generated from message norsk.api.manager.JobDueToStart
546
- */
547
- class JobDueToStart extends protobuf_1.Message {
548
- constructor(data) {
549
- super();
550
- protobuf_1.proto3.util.initPartial(data, this);
551
- }
552
- static fromBinary(bytes, options) {
553
- return new JobDueToStart().fromBinary(bytes, options);
554
- }
555
- static fromJson(jsonValue, options) {
556
- return new JobDueToStart().fromJson(jsonValue, options);
557
- }
558
- static fromJsonString(jsonString, options) {
559
- return new JobDueToStart().fromJsonString(jsonString, options);
560
- }
561
- static equals(a, b) {
562
- return protobuf_1.proto3.util.equals(JobDueToStart, a, b);
563
- }
564
- }
565
- exports.JobDueToStart = JobDueToStart;
566
- JobDueToStart.runtime = protobuf_1.proto3;
567
- JobDueToStart.typeName = "norsk.api.manager.JobDueToStart";
568
- JobDueToStart.fields = protobuf_1.proto3.util.newFieldList(() => [
569
- { no: 1, name: "job", kind: "message", T: Job },
570
- ]);
571
- /**
572
- * @generated from message norsk.api.manager.JobInstanceStarting
573
- */
574
- class JobInstanceStarting extends protobuf_1.Message {
575
- constructor(data) {
576
- super();
577
- protobuf_1.proto3.util.initPartial(data, this);
578
- }
579
- static fromBinary(bytes, options) {
580
- return new JobInstanceStarting().fromBinary(bytes, options);
581
- }
582
- static fromJson(jsonValue, options) {
583
- return new JobInstanceStarting().fromJson(jsonValue, options);
584
- }
585
- static fromJsonString(jsonString, options) {
586
- return new JobInstanceStarting().fromJsonString(jsonString, options);
587
- }
588
- static equals(a, b) {
589
- return protobuf_1.proto3.util.equals(JobInstanceStarting, a, b);
590
- }
591
- }
592
- exports.JobInstanceStarting = JobInstanceStarting;
593
- JobInstanceStarting.runtime = protobuf_1.proto3;
594
- JobInstanceStarting.typeName = "norsk.api.manager.JobInstanceStarting";
595
- JobInstanceStarting.fields = protobuf_1.proto3.util.newFieldList(() => [
596
- { no: 1, name: "running_job", kind: "message", T: RunningJob },
597
- ]);
598
- /**
599
- * @generated from message norsk.api.manager.JobInstanceStarted
600
- */
601
- class JobInstanceStarted extends protobuf_1.Message {
602
- constructor(data) {
603
- super();
604
- protobuf_1.proto3.util.initPartial(data, this);
605
- }
606
- static fromBinary(bytes, options) {
607
- return new JobInstanceStarted().fromBinary(bytes, options);
608
- }
609
- static fromJson(jsonValue, options) {
610
- return new JobInstanceStarted().fromJson(jsonValue, options);
611
- }
612
- static fromJsonString(jsonString, options) {
613
- return new JobInstanceStarted().fromJsonString(jsonString, options);
614
- }
615
- static equals(a, b) {
616
- return protobuf_1.proto3.util.equals(JobInstanceStarted, a, b);
617
- }
618
- }
619
- exports.JobInstanceStarted = JobInstanceStarted;
620
- JobInstanceStarted.runtime = protobuf_1.proto3;
621
- JobInstanceStarted.typeName = "norsk.api.manager.JobInstanceStarted";
622
- JobInstanceStarted.fields = protobuf_1.proto3.util.newFieldList(() => [
623
- { no: 1, name: "running_job", kind: "message", T: RunningJob },
624
- ]);
625
- /**
626
- * @generated from message norsk.api.manager.JobDueToStop
627
- */
628
- class JobDueToStop extends protobuf_1.Message {
629
- constructor(data) {
630
- super();
631
- /**
632
- * @generated from field: repeated norsk.api.manager.RunningJob instances = 2;
633
- */
634
- this.instances = [];
635
- protobuf_1.proto3.util.initPartial(data, this);
636
- }
637
- static fromBinary(bytes, options) {
638
- return new JobDueToStop().fromBinary(bytes, options);
639
- }
640
- static fromJson(jsonValue, options) {
641
- return new JobDueToStop().fromJson(jsonValue, options);
642
- }
643
- static fromJsonString(jsonString, options) {
644
- return new JobDueToStop().fromJsonString(jsonString, options);
645
- }
646
- static equals(a, b) {
647
- return protobuf_1.proto3.util.equals(JobDueToStop, a, b);
648
- }
649
- }
650
- exports.JobDueToStop = JobDueToStop;
651
- JobDueToStop.runtime = protobuf_1.proto3;
652
- JobDueToStop.typeName = "norsk.api.manager.JobDueToStop";
653
- JobDueToStop.fields = protobuf_1.proto3.util.newFieldList(() => [
654
- { no: 1, name: "job", kind: "message", T: Job },
655
- { no: 2, name: "instances", kind: "message", T: RunningJob, repeated: true },
716
+ { no: 1, name: "jobWithHistory", kind: "message", T: JobWithHistory },
656
717
  ]);
657
718
  /**
658
- * @generated from message norsk.api.manager.JobInstanceStopping
719
+ * @generated from message norsk.api.manager.JobDeleted
659
720
  */
660
- class JobInstanceStopping extends protobuf_1.Message {
721
+ class JobDeleted extends protobuf_1.Message {
661
722
  constructor(data) {
662
723
  super();
663
724
  protobuf_1.proto3.util.initPartial(data, this);
664
725
  }
665
726
  static fromBinary(bytes, options) {
666
- return new JobInstanceStopping().fromBinary(bytes, options);
727
+ return new JobDeleted().fromBinary(bytes, options);
667
728
  }
668
729
  static fromJson(jsonValue, options) {
669
- return new JobInstanceStopping().fromJson(jsonValue, options);
730
+ return new JobDeleted().fromJson(jsonValue, options);
670
731
  }
671
732
  static fromJsonString(jsonString, options) {
672
- return new JobInstanceStopping().fromJsonString(jsonString, options);
733
+ return new JobDeleted().fromJsonString(jsonString, options);
673
734
  }
674
735
  static equals(a, b) {
675
- return protobuf_1.proto3.util.equals(JobInstanceStopping, a, b);
736
+ return protobuf_1.proto3.util.equals(JobDeleted, a, b);
676
737
  }
677
738
  }
678
- exports.JobInstanceStopping = JobInstanceStopping;
679
- JobInstanceStopping.runtime = protobuf_1.proto3;
680
- JobInstanceStopping.typeName = "norsk.api.manager.JobInstanceStopping";
681
- JobInstanceStopping.fields = protobuf_1.proto3.util.newFieldList(() => [
682
- { no: 1, name: "running_job", kind: "message", T: RunningJob },
739
+ exports.JobDeleted = JobDeleted;
740
+ JobDeleted.runtime = protobuf_1.proto3;
741
+ JobDeleted.typeName = "norsk.api.manager.JobDeleted";
742
+ JobDeleted.fields = protobuf_1.proto3.util.newFieldList(() => [
743
+ { no: 1, name: "jobId", kind: "message", T: common_pb_js_1.JobId },
683
744
  ]);
684
745
  /**
685
- * @generated from message norsk.api.manager.JobInstanceStopped
746
+ * @generated from message norsk.api.manager.JobOutOfWindow
686
747
  */
687
- class JobInstanceStopped extends protobuf_1.Message {
748
+ class JobOutOfWindow extends protobuf_1.Message {
688
749
  constructor(data) {
689
750
  super();
690
751
  protobuf_1.proto3.util.initPartial(data, this);
691
752
  }
692
753
  static fromBinary(bytes, options) {
693
- return new JobInstanceStopped().fromBinary(bytes, options);
754
+ return new JobOutOfWindow().fromBinary(bytes, options);
694
755
  }
695
756
  static fromJson(jsonValue, options) {
696
- return new JobInstanceStopped().fromJson(jsonValue, options);
757
+ return new JobOutOfWindow().fromJson(jsonValue, options);
697
758
  }
698
759
  static fromJsonString(jsonString, options) {
699
- return new JobInstanceStopped().fromJsonString(jsonString, options);
760
+ return new JobOutOfWindow().fromJsonString(jsonString, options);
700
761
  }
701
762
  static equals(a, b) {
702
- return protobuf_1.proto3.util.equals(JobInstanceStopped, a, b);
763
+ return protobuf_1.proto3.util.equals(JobOutOfWindow, a, b);
703
764
  }
704
765
  }
705
- exports.JobInstanceStopped = JobInstanceStopped;
706
- JobInstanceStopped.runtime = protobuf_1.proto3;
707
- JobInstanceStopped.typeName = "norsk.api.manager.JobInstanceStopped";
708
- JobInstanceStopped.fields = protobuf_1.proto3.util.newFieldList(() => [
709
- { no: 1, name: "running_job", kind: "message", T: RunningJob },
710
- ]);
711
- /**
712
- * @generated from message norsk.api.manager.JobInstanceFailed
713
- */
714
- class JobInstanceFailed extends protobuf_1.Message {
715
- constructor(data) {
716
- super();
717
- protobuf_1.proto3.util.initPartial(data, this);
718
- }
719
- static fromBinary(bytes, options) {
720
- return new JobInstanceFailed().fromBinary(bytes, options);
721
- }
722
- static fromJson(jsonValue, options) {
723
- return new JobInstanceFailed().fromJson(jsonValue, options);
724
- }
725
- static fromJsonString(jsonString, options) {
726
- return new JobInstanceFailed().fromJsonString(jsonString, options);
727
- }
728
- static equals(a, b) {
729
- return protobuf_1.proto3.util.equals(JobInstanceFailed, a, b);
730
- }
731
- }
732
- exports.JobInstanceFailed = JobInstanceFailed;
733
- JobInstanceFailed.runtime = protobuf_1.proto3;
734
- JobInstanceFailed.typeName = "norsk.api.manager.JobInstanceFailed";
735
- JobInstanceFailed.fields = protobuf_1.proto3.util.newFieldList(() => [
736
- { no: 1, name: "running_job", kind: "message", T: RunningJob },
766
+ exports.JobOutOfWindow = JobOutOfWindow;
767
+ JobOutOfWindow.runtime = protobuf_1.proto3;
768
+ JobOutOfWindow.typeName = "norsk.api.manager.JobOutOfWindow";
769
+ JobOutOfWindow.fields = protobuf_1.proto3.util.newFieldList(() => [
770
+ { no: 1, name: "jobWithHistory", kind: "message", T: JobWithHistory },
737
771
  ]);
738
772
  /**
739
773
  * @generated from message norsk.api.manager.CurrentJob
@@ -792,7 +826,7 @@ exports.NodeStarting = NodeStarting;
792
826
  NodeStarting.runtime = protobuf_1.proto3;
793
827
  NodeStarting.typeName = "norsk.api.manager.NodeStarting";
794
828
  NodeStarting.fields = protobuf_1.proto3.util.newFieldList(() => [
795
- { no: 1, name: "node_id", kind: "message", T: NodeId },
829
+ { no: 1, name: "nodeMetadata", kind: "message", T: common_pb_js_1.NodeMetadata },
796
830
  ]);
797
831
  /**
798
832
  * @generated from message norsk.api.manager.NodeStarted
@@ -800,10 +834,6 @@ NodeStarting.fields = protobuf_1.proto3.util.newFieldList(() => [
800
834
  class NodeStarted extends protobuf_1.Message {
801
835
  constructor(data) {
802
836
  super();
803
- /**
804
- * @generated from oneof norsk.api.manager.NodeStarted.node
805
- */
806
- this.node = { case: undefined };
807
837
  protobuf_1.proto3.util.initPartial(data, this);
808
838
  }
809
839
  static fromBinary(bytes, options) {
@@ -823,7 +853,8 @@ exports.NodeStarted = NodeStarted;
823
853
  NodeStarted.runtime = protobuf_1.proto3;
824
854
  NodeStarted.typeName = "norsk.api.manager.NodeStarted";
825
855
  NodeStarted.fields = protobuf_1.proto3.util.newFieldList(() => [
826
- { no: 1, name: "aws_node", kind: "message", T: AwsRunningNode, oneof: "node" },
856
+ { no: 1, name: "nodeMetadata", kind: "message", T: common_pb_js_1.NodeMetadata },
857
+ { no: 2, name: "runningNodeMetadata", kind: "message", T: common_pb_js_1.RunningNodeMetadata },
827
858
  ]);
828
859
  /**
829
860
  * @generated from message norsk.api.manager.NodeStopping
@@ -832,9 +863,9 @@ class NodeStopping extends protobuf_1.Message {
832
863
  constructor(data) {
833
864
  super();
834
865
  /**
835
- * @generated from field: repeated norsk.api.manager.RunningJob instances = 2;
866
+ * @generated from field: norsk.api.manager.NodeStopping.Reason reason = 2;
836
867
  */
837
- this.instances = [];
868
+ this.reason = NodeStopping_Reason.CREATE_FAILED;
838
869
  protobuf_1.proto3.util.initPartial(data, this);
839
870
  }
840
871
  static fromBinary(bytes, options) {
@@ -854,8 +885,67 @@ exports.NodeStopping = NodeStopping;
854
885
  NodeStopping.runtime = protobuf_1.proto3;
855
886
  NodeStopping.typeName = "norsk.api.manager.NodeStopping";
856
887
  NodeStopping.fields = protobuf_1.proto3.util.newFieldList(() => [
857
- { no: 1, name: "node_id", kind: "message", T: NodeId },
858
- { no: 2, name: "instances", kind: "message", T: RunningJob, repeated: true },
888
+ { no: 1, name: "node_id", kind: "message", T: common_pb_js_1.NodeId },
889
+ { no: 2, name: "reason", kind: "enum", T: protobuf_1.proto3.getEnumType(NodeStopping_Reason) },
890
+ ]);
891
+ /**
892
+ * @generated from enum norsk.api.manager.NodeStopping.Reason
893
+ */
894
+ var NodeStopping_Reason;
895
+ (function (NodeStopping_Reason) {
896
+ /**
897
+ * @generated from enum value: CREATE_FAILED = 0;
898
+ */
899
+ NodeStopping_Reason[NodeStopping_Reason["CREATE_FAILED"] = 0] = "CREATE_FAILED";
900
+ /**
901
+ * @generated from enum value: PENDING_TIME_EXCEEDED = 1;
902
+ */
903
+ NodeStopping_Reason[NodeStopping_Reason["PENDING_TIME_EXCEEDED"] = 1] = "PENDING_TIME_EXCEEDED";
904
+ /**
905
+ * @generated from enum value: STARTUP_TIME_EXCEEDED = 2;
906
+ */
907
+ NodeStopping_Reason[NodeStopping_Reason["STARTUP_TIME_EXCEEDED"] = 2] = "STARTUP_TIME_EXCEEDED";
908
+ /**
909
+ * @generated from enum value: INITIALISATION_HEALTH_PING_TIME_EXCEEDED = 3;
910
+ */
911
+ NodeStopping_Reason[NodeStopping_Reason["INITIALISATION_HEALTH_PING_TIME_EXCEEDED"] = 3] = "INITIALISATION_HEALTH_PING_TIME_EXCEEDED";
912
+ /**
913
+ * @generated from enum value: HEALTH_PING_TIME_EXCEEDED = 4;
914
+ */
915
+ NodeStopping_Reason[NodeStopping_Reason["HEALTH_PING_TIME_EXCEEDED"] = 4] = "HEALTH_PING_TIME_EXCEEDED";
916
+ /**
917
+ * @generated from enum value: DUPLICATE_JOB = 5;
918
+ */
919
+ NodeStopping_Reason[NodeStopping_Reason["DUPLICATE_JOB"] = 5] = "DUPLICATE_JOB";
920
+ /**
921
+ * @generated from enum value: PROVIDER_STOP = 6;
922
+ */
923
+ NodeStopping_Reason[NodeStopping_Reason["PROVIDER_STOP"] = 6] = "PROVIDER_STOP";
924
+ /**
925
+ * @generated from enum value: PROVIDER_TERMINATE = 7;
926
+ */
927
+ NodeStopping_Reason[NodeStopping_Reason["PROVIDER_TERMINATE"] = 7] = "PROVIDER_TERMINATE";
928
+ /**
929
+ * @generated from enum value: USER_REQUESTED = 8;
930
+ */
931
+ NodeStopping_Reason[NodeStopping_Reason["USER_REQUESTED"] = 8] = "USER_REQUESTED";
932
+ /**
933
+ * @generated from enum value: UNKNOWN_NODE = 9;
934
+ */
935
+ NodeStopping_Reason[NodeStopping_Reason["UNKNOWN_NODE"] = 9] = "UNKNOWN_NODE";
936
+ })(NodeStopping_Reason = exports.NodeStopping_Reason || (exports.NodeStopping_Reason = {}));
937
+ // Retrieve enum metadata with: proto3.getEnumType(NodeStopping_Reason)
938
+ protobuf_1.proto3.util.setEnumType(NodeStopping_Reason, "norsk.api.manager.NodeStopping.Reason", [
939
+ { no: 0, name: "CREATE_FAILED" },
940
+ { no: 1, name: "PENDING_TIME_EXCEEDED" },
941
+ { no: 2, name: "STARTUP_TIME_EXCEEDED" },
942
+ { no: 3, name: "INITIALISATION_HEALTH_PING_TIME_EXCEEDED" },
943
+ { no: 4, name: "HEALTH_PING_TIME_EXCEEDED" },
944
+ { no: 5, name: "DUPLICATE_JOB" },
945
+ { no: 6, name: "PROVIDER_STOP" },
946
+ { no: 7, name: "PROVIDER_TERMINATE" },
947
+ { no: 8, name: "USER_REQUESTED" },
948
+ { no: 9, name: "UNKNOWN_NODE" },
859
949
  ]);
860
950
  /**
861
951
  * @generated from message norsk.api.manager.NodeStopped
@@ -882,39 +972,7 @@ exports.NodeStopped = NodeStopped;
882
972
  NodeStopped.runtime = protobuf_1.proto3;
883
973
  NodeStopped.typeName = "norsk.api.manager.NodeStopped";
884
974
  NodeStopped.fields = protobuf_1.proto3.util.newFieldList(() => [
885
- { no: 1, name: "node_id", kind: "message", T: NodeId },
886
- ]);
887
- /**
888
- * @generated from message norsk.api.manager.NodeFailed
889
- */
890
- class NodeFailed extends protobuf_1.Message {
891
- constructor(data) {
892
- super();
893
- /**
894
- * @generated from field: repeated norsk.api.manager.RunningJob instances = 2;
895
- */
896
- this.instances = [];
897
- protobuf_1.proto3.util.initPartial(data, this);
898
- }
899
- static fromBinary(bytes, options) {
900
- return new NodeFailed().fromBinary(bytes, options);
901
- }
902
- static fromJson(jsonValue, options) {
903
- return new NodeFailed().fromJson(jsonValue, options);
904
- }
905
- static fromJsonString(jsonString, options) {
906
- return new NodeFailed().fromJsonString(jsonString, options);
907
- }
908
- static equals(a, b) {
909
- return protobuf_1.proto3.util.equals(NodeFailed, a, b);
910
- }
911
- }
912
- exports.NodeFailed = NodeFailed;
913
- NodeFailed.runtime = protobuf_1.proto3;
914
- NodeFailed.typeName = "norsk.api.manager.NodeFailed";
915
- NodeFailed.fields = protobuf_1.proto3.util.newFieldList(() => [
916
- { no: 1, name: "node_id", kind: "message", T: NodeId },
917
- { no: 2, name: "instances", kind: "message", T: RunningJob, repeated: true },
975
+ { no: 1, name: "node_id", kind: "message", T: common_pb_js_1.NodeId },
918
976
  ]);
919
977
  /**
920
978
  * @generated from message norsk.api.manager.NodeRunning
@@ -922,10 +980,6 @@ NodeFailed.fields = protobuf_1.proto3.util.newFieldList(() => [
922
980
  class NodeRunning extends protobuf_1.Message {
923
981
  constructor(data) {
924
982
  super();
925
- /**
926
- * @generated from oneof norsk.api.manager.NodeRunning.node
927
- */
928
- this.node = { case: undefined };
929
983
  /**
930
984
  * @generated from field: repeated norsk.api.manager.RunningJob instances = 3;
931
985
  */
@@ -949,8 +1003,8 @@ exports.NodeRunning = NodeRunning;
949
1003
  NodeRunning.runtime = protobuf_1.proto3;
950
1004
  NodeRunning.typeName = "norsk.api.manager.NodeRunning";
951
1005
  NodeRunning.fields = protobuf_1.proto3.util.newFieldList(() => [
952
- { no: 1, name: "aws_node", kind: "message", T: AwsRunningNode, oneof: "node" },
953
- { no: 2, name: "physical_node", kind: "message", T: PhysicalNode, oneof: "node" },
1006
+ { no: 1, name: "nodeMetadata", kind: "message", T: common_pb_js_1.NodeMetadata },
1007
+ { no: 2, name: "runningNodeMetadata", kind: "message", T: common_pb_js_1.RunningNodeMetadata },
954
1008
  { no: 3, name: "instances", kind: "message", T: RunningJob, repeated: true },
955
1009
  ]);
956
1010
  /**
@@ -986,66 +1040,73 @@ PhysicalNodeConnected.fields = protobuf_1.proto3.util.newFieldList(() => [
986
1040
  { no: 2, name: "instances", kind: "message", T: RunningJob, repeated: true },
987
1041
  ]);
988
1042
  /**
989
- * @generated from message norsk.api.manager.JobId
1043
+ * @generated from message norsk.api.manager.AwsLaunchTemplate
990
1044
  */
991
- class JobId extends protobuf_1.Message {
1045
+ class AwsLaunchTemplate extends protobuf_1.Message {
992
1046
  constructor(data) {
993
1047
  super();
994
1048
  /**
995
- * @generated from field: string job_id = 1;
1049
+ * @generated from oneof norsk.api.manager.AwsLaunchTemplate.template
1050
+ */
1051
+ this.template = { case: undefined };
1052
+ /**
1053
+ * @generated from field: string version = 3;
996
1054
  */
997
- this.jobId = "";
1055
+ this.version = "";
998
1056
  protobuf_1.proto3.util.initPartial(data, this);
999
1057
  }
1000
1058
  static fromBinary(bytes, options) {
1001
- return new JobId().fromBinary(bytes, options);
1059
+ return new AwsLaunchTemplate().fromBinary(bytes, options);
1002
1060
  }
1003
1061
  static fromJson(jsonValue, options) {
1004
- return new JobId().fromJson(jsonValue, options);
1062
+ return new AwsLaunchTemplate().fromJson(jsonValue, options);
1005
1063
  }
1006
1064
  static fromJsonString(jsonString, options) {
1007
- return new JobId().fromJsonString(jsonString, options);
1065
+ return new AwsLaunchTemplate().fromJsonString(jsonString, options);
1008
1066
  }
1009
1067
  static equals(a, b) {
1010
- return protobuf_1.proto3.util.equals(JobId, a, b);
1068
+ return protobuf_1.proto3.util.equals(AwsLaunchTemplate, a, b);
1011
1069
  }
1012
1070
  }
1013
- exports.JobId = JobId;
1014
- JobId.runtime = protobuf_1.proto3;
1015
- JobId.typeName = "norsk.api.manager.JobId";
1016
- JobId.fields = protobuf_1.proto3.util.newFieldList(() => [
1017
- { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1071
+ exports.AwsLaunchTemplate = AwsLaunchTemplate;
1072
+ AwsLaunchTemplate.runtime = protobuf_1.proto3;
1073
+ AwsLaunchTemplate.typeName = "norsk.api.manager.AwsLaunchTemplate";
1074
+ AwsLaunchTemplate.fields = protobuf_1.proto3.util.newFieldList(() => [
1075
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "template" },
1076
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "template" },
1077
+ { no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1018
1078
  ]);
1019
1079
  /**
1020
- * @generated from message norsk.api.manager.NodeId
1080
+ * @generated from message norsk.api.manager.AwsIamRole
1021
1081
  */
1022
- class NodeId extends protobuf_1.Message {
1082
+ class AwsIamRole extends protobuf_1.Message {
1023
1083
  constructor(data) {
1024
1084
  super();
1025
1085
  /**
1026
- * @generated from field: string node_id = 1;
1086
+ * @generated from oneof norsk.api.manager.AwsIamRole.iam_role
1027
1087
  */
1028
- this.nodeId = "";
1088
+ this.iamRole = { case: undefined };
1029
1089
  protobuf_1.proto3.util.initPartial(data, this);
1030
1090
  }
1031
1091
  static fromBinary(bytes, options) {
1032
- return new NodeId().fromBinary(bytes, options);
1092
+ return new AwsIamRole().fromBinary(bytes, options);
1033
1093
  }
1034
1094
  static fromJson(jsonValue, options) {
1035
- return new NodeId().fromJson(jsonValue, options);
1095
+ return new AwsIamRole().fromJson(jsonValue, options);
1036
1096
  }
1037
1097
  static fromJsonString(jsonString, options) {
1038
- return new NodeId().fromJsonString(jsonString, options);
1098
+ return new AwsIamRole().fromJsonString(jsonString, options);
1039
1099
  }
1040
1100
  static equals(a, b) {
1041
- return protobuf_1.proto3.util.equals(NodeId, a, b);
1101
+ return protobuf_1.proto3.util.equals(AwsIamRole, a, b);
1042
1102
  }
1043
1103
  }
1044
- exports.NodeId = NodeId;
1045
- NodeId.runtime = protobuf_1.proto3;
1046
- NodeId.typeName = "norsk.api.manager.NodeId";
1047
- NodeId.fields = protobuf_1.proto3.util.newFieldList(() => [
1048
- { no: 1, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1104
+ exports.AwsIamRole = AwsIamRole;
1105
+ AwsIamRole.runtime = protobuf_1.proto3;
1106
+ AwsIamRole.typeName = "norsk.api.manager.AwsIamRole";
1107
+ AwsIamRole.fields = protobuf_1.proto3.util.newFieldList(() => [
1108
+ { no: 1, name: "arn", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "iam_role" },
1109
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "iam_role" },
1049
1110
  ]);
1050
1111
  /**
1051
1112
  * @generated from message norsk.api.manager.CreateAwsNodeRequest
@@ -1054,25 +1115,25 @@ class CreateAwsNodeRequest extends protobuf_1.Message {
1054
1115
  constructor(data) {
1055
1116
  super();
1056
1117
  /**
1057
- * @generated from field: map<string, string> tags = 1;
1118
+ * @generated from field: map<string, string> tags = 2;
1058
1119
  */
1059
1120
  this.tags = {};
1060
- /**
1061
- * @generated from field: string instance_type = 2;
1062
- */
1063
- this.instanceType = "";
1064
1121
  /**
1065
1122
  * @generated from field: string region = 3;
1066
1123
  */
1067
1124
  this.region = "";
1068
1125
  /**
1069
- * @generated from field: string az = 4;
1126
+ * @generated from field: string instance_type = 4;
1127
+ */
1128
+ this.instanceType = "";
1129
+ /**
1130
+ * @generated from field: norsk.api.manager.Version worker_image_version = 11;
1070
1131
  */
1071
- this.az = "";
1132
+ this.workerImageVersion = Version.RECOMMENDED;
1072
1133
  /**
1073
- * @generated from field: string norsk_bootstrap_version = 5;
1134
+ * @generated from field: norsk.api.manager.Version worker_daemon_version = 12;
1074
1135
  */
1075
- this.norskBootstrapVersion = "";
1136
+ this.workerDaemonVersion = Version.RECOMMENDED;
1076
1137
  protobuf_1.proto3.util.initPartial(data, this);
1077
1138
  }
1078
1139
  static fromBinary(bytes, options) {
@@ -1092,11 +1153,75 @@ exports.CreateAwsNodeRequest = CreateAwsNodeRequest;
1092
1153
  CreateAwsNodeRequest.runtime = protobuf_1.proto3;
1093
1154
  CreateAwsNodeRequest.typeName = "norsk.api.manager.CreateAwsNodeRequest";
1094
1155
  CreateAwsNodeRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1095
- { no: 1, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
1096
- { no: 2, name: "instance_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1156
+ { no: 1, name: "node_id", kind: "message", T: common_pb_js_1.NodeId },
1157
+ { no: 2, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
1097
1158
  { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1098
- { no: 4, name: "az", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1099
- { no: 5, name: "norsk_bootstrap_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1159
+ { no: 4, name: "instance_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1160
+ { no: 5, name: "template", kind: "message", T: AwsLaunchTemplate },
1161
+ { no: 11, name: "worker_image_version", kind: "enum", T: protobuf_1.proto3.getEnumType(Version) },
1162
+ { no: 12, name: "worker_daemon_version", kind: "enum", T: protobuf_1.proto3.getEnumType(Version) },
1163
+ ]);
1164
+ /**
1165
+ * @generated from message norsk.api.manager.CreateOciNodeRequest
1166
+ */
1167
+ class CreateOciNodeRequest extends protobuf_1.Message {
1168
+ constructor(data) {
1169
+ super();
1170
+ /**
1171
+ * @generated from field: map<string, string> tags = 2;
1172
+ */
1173
+ this.tags = {};
1174
+ /**
1175
+ * @generated from field: string availabilityDomain = 3;
1176
+ */
1177
+ this.availabilityDomain = "";
1178
+ /**
1179
+ * @generated from field: string architecture = 4;
1180
+ */
1181
+ this.architecture = "";
1182
+ /**
1183
+ * @generated from field: string shape = 5;
1184
+ */
1185
+ this.shape = "";
1186
+ /**
1187
+ * @generated from field: string subnet = 6;
1188
+ */
1189
+ this.subnet = "";
1190
+ /**
1191
+ * @generated from field: norsk.api.manager.Version worker_image_version = 11;
1192
+ */
1193
+ this.workerImageVersion = Version.RECOMMENDED;
1194
+ /**
1195
+ * @generated from field: norsk.api.manager.Version worker_daemon_version = 12;
1196
+ */
1197
+ this.workerDaemonVersion = Version.RECOMMENDED;
1198
+ protobuf_1.proto3.util.initPartial(data, this);
1199
+ }
1200
+ static fromBinary(bytes, options) {
1201
+ return new CreateOciNodeRequest().fromBinary(bytes, options);
1202
+ }
1203
+ static fromJson(jsonValue, options) {
1204
+ return new CreateOciNodeRequest().fromJson(jsonValue, options);
1205
+ }
1206
+ static fromJsonString(jsonString, options) {
1207
+ return new CreateOciNodeRequest().fromJsonString(jsonString, options);
1208
+ }
1209
+ static equals(a, b) {
1210
+ return protobuf_1.proto3.util.equals(CreateOciNodeRequest, a, b);
1211
+ }
1212
+ }
1213
+ exports.CreateOciNodeRequest = CreateOciNodeRequest;
1214
+ CreateOciNodeRequest.runtime = protobuf_1.proto3;
1215
+ CreateOciNodeRequest.typeName = "norsk.api.manager.CreateOciNodeRequest";
1216
+ CreateOciNodeRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1217
+ { no: 1, name: "node_id", kind: "message", T: common_pb_js_1.NodeId },
1218
+ { no: 2, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
1219
+ { no: 3, name: "availabilityDomain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1220
+ { no: 4, name: "architecture", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1221
+ { no: 5, name: "shape", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1222
+ { no: 6, name: "subnet", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1223
+ { no: 11, name: "worker_image_version", kind: "enum", T: protobuf_1.proto3.getEnumType(Version) },
1224
+ { no: 12, name: "worker_daemon_version", kind: "enum", T: protobuf_1.proto3.getEnumType(Version) },
1100
1225
  ]);
1101
1226
  /**
1102
1227
  * @generated from message norsk.api.manager.UpdatePhysicalNodeRequest
@@ -1109,9 +1234,9 @@ class UpdatePhysicalNodeRequest extends protobuf_1.Message {
1109
1234
  */
1110
1235
  this.id = "";
1111
1236
  /**
1112
- * @generated from field: string norsk_bootstrap_version = 2;
1237
+ * @generated from field: string daemon_version = 2;
1113
1238
  */
1114
- this.norskBootstrapVersion = "";
1239
+ this.daemonVersion = "";
1115
1240
  protobuf_1.proto3.util.initPartial(data, this);
1116
1241
  }
1117
1242
  static fromBinary(bytes, options) {
@@ -1132,7 +1257,7 @@ UpdatePhysicalNodeRequest.runtime = protobuf_1.proto3;
1132
1257
  UpdatePhysicalNodeRequest.typeName = "norsk.api.manager.UpdatePhysicalNodeRequest";
1133
1258
  UpdatePhysicalNodeRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1134
1259
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1135
- { no: 2, name: "norsk_bootstrap_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1260
+ { no: 2, name: "daemon_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1136
1261
  ]);
1137
1262
  /**
1138
1263
  * @generated from message norsk.api.manager.StartJobRequest
@@ -1163,9 +1288,9 @@ exports.StartJobRequest = StartJobRequest;
1163
1288
  StartJobRequest.runtime = protobuf_1.proto3;
1164
1289
  StartJobRequest.typeName = "norsk.api.manager.StartJobRequest";
1165
1290
  StartJobRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1166
- { no: 1, name: "job_id", kind: "message", T: JobId },
1291
+ { no: 1, name: "job_id", kind: "message", T: common_pb_js_1.JobId },
1167
1292
  { no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1168
- { no: 3, name: "node_id", kind: "message", T: NodeId },
1293
+ { no: 3, name: "node_id", kind: "message", T: common_pb_js_1.NodeId },
1169
1294
  ]);
1170
1295
  /**
1171
1296
  * @generated from message norsk.api.manager.StopJobRequest
@@ -1196,9 +1321,9 @@ exports.StopJobRequest = StopJobRequest;
1196
1321
  StopJobRequest.runtime = protobuf_1.proto3;
1197
1322
  StopJobRequest.typeName = "norsk.api.manager.StopJobRequest";
1198
1323
  StopJobRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1199
- { no: 1, name: "job_id", kind: "message", T: JobId },
1324
+ { no: 1, name: "job_id", kind: "message", T: common_pb_js_1.JobId },
1200
1325
  { no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1201
- { no: 3, name: "node_id", kind: "message", T: NodeId },
1326
+ { no: 3, name: "node_id", kind: "message", T: common_pb_js_1.NodeId },
1202
1327
  ]);
1203
1328
  /**
1204
1329
  * @generated from message norsk.api.manager.TagFilter
@@ -1370,40 +1495,227 @@ JobFilter.fields = protobuf_1.proto3.util.newFieldList(() => [
1370
1495
  { no: 3, name: "date_filter", kind: "message", T: DateFilter, oneof: "job_filter" },
1371
1496
  ]);
1372
1497
  /**
1373
- * @generated from message norsk.api.manager.ManagerActivityStreamRequest
1498
+ * @generated from message norsk.api.manager.EventStreamRequest
1374
1499
  */
1375
- class ManagerActivityStreamRequest extends protobuf_1.Message {
1500
+ class EventStreamRequest extends protobuf_1.Message {
1376
1501
  constructor(data) {
1377
1502
  super();
1378
1503
  /**
1379
1504
  * @generated from field: int32 pending_window_s = 1;
1380
1505
  */
1381
1506
  this.pendingWindowS = 0;
1507
+ protobuf_1.proto3.util.initPartial(data, this);
1508
+ }
1509
+ static fromBinary(bytes, options) {
1510
+ return new EventStreamRequest().fromBinary(bytes, options);
1511
+ }
1512
+ static fromJson(jsonValue, options) {
1513
+ return new EventStreamRequest().fromJson(jsonValue, options);
1514
+ }
1515
+ static fromJsonString(jsonString, options) {
1516
+ return new EventStreamRequest().fromJsonString(jsonString, options);
1517
+ }
1518
+ static equals(a, b) {
1519
+ return protobuf_1.proto3.util.equals(EventStreamRequest, a, b);
1520
+ }
1521
+ }
1522
+ exports.EventStreamRequest = EventStreamRequest;
1523
+ EventStreamRequest.runtime = protobuf_1.proto3;
1524
+ EventStreamRequest.typeName = "norsk.api.manager.EventStreamRequest";
1525
+ EventStreamRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1526
+ { no: 1, name: "pending_window_s", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1527
+ ]);
1528
+ /**
1529
+ * @generated from message norsk.api.manager.AwsRegionHealth
1530
+ */
1531
+ class AwsRegionHealth extends protobuf_1.Message {
1532
+ constructor(data) {
1533
+ super();
1382
1534
  /**
1383
- * @generated from field: repeated norsk.api.manager.JobFilter job_filter = 2;
1535
+ * @generated from field: string region = 1;
1384
1536
  */
1385
- this.jobFilter = [];
1537
+ this.region = "";
1538
+ /**
1539
+ * @generated from field: norsk.api.manager.Health health = 2;
1540
+ */
1541
+ this.health = Health.HEALTHY;
1386
1542
  protobuf_1.proto3.util.initPartial(data, this);
1387
1543
  }
1388
1544
  static fromBinary(bytes, options) {
1389
- return new ManagerActivityStreamRequest().fromBinary(bytes, options);
1545
+ return new AwsRegionHealth().fromBinary(bytes, options);
1390
1546
  }
1391
1547
  static fromJson(jsonValue, options) {
1392
- return new ManagerActivityStreamRequest().fromJson(jsonValue, options);
1548
+ return new AwsRegionHealth().fromJson(jsonValue, options);
1393
1549
  }
1394
1550
  static fromJsonString(jsonString, options) {
1395
- return new ManagerActivityStreamRequest().fromJsonString(jsonString, options);
1551
+ return new AwsRegionHealth().fromJsonString(jsonString, options);
1396
1552
  }
1397
1553
  static equals(a, b) {
1398
- return protobuf_1.proto3.util.equals(ManagerActivityStreamRequest, a, b);
1554
+ return protobuf_1.proto3.util.equals(AwsRegionHealth, a, b);
1399
1555
  }
1400
1556
  }
1401
- exports.ManagerActivityStreamRequest = ManagerActivityStreamRequest;
1402
- ManagerActivityStreamRequest.runtime = protobuf_1.proto3;
1403
- ManagerActivityStreamRequest.typeName = "norsk.api.manager.ManagerActivityStreamRequest";
1404
- ManagerActivityStreamRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1405
- { no: 1, name: "pending_window_s", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1406
- { no: 2, name: "job_filter", kind: "message", T: JobFilter, repeated: true },
1557
+ exports.AwsRegionHealth = AwsRegionHealth;
1558
+ AwsRegionHealth.runtime = protobuf_1.proto3;
1559
+ AwsRegionHealth.typeName = "norsk.api.manager.AwsRegionHealth";
1560
+ AwsRegionHealth.fields = protobuf_1.proto3.util.newFieldList(() => [
1561
+ { no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1562
+ { no: 2, name: "health", kind: "enum", T: protobuf_1.proto3.getEnumType(Health) },
1563
+ ]);
1564
+ /**
1565
+ * @generated from message norsk.api.manager.AwsHealth
1566
+ */
1567
+ class AwsHealth extends protobuf_1.Message {
1568
+ constructor(data) {
1569
+ super();
1570
+ /**
1571
+ * @generated from field: repeated norsk.api.manager.AwsRegionHealth region_health = 1;
1572
+ */
1573
+ this.regionHealth = [];
1574
+ protobuf_1.proto3.util.initPartial(data, this);
1575
+ }
1576
+ static fromBinary(bytes, options) {
1577
+ return new AwsHealth().fromBinary(bytes, options);
1578
+ }
1579
+ static fromJson(jsonValue, options) {
1580
+ return new AwsHealth().fromJson(jsonValue, options);
1581
+ }
1582
+ static fromJsonString(jsonString, options) {
1583
+ return new AwsHealth().fromJsonString(jsonString, options);
1584
+ }
1585
+ static equals(a, b) {
1586
+ return protobuf_1.proto3.util.equals(AwsHealth, a, b);
1587
+ }
1588
+ }
1589
+ exports.AwsHealth = AwsHealth;
1590
+ AwsHealth.runtime = protobuf_1.proto3;
1591
+ AwsHealth.typeName = "norsk.api.manager.AwsHealth";
1592
+ AwsHealth.fields = protobuf_1.proto3.util.newFieldList(() => [
1593
+ { no: 1, name: "region_health", kind: "message", T: AwsRegionHealth, repeated: true },
1594
+ ]);
1595
+ /**
1596
+ * @generated from message norsk.api.manager.OciRegionHealth
1597
+ */
1598
+ class OciRegionHealth extends protobuf_1.Message {
1599
+ constructor(data) {
1600
+ super();
1601
+ /**
1602
+ * @generated from field: string availabilityDomain = 1;
1603
+ */
1604
+ this.availabilityDomain = "";
1605
+ /**
1606
+ * @generated from field: norsk.api.manager.Health health = 2;
1607
+ */
1608
+ this.health = Health.HEALTHY;
1609
+ protobuf_1.proto3.util.initPartial(data, this);
1610
+ }
1611
+ static fromBinary(bytes, options) {
1612
+ return new OciRegionHealth().fromBinary(bytes, options);
1613
+ }
1614
+ static fromJson(jsonValue, options) {
1615
+ return new OciRegionHealth().fromJson(jsonValue, options);
1616
+ }
1617
+ static fromJsonString(jsonString, options) {
1618
+ return new OciRegionHealth().fromJsonString(jsonString, options);
1619
+ }
1620
+ static equals(a, b) {
1621
+ return protobuf_1.proto3.util.equals(OciRegionHealth, a, b);
1622
+ }
1623
+ }
1624
+ exports.OciRegionHealth = OciRegionHealth;
1625
+ OciRegionHealth.runtime = protobuf_1.proto3;
1626
+ OciRegionHealth.typeName = "norsk.api.manager.OciRegionHealth";
1627
+ OciRegionHealth.fields = protobuf_1.proto3.util.newFieldList(() => [
1628
+ { no: 1, name: "availabilityDomain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1629
+ { no: 2, name: "health", kind: "enum", T: protobuf_1.proto3.getEnumType(Health) },
1630
+ ]);
1631
+ /**
1632
+ * @generated from message norsk.api.manager.OciHealth
1633
+ */
1634
+ class OciHealth extends protobuf_1.Message {
1635
+ constructor(data) {
1636
+ super();
1637
+ /**
1638
+ * @generated from field: repeated norsk.api.manager.OciRegionHealth region_health = 1;
1639
+ */
1640
+ this.regionHealth = [];
1641
+ protobuf_1.proto3.util.initPartial(data, this);
1642
+ }
1643
+ static fromBinary(bytes, options) {
1644
+ return new OciHealth().fromBinary(bytes, options);
1645
+ }
1646
+ static fromJson(jsonValue, options) {
1647
+ return new OciHealth().fromJson(jsonValue, options);
1648
+ }
1649
+ static fromJsonString(jsonString, options) {
1650
+ return new OciHealth().fromJsonString(jsonString, options);
1651
+ }
1652
+ static equals(a, b) {
1653
+ return protobuf_1.proto3.util.equals(OciHealth, a, b);
1654
+ }
1655
+ }
1656
+ exports.OciHealth = OciHealth;
1657
+ OciHealth.runtime = protobuf_1.proto3;
1658
+ OciHealth.typeName = "norsk.api.manager.OciHealth";
1659
+ OciHealth.fields = protobuf_1.proto3.util.newFieldList(() => [
1660
+ { no: 1, name: "region_health", kind: "message", T: OciRegionHealth, repeated: true },
1661
+ ]);
1662
+ /**
1663
+ * @generated from message norsk.api.manager.TestHealth
1664
+ */
1665
+ class TestHealth extends protobuf_1.Message {
1666
+ constructor(data) {
1667
+ super();
1668
+ protobuf_1.proto3.util.initPartial(data, this);
1669
+ }
1670
+ static fromBinary(bytes, options) {
1671
+ return new TestHealth().fromBinary(bytes, options);
1672
+ }
1673
+ static fromJson(jsonValue, options) {
1674
+ return new TestHealth().fromJson(jsonValue, options);
1675
+ }
1676
+ static fromJsonString(jsonString, options) {
1677
+ return new TestHealth().fromJsonString(jsonString, options);
1678
+ }
1679
+ static equals(a, b) {
1680
+ return protobuf_1.proto3.util.equals(TestHealth, a, b);
1681
+ }
1682
+ }
1683
+ exports.TestHealth = TestHealth;
1684
+ TestHealth.runtime = protobuf_1.proto3;
1685
+ TestHealth.typeName = "norsk.api.manager.TestHealth";
1686
+ TestHealth.fields = protobuf_1.proto3.util.newFieldList(() => []);
1687
+ /**
1688
+ * @generated from message norsk.api.manager.ProviderHealth
1689
+ */
1690
+ class ProviderHealth extends protobuf_1.Message {
1691
+ constructor(data) {
1692
+ super();
1693
+ /**
1694
+ * @generated from oneof norsk.api.manager.ProviderHealth.health
1695
+ */
1696
+ this.health = { case: undefined };
1697
+ protobuf_1.proto3.util.initPartial(data, this);
1698
+ }
1699
+ static fromBinary(bytes, options) {
1700
+ return new ProviderHealth().fromBinary(bytes, options);
1701
+ }
1702
+ static fromJson(jsonValue, options) {
1703
+ return new ProviderHealth().fromJson(jsonValue, options);
1704
+ }
1705
+ static fromJsonString(jsonString, options) {
1706
+ return new ProviderHealth().fromJsonString(jsonString, options);
1707
+ }
1708
+ static equals(a, b) {
1709
+ return protobuf_1.proto3.util.equals(ProviderHealth, a, b);
1710
+ }
1711
+ }
1712
+ exports.ProviderHealth = ProviderHealth;
1713
+ ProviderHealth.runtime = protobuf_1.proto3;
1714
+ ProviderHealth.typeName = "norsk.api.manager.ProviderHealth";
1715
+ ProviderHealth.fields = protobuf_1.proto3.util.newFieldList(() => [
1716
+ { no: 1, name: "aws", kind: "message", T: AwsHealth, oneof: "health" },
1717
+ { no: 2, name: "oci", kind: "message", T: OciHealth, oneof: "health" },
1718
+ { no: 3, name: "test", kind: "message", T: TestHealth, oneof: "health" },
1407
1719
  ]);
1408
1720
  /**
1409
1721
  * @generated from message norsk.api.manager.InitialDataComplete
@@ -1411,6 +1723,10 @@ ManagerActivityStreamRequest.fields = protobuf_1.proto3.util.newFieldList(() =>
1411
1723
  class InitialDataComplete extends protobuf_1.Message {
1412
1724
  constructor(data) {
1413
1725
  super();
1726
+ /**
1727
+ * @generated from field: repeated norsk.api.manager.ProviderHealth health = 1;
1728
+ */
1729
+ this.health = [];
1414
1730
  protobuf_1.proto3.util.initPartial(data, this);
1415
1731
  }
1416
1732
  static fromBinary(bytes, options) {
@@ -1429,53 +1745,52 @@ class InitialDataComplete extends protobuf_1.Message {
1429
1745
  exports.InitialDataComplete = InitialDataComplete;
1430
1746
  InitialDataComplete.runtime = protobuf_1.proto3;
1431
1747
  InitialDataComplete.typeName = "norsk.api.manager.InitialDataComplete";
1432
- InitialDataComplete.fields = protobuf_1.proto3.util.newFieldList(() => []);
1748
+ InitialDataComplete.fields = protobuf_1.proto3.util.newFieldList(() => [
1749
+ { no: 1, name: "health", kind: "message", T: ProviderHealth, repeated: true },
1750
+ ]);
1433
1751
  /**
1434
- * @generated from message norsk.api.manager.ManagerActivityStreamEvent
1752
+ * @generated from message norsk.api.manager.EventStreamEvent
1435
1753
  */
1436
- class ManagerActivityStreamEvent extends protobuf_1.Message {
1754
+ class EventStreamEvent extends protobuf_1.Message {
1437
1755
  constructor(data) {
1438
1756
  super();
1439
1757
  /**
1440
- * @generated from oneof norsk.api.manager.ManagerActivityStreamEvent.event
1758
+ * @generated from oneof norsk.api.manager.EventStreamEvent.event
1441
1759
  */
1442
1760
  this.event = { case: undefined };
1443
1761
  protobuf_1.proto3.util.initPartial(data, this);
1444
1762
  }
1445
1763
  static fromBinary(bytes, options) {
1446
- return new ManagerActivityStreamEvent().fromBinary(bytes, options);
1764
+ return new EventStreamEvent().fromBinary(bytes, options);
1447
1765
  }
1448
1766
  static fromJson(jsonValue, options) {
1449
- return new ManagerActivityStreamEvent().fromJson(jsonValue, options);
1767
+ return new EventStreamEvent().fromJson(jsonValue, options);
1450
1768
  }
1451
1769
  static fromJsonString(jsonString, options) {
1452
- return new ManagerActivityStreamEvent().fromJsonString(jsonString, options);
1770
+ return new EventStreamEvent().fromJsonString(jsonString, options);
1453
1771
  }
1454
1772
  static equals(a, b) {
1455
- return protobuf_1.proto3.util.equals(ManagerActivityStreamEvent, a, b);
1773
+ return protobuf_1.proto3.util.equals(EventStreamEvent, a, b);
1456
1774
  }
1457
1775
  }
1458
- exports.ManagerActivityStreamEvent = ManagerActivityStreamEvent;
1459
- ManagerActivityStreamEvent.runtime = protobuf_1.proto3;
1460
- ManagerActivityStreamEvent.typeName = "norsk.api.manager.ManagerActivityStreamEvent";
1461
- ManagerActivityStreamEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
1462
- { no: 1, name: "initial_data_complete", kind: "message", T: InitialDataComplete, oneof: "event" },
1463
- { no: 2, name: "job_updated", kind: "message", T: JobUpdated, oneof: "event" },
1464
- { no: 3, name: "job_pending", kind: "message", T: JobPending, oneof: "event" },
1465
- { no: 4, name: "job_due_to_start", kind: "message", T: JobDueToStart, oneof: "event" },
1466
- { no: 5, name: "job_instance_starting", kind: "message", T: JobInstanceStarting, oneof: "event" },
1467
- { no: 6, name: "job_instance_started", kind: "message", T: JobInstanceStarted, oneof: "event" },
1468
- { no: 7, name: "job_due_to_stop", kind: "message", T: JobDueToStop, oneof: "event" },
1469
- { no: 8, name: "job_instance_stopping", kind: "message", T: JobInstanceStopping, oneof: "event" },
1470
- { no: 9, name: "job_instance_stopped", kind: "message", T: JobInstanceStopped, oneof: "event" },
1471
- { no: 10, name: "job_instance_failed", kind: "message", T: JobInstanceFailed, oneof: "event" },
1472
- { no: 11, name: "node_running", kind: "message", T: NodeRunning, oneof: "event" },
1473
- { no: 12, name: "node_starting", kind: "message", T: NodeStarting, oneof: "event" },
1474
- { no: 13, name: "node_started", kind: "message", T: NodeStarted, oneof: "event" },
1475
- { no: 14, name: "node_stopping", kind: "message", T: NodeStopping, oneof: "event" },
1476
- { no: 15, name: "node_stopped", kind: "message", T: NodeStopped, oneof: "event" },
1477
- { no: 16, name: "node_failed", kind: "message", T: NodeFailed, oneof: "event" },
1478
- { no: 17, name: "physical_node_connected", kind: "message", T: PhysicalNodeConnected, oneof: "event" },
1776
+ exports.EventStreamEvent = EventStreamEvent;
1777
+ EventStreamEvent.runtime = protobuf_1.proto3;
1778
+ EventStreamEvent.typeName = "norsk.api.manager.EventStreamEvent";
1779
+ EventStreamEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
1780
+ { no: 1, name: "node_running", kind: "message", T: NodeRunning, oneof: "event" },
1781
+ { no: 2, name: "job_active", kind: "message", T: JobActive, oneof: "event" },
1782
+ { no: 3, name: "initial_data_complete", kind: "message", T: InitialDataComplete, oneof: "event" },
1783
+ { no: 4, name: "job_updated", kind: "message", T: JobUpdated, oneof: "event" },
1784
+ { no: 5, name: "job_deleted", kind: "message", T: JobDeleted, oneof: "event" },
1785
+ { no: 6, name: "job_pending", kind: "message", T: JobPending, oneof: "event" },
1786
+ { no: 7, name: "job_out_of_window", kind: "message", T: JobOutOfWindow, oneof: "event" },
1787
+ { no: 8, name: "node_starting", kind: "message", T: NodeStarting, oneof: "event" },
1788
+ { no: 9, name: "node_started", kind: "message", T: NodeStarted, oneof: "event" },
1789
+ { no: 10, name: "node_stopping", kind: "message", T: NodeStopping, oneof: "event" },
1790
+ { no: 11, name: "node_stopped", kind: "message", T: NodeStopped, oneof: "event" },
1791
+ { no: 12, name: "physical_node_connected", kind: "message", T: PhysicalNodeConnected, oneof: "event" },
1792
+ { no: 13, name: "provider_health_change", kind: "message", T: ProviderHealth, oneof: "event" },
1793
+ { no: 14, name: "job_info", kind: "message", T: common_pb_js_1.JobInfoMessage, oneof: "event" },
1479
1794
  ]);
1480
1795
  /**
1481
1796
  * @generated from message norsk.api.manager.JobSearchRequest