@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_grpc_pb.d.ts +97 -62
- package/lib/manager_grpc_pb.js +103 -58
- package/lib/manager_pb.d.ts +749 -482
- package/lib/manager_pb.js +829 -514
- package/lib/manager_pb.js.map +1 -1
- package/lib/manager_pb.ts +1170 -733
- package/lib/media_grpc_pb.d.ts +66 -0
- package/lib/media_grpc_pb.js +124 -3
- package/lib/media_pb.d.ts +491 -632
- package/lib/media_pb.js +478 -709
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +696 -851
- package/lib/shared/common_pb.d.ts +872 -1
- package/lib/shared/common_pb.js +1338 -69
- package/lib/shared/common_pb.js.map +1 -1
- package/lib/shared/common_pb.ts +1698 -57
- package/lib/shared/error_grpc_pb.js +1 -0
- package/lib/shared/error_pb.d.ts +413 -0
- package/lib/shared/error_pb.js +442 -0
- package/lib/shared/error_pb.js.map +1 -0
- package/lib/shared/error_pb.ts +546 -0
- package/lib/worker_grpc_pb.d.ts +3 -2
- package/lib/worker_grpc_pb.js +12 -11
- package/lib/worker_pb.d.ts +194 -102
- package/lib/worker_pb.js +221 -111
- package/lib/worker_pb.js.map +1 -1
- package/lib/worker_pb.ts +315 -152
- package/package.json +1 -1
package/lib/manager_pb.ts
CHANGED
|
@@ -5,7 +5,65 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
-
import { Log, Version } from "./shared/common_pb.js";
|
|
8
|
+
import { ActiveJobKey, JobId, JobInfoMessage, Log, NodeId, NodeMetadata, ResolvedPortMappings, RunningNodeMetadata, Service, ServiceParameters, Version as Version$1 } from "./shared/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from enum norsk.api.manager.Version
|
|
12
|
+
*/
|
|
13
|
+
export enum Version {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: RECOMMENDED = 0;
|
|
16
|
+
*/
|
|
17
|
+
RECOMMENDED = 0,
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: LATEST = 1;
|
|
21
|
+
*/
|
|
22
|
+
LATEST = 1,
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: PREVIOUS_RECOMMENDED = 2;
|
|
26
|
+
*/
|
|
27
|
+
PREVIOUS_RECOMMENDED = 2,
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: LTS = 3;
|
|
31
|
+
*/
|
|
32
|
+
LTS = 3,
|
|
33
|
+
}
|
|
34
|
+
// Retrieve enum metadata with: proto3.getEnumType(Version)
|
|
35
|
+
proto3.util.setEnumType(Version, "norsk.api.manager.Version", [
|
|
36
|
+
{ no: 0, name: "RECOMMENDED" },
|
|
37
|
+
{ no: 1, name: "LATEST" },
|
|
38
|
+
{ no: 2, name: "PREVIOUS_RECOMMENDED" },
|
|
39
|
+
{ no: 3, name: "LTS" },
|
|
40
|
+
]);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from enum norsk.api.manager.Health
|
|
44
|
+
*/
|
|
45
|
+
export enum Health {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum value: HEALTHY = 0;
|
|
48
|
+
*/
|
|
49
|
+
HEALTHY = 0,
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from enum value: UNSTABLE = 1;
|
|
53
|
+
*/
|
|
54
|
+
UNSTABLE = 1,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from enum value: FAILED = 2;
|
|
58
|
+
*/
|
|
59
|
+
FAILED = 2,
|
|
60
|
+
}
|
|
61
|
+
// Retrieve enum metadata with: proto3.getEnumType(Health)
|
|
62
|
+
proto3.util.setEnumType(Health, "norsk.api.manager.Health", [
|
|
63
|
+
{ no: 0, name: "HEALTHY" },
|
|
64
|
+
{ no: 1, name: "UNSTABLE" },
|
|
65
|
+
{ no: 2, name: "FAILED" },
|
|
66
|
+
]);
|
|
9
67
|
|
|
10
68
|
/**
|
|
11
69
|
* `Hello` is sent to the client at the start of a status channel, and gives
|
|
@@ -19,7 +77,7 @@ export class Hello extends Message<Hello> {
|
|
|
19
77
|
*
|
|
20
78
|
* @generated from field: norsk.api.common.Version version = 1;
|
|
21
79
|
*/
|
|
22
|
-
version?: Version;
|
|
80
|
+
version?: Version$1;
|
|
23
81
|
|
|
24
82
|
constructor(data?: PartialMessage<Hello>) {
|
|
25
83
|
super();
|
|
@@ -29,7 +87,7 @@ export class Hello extends Message<Hello> {
|
|
|
29
87
|
static readonly runtime = proto3;
|
|
30
88
|
static readonly typeName = "norsk.api.manager.Hello";
|
|
31
89
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
32
|
-
{ no: 1, name: "version", kind: "message", T: Version },
|
|
90
|
+
{ no: 1, name: "version", kind: "message", T: Version$1 },
|
|
33
91
|
]);
|
|
34
92
|
|
|
35
93
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Hello {
|
|
@@ -50,963 +108,972 @@ export class Hello extends Message<Hello> {
|
|
|
50
108
|
}
|
|
51
109
|
|
|
52
110
|
/**
|
|
53
|
-
* @generated from message norsk.api.manager.
|
|
111
|
+
* @generated from message norsk.api.manager.Job
|
|
54
112
|
*/
|
|
55
|
-
export class
|
|
113
|
+
export class Job extends Message<Job> {
|
|
56
114
|
/**
|
|
57
|
-
* @generated from field:
|
|
115
|
+
* @generated from field: norsk.api.common.JobId job_id = 1;
|
|
58
116
|
*/
|
|
59
|
-
|
|
117
|
+
jobId?: JobId;
|
|
60
118
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: string description = 2;
|
|
121
|
+
*/
|
|
122
|
+
description = "";
|
|
65
123
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
]);
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: map<string, string> tags = 3;
|
|
126
|
+
*/
|
|
127
|
+
tags: { [key: string]: string } = {};
|
|
71
128
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: google.protobuf.Timestamp start_date_time = 4;
|
|
131
|
+
*/
|
|
132
|
+
startDateTime?: Timestamp;
|
|
75
133
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: int64 current_hash = 5;
|
|
136
|
+
*/
|
|
137
|
+
currentHash = protoInt64.zero;
|
|
79
138
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: string manager_configuration = 6;
|
|
141
|
+
*/
|
|
142
|
+
managerConfiguration = "";
|
|
83
143
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: repeated norsk.api.common.Service services = 7;
|
|
146
|
+
*/
|
|
147
|
+
services: Service[] = [];
|
|
88
148
|
|
|
89
|
-
/**
|
|
90
|
-
* @generated from message norsk.api.manager.PublicHttpLocation
|
|
91
|
-
*/
|
|
92
|
-
export class PublicHttpLocation extends Message<PublicHttpLocation> {
|
|
93
149
|
/**
|
|
94
|
-
* @generated from field:
|
|
150
|
+
* @generated from field: norsk.api.manager.Version norsk_media_version = 8;
|
|
95
151
|
*/
|
|
96
|
-
|
|
152
|
+
norskMediaVersion = Version.RECOMMENDED;
|
|
97
153
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: norsk.api.common.ServiceParameters norsk_service_parameters = 9;
|
|
156
|
+
*/
|
|
157
|
+
norskServiceParameters?: ServiceParameters;
|
|
102
158
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
]);
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: repeated string volumes = 10;
|
|
161
|
+
*/
|
|
162
|
+
volumes: string[] = [];
|
|
108
163
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
164
|
+
/**
|
|
165
|
+
* @generated from field: norsk.api.manager.Job.JobState state = 11;
|
|
166
|
+
*/
|
|
167
|
+
state = Job_JobState.PRE;
|
|
112
168
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
169
|
+
/**
|
|
170
|
+
* @generated from field: string shape = 12;
|
|
171
|
+
*/
|
|
172
|
+
shape = "";
|
|
116
173
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: string architecture = 13;
|
|
176
|
+
*/
|
|
177
|
+
architecture = "";
|
|
120
178
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
179
|
+
/**
|
|
180
|
+
* @generated from field: string subnet = 14;
|
|
181
|
+
*/
|
|
182
|
+
subnet = "";
|
|
125
183
|
|
|
126
|
-
/**
|
|
127
|
-
* @generated from message norsk.api.manager.CustomLocation
|
|
128
|
-
*/
|
|
129
|
-
export class CustomLocation extends Message<CustomLocation> {
|
|
130
184
|
/**
|
|
131
|
-
* @generated from
|
|
185
|
+
* @generated from field: string availabilityDomain = 15;
|
|
132
186
|
*/
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @generated from field: norsk.api.manager.AwsS3Location aws_s3_location = 1;
|
|
136
|
-
*/
|
|
137
|
-
value: AwsS3Location;
|
|
138
|
-
case: "awsS3Location";
|
|
139
|
-
} | {
|
|
140
|
-
/**
|
|
141
|
-
* @generated from field: norsk.api.manager.PublicHttpLocation http_location = 2;
|
|
142
|
-
*/
|
|
143
|
-
value: PublicHttpLocation;
|
|
144
|
-
case: "httpLocation";
|
|
145
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
187
|
+
availabilityDomain = "";
|
|
146
188
|
|
|
147
|
-
constructor(data?: PartialMessage<
|
|
189
|
+
constructor(data?: PartialMessage<Job>) {
|
|
148
190
|
super();
|
|
149
191
|
proto3.util.initPartial(data, this);
|
|
150
192
|
}
|
|
151
193
|
|
|
152
194
|
static readonly runtime = proto3;
|
|
153
|
-
static readonly typeName = "norsk.api.manager.
|
|
195
|
+
static readonly typeName = "norsk.api.manager.Job";
|
|
154
196
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
155
|
-
{ no: 1, name: "
|
|
156
|
-
{ no: 2, name: "
|
|
197
|
+
{ no: 1, name: "job_id", kind: "message", T: JobId },
|
|
198
|
+
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
199
|
+
{ no: 3, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
200
|
+
{ no: 4, name: "start_date_time", kind: "message", T: Timestamp },
|
|
201
|
+
{ no: 5, name: "current_hash", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
202
|
+
{ no: 6, name: "manager_configuration", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
203
|
+
{ no: 7, name: "services", kind: "message", T: Service, repeated: true },
|
|
204
|
+
{ no: 8, name: "norsk_media_version", kind: "enum", T: proto3.getEnumType(Version) },
|
|
205
|
+
{ no: 9, name: "norsk_service_parameters", kind: "message", T: ServiceParameters },
|
|
206
|
+
{ no: 10, name: "volumes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
207
|
+
{ no: 11, name: "state", kind: "enum", T: proto3.getEnumType(Job_JobState) },
|
|
208
|
+
{ no: 12, name: "shape", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
209
|
+
{ no: 13, name: "architecture", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
210
|
+
{ no: 14, name: "subnet", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
211
|
+
{ no: 15, name: "availabilityDomain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
157
212
|
]);
|
|
158
213
|
|
|
159
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
160
|
-
return new
|
|
214
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Job {
|
|
215
|
+
return new Job().fromBinary(bytes, options);
|
|
161
216
|
}
|
|
162
217
|
|
|
163
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
164
|
-
return new
|
|
218
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Job {
|
|
219
|
+
return new Job().fromJson(jsonValue, options);
|
|
165
220
|
}
|
|
166
221
|
|
|
167
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
168
|
-
return new
|
|
222
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Job {
|
|
223
|
+
return new Job().fromJsonString(jsonString, options);
|
|
169
224
|
}
|
|
170
225
|
|
|
171
|
-
static equals(a:
|
|
172
|
-
return proto3.util.equals(
|
|
226
|
+
static equals(a: Job | PlainMessage<Job> | undefined, b: Job | PlainMessage<Job> | undefined): boolean {
|
|
227
|
+
return proto3.util.equals(Job, a, b);
|
|
173
228
|
}
|
|
174
229
|
}
|
|
175
230
|
|
|
176
231
|
/**
|
|
177
|
-
* @generated from
|
|
232
|
+
* @generated from enum norsk.api.manager.Job.JobState
|
|
178
233
|
*/
|
|
179
|
-
export
|
|
234
|
+
export enum Job_JobState {
|
|
180
235
|
/**
|
|
181
|
-
* @generated from
|
|
236
|
+
* @generated from enum value: PRE = 0;
|
|
182
237
|
*/
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
238
|
+
PRE = 0,
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @generated from enum value: ACTIVE = 1;
|
|
242
|
+
*/
|
|
243
|
+
ACTIVE = 1,
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* @generated from enum value: POST = 2;
|
|
247
|
+
*/
|
|
248
|
+
POST = 2,
|
|
249
|
+
}
|
|
250
|
+
// Retrieve enum metadata with: proto3.getEnumType(Job_JobState)
|
|
251
|
+
proto3.util.setEnumType(Job_JobState, "norsk.api.manager.Job.JobState", [
|
|
252
|
+
{ no: 0, name: "PRE" },
|
|
253
|
+
{ no: 1, name: "ACTIVE" },
|
|
254
|
+
{ no: 2, name: "POST" },
|
|
255
|
+
]);
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from message norsk.api.manager.JobHash
|
|
259
|
+
*/
|
|
260
|
+
export class JobHash extends Message<JobHash> {
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: int64 hash = 1;
|
|
263
|
+
*/
|
|
264
|
+
hash = protoInt64.zero;
|
|
202
265
|
|
|
203
|
-
constructor(data?: PartialMessage<
|
|
266
|
+
constructor(data?: PartialMessage<JobHash>) {
|
|
204
267
|
super();
|
|
205
268
|
proto3.util.initPartial(data, this);
|
|
206
269
|
}
|
|
207
270
|
|
|
208
271
|
static readonly runtime = proto3;
|
|
209
|
-
static readonly typeName = "norsk.api.manager.
|
|
272
|
+
static readonly typeName = "norsk.api.manager.JobHash";
|
|
210
273
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
211
|
-
{ no: 1, name: "
|
|
212
|
-
{ no: 2, name: "http_location", kind: "message", T: PublicHttpLocation, oneof: "location" },
|
|
213
|
-
{ no: 3, name: "custom_location", kind: "message", T: CustomLocation, oneof: "location" },
|
|
274
|
+
{ no: 1, name: "hash", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
214
275
|
]);
|
|
215
276
|
|
|
216
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
217
|
-
return new
|
|
277
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobHash {
|
|
278
|
+
return new JobHash().fromBinary(bytes, options);
|
|
218
279
|
}
|
|
219
280
|
|
|
220
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
221
|
-
return new
|
|
281
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobHash {
|
|
282
|
+
return new JobHash().fromJson(jsonValue, options);
|
|
222
283
|
}
|
|
223
284
|
|
|
224
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
225
|
-
return new
|
|
285
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobHash {
|
|
286
|
+
return new JobHash().fromJsonString(jsonString, options);
|
|
226
287
|
}
|
|
227
288
|
|
|
228
|
-
static equals(a:
|
|
229
|
-
return proto3.util.equals(
|
|
289
|
+
static equals(a: JobHash | PlainMessage<JobHash> | undefined, b: JobHash | PlainMessage<JobHash> | undefined): boolean {
|
|
290
|
+
return proto3.util.equals(JobHash, a, b);
|
|
230
291
|
}
|
|
231
292
|
}
|
|
232
293
|
|
|
233
294
|
/**
|
|
234
|
-
* @generated from message norsk.api.manager.
|
|
295
|
+
* @generated from message norsk.api.manager.JobHistoryJobCreated
|
|
235
296
|
*/
|
|
236
|
-
export class
|
|
297
|
+
export class JobHistoryJobCreated extends Message<JobHistoryJobCreated> {
|
|
237
298
|
/**
|
|
238
|
-
* @generated from field:
|
|
299
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 1;
|
|
239
300
|
*/
|
|
240
|
-
|
|
301
|
+
timestamp?: Timestamp;
|
|
241
302
|
|
|
242
|
-
constructor(data?: PartialMessage<
|
|
303
|
+
constructor(data?: PartialMessage<JobHistoryJobCreated>) {
|
|
243
304
|
super();
|
|
244
305
|
proto3.util.initPartial(data, this);
|
|
245
306
|
}
|
|
246
307
|
|
|
247
308
|
static readonly runtime = proto3;
|
|
248
|
-
static readonly typeName = "norsk.api.manager.
|
|
309
|
+
static readonly typeName = "norsk.api.manager.JobHistoryJobCreated";
|
|
249
310
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
250
|
-
{ no: 1, name: "
|
|
311
|
+
{ no: 1, name: "timestamp", kind: "message", T: Timestamp },
|
|
251
312
|
]);
|
|
252
313
|
|
|
253
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
254
|
-
return new
|
|
314
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobHistoryJobCreated {
|
|
315
|
+
return new JobHistoryJobCreated().fromBinary(bytes, options);
|
|
255
316
|
}
|
|
256
317
|
|
|
257
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
258
|
-
return new
|
|
318
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobHistoryJobCreated {
|
|
319
|
+
return new JobHistoryJobCreated().fromJson(jsonValue, options);
|
|
259
320
|
}
|
|
260
321
|
|
|
261
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
262
|
-
return new
|
|
322
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobHistoryJobCreated {
|
|
323
|
+
return new JobHistoryJobCreated().fromJsonString(jsonString, options);
|
|
263
324
|
}
|
|
264
325
|
|
|
265
|
-
static equals(a:
|
|
266
|
-
return proto3.util.equals(
|
|
326
|
+
static equals(a: JobHistoryJobCreated | PlainMessage<JobHistoryJobCreated> | undefined, b: JobHistoryJobCreated | PlainMessage<JobHistoryJobCreated> | undefined): boolean {
|
|
327
|
+
return proto3.util.equals(JobHistoryJobCreated, a, b);
|
|
267
328
|
}
|
|
268
329
|
}
|
|
269
330
|
|
|
270
331
|
/**
|
|
271
|
-
* @generated from message norsk.api.manager.
|
|
332
|
+
* @generated from message norsk.api.manager.JobHistoryJobUpdated
|
|
272
333
|
*/
|
|
273
|
-
export class
|
|
334
|
+
export class JobHistoryJobUpdated extends Message<JobHistoryJobUpdated> {
|
|
335
|
+
/**
|
|
336
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 1;
|
|
337
|
+
*/
|
|
338
|
+
timestamp?: Timestamp;
|
|
339
|
+
|
|
274
340
|
/**
|
|
275
|
-
* @generated from field: norsk.api.manager.
|
|
341
|
+
* @generated from field: norsk.api.manager.Job previous_job = 2;
|
|
276
342
|
*/
|
|
277
|
-
|
|
343
|
+
previousJob?: Job;
|
|
278
344
|
|
|
279
|
-
constructor(data?: PartialMessage<
|
|
345
|
+
constructor(data?: PartialMessage<JobHistoryJobUpdated>) {
|
|
280
346
|
super();
|
|
281
347
|
proto3.util.initPartial(data, this);
|
|
282
348
|
}
|
|
283
349
|
|
|
284
350
|
static readonly runtime = proto3;
|
|
285
|
-
static readonly typeName = "norsk.api.manager.
|
|
351
|
+
static readonly typeName = "norsk.api.manager.JobHistoryJobUpdated";
|
|
286
352
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
287
|
-
{ no: 1, name: "
|
|
353
|
+
{ no: 1, name: "timestamp", kind: "message", T: Timestamp },
|
|
354
|
+
{ no: 2, name: "previous_job", kind: "message", T: Job },
|
|
288
355
|
]);
|
|
289
356
|
|
|
290
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
291
|
-
return new
|
|
357
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobHistoryJobUpdated {
|
|
358
|
+
return new JobHistoryJobUpdated().fromBinary(bytes, options);
|
|
292
359
|
}
|
|
293
360
|
|
|
294
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
295
|
-
return new
|
|
361
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobHistoryJobUpdated {
|
|
362
|
+
return new JobHistoryJobUpdated().fromJson(jsonValue, options);
|
|
296
363
|
}
|
|
297
364
|
|
|
298
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
299
|
-
return new
|
|
365
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobHistoryJobUpdated {
|
|
366
|
+
return new JobHistoryJobUpdated().fromJsonString(jsonString, options);
|
|
300
367
|
}
|
|
301
368
|
|
|
302
|
-
static equals(a:
|
|
303
|
-
return proto3.util.equals(
|
|
369
|
+
static equals(a: JobHistoryJobUpdated | PlainMessage<JobHistoryJobUpdated> | undefined, b: JobHistoryJobUpdated | PlainMessage<JobHistoryJobUpdated> | undefined): boolean {
|
|
370
|
+
return proto3.util.equals(JobHistoryJobUpdated, a, b);
|
|
304
371
|
}
|
|
305
372
|
}
|
|
306
373
|
|
|
307
374
|
/**
|
|
308
|
-
* @generated from message norsk.api.manager.
|
|
375
|
+
* @generated from message norsk.api.manager.JobHistoryJobProvisioned
|
|
309
376
|
*/
|
|
310
|
-
export class
|
|
311
|
-
/**
|
|
312
|
-
* @generated from field: string id = 1;
|
|
313
|
-
*/
|
|
314
|
-
id = "";
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* @generated from field: string description = 2;
|
|
318
|
-
*/
|
|
319
|
-
description = "";
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* @generated from field: map<string, string> tags = 3;
|
|
323
|
-
*/
|
|
324
|
-
tags: { [key: string]: string } = {};
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* @generated from field: google.protobuf.Timestamp start_date_time = 4;
|
|
328
|
-
*/
|
|
329
|
-
startDateTime?: Timestamp;
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* @generated from field: google.protobuf.Timestamp end_date_time = 5;
|
|
333
|
-
*/
|
|
334
|
-
endDateTime?: Timestamp;
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* @generated from field: int64 current_hash = 6;
|
|
338
|
-
*/
|
|
339
|
-
currentHash = protoInt64.zero;
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* @generated from field: string media_configuration = 7;
|
|
343
|
-
*/
|
|
344
|
-
mediaConfiguration = "";
|
|
345
|
-
|
|
377
|
+
export class JobHistoryJobProvisioned extends Message<JobHistoryJobProvisioned> {
|
|
346
378
|
/**
|
|
347
|
-
* @generated from field:
|
|
379
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 1;
|
|
348
380
|
*/
|
|
349
|
-
|
|
381
|
+
timestamp?: Timestamp;
|
|
350
382
|
|
|
351
383
|
/**
|
|
352
|
-
* @generated from field: string
|
|
384
|
+
* @generated from field: string role = 2;
|
|
353
385
|
*/
|
|
354
|
-
|
|
386
|
+
role = "";
|
|
355
387
|
|
|
356
388
|
/**
|
|
357
|
-
* @generated from
|
|
389
|
+
* @generated from field: norsk.api.common.NodeMetadata nodeMetadata = 3;
|
|
358
390
|
*/
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* @generated from field: norsk.api.manager.DockerContainer docker = 10;
|
|
362
|
-
*/
|
|
363
|
-
value: DockerContainer;
|
|
364
|
-
case: "docker";
|
|
365
|
-
} | {
|
|
366
|
-
/**
|
|
367
|
-
* @generated from field: norsk.api.manager.NpmPackage npm = 11;
|
|
368
|
-
*/
|
|
369
|
-
value: NpmPackage;
|
|
370
|
-
case: "npm";
|
|
371
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
391
|
+
nodeMetadata?: NodeMetadata;
|
|
372
392
|
|
|
373
|
-
constructor(data?: PartialMessage<
|
|
393
|
+
constructor(data?: PartialMessage<JobHistoryJobProvisioned>) {
|
|
374
394
|
super();
|
|
375
395
|
proto3.util.initPartial(data, this);
|
|
376
396
|
}
|
|
377
397
|
|
|
378
398
|
static readonly runtime = proto3;
|
|
379
|
-
static readonly typeName = "norsk.api.manager.
|
|
399
|
+
static readonly typeName = "norsk.api.manager.JobHistoryJobProvisioned";
|
|
380
400
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
381
|
-
{ no: 1, name: "
|
|
382
|
-
{ no: 2, name: "
|
|
383
|
-
{ no: 3, name: "
|
|
384
|
-
{ no: 4, name: "start_date_time", kind: "message", T: Timestamp },
|
|
385
|
-
{ no: 5, name: "end_date_time", kind: "message", T: Timestamp },
|
|
386
|
-
{ no: 6, name: "current_hash", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
387
|
-
{ no: 7, name: "media_configuration", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
388
|
-
{ no: 8, name: "manager_configuration", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
389
|
-
{ no: 9, name: "norsk_media_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
390
|
-
{ no: 10, name: "docker", kind: "message", T: DockerContainer, oneof: "client_code" },
|
|
391
|
-
{ no: 11, name: "npm", kind: "message", T: NpmPackage, oneof: "client_code" },
|
|
401
|
+
{ no: 1, name: "timestamp", kind: "message", T: Timestamp },
|
|
402
|
+
{ no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
403
|
+
{ no: 3, name: "nodeMetadata", kind: "message", T: NodeMetadata },
|
|
392
404
|
]);
|
|
393
405
|
|
|
394
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
395
|
-
return new
|
|
406
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobHistoryJobProvisioned {
|
|
407
|
+
return new JobHistoryJobProvisioned().fromBinary(bytes, options);
|
|
396
408
|
}
|
|
397
409
|
|
|
398
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
399
|
-
return new
|
|
410
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobHistoryJobProvisioned {
|
|
411
|
+
return new JobHistoryJobProvisioned().fromJson(jsonValue, options);
|
|
400
412
|
}
|
|
401
413
|
|
|
402
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
403
|
-
return new
|
|
414
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobHistoryJobProvisioned {
|
|
415
|
+
return new JobHistoryJobProvisioned().fromJsonString(jsonString, options);
|
|
404
416
|
}
|
|
405
417
|
|
|
406
|
-
static equals(a:
|
|
407
|
-
return proto3.util.equals(
|
|
418
|
+
static equals(a: JobHistoryJobProvisioned | PlainMessage<JobHistoryJobProvisioned> | undefined, b: JobHistoryJobProvisioned | PlainMessage<JobHistoryJobProvisioned> | undefined): boolean {
|
|
419
|
+
return proto3.util.equals(JobHistoryJobProvisioned, a, b);
|
|
408
420
|
}
|
|
409
421
|
}
|
|
410
422
|
|
|
411
423
|
/**
|
|
412
|
-
* @generated from message norsk.api.manager.
|
|
424
|
+
* @generated from message norsk.api.manager.JobHistoryJobRunning
|
|
413
425
|
*/
|
|
414
|
-
export class
|
|
415
|
-
/**
|
|
416
|
-
* @generated from field: string id = 1;
|
|
417
|
-
*/
|
|
418
|
-
id = "";
|
|
419
|
-
|
|
426
|
+
export class JobHistoryJobRunning extends Message<JobHistoryJobRunning> {
|
|
420
427
|
/**
|
|
421
|
-
* @generated from field:
|
|
428
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 1;
|
|
422
429
|
*/
|
|
423
|
-
|
|
430
|
+
timestamp?: Timestamp;
|
|
424
431
|
|
|
425
432
|
/**
|
|
426
|
-
* @generated from field: string
|
|
427
|
-
*/
|
|
428
|
-
instanceType = "";
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* @generated from field: string region = 4;
|
|
433
|
+
* @generated from field: string role = 2;
|
|
432
434
|
*/
|
|
433
|
-
|
|
435
|
+
role = "";
|
|
434
436
|
|
|
435
437
|
/**
|
|
436
|
-
* @generated from field:
|
|
438
|
+
* @generated from field: norsk.api.common.NodeMetadata nodeMetadata = 3;
|
|
437
439
|
*/
|
|
438
|
-
|
|
440
|
+
nodeMetadata?: NodeMetadata;
|
|
439
441
|
|
|
440
442
|
/**
|
|
441
|
-
* @generated from field:
|
|
443
|
+
* @generated from field: norsk.api.common.RunningNodeMetadata runningNodeMetadata = 4;
|
|
442
444
|
*/
|
|
443
|
-
|
|
445
|
+
runningNodeMetadata?: RunningNodeMetadata;
|
|
444
446
|
|
|
445
447
|
/**
|
|
446
|
-
* @generated from field: string
|
|
448
|
+
* @generated from field: map<string, norsk.api.common.ResolvedPortMappings> service_port_mappings = 5;
|
|
447
449
|
*/
|
|
448
|
-
|
|
450
|
+
servicePortMappings: { [key: string]: ResolvedPortMappings } = {};
|
|
449
451
|
|
|
450
|
-
constructor(data?: PartialMessage<
|
|
452
|
+
constructor(data?: PartialMessage<JobHistoryJobRunning>) {
|
|
451
453
|
super();
|
|
452
454
|
proto3.util.initPartial(data, this);
|
|
453
455
|
}
|
|
454
456
|
|
|
455
457
|
static readonly runtime = proto3;
|
|
456
|
-
static readonly typeName = "norsk.api.manager.
|
|
458
|
+
static readonly typeName = "norsk.api.manager.JobHistoryJobRunning";
|
|
457
459
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
458
|
-
{ no: 1, name: "
|
|
459
|
-
{ no: 2, name: "
|
|
460
|
-
{ no: 3, name: "
|
|
461
|
-
{ no: 4, name: "
|
|
462
|
-
{ no: 5, name: "
|
|
463
|
-
{ no: 6, name: "created_at", kind: "message", T: Timestamp },
|
|
464
|
-
{ no: 7, name: "daemon_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
460
|
+
{ no: 1, name: "timestamp", kind: "message", T: Timestamp },
|
|
461
|
+
{ no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
462
|
+
{ no: 3, name: "nodeMetadata", kind: "message", T: NodeMetadata },
|
|
463
|
+
{ no: 4, name: "runningNodeMetadata", kind: "message", T: RunningNodeMetadata },
|
|
464
|
+
{ no: 5, name: "service_port_mappings", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: ResolvedPortMappings} },
|
|
465
465
|
]);
|
|
466
466
|
|
|
467
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
468
|
-
return new
|
|
467
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobHistoryJobRunning {
|
|
468
|
+
return new JobHistoryJobRunning().fromBinary(bytes, options);
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
472
|
-
return new
|
|
471
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobHistoryJobRunning {
|
|
472
|
+
return new JobHistoryJobRunning().fromJson(jsonValue, options);
|
|
473
473
|
}
|
|
474
474
|
|
|
475
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
476
|
-
return new
|
|
475
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobHistoryJobRunning {
|
|
476
|
+
return new JobHistoryJobRunning().fromJsonString(jsonString, options);
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
static equals(a:
|
|
480
|
-
return proto3.util.equals(
|
|
479
|
+
static equals(a: JobHistoryJobRunning | PlainMessage<JobHistoryJobRunning> | undefined, b: JobHistoryJobRunning | PlainMessage<JobHistoryJobRunning> | undefined): boolean {
|
|
480
|
+
return proto3.util.equals(JobHistoryJobRunning, a, b);
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
/**
|
|
485
|
-
* @generated from message norsk.api.manager.
|
|
485
|
+
* @generated from message norsk.api.manager.JobHistoryJobStopping
|
|
486
486
|
*/
|
|
487
|
-
export class
|
|
487
|
+
export class JobHistoryJobStopping extends Message<JobHistoryJobStopping> {
|
|
488
|
+
/**
|
|
489
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 1;
|
|
490
|
+
*/
|
|
491
|
+
timestamp?: Timestamp;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* @generated from field: string role = 2;
|
|
495
|
+
*/
|
|
496
|
+
role = "";
|
|
497
|
+
|
|
488
498
|
/**
|
|
489
|
-
* @generated from field:
|
|
499
|
+
* @generated from field: norsk.api.common.NodeMetadata nodeMetadata = 3;
|
|
490
500
|
*/
|
|
491
|
-
|
|
501
|
+
nodeMetadata?: NodeMetadata;
|
|
492
502
|
|
|
493
503
|
/**
|
|
494
|
-
* @generated from field:
|
|
504
|
+
* @generated from field: norsk.api.common.RunningNodeMetadata runningNodeMetadata = 4;
|
|
495
505
|
*/
|
|
496
|
-
|
|
506
|
+
runningNodeMetadata?: RunningNodeMetadata;
|
|
497
507
|
|
|
498
508
|
/**
|
|
499
|
-
* @generated from field:
|
|
509
|
+
* @generated from field: norsk.api.manager.JobHistoryJobStopping.Reason reason = 5;
|
|
500
510
|
*/
|
|
501
|
-
|
|
511
|
+
reason = JobHistoryJobStopping_Reason.JOB_STOPPED_NODE_STOPPED;
|
|
502
512
|
|
|
503
|
-
constructor(data?: PartialMessage<
|
|
513
|
+
constructor(data?: PartialMessage<JobHistoryJobStopping>) {
|
|
504
514
|
super();
|
|
505
515
|
proto3.util.initPartial(data, this);
|
|
506
516
|
}
|
|
507
517
|
|
|
508
518
|
static readonly runtime = proto3;
|
|
509
|
-
static readonly typeName = "norsk.api.manager.
|
|
519
|
+
static readonly typeName = "norsk.api.manager.JobHistoryJobStopping";
|
|
510
520
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
511
|
-
{ no: 1, name: "
|
|
512
|
-
{ no: 2, name: "
|
|
513
|
-
{ no: 3, name: "
|
|
521
|
+
{ no: 1, name: "timestamp", kind: "message", T: Timestamp },
|
|
522
|
+
{ no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
523
|
+
{ no: 3, name: "nodeMetadata", kind: "message", T: NodeMetadata },
|
|
524
|
+
{ no: 4, name: "runningNodeMetadata", kind: "message", T: RunningNodeMetadata },
|
|
525
|
+
{ no: 5, name: "reason", kind: "enum", T: proto3.getEnumType(JobHistoryJobStopping_Reason) },
|
|
514
526
|
]);
|
|
515
527
|
|
|
516
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
517
|
-
return new
|
|
528
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobHistoryJobStopping {
|
|
529
|
+
return new JobHistoryJobStopping().fromBinary(bytes, options);
|
|
518
530
|
}
|
|
519
531
|
|
|
520
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
521
|
-
return new
|
|
532
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobHistoryJobStopping {
|
|
533
|
+
return new JobHistoryJobStopping().fromJson(jsonValue, options);
|
|
522
534
|
}
|
|
523
535
|
|
|
524
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
525
|
-
return new
|
|
536
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobHistoryJobStopping {
|
|
537
|
+
return new JobHistoryJobStopping().fromJsonString(jsonString, options);
|
|
526
538
|
}
|
|
527
539
|
|
|
528
|
-
static equals(a:
|
|
529
|
-
return proto3.util.equals(
|
|
540
|
+
static equals(a: JobHistoryJobStopping | PlainMessage<JobHistoryJobStopping> | undefined, b: JobHistoryJobStopping | PlainMessage<JobHistoryJobStopping> | undefined): boolean {
|
|
541
|
+
return proto3.util.equals(JobHistoryJobStopping, a, b);
|
|
530
542
|
}
|
|
531
543
|
}
|
|
532
544
|
|
|
533
545
|
/**
|
|
534
|
-
* @generated from
|
|
546
|
+
* @generated from enum norsk.api.manager.JobHistoryJobStopping.Reason
|
|
535
547
|
*/
|
|
536
|
-
export
|
|
548
|
+
export enum JobHistoryJobStopping_Reason {
|
|
537
549
|
/**
|
|
538
|
-
* @generated from
|
|
550
|
+
* @generated from enum value: JOB_STOPPED_NODE_STOPPED = 0;
|
|
539
551
|
*/
|
|
540
|
-
|
|
552
|
+
JOB_STOPPED_NODE_STOPPED = 0,
|
|
541
553
|
|
|
542
554
|
/**
|
|
543
|
-
* @generated from
|
|
555
|
+
* @generated from enum value: JOB_STOPPED_NODE_TERMINATED = 1;
|
|
544
556
|
*/
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
constructor(data?: PartialMessage<AwsRunningNode>) {
|
|
548
|
-
super();
|
|
549
|
-
proto3.util.initPartial(data, this);
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
static readonly runtime = proto3;
|
|
553
|
-
static readonly typeName = "norsk.api.manager.AwsRunningNode";
|
|
554
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
555
|
-
{ no: 1, name: "node", kind: "message", T: AwsNode },
|
|
556
|
-
{ no: 2, name: "address", kind: "message", T: AwsNodeAddress },
|
|
557
|
-
]);
|
|
558
|
-
|
|
559
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsRunningNode {
|
|
560
|
-
return new AwsRunningNode().fromBinary(bytes, options);
|
|
561
|
-
}
|
|
557
|
+
JOB_STOPPED_NODE_TERMINATED = 1,
|
|
562
558
|
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
559
|
+
/**
|
|
560
|
+
* @generated from enum value: JOB_STOPPED_USER_REQUESTED = 2;
|
|
561
|
+
*/
|
|
562
|
+
JOB_STOPPED_USER_REQUESTED = 2,
|
|
566
563
|
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
564
|
+
/**
|
|
565
|
+
* @generated from enum value: JOB_STOPPED_UNKNOWN_JOB = 3;
|
|
566
|
+
*/
|
|
567
|
+
JOB_STOPPED_UNKNOWN_JOB = 3,
|
|
570
568
|
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
569
|
+
/**
|
|
570
|
+
* @generated from enum value: JOB_STOPPED_JOB_FAILED = 4;
|
|
571
|
+
*/
|
|
572
|
+
JOB_STOPPED_JOB_FAILED = 4,
|
|
574
573
|
}
|
|
574
|
+
// Retrieve enum metadata with: proto3.getEnumType(JobHistoryJobStopping_Reason)
|
|
575
|
+
proto3.util.setEnumType(JobHistoryJobStopping_Reason, "norsk.api.manager.JobHistoryJobStopping.Reason", [
|
|
576
|
+
{ no: 0, name: "JOB_STOPPED_NODE_STOPPED" },
|
|
577
|
+
{ no: 1, name: "JOB_STOPPED_NODE_TERMINATED" },
|
|
578
|
+
{ no: 2, name: "JOB_STOPPED_USER_REQUESTED" },
|
|
579
|
+
{ no: 3, name: "JOB_STOPPED_UNKNOWN_JOB" },
|
|
580
|
+
{ no: 4, name: "JOB_STOPPED_JOB_FAILED" },
|
|
581
|
+
]);
|
|
575
582
|
|
|
576
583
|
/**
|
|
577
|
-
* @generated from message norsk.api.manager.
|
|
584
|
+
* @generated from message norsk.api.manager.JobHistoryJobStopped
|
|
578
585
|
*/
|
|
579
|
-
export class
|
|
586
|
+
export class JobHistoryJobStopped extends Message<JobHistoryJobStopped> {
|
|
580
587
|
/**
|
|
581
|
-
* @generated from field:
|
|
588
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 1;
|
|
582
589
|
*/
|
|
583
|
-
|
|
590
|
+
timestamp?: Timestamp;
|
|
584
591
|
|
|
585
592
|
/**
|
|
586
|
-
* @generated from field:
|
|
593
|
+
* @generated from field: string role = 2;
|
|
587
594
|
*/
|
|
588
|
-
|
|
595
|
+
role = "";
|
|
589
596
|
|
|
590
597
|
/**
|
|
591
|
-
* @generated from field:
|
|
598
|
+
* @generated from field: norsk.api.common.NodeMetadata nodeMetadata = 3;
|
|
592
599
|
*/
|
|
593
|
-
|
|
600
|
+
nodeMetadata?: NodeMetadata;
|
|
594
601
|
|
|
595
|
-
|
|
602
|
+
/**
|
|
603
|
+
* @generated from field: norsk.api.common.RunningNodeMetadata runningNodeMetadata = 4;
|
|
604
|
+
*/
|
|
605
|
+
runningNodeMetadata?: RunningNodeMetadata;
|
|
606
|
+
|
|
607
|
+
constructor(data?: PartialMessage<JobHistoryJobStopped>) {
|
|
596
608
|
super();
|
|
597
609
|
proto3.util.initPartial(data, this);
|
|
598
610
|
}
|
|
599
611
|
|
|
600
612
|
static readonly runtime = proto3;
|
|
601
|
-
static readonly typeName = "norsk.api.manager.
|
|
613
|
+
static readonly typeName = "norsk.api.manager.JobHistoryJobStopped";
|
|
602
614
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
603
|
-
{ no: 1, name: "
|
|
604
|
-
{ no: 2, name: "
|
|
605
|
-
{ no: 3, name: "
|
|
615
|
+
{ no: 1, name: "timestamp", kind: "message", T: Timestamp },
|
|
616
|
+
{ no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
617
|
+
{ no: 3, name: "nodeMetadata", kind: "message", T: NodeMetadata },
|
|
618
|
+
{ no: 4, name: "runningNodeMetadata", kind: "message", T: RunningNodeMetadata },
|
|
606
619
|
]);
|
|
607
620
|
|
|
608
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
609
|
-
return new
|
|
621
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobHistoryJobStopped {
|
|
622
|
+
return new JobHistoryJobStopped().fromBinary(bytes, options);
|
|
610
623
|
}
|
|
611
624
|
|
|
612
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
613
|
-
return new
|
|
625
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobHistoryJobStopped {
|
|
626
|
+
return new JobHistoryJobStopped().fromJson(jsonValue, options);
|
|
614
627
|
}
|
|
615
628
|
|
|
616
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
617
|
-
return new
|
|
629
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobHistoryJobStopped {
|
|
630
|
+
return new JobHistoryJobStopped().fromJsonString(jsonString, options);
|
|
618
631
|
}
|
|
619
|
-
|
|
620
|
-
static equals(a:
|
|
621
|
-
return proto3.util.equals(
|
|
632
|
+
|
|
633
|
+
static equals(a: JobHistoryJobStopped | PlainMessage<JobHistoryJobStopped> | undefined, b: JobHistoryJobStopped | PlainMessage<JobHistoryJobStopped> | undefined): boolean {
|
|
634
|
+
return proto3.util.equals(JobHistoryJobStopped, a, b);
|
|
622
635
|
}
|
|
623
636
|
}
|
|
624
637
|
|
|
625
638
|
/**
|
|
626
|
-
* @generated from message norsk.api.manager.
|
|
639
|
+
* @generated from message norsk.api.manager.JobHistoryJobCompleted
|
|
627
640
|
*/
|
|
628
|
-
export class
|
|
629
|
-
/**
|
|
630
|
-
* @generated from field: norsk.api.manager.JobId job_id = 1;
|
|
631
|
-
*/
|
|
632
|
-
jobId?: JobId;
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* @generated from field: string role = 2;
|
|
636
|
-
*/
|
|
637
|
-
role = "";
|
|
638
|
-
|
|
641
|
+
export class JobHistoryJobCompleted extends Message<JobHistoryJobCompleted> {
|
|
639
642
|
/**
|
|
640
|
-
* @generated from field:
|
|
643
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 1;
|
|
641
644
|
*/
|
|
642
|
-
|
|
645
|
+
timestamp?: Timestamp;
|
|
643
646
|
|
|
644
|
-
constructor(data?: PartialMessage<
|
|
647
|
+
constructor(data?: PartialMessage<JobHistoryJobCompleted>) {
|
|
645
648
|
super();
|
|
646
649
|
proto3.util.initPartial(data, this);
|
|
647
650
|
}
|
|
648
651
|
|
|
649
652
|
static readonly runtime = proto3;
|
|
650
|
-
static readonly typeName = "norsk.api.manager.
|
|
653
|
+
static readonly typeName = "norsk.api.manager.JobHistoryJobCompleted";
|
|
651
654
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
652
|
-
{ no: 1, name: "
|
|
653
|
-
{ no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
654
|
-
{ no: 3, name: "node_id", kind: "message", T: NodeId },
|
|
655
|
+
{ no: 1, name: "timestamp", kind: "message", T: Timestamp },
|
|
655
656
|
]);
|
|
656
657
|
|
|
657
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
658
|
-
return new
|
|
658
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobHistoryJobCompleted {
|
|
659
|
+
return new JobHistoryJobCompleted().fromBinary(bytes, options);
|
|
659
660
|
}
|
|
660
661
|
|
|
661
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
662
|
-
return new
|
|
662
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobHistoryJobCompleted {
|
|
663
|
+
return new JobHistoryJobCompleted().fromJson(jsonValue, options);
|
|
663
664
|
}
|
|
664
665
|
|
|
665
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
666
|
-
return new
|
|
666
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobHistoryJobCompleted {
|
|
667
|
+
return new JobHistoryJobCompleted().fromJsonString(jsonString, options);
|
|
667
668
|
}
|
|
668
669
|
|
|
669
|
-
static equals(a:
|
|
670
|
-
return proto3.util.equals(
|
|
670
|
+
static equals(a: JobHistoryJobCompleted | PlainMessage<JobHistoryJobCompleted> | undefined, b: JobHistoryJobCompleted | PlainMessage<JobHistoryJobCompleted> | undefined): boolean {
|
|
671
|
+
return proto3.util.equals(JobHistoryJobCompleted, a, b);
|
|
671
672
|
}
|
|
672
673
|
}
|
|
673
674
|
|
|
674
675
|
/**
|
|
675
|
-
* @generated from message norsk.api.manager.
|
|
676
|
+
* @generated from message norsk.api.manager.JobHistoryEntry
|
|
676
677
|
*/
|
|
677
|
-
export class
|
|
678
|
+
export class JobHistoryEntry extends Message<JobHistoryEntry> {
|
|
678
679
|
/**
|
|
679
|
-
* @generated from
|
|
680
|
+
* @generated from oneof norsk.api.manager.JobHistoryEntry.history_entry
|
|
680
681
|
*/
|
|
681
|
-
|
|
682
|
+
historyEntry: {
|
|
683
|
+
/**
|
|
684
|
+
* @generated from field: norsk.api.manager.JobHistoryJobCreated job_created = 1;
|
|
685
|
+
*/
|
|
686
|
+
value: JobHistoryJobCreated;
|
|
687
|
+
case: "jobCreated";
|
|
688
|
+
} | {
|
|
689
|
+
/**
|
|
690
|
+
* @generated from field: norsk.api.manager.JobHistoryJobUpdated job_updated = 2;
|
|
691
|
+
*/
|
|
692
|
+
value: JobHistoryJobUpdated;
|
|
693
|
+
case: "jobUpdated";
|
|
694
|
+
} | {
|
|
695
|
+
/**
|
|
696
|
+
* @generated from field: norsk.api.manager.JobHistoryJobProvisioned job_provisioned = 3;
|
|
697
|
+
*/
|
|
698
|
+
value: JobHistoryJobProvisioned;
|
|
699
|
+
case: "jobProvisioned";
|
|
700
|
+
} | {
|
|
701
|
+
/**
|
|
702
|
+
* @generated from field: norsk.api.manager.JobHistoryJobRunning job_running = 4;
|
|
703
|
+
*/
|
|
704
|
+
value: JobHistoryJobRunning;
|
|
705
|
+
case: "jobRunning";
|
|
706
|
+
} | {
|
|
707
|
+
/**
|
|
708
|
+
* @generated from field: norsk.api.manager.JobHistoryJobStopping job_stopping = 5;
|
|
709
|
+
*/
|
|
710
|
+
value: JobHistoryJobStopping;
|
|
711
|
+
case: "jobStopping";
|
|
712
|
+
} | {
|
|
713
|
+
/**
|
|
714
|
+
* @generated from field: norsk.api.manager.JobHistoryJobStopped job_stopped = 6;
|
|
715
|
+
*/
|
|
716
|
+
value: JobHistoryJobStopped;
|
|
717
|
+
case: "jobStopped";
|
|
718
|
+
} | {
|
|
719
|
+
/**
|
|
720
|
+
* @generated from field: norsk.api.manager.JobHistoryJobCompleted job_completed = 7;
|
|
721
|
+
*/
|
|
722
|
+
value: JobHistoryJobCompleted;
|
|
723
|
+
case: "jobCompleted";
|
|
724
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
682
725
|
|
|
683
|
-
constructor(data?: PartialMessage<
|
|
726
|
+
constructor(data?: PartialMessage<JobHistoryEntry>) {
|
|
684
727
|
super();
|
|
685
728
|
proto3.util.initPartial(data, this);
|
|
686
729
|
}
|
|
687
730
|
|
|
688
731
|
static readonly runtime = proto3;
|
|
689
|
-
static readonly typeName = "norsk.api.manager.
|
|
732
|
+
static readonly typeName = "norsk.api.manager.JobHistoryEntry";
|
|
690
733
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
691
|
-
{ no: 1, name: "
|
|
734
|
+
{ no: 1, name: "job_created", kind: "message", T: JobHistoryJobCreated, oneof: "history_entry" },
|
|
735
|
+
{ no: 2, name: "job_updated", kind: "message", T: JobHistoryJobUpdated, oneof: "history_entry" },
|
|
736
|
+
{ no: 3, name: "job_provisioned", kind: "message", T: JobHistoryJobProvisioned, oneof: "history_entry" },
|
|
737
|
+
{ no: 4, name: "job_running", kind: "message", T: JobHistoryJobRunning, oneof: "history_entry" },
|
|
738
|
+
{ no: 5, name: "job_stopping", kind: "message", T: JobHistoryJobStopping, oneof: "history_entry" },
|
|
739
|
+
{ no: 6, name: "job_stopped", kind: "message", T: JobHistoryJobStopped, oneof: "history_entry" },
|
|
740
|
+
{ no: 7, name: "job_completed", kind: "message", T: JobHistoryJobCompleted, oneof: "history_entry" },
|
|
692
741
|
]);
|
|
693
742
|
|
|
694
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
695
|
-
return new
|
|
743
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobHistoryEntry {
|
|
744
|
+
return new JobHistoryEntry().fromBinary(bytes, options);
|
|
696
745
|
}
|
|
697
746
|
|
|
698
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
699
|
-
return new
|
|
747
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobHistoryEntry {
|
|
748
|
+
return new JobHistoryEntry().fromJson(jsonValue, options);
|
|
700
749
|
}
|
|
701
750
|
|
|
702
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
703
|
-
return new
|
|
751
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobHistoryEntry {
|
|
752
|
+
return new JobHistoryEntry().fromJsonString(jsonString, options);
|
|
704
753
|
}
|
|
705
754
|
|
|
706
|
-
static equals(a:
|
|
707
|
-
return proto3.util.equals(
|
|
755
|
+
static equals(a: JobHistoryEntry | PlainMessage<JobHistoryEntry> | undefined, b: JobHistoryEntry | PlainMessage<JobHistoryEntry> | undefined): boolean {
|
|
756
|
+
return proto3.util.equals(JobHistoryEntry, a, b);
|
|
708
757
|
}
|
|
709
758
|
}
|
|
710
759
|
|
|
711
760
|
/**
|
|
712
|
-
* @generated from message norsk.api.manager.
|
|
761
|
+
* @generated from message norsk.api.manager.JobWithHistory
|
|
713
762
|
*/
|
|
714
|
-
export class
|
|
763
|
+
export class JobWithHistory extends Message<JobWithHistory> {
|
|
715
764
|
/**
|
|
716
765
|
* @generated from field: norsk.api.manager.Job job = 1;
|
|
717
766
|
*/
|
|
718
767
|
job?: Job;
|
|
719
768
|
|
|
720
|
-
|
|
769
|
+
/**
|
|
770
|
+
* @generated from field: repeated norsk.api.manager.JobHistoryEntry history_entry = 2;
|
|
771
|
+
*/
|
|
772
|
+
historyEntry: JobHistoryEntry[] = [];
|
|
773
|
+
|
|
774
|
+
constructor(data?: PartialMessage<JobWithHistory>) {
|
|
721
775
|
super();
|
|
722
776
|
proto3.util.initPartial(data, this);
|
|
723
777
|
}
|
|
724
778
|
|
|
725
779
|
static readonly runtime = proto3;
|
|
726
|
-
static readonly typeName = "norsk.api.manager.
|
|
780
|
+
static readonly typeName = "norsk.api.manager.JobWithHistory";
|
|
727
781
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
728
782
|
{ no: 1, name: "job", kind: "message", T: Job },
|
|
783
|
+
{ no: 2, name: "history_entry", kind: "message", T: JobHistoryEntry, repeated: true },
|
|
729
784
|
]);
|
|
730
785
|
|
|
731
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
732
|
-
return new
|
|
786
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobWithHistory {
|
|
787
|
+
return new JobWithHistory().fromBinary(bytes, options);
|
|
733
788
|
}
|
|
734
789
|
|
|
735
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
736
|
-
return new
|
|
790
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobWithHistory {
|
|
791
|
+
return new JobWithHistory().fromJson(jsonValue, options);
|
|
737
792
|
}
|
|
738
793
|
|
|
739
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
740
|
-
return new
|
|
794
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobWithHistory {
|
|
795
|
+
return new JobWithHistory().fromJsonString(jsonString, options);
|
|
741
796
|
}
|
|
742
797
|
|
|
743
|
-
static equals(a:
|
|
744
|
-
return proto3.util.equals(
|
|
798
|
+
static equals(a: JobWithHistory | PlainMessage<JobWithHistory> | undefined, b: JobWithHistory | PlainMessage<JobWithHistory> | undefined): boolean {
|
|
799
|
+
return proto3.util.equals(JobWithHistory, a, b);
|
|
745
800
|
}
|
|
746
801
|
}
|
|
747
802
|
|
|
748
803
|
/**
|
|
749
|
-
* @generated from message norsk.api.manager.
|
|
804
|
+
* @generated from message norsk.api.manager.PhysicalNode
|
|
750
805
|
*/
|
|
751
|
-
export class
|
|
806
|
+
export class PhysicalNode extends Message<PhysicalNode> {
|
|
752
807
|
/**
|
|
753
|
-
* @generated from field:
|
|
808
|
+
* @generated from field: string id = 1;
|
|
754
809
|
*/
|
|
755
|
-
|
|
810
|
+
id = "";
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* @generated from field: map<string, string> tags = 2;
|
|
814
|
+
*/
|
|
815
|
+
tags: { [key: string]: string } = {};
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* @generated from field: string ip_address = 3;
|
|
819
|
+
*/
|
|
820
|
+
ipAddress = "";
|
|
756
821
|
|
|
757
|
-
constructor(data?: PartialMessage<
|
|
822
|
+
constructor(data?: PartialMessage<PhysicalNode>) {
|
|
758
823
|
super();
|
|
759
824
|
proto3.util.initPartial(data, this);
|
|
760
825
|
}
|
|
761
826
|
|
|
762
827
|
static readonly runtime = proto3;
|
|
763
|
-
static readonly typeName = "norsk.api.manager.
|
|
828
|
+
static readonly typeName = "norsk.api.manager.PhysicalNode";
|
|
764
829
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
765
|
-
{ no: 1, name: "
|
|
830
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
831
|
+
{ no: 2, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
832
|
+
{ no: 3, name: "ip_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
766
833
|
]);
|
|
767
834
|
|
|
768
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
769
|
-
return new
|
|
835
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PhysicalNode {
|
|
836
|
+
return new PhysicalNode().fromBinary(bytes, options);
|
|
770
837
|
}
|
|
771
838
|
|
|
772
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
773
|
-
return new
|
|
839
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PhysicalNode {
|
|
840
|
+
return new PhysicalNode().fromJson(jsonValue, options);
|
|
774
841
|
}
|
|
775
842
|
|
|
776
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
777
|
-
return new
|
|
843
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PhysicalNode {
|
|
844
|
+
return new PhysicalNode().fromJsonString(jsonString, options);
|
|
778
845
|
}
|
|
779
846
|
|
|
780
|
-
static equals(a:
|
|
781
|
-
return proto3.util.equals(
|
|
847
|
+
static equals(a: PhysicalNode | PlainMessage<PhysicalNode> | undefined, b: PhysicalNode | PlainMessage<PhysicalNode> | undefined): boolean {
|
|
848
|
+
return proto3.util.equals(PhysicalNode, a, b);
|
|
782
849
|
}
|
|
783
850
|
}
|
|
784
851
|
|
|
785
852
|
/**
|
|
786
|
-
* @generated from message norsk.api.manager.
|
|
853
|
+
* @generated from message norsk.api.manager.RunningJob
|
|
787
854
|
*/
|
|
788
|
-
export class
|
|
855
|
+
export class RunningJob extends Message<RunningJob> {
|
|
856
|
+
/**
|
|
857
|
+
* @generated from field: norsk.api.common.ActiveJobKey job_key = 1;
|
|
858
|
+
*/
|
|
859
|
+
jobKey?: ActiveJobKey;
|
|
860
|
+
|
|
789
861
|
/**
|
|
790
|
-
* @generated from field: norsk.api.
|
|
862
|
+
* @generated from field: norsk.api.common.NodeId node_id = 2;
|
|
791
863
|
*/
|
|
792
|
-
|
|
864
|
+
nodeId?: NodeId;
|
|
793
865
|
|
|
794
|
-
constructor(data?: PartialMessage<
|
|
866
|
+
constructor(data?: PartialMessage<RunningJob>) {
|
|
795
867
|
super();
|
|
796
868
|
proto3.util.initPartial(data, this);
|
|
797
869
|
}
|
|
798
870
|
|
|
799
871
|
static readonly runtime = proto3;
|
|
800
|
-
static readonly typeName = "norsk.api.manager.
|
|
872
|
+
static readonly typeName = "norsk.api.manager.RunningJob";
|
|
801
873
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
802
|
-
{ no: 1, name: "
|
|
874
|
+
{ no: 1, name: "job_key", kind: "message", T: ActiveJobKey },
|
|
875
|
+
{ no: 2, name: "node_id", kind: "message", T: NodeId },
|
|
803
876
|
]);
|
|
804
877
|
|
|
805
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
806
|
-
return new
|
|
878
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunningJob {
|
|
879
|
+
return new RunningJob().fromBinary(bytes, options);
|
|
807
880
|
}
|
|
808
881
|
|
|
809
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
810
|
-
return new
|
|
882
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunningJob {
|
|
883
|
+
return new RunningJob().fromJson(jsonValue, options);
|
|
811
884
|
}
|
|
812
885
|
|
|
813
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
814
|
-
return new
|
|
886
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunningJob {
|
|
887
|
+
return new RunningJob().fromJsonString(jsonString, options);
|
|
815
888
|
}
|
|
816
889
|
|
|
817
|
-
static equals(a:
|
|
818
|
-
return proto3.util.equals(
|
|
890
|
+
static equals(a: RunningJob | PlainMessage<RunningJob> | undefined, b: RunningJob | PlainMessage<RunningJob> | undefined): boolean {
|
|
891
|
+
return proto3.util.equals(RunningJob, a, b);
|
|
819
892
|
}
|
|
820
893
|
}
|
|
821
894
|
|
|
822
895
|
/**
|
|
823
|
-
* @generated from message norsk.api.manager.
|
|
896
|
+
* @generated from message norsk.api.manager.JobActive
|
|
824
897
|
*/
|
|
825
|
-
export class
|
|
898
|
+
export class JobActive extends Message<JobActive> {
|
|
826
899
|
/**
|
|
827
|
-
* @generated from field: norsk.api.manager.
|
|
900
|
+
* @generated from field: norsk.api.manager.JobWithHistory jobWithHistory = 1;
|
|
828
901
|
*/
|
|
829
|
-
|
|
902
|
+
jobWithHistory?: JobWithHistory;
|
|
830
903
|
|
|
831
|
-
constructor(data?: PartialMessage<
|
|
904
|
+
constructor(data?: PartialMessage<JobActive>) {
|
|
832
905
|
super();
|
|
833
906
|
proto3.util.initPartial(data, this);
|
|
834
907
|
}
|
|
835
908
|
|
|
836
909
|
static readonly runtime = proto3;
|
|
837
|
-
static readonly typeName = "norsk.api.manager.
|
|
910
|
+
static readonly typeName = "norsk.api.manager.JobActive";
|
|
838
911
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
839
|
-
{ no: 1, name: "
|
|
912
|
+
{ no: 1, name: "jobWithHistory", kind: "message", T: JobWithHistory },
|
|
840
913
|
]);
|
|
841
914
|
|
|
842
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
843
|
-
return new
|
|
915
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobActive {
|
|
916
|
+
return new JobActive().fromBinary(bytes, options);
|
|
844
917
|
}
|
|
845
918
|
|
|
846
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
847
|
-
return new
|
|
919
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobActive {
|
|
920
|
+
return new JobActive().fromJson(jsonValue, options);
|
|
848
921
|
}
|
|
849
922
|
|
|
850
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
851
|
-
return new
|
|
923
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobActive {
|
|
924
|
+
return new JobActive().fromJsonString(jsonString, options);
|
|
852
925
|
}
|
|
853
926
|
|
|
854
|
-
static equals(a:
|
|
855
|
-
return proto3.util.equals(
|
|
927
|
+
static equals(a: JobActive | PlainMessage<JobActive> | undefined, b: JobActive | PlainMessage<JobActive> | undefined): boolean {
|
|
928
|
+
return proto3.util.equals(JobActive, a, b);
|
|
856
929
|
}
|
|
857
930
|
}
|
|
858
931
|
|
|
859
932
|
/**
|
|
860
|
-
* @generated from message norsk.api.manager.
|
|
933
|
+
* @generated from message norsk.api.manager.JobPending
|
|
861
934
|
*/
|
|
862
|
-
export class
|
|
863
|
-
/**
|
|
864
|
-
* @generated from field: norsk.api.manager.Job job = 1;
|
|
865
|
-
*/
|
|
866
|
-
job?: Job;
|
|
867
|
-
|
|
935
|
+
export class JobPending extends Message<JobPending> {
|
|
868
936
|
/**
|
|
869
|
-
* @generated from field:
|
|
937
|
+
* @generated from field: norsk.api.manager.JobWithHistory jobWithHistory = 1;
|
|
870
938
|
*/
|
|
871
|
-
|
|
939
|
+
jobWithHistory?: JobWithHistory;
|
|
872
940
|
|
|
873
|
-
constructor(data?: PartialMessage<
|
|
941
|
+
constructor(data?: PartialMessage<JobPending>) {
|
|
874
942
|
super();
|
|
875
943
|
proto3.util.initPartial(data, this);
|
|
876
944
|
}
|
|
877
945
|
|
|
878
946
|
static readonly runtime = proto3;
|
|
879
|
-
static readonly typeName = "norsk.api.manager.
|
|
947
|
+
static readonly typeName = "norsk.api.manager.JobPending";
|
|
880
948
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
881
|
-
{ no: 1, name: "
|
|
882
|
-
{ no: 2, name: "instances", kind: "message", T: RunningJob, repeated: true },
|
|
949
|
+
{ no: 1, name: "jobWithHistory", kind: "message", T: JobWithHistory },
|
|
883
950
|
]);
|
|
884
951
|
|
|
885
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
886
|
-
return new
|
|
952
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobPending {
|
|
953
|
+
return new JobPending().fromBinary(bytes, options);
|
|
887
954
|
}
|
|
888
955
|
|
|
889
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
890
|
-
return new
|
|
956
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobPending {
|
|
957
|
+
return new JobPending().fromJson(jsonValue, options);
|
|
891
958
|
}
|
|
892
959
|
|
|
893
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
894
|
-
return new
|
|
960
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobPending {
|
|
961
|
+
return new JobPending().fromJsonString(jsonString, options);
|
|
895
962
|
}
|
|
896
963
|
|
|
897
|
-
static equals(a:
|
|
898
|
-
return proto3.util.equals(
|
|
964
|
+
static equals(a: JobPending | PlainMessage<JobPending> | undefined, b: JobPending | PlainMessage<JobPending> | undefined): boolean {
|
|
965
|
+
return proto3.util.equals(JobPending, a, b);
|
|
899
966
|
}
|
|
900
967
|
}
|
|
901
968
|
|
|
902
969
|
/**
|
|
903
|
-
* @generated from message norsk.api.manager.
|
|
970
|
+
* @generated from message norsk.api.manager.JobUpdated
|
|
904
971
|
*/
|
|
905
|
-
export class
|
|
972
|
+
export class JobUpdated extends Message<JobUpdated> {
|
|
906
973
|
/**
|
|
907
|
-
* @generated from field: norsk.api.manager.
|
|
974
|
+
* @generated from field: norsk.api.manager.JobWithHistory jobWithHistory = 1;
|
|
908
975
|
*/
|
|
909
|
-
|
|
976
|
+
jobWithHistory?: JobWithHistory;
|
|
910
977
|
|
|
911
|
-
constructor(data?: PartialMessage<
|
|
978
|
+
constructor(data?: PartialMessage<JobUpdated>) {
|
|
912
979
|
super();
|
|
913
980
|
proto3.util.initPartial(data, this);
|
|
914
981
|
}
|
|
915
982
|
|
|
916
983
|
static readonly runtime = proto3;
|
|
917
|
-
static readonly typeName = "norsk.api.manager.
|
|
984
|
+
static readonly typeName = "norsk.api.manager.JobUpdated";
|
|
918
985
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
919
|
-
{ no: 1, name: "
|
|
986
|
+
{ no: 1, name: "jobWithHistory", kind: "message", T: JobWithHistory },
|
|
920
987
|
]);
|
|
921
988
|
|
|
922
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
923
|
-
return new
|
|
989
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobUpdated {
|
|
990
|
+
return new JobUpdated().fromBinary(bytes, options);
|
|
924
991
|
}
|
|
925
992
|
|
|
926
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
927
|
-
return new
|
|
993
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobUpdated {
|
|
994
|
+
return new JobUpdated().fromJson(jsonValue, options);
|
|
928
995
|
}
|
|
929
996
|
|
|
930
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
931
|
-
return new
|
|
997
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobUpdated {
|
|
998
|
+
return new JobUpdated().fromJsonString(jsonString, options);
|
|
932
999
|
}
|
|
933
1000
|
|
|
934
|
-
static equals(a:
|
|
935
|
-
return proto3.util.equals(
|
|
1001
|
+
static equals(a: JobUpdated | PlainMessage<JobUpdated> | undefined, b: JobUpdated | PlainMessage<JobUpdated> | undefined): boolean {
|
|
1002
|
+
return proto3.util.equals(JobUpdated, a, b);
|
|
936
1003
|
}
|
|
937
1004
|
}
|
|
938
1005
|
|
|
939
1006
|
/**
|
|
940
|
-
* @generated from message norsk.api.manager.
|
|
1007
|
+
* @generated from message norsk.api.manager.JobDeleted
|
|
941
1008
|
*/
|
|
942
|
-
export class
|
|
1009
|
+
export class JobDeleted extends Message<JobDeleted> {
|
|
943
1010
|
/**
|
|
944
|
-
* @generated from field: norsk.api.
|
|
1011
|
+
* @generated from field: norsk.api.common.JobId jobId = 1;
|
|
945
1012
|
*/
|
|
946
|
-
|
|
1013
|
+
jobId?: JobId;
|
|
947
1014
|
|
|
948
|
-
constructor(data?: PartialMessage<
|
|
1015
|
+
constructor(data?: PartialMessage<JobDeleted>) {
|
|
949
1016
|
super();
|
|
950
1017
|
proto3.util.initPartial(data, this);
|
|
951
1018
|
}
|
|
952
1019
|
|
|
953
1020
|
static readonly runtime = proto3;
|
|
954
|
-
static readonly typeName = "norsk.api.manager.
|
|
1021
|
+
static readonly typeName = "norsk.api.manager.JobDeleted";
|
|
955
1022
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
956
|
-
{ no: 1, name: "
|
|
1023
|
+
{ no: 1, name: "jobId", kind: "message", T: JobId },
|
|
957
1024
|
]);
|
|
958
1025
|
|
|
959
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
960
|
-
return new
|
|
1026
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobDeleted {
|
|
1027
|
+
return new JobDeleted().fromBinary(bytes, options);
|
|
961
1028
|
}
|
|
962
1029
|
|
|
963
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
964
|
-
return new
|
|
1030
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobDeleted {
|
|
1031
|
+
return new JobDeleted().fromJson(jsonValue, options);
|
|
965
1032
|
}
|
|
966
1033
|
|
|
967
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
968
|
-
return new
|
|
1034
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobDeleted {
|
|
1035
|
+
return new JobDeleted().fromJsonString(jsonString, options);
|
|
969
1036
|
}
|
|
970
1037
|
|
|
971
|
-
static equals(a:
|
|
972
|
-
return proto3.util.equals(
|
|
1038
|
+
static equals(a: JobDeleted | PlainMessage<JobDeleted> | undefined, b: JobDeleted | PlainMessage<JobDeleted> | undefined): boolean {
|
|
1039
|
+
return proto3.util.equals(JobDeleted, a, b);
|
|
973
1040
|
}
|
|
974
1041
|
}
|
|
975
1042
|
|
|
976
1043
|
/**
|
|
977
|
-
* @generated from message norsk.api.manager.
|
|
1044
|
+
* @generated from message norsk.api.manager.JobOutOfWindow
|
|
978
1045
|
*/
|
|
979
|
-
export class
|
|
1046
|
+
export class JobOutOfWindow extends Message<JobOutOfWindow> {
|
|
980
1047
|
/**
|
|
981
|
-
* @generated from field: norsk.api.manager.
|
|
1048
|
+
* @generated from field: norsk.api.manager.JobWithHistory jobWithHistory = 1;
|
|
982
1049
|
*/
|
|
983
|
-
|
|
1050
|
+
jobWithHistory?: JobWithHistory;
|
|
984
1051
|
|
|
985
|
-
constructor(data?: PartialMessage<
|
|
1052
|
+
constructor(data?: PartialMessage<JobOutOfWindow>) {
|
|
986
1053
|
super();
|
|
987
1054
|
proto3.util.initPartial(data, this);
|
|
988
1055
|
}
|
|
989
1056
|
|
|
990
1057
|
static readonly runtime = proto3;
|
|
991
|
-
static readonly typeName = "norsk.api.manager.
|
|
1058
|
+
static readonly typeName = "norsk.api.manager.JobOutOfWindow";
|
|
992
1059
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
993
|
-
{ no: 1, name: "
|
|
1060
|
+
{ no: 1, name: "jobWithHistory", kind: "message", T: JobWithHistory },
|
|
994
1061
|
]);
|
|
995
1062
|
|
|
996
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
997
|
-
return new
|
|
1063
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobOutOfWindow {
|
|
1064
|
+
return new JobOutOfWindow().fromBinary(bytes, options);
|
|
998
1065
|
}
|
|
999
1066
|
|
|
1000
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1001
|
-
return new
|
|
1067
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobOutOfWindow {
|
|
1068
|
+
return new JobOutOfWindow().fromJson(jsonValue, options);
|
|
1002
1069
|
}
|
|
1003
1070
|
|
|
1004
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1005
|
-
return new
|
|
1071
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobOutOfWindow {
|
|
1072
|
+
return new JobOutOfWindow().fromJsonString(jsonString, options);
|
|
1006
1073
|
}
|
|
1007
1074
|
|
|
1008
|
-
static equals(a:
|
|
1009
|
-
return proto3.util.equals(
|
|
1075
|
+
static equals(a: JobOutOfWindow | PlainMessage<JobOutOfWindow> | undefined, b: JobOutOfWindow | PlainMessage<JobOutOfWindow> | undefined): boolean {
|
|
1076
|
+
return proto3.util.equals(JobOutOfWindow, a, b);
|
|
1010
1077
|
}
|
|
1011
1078
|
}
|
|
1012
1079
|
|
|
@@ -1058,9 +1125,9 @@ export class CurrentJob extends Message<CurrentJob> {
|
|
|
1058
1125
|
*/
|
|
1059
1126
|
export class NodeStarting extends Message<NodeStarting> {
|
|
1060
1127
|
/**
|
|
1061
|
-
* @generated from field: norsk.api.
|
|
1128
|
+
* @generated from field: norsk.api.common.NodeMetadata nodeMetadata = 1;
|
|
1062
1129
|
*/
|
|
1063
|
-
|
|
1130
|
+
nodeMetadata?: NodeMetadata;
|
|
1064
1131
|
|
|
1065
1132
|
constructor(data?: PartialMessage<NodeStarting>) {
|
|
1066
1133
|
super();
|
|
@@ -1070,7 +1137,7 @@ export class NodeStarting extends Message<NodeStarting> {
|
|
|
1070
1137
|
static readonly runtime = proto3;
|
|
1071
1138
|
static readonly typeName = "norsk.api.manager.NodeStarting";
|
|
1072
1139
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1073
|
-
{ no: 1, name: "
|
|
1140
|
+
{ no: 1, name: "nodeMetadata", kind: "message", T: NodeMetadata },
|
|
1074
1141
|
]);
|
|
1075
1142
|
|
|
1076
1143
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NodeStarting {
|
|
@@ -1095,15 +1162,14 @@ export class NodeStarting extends Message<NodeStarting> {
|
|
|
1095
1162
|
*/
|
|
1096
1163
|
export class NodeStarted extends Message<NodeStarted> {
|
|
1097
1164
|
/**
|
|
1098
|
-
* @generated from
|
|
1165
|
+
* @generated from field: norsk.api.common.NodeMetadata nodeMetadata = 1;
|
|
1099
1166
|
*/
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
1167
|
+
nodeMetadata?: NodeMetadata;
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* @generated from field: norsk.api.common.RunningNodeMetadata runningNodeMetadata = 2;
|
|
1171
|
+
*/
|
|
1172
|
+
runningNodeMetadata?: RunningNodeMetadata;
|
|
1107
1173
|
|
|
1108
1174
|
constructor(data?: PartialMessage<NodeStarted>) {
|
|
1109
1175
|
super();
|
|
@@ -1113,7 +1179,8 @@ export class NodeStarted extends Message<NodeStarted> {
|
|
|
1113
1179
|
static readonly runtime = proto3;
|
|
1114
1180
|
static readonly typeName = "norsk.api.manager.NodeStarted";
|
|
1115
1181
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1116
|
-
{ no: 1, name: "
|
|
1182
|
+
{ no: 1, name: "nodeMetadata", kind: "message", T: NodeMetadata },
|
|
1183
|
+
{ no: 2, name: "runningNodeMetadata", kind: "message", T: RunningNodeMetadata },
|
|
1117
1184
|
]);
|
|
1118
1185
|
|
|
1119
1186
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NodeStarted {
|
|
@@ -1138,14 +1205,14 @@ export class NodeStarted extends Message<NodeStarted> {
|
|
|
1138
1205
|
*/
|
|
1139
1206
|
export class NodeStopping extends Message<NodeStopping> {
|
|
1140
1207
|
/**
|
|
1141
|
-
* @generated from field: norsk.api.
|
|
1208
|
+
* @generated from field: norsk.api.common.NodeId node_id = 1;
|
|
1142
1209
|
*/
|
|
1143
1210
|
nodeId?: NodeId;
|
|
1144
1211
|
|
|
1145
1212
|
/**
|
|
1146
|
-
* @generated from field:
|
|
1213
|
+
* @generated from field: norsk.api.manager.NodeStopping.Reason reason = 2;
|
|
1147
1214
|
*/
|
|
1148
|
-
|
|
1215
|
+
reason = NodeStopping_Reason.CREATE_FAILED;
|
|
1149
1216
|
|
|
1150
1217
|
constructor(data?: PartialMessage<NodeStopping>) {
|
|
1151
1218
|
super();
|
|
@@ -1156,7 +1223,7 @@ export class NodeStopping extends Message<NodeStopping> {
|
|
|
1156
1223
|
static readonly typeName = "norsk.api.manager.NodeStopping";
|
|
1157
1224
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1158
1225
|
{ no: 1, name: "node_id", kind: "message", T: NodeId },
|
|
1159
|
-
{ no: 2, name: "
|
|
1226
|
+
{ no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(NodeStopping_Reason) },
|
|
1160
1227
|
]);
|
|
1161
1228
|
|
|
1162
1229
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NodeStopping {
|
|
@@ -1176,12 +1243,80 @@ export class NodeStopping extends Message<NodeStopping> {
|
|
|
1176
1243
|
}
|
|
1177
1244
|
}
|
|
1178
1245
|
|
|
1246
|
+
/**
|
|
1247
|
+
* @generated from enum norsk.api.manager.NodeStopping.Reason
|
|
1248
|
+
*/
|
|
1249
|
+
export enum NodeStopping_Reason {
|
|
1250
|
+
/**
|
|
1251
|
+
* @generated from enum value: CREATE_FAILED = 0;
|
|
1252
|
+
*/
|
|
1253
|
+
CREATE_FAILED = 0,
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* @generated from enum value: PENDING_TIME_EXCEEDED = 1;
|
|
1257
|
+
*/
|
|
1258
|
+
PENDING_TIME_EXCEEDED = 1,
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* @generated from enum value: STARTUP_TIME_EXCEEDED = 2;
|
|
1262
|
+
*/
|
|
1263
|
+
STARTUP_TIME_EXCEEDED = 2,
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* @generated from enum value: INITIALISATION_HEALTH_PING_TIME_EXCEEDED = 3;
|
|
1267
|
+
*/
|
|
1268
|
+
INITIALISATION_HEALTH_PING_TIME_EXCEEDED = 3,
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* @generated from enum value: HEALTH_PING_TIME_EXCEEDED = 4;
|
|
1272
|
+
*/
|
|
1273
|
+
HEALTH_PING_TIME_EXCEEDED = 4,
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* @generated from enum value: DUPLICATE_JOB = 5;
|
|
1277
|
+
*/
|
|
1278
|
+
DUPLICATE_JOB = 5,
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* @generated from enum value: PROVIDER_STOP = 6;
|
|
1282
|
+
*/
|
|
1283
|
+
PROVIDER_STOP = 6,
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* @generated from enum value: PROVIDER_TERMINATE = 7;
|
|
1287
|
+
*/
|
|
1288
|
+
PROVIDER_TERMINATE = 7,
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* @generated from enum value: USER_REQUESTED = 8;
|
|
1292
|
+
*/
|
|
1293
|
+
USER_REQUESTED = 8,
|
|
1294
|
+
|
|
1295
|
+
/**
|
|
1296
|
+
* @generated from enum value: UNKNOWN_NODE = 9;
|
|
1297
|
+
*/
|
|
1298
|
+
UNKNOWN_NODE = 9,
|
|
1299
|
+
}
|
|
1300
|
+
// Retrieve enum metadata with: proto3.getEnumType(NodeStopping_Reason)
|
|
1301
|
+
proto3.util.setEnumType(NodeStopping_Reason, "norsk.api.manager.NodeStopping.Reason", [
|
|
1302
|
+
{ no: 0, name: "CREATE_FAILED" },
|
|
1303
|
+
{ no: 1, name: "PENDING_TIME_EXCEEDED" },
|
|
1304
|
+
{ no: 2, name: "STARTUP_TIME_EXCEEDED" },
|
|
1305
|
+
{ no: 3, name: "INITIALISATION_HEALTH_PING_TIME_EXCEEDED" },
|
|
1306
|
+
{ no: 4, name: "HEALTH_PING_TIME_EXCEEDED" },
|
|
1307
|
+
{ no: 5, name: "DUPLICATE_JOB" },
|
|
1308
|
+
{ no: 6, name: "PROVIDER_STOP" },
|
|
1309
|
+
{ no: 7, name: "PROVIDER_TERMINATE" },
|
|
1310
|
+
{ no: 8, name: "USER_REQUESTED" },
|
|
1311
|
+
{ no: 9, name: "UNKNOWN_NODE" },
|
|
1312
|
+
]);
|
|
1313
|
+
|
|
1179
1314
|
/**
|
|
1180
1315
|
* @generated from message norsk.api.manager.NodeStopped
|
|
1181
1316
|
*/
|
|
1182
1317
|
export class NodeStopped extends Message<NodeStopped> {
|
|
1183
1318
|
/**
|
|
1184
|
-
* @generated from field: norsk.api.
|
|
1319
|
+
* @generated from field: norsk.api.common.NodeId node_id = 1;
|
|
1185
1320
|
*/
|
|
1186
1321
|
nodeId?: NodeId;
|
|
1187
1322
|
|
|
@@ -1214,68 +1349,18 @@ export class NodeStopped extends Message<NodeStopped> {
|
|
|
1214
1349
|
}
|
|
1215
1350
|
|
|
1216
1351
|
/**
|
|
1217
|
-
* @generated from message norsk.api.manager.
|
|
1352
|
+
* @generated from message norsk.api.manager.NodeRunning
|
|
1218
1353
|
*/
|
|
1219
|
-
export class
|
|
1220
|
-
/**
|
|
1221
|
-
* @generated from field: norsk.api.manager.NodeId node_id = 1;
|
|
1222
|
-
*/
|
|
1223
|
-
nodeId?: NodeId;
|
|
1224
|
-
|
|
1354
|
+
export class NodeRunning extends Message<NodeRunning> {
|
|
1225
1355
|
/**
|
|
1226
|
-
* @generated from field:
|
|
1356
|
+
* @generated from field: norsk.api.common.NodeMetadata nodeMetadata = 1;
|
|
1227
1357
|
*/
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
constructor(data?: PartialMessage<NodeFailed>) {
|
|
1231
|
-
super();
|
|
1232
|
-
proto3.util.initPartial(data, this);
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
static readonly runtime = proto3;
|
|
1236
|
-
static readonly typeName = "norsk.api.manager.NodeFailed";
|
|
1237
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1238
|
-
{ no: 1, name: "node_id", kind: "message", T: NodeId },
|
|
1239
|
-
{ no: 2, name: "instances", kind: "message", T: RunningJob, repeated: true },
|
|
1240
|
-
]);
|
|
1241
|
-
|
|
1242
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NodeFailed {
|
|
1243
|
-
return new NodeFailed().fromBinary(bytes, options);
|
|
1244
|
-
}
|
|
1245
|
-
|
|
1246
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NodeFailed {
|
|
1247
|
-
return new NodeFailed().fromJson(jsonValue, options);
|
|
1248
|
-
}
|
|
1358
|
+
nodeMetadata?: NodeMetadata;
|
|
1249
1359
|
|
|
1250
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NodeFailed {
|
|
1251
|
-
return new NodeFailed().fromJsonString(jsonString, options);
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
static equals(a: NodeFailed | PlainMessage<NodeFailed> | undefined, b: NodeFailed | PlainMessage<NodeFailed> | undefined): boolean {
|
|
1255
|
-
return proto3.util.equals(NodeFailed, a, b);
|
|
1256
|
-
}
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
/**
|
|
1260
|
-
* @generated from message norsk.api.manager.NodeRunning
|
|
1261
|
-
*/
|
|
1262
|
-
export class NodeRunning extends Message<NodeRunning> {
|
|
1263
1360
|
/**
|
|
1264
|
-
* @generated from
|
|
1361
|
+
* @generated from field: norsk.api.common.RunningNodeMetadata runningNodeMetadata = 2;
|
|
1265
1362
|
*/
|
|
1266
|
-
|
|
1267
|
-
/**
|
|
1268
|
-
* @generated from field: norsk.api.manager.AwsRunningNode aws_node = 1;
|
|
1269
|
-
*/
|
|
1270
|
-
value: AwsRunningNode;
|
|
1271
|
-
case: "awsNode";
|
|
1272
|
-
} | {
|
|
1273
|
-
/**
|
|
1274
|
-
* @generated from field: norsk.api.manager.PhysicalNode physical_node = 2;
|
|
1275
|
-
*/
|
|
1276
|
-
value: PhysicalNode;
|
|
1277
|
-
case: "physicalNode";
|
|
1278
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
1363
|
+
runningNodeMetadata?: RunningNodeMetadata;
|
|
1279
1364
|
|
|
1280
1365
|
/**
|
|
1281
1366
|
* @generated from field: repeated norsk.api.manager.RunningJob instances = 3;
|
|
@@ -1290,8 +1375,8 @@ export class NodeRunning extends Message<NodeRunning> {
|
|
|
1290
1375
|
static readonly runtime = proto3;
|
|
1291
1376
|
static readonly typeName = "norsk.api.manager.NodeRunning";
|
|
1292
1377
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1293
|
-
{ no: 1, name: "
|
|
1294
|
-
{ no: 2, name: "
|
|
1378
|
+
{ no: 1, name: "nodeMetadata", kind: "message", T: NodeMetadata },
|
|
1379
|
+
{ no: 2, name: "runningNodeMetadata", kind: "message", T: RunningNodeMetadata },
|
|
1295
1380
|
{ no: 3, name: "instances", kind: "message", T: RunningJob, repeated: true },
|
|
1296
1381
|
]);
|
|
1297
1382
|
|
|
@@ -1356,76 +1441,108 @@ export class PhysicalNodeConnected extends Message<PhysicalNodeConnected> {
|
|
|
1356
1441
|
}
|
|
1357
1442
|
|
|
1358
1443
|
/**
|
|
1359
|
-
* @generated from message norsk.api.manager.
|
|
1444
|
+
* @generated from message norsk.api.manager.AwsLaunchTemplate
|
|
1360
1445
|
*/
|
|
1361
|
-
export class
|
|
1446
|
+
export class AwsLaunchTemplate extends Message<AwsLaunchTemplate> {
|
|
1447
|
+
/**
|
|
1448
|
+
* @generated from oneof norsk.api.manager.AwsLaunchTemplate.template
|
|
1449
|
+
*/
|
|
1450
|
+
template: {
|
|
1451
|
+
/**
|
|
1452
|
+
* @generated from field: string id = 1;
|
|
1453
|
+
*/
|
|
1454
|
+
value: string;
|
|
1455
|
+
case: "id";
|
|
1456
|
+
} | {
|
|
1457
|
+
/**
|
|
1458
|
+
* @generated from field: string name = 2;
|
|
1459
|
+
*/
|
|
1460
|
+
value: string;
|
|
1461
|
+
case: "name";
|
|
1462
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
1463
|
+
|
|
1362
1464
|
/**
|
|
1363
|
-
* @generated from field: string
|
|
1465
|
+
* @generated from field: string version = 3;
|
|
1364
1466
|
*/
|
|
1365
|
-
|
|
1467
|
+
version = "";
|
|
1366
1468
|
|
|
1367
|
-
constructor(data?: PartialMessage<
|
|
1469
|
+
constructor(data?: PartialMessage<AwsLaunchTemplate>) {
|
|
1368
1470
|
super();
|
|
1369
1471
|
proto3.util.initPartial(data, this);
|
|
1370
1472
|
}
|
|
1371
1473
|
|
|
1372
1474
|
static readonly runtime = proto3;
|
|
1373
|
-
static readonly typeName = "norsk.api.manager.
|
|
1475
|
+
static readonly typeName = "norsk.api.manager.AwsLaunchTemplate";
|
|
1374
1476
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1375
|
-
{ no: 1, name: "
|
|
1477
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "template" },
|
|
1478
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "template" },
|
|
1479
|
+
{ no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1376
1480
|
]);
|
|
1377
1481
|
|
|
1378
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1379
|
-
return new
|
|
1482
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsLaunchTemplate {
|
|
1483
|
+
return new AwsLaunchTemplate().fromBinary(bytes, options);
|
|
1380
1484
|
}
|
|
1381
1485
|
|
|
1382
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1383
|
-
return new
|
|
1486
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AwsLaunchTemplate {
|
|
1487
|
+
return new AwsLaunchTemplate().fromJson(jsonValue, options);
|
|
1384
1488
|
}
|
|
1385
1489
|
|
|
1386
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1387
|
-
return new
|
|
1490
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AwsLaunchTemplate {
|
|
1491
|
+
return new AwsLaunchTemplate().fromJsonString(jsonString, options);
|
|
1388
1492
|
}
|
|
1389
1493
|
|
|
1390
|
-
static equals(a:
|
|
1391
|
-
return proto3.util.equals(
|
|
1494
|
+
static equals(a: AwsLaunchTemplate | PlainMessage<AwsLaunchTemplate> | undefined, b: AwsLaunchTemplate | PlainMessage<AwsLaunchTemplate> | undefined): boolean {
|
|
1495
|
+
return proto3.util.equals(AwsLaunchTemplate, a, b);
|
|
1392
1496
|
}
|
|
1393
1497
|
}
|
|
1394
1498
|
|
|
1395
1499
|
/**
|
|
1396
|
-
* @generated from message norsk.api.manager.
|
|
1500
|
+
* @generated from message norsk.api.manager.AwsIamRole
|
|
1397
1501
|
*/
|
|
1398
|
-
export class
|
|
1502
|
+
export class AwsIamRole extends Message<AwsIamRole> {
|
|
1399
1503
|
/**
|
|
1400
|
-
* @generated from
|
|
1504
|
+
* @generated from oneof norsk.api.manager.AwsIamRole.iam_role
|
|
1401
1505
|
*/
|
|
1402
|
-
|
|
1506
|
+
iamRole: {
|
|
1507
|
+
/**
|
|
1508
|
+
* @generated from field: string arn = 1;
|
|
1509
|
+
*/
|
|
1510
|
+
value: string;
|
|
1511
|
+
case: "arn";
|
|
1512
|
+
} | {
|
|
1513
|
+
/**
|
|
1514
|
+
* @generated from field: string name = 2;
|
|
1515
|
+
*/
|
|
1516
|
+
value: string;
|
|
1517
|
+
case: "name";
|
|
1518
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
1403
1519
|
|
|
1404
|
-
constructor(data?: PartialMessage<
|
|
1520
|
+
constructor(data?: PartialMessage<AwsIamRole>) {
|
|
1405
1521
|
super();
|
|
1406
1522
|
proto3.util.initPartial(data, this);
|
|
1407
1523
|
}
|
|
1408
1524
|
|
|
1409
1525
|
static readonly runtime = proto3;
|
|
1410
|
-
static readonly typeName = "norsk.api.manager.
|
|
1526
|
+
static readonly typeName = "norsk.api.manager.AwsIamRole";
|
|
1411
1527
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1412
|
-
{ no: 1, name: "
|
|
1528
|
+
{ no: 1, name: "arn", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "iam_role" },
|
|
1529
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "iam_role" },
|
|
1413
1530
|
]);
|
|
1414
1531
|
|
|
1415
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1416
|
-
return new
|
|
1532
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsIamRole {
|
|
1533
|
+
return new AwsIamRole().fromBinary(bytes, options);
|
|
1417
1534
|
}
|
|
1418
1535
|
|
|
1419
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1420
|
-
return new
|
|
1536
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AwsIamRole {
|
|
1537
|
+
return new AwsIamRole().fromJson(jsonValue, options);
|
|
1421
1538
|
}
|
|
1422
1539
|
|
|
1423
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1424
|
-
return new
|
|
1540
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AwsIamRole {
|
|
1541
|
+
return new AwsIamRole().fromJsonString(jsonString, options);
|
|
1425
1542
|
}
|
|
1426
1543
|
|
|
1427
|
-
static equals(a:
|
|
1428
|
-
return proto3.util.equals(
|
|
1544
|
+
static equals(a: AwsIamRole | PlainMessage<AwsIamRole> | undefined, b: AwsIamRole | PlainMessage<AwsIamRole> | undefined): boolean {
|
|
1545
|
+
return proto3.util.equals(AwsIamRole, a, b);
|
|
1429
1546
|
}
|
|
1430
1547
|
}
|
|
1431
1548
|
|
|
@@ -1434,14 +1551,14 @@ export class NodeId extends Message<NodeId> {
|
|
|
1434
1551
|
*/
|
|
1435
1552
|
export class CreateAwsNodeRequest extends Message<CreateAwsNodeRequest> {
|
|
1436
1553
|
/**
|
|
1437
|
-
* @generated from field:
|
|
1554
|
+
* @generated from field: norsk.api.common.NodeId node_id = 1;
|
|
1438
1555
|
*/
|
|
1439
|
-
|
|
1556
|
+
nodeId?: NodeId;
|
|
1440
1557
|
|
|
1441
1558
|
/**
|
|
1442
|
-
* @generated from field: string
|
|
1559
|
+
* @generated from field: map<string, string> tags = 2;
|
|
1443
1560
|
*/
|
|
1444
|
-
|
|
1561
|
+
tags: { [key: string]: string } = {};
|
|
1445
1562
|
|
|
1446
1563
|
/**
|
|
1447
1564
|
* @generated from field: string region = 3;
|
|
@@ -1449,14 +1566,24 @@ export class CreateAwsNodeRequest extends Message<CreateAwsNodeRequest> {
|
|
|
1449
1566
|
region = "";
|
|
1450
1567
|
|
|
1451
1568
|
/**
|
|
1452
|
-
* @generated from field: string
|
|
1569
|
+
* @generated from field: string instance_type = 4;
|
|
1570
|
+
*/
|
|
1571
|
+
instanceType = "";
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* @generated from field: norsk.api.manager.AwsLaunchTemplate template = 5;
|
|
1575
|
+
*/
|
|
1576
|
+
template?: AwsLaunchTemplate;
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* @generated from field: norsk.api.manager.Version worker_image_version = 11;
|
|
1453
1580
|
*/
|
|
1454
|
-
|
|
1581
|
+
workerImageVersion = Version.RECOMMENDED;
|
|
1455
1582
|
|
|
1456
1583
|
/**
|
|
1457
|
-
* @generated from field:
|
|
1584
|
+
* @generated from field: norsk.api.manager.Version worker_daemon_version = 12;
|
|
1458
1585
|
*/
|
|
1459
|
-
|
|
1586
|
+
workerDaemonVersion = Version.RECOMMENDED;
|
|
1460
1587
|
|
|
1461
1588
|
constructor(data?: PartialMessage<CreateAwsNodeRequest>) {
|
|
1462
1589
|
super();
|
|
@@ -1466,11 +1593,13 @@ export class CreateAwsNodeRequest extends Message<CreateAwsNodeRequest> {
|
|
|
1466
1593
|
static readonly runtime = proto3;
|
|
1467
1594
|
static readonly typeName = "norsk.api.manager.CreateAwsNodeRequest";
|
|
1468
1595
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1469
|
-
{ no: 1, name: "
|
|
1470
|
-
{ no: 2, name: "
|
|
1596
|
+
{ no: 1, name: "node_id", kind: "message", T: NodeId },
|
|
1597
|
+
{ no: 2, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
1471
1598
|
{ no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1472
|
-
{ no: 4, name: "
|
|
1473
|
-
{ no: 5, name: "
|
|
1599
|
+
{ no: 4, name: "instance_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1600
|
+
{ no: 5, name: "template", kind: "message", T: AwsLaunchTemplate },
|
|
1601
|
+
{ no: 11, name: "worker_image_version", kind: "enum", T: proto3.getEnumType(Version) },
|
|
1602
|
+
{ no: 12, name: "worker_daemon_version", kind: "enum", T: proto3.getEnumType(Version) },
|
|
1474
1603
|
]);
|
|
1475
1604
|
|
|
1476
1605
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAwsNodeRequest {
|
|
@@ -1490,6 +1619,85 @@ export class CreateAwsNodeRequest extends Message<CreateAwsNodeRequest> {
|
|
|
1490
1619
|
}
|
|
1491
1620
|
}
|
|
1492
1621
|
|
|
1622
|
+
/**
|
|
1623
|
+
* @generated from message norsk.api.manager.CreateOciNodeRequest
|
|
1624
|
+
*/
|
|
1625
|
+
export class CreateOciNodeRequest extends Message<CreateOciNodeRequest> {
|
|
1626
|
+
/**
|
|
1627
|
+
* @generated from field: norsk.api.common.NodeId node_id = 1;
|
|
1628
|
+
*/
|
|
1629
|
+
nodeId?: NodeId;
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* @generated from field: map<string, string> tags = 2;
|
|
1633
|
+
*/
|
|
1634
|
+
tags: { [key: string]: string } = {};
|
|
1635
|
+
|
|
1636
|
+
/**
|
|
1637
|
+
* @generated from field: string availabilityDomain = 3;
|
|
1638
|
+
*/
|
|
1639
|
+
availabilityDomain = "";
|
|
1640
|
+
|
|
1641
|
+
/**
|
|
1642
|
+
* @generated from field: string architecture = 4;
|
|
1643
|
+
*/
|
|
1644
|
+
architecture = "";
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* @generated from field: string shape = 5;
|
|
1648
|
+
*/
|
|
1649
|
+
shape = "";
|
|
1650
|
+
|
|
1651
|
+
/**
|
|
1652
|
+
* @generated from field: string subnet = 6;
|
|
1653
|
+
*/
|
|
1654
|
+
subnet = "";
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* @generated from field: norsk.api.manager.Version worker_image_version = 11;
|
|
1658
|
+
*/
|
|
1659
|
+
workerImageVersion = Version.RECOMMENDED;
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* @generated from field: norsk.api.manager.Version worker_daemon_version = 12;
|
|
1663
|
+
*/
|
|
1664
|
+
workerDaemonVersion = Version.RECOMMENDED;
|
|
1665
|
+
|
|
1666
|
+
constructor(data?: PartialMessage<CreateOciNodeRequest>) {
|
|
1667
|
+
super();
|
|
1668
|
+
proto3.util.initPartial(data, this);
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
static readonly runtime = proto3;
|
|
1672
|
+
static readonly typeName = "norsk.api.manager.CreateOciNodeRequest";
|
|
1673
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1674
|
+
{ no: 1, name: "node_id", kind: "message", T: NodeId },
|
|
1675
|
+
{ no: 2, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
1676
|
+
{ no: 3, name: "availabilityDomain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1677
|
+
{ no: 4, name: "architecture", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1678
|
+
{ no: 5, name: "shape", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1679
|
+
{ no: 6, name: "subnet", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1680
|
+
{ no: 11, name: "worker_image_version", kind: "enum", T: proto3.getEnumType(Version) },
|
|
1681
|
+
{ no: 12, name: "worker_daemon_version", kind: "enum", T: proto3.getEnumType(Version) },
|
|
1682
|
+
]);
|
|
1683
|
+
|
|
1684
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOciNodeRequest {
|
|
1685
|
+
return new CreateOciNodeRequest().fromBinary(bytes, options);
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOciNodeRequest {
|
|
1689
|
+
return new CreateOciNodeRequest().fromJson(jsonValue, options);
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOciNodeRequest {
|
|
1693
|
+
return new CreateOciNodeRequest().fromJsonString(jsonString, options);
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
static equals(a: CreateOciNodeRequest | PlainMessage<CreateOciNodeRequest> | undefined, b: CreateOciNodeRequest | PlainMessage<CreateOciNodeRequest> | undefined): boolean {
|
|
1697
|
+
return proto3.util.equals(CreateOciNodeRequest, a, b);
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1493
1701
|
/**
|
|
1494
1702
|
* @generated from message norsk.api.manager.UpdatePhysicalNodeRequest
|
|
1495
1703
|
*/
|
|
@@ -1500,9 +1708,9 @@ export class UpdatePhysicalNodeRequest extends Message<UpdatePhysicalNodeRequest
|
|
|
1500
1708
|
id = "";
|
|
1501
1709
|
|
|
1502
1710
|
/**
|
|
1503
|
-
* @generated from field: string
|
|
1711
|
+
* @generated from field: string daemon_version = 2;
|
|
1504
1712
|
*/
|
|
1505
|
-
|
|
1713
|
+
daemonVersion = "";
|
|
1506
1714
|
|
|
1507
1715
|
constructor(data?: PartialMessage<UpdatePhysicalNodeRequest>) {
|
|
1508
1716
|
super();
|
|
@@ -1513,7 +1721,7 @@ export class UpdatePhysicalNodeRequest extends Message<UpdatePhysicalNodeRequest
|
|
|
1513
1721
|
static readonly typeName = "norsk.api.manager.UpdatePhysicalNodeRequest";
|
|
1514
1722
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1515
1723
|
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1516
|
-
{ no: 2, name: "
|
|
1724
|
+
{ no: 2, name: "daemon_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1517
1725
|
]);
|
|
1518
1726
|
|
|
1519
1727
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePhysicalNodeRequest {
|
|
@@ -1538,7 +1746,7 @@ export class UpdatePhysicalNodeRequest extends Message<UpdatePhysicalNodeRequest
|
|
|
1538
1746
|
*/
|
|
1539
1747
|
export class StartJobRequest extends Message<StartJobRequest> {
|
|
1540
1748
|
/**
|
|
1541
|
-
* @generated from field: norsk.api.
|
|
1749
|
+
* @generated from field: norsk.api.common.JobId job_id = 1;
|
|
1542
1750
|
*/
|
|
1543
1751
|
jobId?: JobId;
|
|
1544
1752
|
|
|
@@ -1548,7 +1756,7 @@ export class StartJobRequest extends Message<StartJobRequest> {
|
|
|
1548
1756
|
role = "";
|
|
1549
1757
|
|
|
1550
1758
|
/**
|
|
1551
|
-
* @generated from field: norsk.api.
|
|
1759
|
+
* @generated from field: norsk.api.common.NodeId node_id = 3;
|
|
1552
1760
|
*/
|
|
1553
1761
|
nodeId?: NodeId;
|
|
1554
1762
|
|
|
@@ -1587,7 +1795,7 @@ export class StartJobRequest extends Message<StartJobRequest> {
|
|
|
1587
1795
|
*/
|
|
1588
1796
|
export class StopJobRequest extends Message<StopJobRequest> {
|
|
1589
1797
|
/**
|
|
1590
|
-
* @generated from field: norsk.api.
|
|
1798
|
+
* @generated from field: norsk.api.common.JobId job_id = 1;
|
|
1591
1799
|
*/
|
|
1592
1800
|
jobId?: JobId;
|
|
1593
1801
|
|
|
@@ -1597,7 +1805,7 @@ export class StopJobRequest extends Message<StopJobRequest> {
|
|
|
1597
1805
|
role = "";
|
|
1598
1806
|
|
|
1599
1807
|
/**
|
|
1600
|
-
* @generated from field: norsk.api.
|
|
1808
|
+
* @generated from field: norsk.api.common.NodeId node_id = 3;
|
|
1601
1809
|
*/
|
|
1602
1810
|
nodeId?: NodeId;
|
|
1603
1811
|
|
|
@@ -1937,45 +2145,287 @@ export class JobFilter extends Message<JobFilter> {
|
|
|
1937
2145
|
}
|
|
1938
2146
|
|
|
1939
2147
|
/**
|
|
1940
|
-
* @generated from message norsk.api.manager.
|
|
2148
|
+
* @generated from message norsk.api.manager.EventStreamRequest
|
|
1941
2149
|
*/
|
|
1942
|
-
export class
|
|
2150
|
+
export class EventStreamRequest extends Message<EventStreamRequest> {
|
|
1943
2151
|
/**
|
|
1944
2152
|
* @generated from field: int32 pending_window_s = 1;
|
|
1945
2153
|
*/
|
|
1946
2154
|
pendingWindowS = 0;
|
|
1947
2155
|
|
|
2156
|
+
constructor(data?: PartialMessage<EventStreamRequest>) {
|
|
2157
|
+
super();
|
|
2158
|
+
proto3.util.initPartial(data, this);
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
static readonly runtime = proto3;
|
|
2162
|
+
static readonly typeName = "norsk.api.manager.EventStreamRequest";
|
|
2163
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2164
|
+
{ no: 1, name: "pending_window_s", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2165
|
+
]);
|
|
2166
|
+
|
|
2167
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EventStreamRequest {
|
|
2168
|
+
return new EventStreamRequest().fromBinary(bytes, options);
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EventStreamRequest {
|
|
2172
|
+
return new EventStreamRequest().fromJson(jsonValue, options);
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EventStreamRequest {
|
|
2176
|
+
return new EventStreamRequest().fromJsonString(jsonString, options);
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2179
|
+
static equals(a: EventStreamRequest | PlainMessage<EventStreamRequest> | undefined, b: EventStreamRequest | PlainMessage<EventStreamRequest> | undefined): boolean {
|
|
2180
|
+
return proto3.util.equals(EventStreamRequest, a, b);
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
/**
|
|
2185
|
+
* @generated from message norsk.api.manager.AwsRegionHealth
|
|
2186
|
+
*/
|
|
2187
|
+
export class AwsRegionHealth extends Message<AwsRegionHealth> {
|
|
1948
2188
|
/**
|
|
1949
|
-
* @generated from field:
|
|
2189
|
+
* @generated from field: string region = 1;
|
|
1950
2190
|
*/
|
|
1951
|
-
|
|
2191
|
+
region = "";
|
|
1952
2192
|
|
|
1953
|
-
|
|
2193
|
+
/**
|
|
2194
|
+
* @generated from field: norsk.api.manager.Health health = 2;
|
|
2195
|
+
*/
|
|
2196
|
+
health = Health.HEALTHY;
|
|
2197
|
+
|
|
2198
|
+
constructor(data?: PartialMessage<AwsRegionHealth>) {
|
|
1954
2199
|
super();
|
|
1955
2200
|
proto3.util.initPartial(data, this);
|
|
1956
2201
|
}
|
|
1957
2202
|
|
|
1958
2203
|
static readonly runtime = proto3;
|
|
1959
|
-
static readonly typeName = "norsk.api.manager.
|
|
2204
|
+
static readonly typeName = "norsk.api.manager.AwsRegionHealth";
|
|
1960
2205
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1961
|
-
{ no: 1, name: "
|
|
1962
|
-
{ no: 2, name: "
|
|
2206
|
+
{ no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2207
|
+
{ no: 2, name: "health", kind: "enum", T: proto3.getEnumType(Health) },
|
|
2208
|
+
]);
|
|
2209
|
+
|
|
2210
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsRegionHealth {
|
|
2211
|
+
return new AwsRegionHealth().fromBinary(bytes, options);
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AwsRegionHealth {
|
|
2215
|
+
return new AwsRegionHealth().fromJson(jsonValue, options);
|
|
2216
|
+
}
|
|
2217
|
+
|
|
2218
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AwsRegionHealth {
|
|
2219
|
+
return new AwsRegionHealth().fromJsonString(jsonString, options);
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
static equals(a: AwsRegionHealth | PlainMessage<AwsRegionHealth> | undefined, b: AwsRegionHealth | PlainMessage<AwsRegionHealth> | undefined): boolean {
|
|
2223
|
+
return proto3.util.equals(AwsRegionHealth, a, b);
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
/**
|
|
2228
|
+
* @generated from message norsk.api.manager.AwsHealth
|
|
2229
|
+
*/
|
|
2230
|
+
export class AwsHealth extends Message<AwsHealth> {
|
|
2231
|
+
/**
|
|
2232
|
+
* @generated from field: repeated norsk.api.manager.AwsRegionHealth region_health = 1;
|
|
2233
|
+
*/
|
|
2234
|
+
regionHealth: AwsRegionHealth[] = [];
|
|
2235
|
+
|
|
2236
|
+
constructor(data?: PartialMessage<AwsHealth>) {
|
|
2237
|
+
super();
|
|
2238
|
+
proto3.util.initPartial(data, this);
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
static readonly runtime = proto3;
|
|
2242
|
+
static readonly typeName = "norsk.api.manager.AwsHealth";
|
|
2243
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2244
|
+
{ no: 1, name: "region_health", kind: "message", T: AwsRegionHealth, repeated: true },
|
|
2245
|
+
]);
|
|
2246
|
+
|
|
2247
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsHealth {
|
|
2248
|
+
return new AwsHealth().fromBinary(bytes, options);
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AwsHealth {
|
|
2252
|
+
return new AwsHealth().fromJson(jsonValue, options);
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AwsHealth {
|
|
2256
|
+
return new AwsHealth().fromJsonString(jsonString, options);
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
static equals(a: AwsHealth | PlainMessage<AwsHealth> | undefined, b: AwsHealth | PlainMessage<AwsHealth> | undefined): boolean {
|
|
2260
|
+
return proto3.util.equals(AwsHealth, a, b);
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* @generated from message norsk.api.manager.OciRegionHealth
|
|
2266
|
+
*/
|
|
2267
|
+
export class OciRegionHealth extends Message<OciRegionHealth> {
|
|
2268
|
+
/**
|
|
2269
|
+
* @generated from field: string availabilityDomain = 1;
|
|
2270
|
+
*/
|
|
2271
|
+
availabilityDomain = "";
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* @generated from field: norsk.api.manager.Health health = 2;
|
|
2275
|
+
*/
|
|
2276
|
+
health = Health.HEALTHY;
|
|
2277
|
+
|
|
2278
|
+
constructor(data?: PartialMessage<OciRegionHealth>) {
|
|
2279
|
+
super();
|
|
2280
|
+
proto3.util.initPartial(data, this);
|
|
2281
|
+
}
|
|
2282
|
+
|
|
2283
|
+
static readonly runtime = proto3;
|
|
2284
|
+
static readonly typeName = "norsk.api.manager.OciRegionHealth";
|
|
2285
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2286
|
+
{ no: 1, name: "availabilityDomain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2287
|
+
{ no: 2, name: "health", kind: "enum", T: proto3.getEnumType(Health) },
|
|
2288
|
+
]);
|
|
2289
|
+
|
|
2290
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OciRegionHealth {
|
|
2291
|
+
return new OciRegionHealth().fromBinary(bytes, options);
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OciRegionHealth {
|
|
2295
|
+
return new OciRegionHealth().fromJson(jsonValue, options);
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OciRegionHealth {
|
|
2299
|
+
return new OciRegionHealth().fromJsonString(jsonString, options);
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
static equals(a: OciRegionHealth | PlainMessage<OciRegionHealth> | undefined, b: OciRegionHealth | PlainMessage<OciRegionHealth> | undefined): boolean {
|
|
2303
|
+
return proto3.util.equals(OciRegionHealth, a, b);
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
/**
|
|
2308
|
+
* @generated from message norsk.api.manager.OciHealth
|
|
2309
|
+
*/
|
|
2310
|
+
export class OciHealth extends Message<OciHealth> {
|
|
2311
|
+
/**
|
|
2312
|
+
* @generated from field: repeated norsk.api.manager.OciRegionHealth region_health = 1;
|
|
2313
|
+
*/
|
|
2314
|
+
regionHealth: OciRegionHealth[] = [];
|
|
2315
|
+
|
|
2316
|
+
constructor(data?: PartialMessage<OciHealth>) {
|
|
2317
|
+
super();
|
|
2318
|
+
proto3.util.initPartial(data, this);
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
static readonly runtime = proto3;
|
|
2322
|
+
static readonly typeName = "norsk.api.manager.OciHealth";
|
|
2323
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2324
|
+
{ no: 1, name: "region_health", kind: "message", T: OciRegionHealth, repeated: true },
|
|
2325
|
+
]);
|
|
2326
|
+
|
|
2327
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OciHealth {
|
|
2328
|
+
return new OciHealth().fromBinary(bytes, options);
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OciHealth {
|
|
2332
|
+
return new OciHealth().fromJson(jsonValue, options);
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OciHealth {
|
|
2336
|
+
return new OciHealth().fromJsonString(jsonString, options);
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
static equals(a: OciHealth | PlainMessage<OciHealth> | undefined, b: OciHealth | PlainMessage<OciHealth> | undefined): boolean {
|
|
2340
|
+
return proto3.util.equals(OciHealth, a, b);
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
/**
|
|
2345
|
+
* @generated from message norsk.api.manager.TestHealth
|
|
2346
|
+
*/
|
|
2347
|
+
export class TestHealth extends Message<TestHealth> {
|
|
2348
|
+
constructor(data?: PartialMessage<TestHealth>) {
|
|
2349
|
+
super();
|
|
2350
|
+
proto3.util.initPartial(data, this);
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
static readonly runtime = proto3;
|
|
2354
|
+
static readonly typeName = "norsk.api.manager.TestHealth";
|
|
2355
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2356
|
+
]);
|
|
2357
|
+
|
|
2358
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TestHealth {
|
|
2359
|
+
return new TestHealth().fromBinary(bytes, options);
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TestHealth {
|
|
2363
|
+
return new TestHealth().fromJson(jsonValue, options);
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TestHealth {
|
|
2367
|
+
return new TestHealth().fromJsonString(jsonString, options);
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2370
|
+
static equals(a: TestHealth | PlainMessage<TestHealth> | undefined, b: TestHealth | PlainMessage<TestHealth> | undefined): boolean {
|
|
2371
|
+
return proto3.util.equals(TestHealth, a, b);
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* @generated from message norsk.api.manager.ProviderHealth
|
|
2377
|
+
*/
|
|
2378
|
+
export class ProviderHealth extends Message<ProviderHealth> {
|
|
2379
|
+
/**
|
|
2380
|
+
* @generated from oneof norsk.api.manager.ProviderHealth.health
|
|
2381
|
+
*/
|
|
2382
|
+
health: {
|
|
2383
|
+
/**
|
|
2384
|
+
* @generated from field: norsk.api.manager.AwsHealth aws = 1;
|
|
2385
|
+
*/
|
|
2386
|
+
value: AwsHealth;
|
|
2387
|
+
case: "aws";
|
|
2388
|
+
} | {
|
|
2389
|
+
/**
|
|
2390
|
+
* @generated from field: norsk.api.manager.OciHealth oci = 2;
|
|
2391
|
+
*/
|
|
2392
|
+
value: OciHealth;
|
|
2393
|
+
case: "oci";
|
|
2394
|
+
} | {
|
|
2395
|
+
/**
|
|
2396
|
+
* @generated from field: norsk.api.manager.TestHealth test = 3;
|
|
2397
|
+
*/
|
|
2398
|
+
value: TestHealth;
|
|
2399
|
+
case: "test";
|
|
2400
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
2401
|
+
|
|
2402
|
+
constructor(data?: PartialMessage<ProviderHealth>) {
|
|
2403
|
+
super();
|
|
2404
|
+
proto3.util.initPartial(data, this);
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
static readonly runtime = proto3;
|
|
2408
|
+
static readonly typeName = "norsk.api.manager.ProviderHealth";
|
|
2409
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2410
|
+
{ no: 1, name: "aws", kind: "message", T: AwsHealth, oneof: "health" },
|
|
2411
|
+
{ no: 2, name: "oci", kind: "message", T: OciHealth, oneof: "health" },
|
|
2412
|
+
{ no: 3, name: "test", kind: "message", T: TestHealth, oneof: "health" },
|
|
1963
2413
|
]);
|
|
1964
2414
|
|
|
1965
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1966
|
-
return new
|
|
2415
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProviderHealth {
|
|
2416
|
+
return new ProviderHealth().fromBinary(bytes, options);
|
|
1967
2417
|
}
|
|
1968
2418
|
|
|
1969
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1970
|
-
return new
|
|
2419
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProviderHealth {
|
|
2420
|
+
return new ProviderHealth().fromJson(jsonValue, options);
|
|
1971
2421
|
}
|
|
1972
2422
|
|
|
1973
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1974
|
-
return new
|
|
2423
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProviderHealth {
|
|
2424
|
+
return new ProviderHealth().fromJsonString(jsonString, options);
|
|
1975
2425
|
}
|
|
1976
2426
|
|
|
1977
|
-
static equals(a:
|
|
1978
|
-
return proto3.util.equals(
|
|
2427
|
+
static equals(a: ProviderHealth | PlainMessage<ProviderHealth> | undefined, b: ProviderHealth | PlainMessage<ProviderHealth> | undefined): boolean {
|
|
2428
|
+
return proto3.util.equals(ProviderHealth, a, b);
|
|
1979
2429
|
}
|
|
1980
2430
|
}
|
|
1981
2431
|
|
|
@@ -1983,6 +2433,11 @@ export class ManagerActivityStreamRequest extends Message<ManagerActivityStreamR
|
|
|
1983
2433
|
* @generated from message norsk.api.manager.InitialDataComplete
|
|
1984
2434
|
*/
|
|
1985
2435
|
export class InitialDataComplete extends Message<InitialDataComplete> {
|
|
2436
|
+
/**
|
|
2437
|
+
* @generated from field: repeated norsk.api.manager.ProviderHealth health = 1;
|
|
2438
|
+
*/
|
|
2439
|
+
health: ProviderHealth[] = [];
|
|
2440
|
+
|
|
1986
2441
|
constructor(data?: PartialMessage<InitialDataComplete>) {
|
|
1987
2442
|
super();
|
|
1988
2443
|
proto3.util.initPartial(data, this);
|
|
@@ -1991,6 +2446,7 @@ export class InitialDataComplete extends Message<InitialDataComplete> {
|
|
|
1991
2446
|
static readonly runtime = proto3;
|
|
1992
2447
|
static readonly typeName = "norsk.api.manager.InitialDataComplete";
|
|
1993
2448
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2449
|
+
{ no: 1, name: "health", kind: "message", T: ProviderHealth, repeated: true },
|
|
1994
2450
|
]);
|
|
1995
2451
|
|
|
1996
2452
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InitialDataComplete {
|
|
@@ -2011,159 +2467,140 @@ export class InitialDataComplete extends Message<InitialDataComplete> {
|
|
|
2011
2467
|
}
|
|
2012
2468
|
|
|
2013
2469
|
/**
|
|
2014
|
-
* @generated from message norsk.api.manager.
|
|
2470
|
+
* @generated from message norsk.api.manager.EventStreamEvent
|
|
2015
2471
|
*/
|
|
2016
|
-
export class
|
|
2472
|
+
export class EventStreamEvent extends Message<EventStreamEvent> {
|
|
2017
2473
|
/**
|
|
2018
|
-
* @generated from oneof norsk.api.manager.
|
|
2474
|
+
* @generated from oneof norsk.api.manager.EventStreamEvent.event
|
|
2019
2475
|
*/
|
|
2020
2476
|
event: {
|
|
2021
2477
|
/**
|
|
2022
|
-
*
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
case: "initialDataComplete";
|
|
2026
|
-
} | {
|
|
2027
|
-
/**
|
|
2028
|
-
* @generated from field: norsk.api.manager.JobUpdated job_updated = 2;
|
|
2029
|
-
*/
|
|
2030
|
-
value: JobUpdated;
|
|
2031
|
-
case: "jobUpdated";
|
|
2032
|
-
} | {
|
|
2033
|
-
/**
|
|
2034
|
-
* @generated from field: norsk.api.manager.JobPending job_pending = 3;
|
|
2035
|
-
*/
|
|
2036
|
-
value: JobPending;
|
|
2037
|
-
case: "jobPending";
|
|
2038
|
-
} | {
|
|
2039
|
-
/**
|
|
2040
|
-
* @generated from field: norsk.api.manager.JobDueToStart job_due_to_start = 4;
|
|
2041
|
-
*/
|
|
2042
|
-
value: JobDueToStart;
|
|
2043
|
-
case: "jobDueToStart";
|
|
2044
|
-
} | {
|
|
2045
|
-
/**
|
|
2046
|
-
* @generated from field: norsk.api.manager.JobInstanceStarting job_instance_starting = 5;
|
|
2478
|
+
* Only sent before initial_data_complete
|
|
2479
|
+
*
|
|
2480
|
+
* @generated from field: norsk.api.manager.NodeRunning node_running = 1;
|
|
2047
2481
|
*/
|
|
2048
|
-
value:
|
|
2049
|
-
case: "
|
|
2482
|
+
value: NodeRunning;
|
|
2483
|
+
case: "nodeRunning";
|
|
2050
2484
|
} | {
|
|
2051
2485
|
/**
|
|
2052
|
-
*
|
|
2486
|
+
* Only sent before initial_data_complete
|
|
2487
|
+
*
|
|
2488
|
+
* @generated from field: norsk.api.manager.JobActive job_active = 2;
|
|
2053
2489
|
*/
|
|
2054
|
-
value:
|
|
2055
|
-
case: "
|
|
2490
|
+
value: JobActive;
|
|
2491
|
+
case: "jobActive";
|
|
2056
2492
|
} | {
|
|
2057
2493
|
/**
|
|
2058
|
-
* @generated from field: norsk.api.manager.
|
|
2494
|
+
* @generated from field: norsk.api.manager.InitialDataComplete initial_data_complete = 3;
|
|
2059
2495
|
*/
|
|
2060
|
-
value:
|
|
2061
|
-
case: "
|
|
2496
|
+
value: InitialDataComplete;
|
|
2497
|
+
case: "initialDataComplete";
|
|
2062
2498
|
} | {
|
|
2063
2499
|
/**
|
|
2064
|
-
* @generated from field: norsk.api.manager.
|
|
2500
|
+
* @generated from field: norsk.api.manager.JobUpdated job_updated = 4;
|
|
2065
2501
|
*/
|
|
2066
|
-
value:
|
|
2067
|
-
case: "
|
|
2502
|
+
value: JobUpdated;
|
|
2503
|
+
case: "jobUpdated";
|
|
2068
2504
|
} | {
|
|
2069
2505
|
/**
|
|
2070
|
-
* @generated from field: norsk.api.manager.
|
|
2506
|
+
* @generated from field: norsk.api.manager.JobDeleted job_deleted = 5;
|
|
2071
2507
|
*/
|
|
2072
|
-
value:
|
|
2073
|
-
case: "
|
|
2508
|
+
value: JobDeleted;
|
|
2509
|
+
case: "jobDeleted";
|
|
2074
2510
|
} | {
|
|
2075
2511
|
/**
|
|
2076
|
-
* @generated from field: norsk.api.manager.
|
|
2512
|
+
* @generated from field: norsk.api.manager.JobPending job_pending = 6;
|
|
2077
2513
|
*/
|
|
2078
|
-
value:
|
|
2079
|
-
case: "
|
|
2514
|
+
value: JobPending;
|
|
2515
|
+
case: "jobPending";
|
|
2080
2516
|
} | {
|
|
2081
2517
|
/**
|
|
2082
|
-
*
|
|
2083
|
-
*
|
|
2084
|
-
* @generated from field: norsk.api.manager.NodeRunning node_running = 11;
|
|
2518
|
+
* @generated from field: norsk.api.manager.JobOutOfWindow job_out_of_window = 7;
|
|
2085
2519
|
*/
|
|
2086
|
-
value:
|
|
2087
|
-
case: "
|
|
2520
|
+
value: JobOutOfWindow;
|
|
2521
|
+
case: "jobOutOfWindow";
|
|
2088
2522
|
} | {
|
|
2089
2523
|
/**
|
|
2090
|
-
* @generated from field: norsk.api.manager.NodeStarting node_starting =
|
|
2524
|
+
* @generated from field: norsk.api.manager.NodeStarting node_starting = 8;
|
|
2091
2525
|
*/
|
|
2092
2526
|
value: NodeStarting;
|
|
2093
2527
|
case: "nodeStarting";
|
|
2094
2528
|
} | {
|
|
2095
2529
|
/**
|
|
2096
|
-
* @generated from field: norsk.api.manager.NodeStarted node_started =
|
|
2530
|
+
* @generated from field: norsk.api.manager.NodeStarted node_started = 9;
|
|
2097
2531
|
*/
|
|
2098
2532
|
value: NodeStarted;
|
|
2099
2533
|
case: "nodeStarted";
|
|
2100
2534
|
} | {
|
|
2101
2535
|
/**
|
|
2102
|
-
* @generated from field: norsk.api.manager.NodeStopping node_stopping =
|
|
2536
|
+
* @generated from field: norsk.api.manager.NodeStopping node_stopping = 10;
|
|
2103
2537
|
*/
|
|
2104
2538
|
value: NodeStopping;
|
|
2105
2539
|
case: "nodeStopping";
|
|
2106
2540
|
} | {
|
|
2107
2541
|
/**
|
|
2108
|
-
* @generated from field: norsk.api.manager.NodeStopped node_stopped =
|
|
2542
|
+
* @generated from field: norsk.api.manager.NodeStopped node_stopped = 11;
|
|
2109
2543
|
*/
|
|
2110
2544
|
value: NodeStopped;
|
|
2111
2545
|
case: "nodeStopped";
|
|
2112
2546
|
} | {
|
|
2113
2547
|
/**
|
|
2114
|
-
* @generated from field: norsk.api.manager.
|
|
2548
|
+
* @generated from field: norsk.api.manager.PhysicalNodeConnected physical_node_connected = 12;
|
|
2115
2549
|
*/
|
|
2116
|
-
value:
|
|
2117
|
-
case: "
|
|
2550
|
+
value: PhysicalNodeConnected;
|
|
2551
|
+
case: "physicalNodeConnected";
|
|
2118
2552
|
} | {
|
|
2119
2553
|
/**
|
|
2120
|
-
* @generated from field: norsk.api.manager.
|
|
2554
|
+
* @generated from field: norsk.api.manager.ProviderHealth provider_health_change = 13;
|
|
2121
2555
|
*/
|
|
2122
|
-
value:
|
|
2123
|
-
case: "
|
|
2556
|
+
value: ProviderHealth;
|
|
2557
|
+
case: "providerHealthChange";
|
|
2558
|
+
} | {
|
|
2559
|
+
/**
|
|
2560
|
+
* @generated from field: norsk.api.common.JobInfoMessage job_info = 14;
|
|
2561
|
+
*/
|
|
2562
|
+
value: JobInfoMessage;
|
|
2563
|
+
case: "jobInfo";
|
|
2124
2564
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
2125
2565
|
|
|
2126
|
-
constructor(data?: PartialMessage<
|
|
2566
|
+
constructor(data?: PartialMessage<EventStreamEvent>) {
|
|
2127
2567
|
super();
|
|
2128
2568
|
proto3.util.initPartial(data, this);
|
|
2129
2569
|
}
|
|
2130
2570
|
|
|
2131
2571
|
static readonly runtime = proto3;
|
|
2132
|
-
static readonly typeName = "norsk.api.manager.
|
|
2572
|
+
static readonly typeName = "norsk.api.manager.EventStreamEvent";
|
|
2133
2573
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2134
|
-
{ no: 1, name: "
|
|
2135
|
-
{ no: 2, name: "
|
|
2136
|
-
{ no: 3, name: "
|
|
2137
|
-
{ no: 4, name: "
|
|
2138
|
-
{ no: 5, name: "
|
|
2139
|
-
{ no: 6, name: "
|
|
2140
|
-
{ no: 7, name: "
|
|
2141
|
-
{ no: 8, name: "
|
|
2142
|
-
{ no: 9, name: "
|
|
2143
|
-
{ no: 10, name: "
|
|
2144
|
-
{ no: 11, name: "
|
|
2145
|
-
{ no: 12, name: "
|
|
2146
|
-
{ no: 13, name: "
|
|
2147
|
-
{ no: 14, name: "
|
|
2148
|
-
{ no: 15, name: "node_stopped", kind: "message", T: NodeStopped, oneof: "event" },
|
|
2149
|
-
{ no: 16, name: "node_failed", kind: "message", T: NodeFailed, oneof: "event" },
|
|
2150
|
-
{ no: 17, name: "physical_node_connected", kind: "message", T: PhysicalNodeConnected, oneof: "event" },
|
|
2574
|
+
{ no: 1, name: "node_running", kind: "message", T: NodeRunning, oneof: "event" },
|
|
2575
|
+
{ no: 2, name: "job_active", kind: "message", T: JobActive, oneof: "event" },
|
|
2576
|
+
{ no: 3, name: "initial_data_complete", kind: "message", T: InitialDataComplete, oneof: "event" },
|
|
2577
|
+
{ no: 4, name: "job_updated", kind: "message", T: JobUpdated, oneof: "event" },
|
|
2578
|
+
{ no: 5, name: "job_deleted", kind: "message", T: JobDeleted, oneof: "event" },
|
|
2579
|
+
{ no: 6, name: "job_pending", kind: "message", T: JobPending, oneof: "event" },
|
|
2580
|
+
{ no: 7, name: "job_out_of_window", kind: "message", T: JobOutOfWindow, oneof: "event" },
|
|
2581
|
+
{ no: 8, name: "node_starting", kind: "message", T: NodeStarting, oneof: "event" },
|
|
2582
|
+
{ no: 9, name: "node_started", kind: "message", T: NodeStarted, oneof: "event" },
|
|
2583
|
+
{ no: 10, name: "node_stopping", kind: "message", T: NodeStopping, oneof: "event" },
|
|
2584
|
+
{ no: 11, name: "node_stopped", kind: "message", T: NodeStopped, oneof: "event" },
|
|
2585
|
+
{ no: 12, name: "physical_node_connected", kind: "message", T: PhysicalNodeConnected, oneof: "event" },
|
|
2586
|
+
{ no: 13, name: "provider_health_change", kind: "message", T: ProviderHealth, oneof: "event" },
|
|
2587
|
+
{ no: 14, name: "job_info", kind: "message", T: JobInfoMessage, oneof: "event" },
|
|
2151
2588
|
]);
|
|
2152
2589
|
|
|
2153
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
2154
|
-
return new
|
|
2590
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EventStreamEvent {
|
|
2591
|
+
return new EventStreamEvent().fromBinary(bytes, options);
|
|
2155
2592
|
}
|
|
2156
2593
|
|
|
2157
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
2158
|
-
return new
|
|
2594
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EventStreamEvent {
|
|
2595
|
+
return new EventStreamEvent().fromJson(jsonValue, options);
|
|
2159
2596
|
}
|
|
2160
2597
|
|
|
2161
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
2162
|
-
return new
|
|
2598
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EventStreamEvent {
|
|
2599
|
+
return new EventStreamEvent().fromJsonString(jsonString, options);
|
|
2163
2600
|
}
|
|
2164
2601
|
|
|
2165
|
-
static equals(a:
|
|
2166
|
-
return proto3.util.equals(
|
|
2602
|
+
static equals(a: EventStreamEvent | PlainMessage<EventStreamEvent> | undefined, b: EventStreamEvent | PlainMessage<EventStreamEvent> | undefined): boolean {
|
|
2603
|
+
return proto3.util.equals(EventStreamEvent, a, b);
|
|
2167
2604
|
}
|
|
2168
2605
|
}
|
|
2169
2606
|
|