@norskvideo/norsk-api 0.0.322

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.
@@ -0,0 +1,133 @@
1
+ // Copyright 2015 The gRPC Authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // The canonical version of this proto can be found at
16
+ // https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto
17
+
18
+ // @generated by protoc-gen-es v0.3.0 with parameter "target=ts"
19
+ // @generated from file shared/health.proto (package grpc.health.v1, syntax proto3)
20
+ /* eslint-disable */
21
+ // @ts-nocheck
22
+
23
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
24
+ import { Message, proto3 } from "@bufbuild/protobuf";
25
+
26
+ /**
27
+ * @generated from message grpc.health.v1.HealthCheckRequest
28
+ */
29
+ export class HealthCheckRequest extends Message<HealthCheckRequest> {
30
+ /**
31
+ * @generated from field: string service = 1;
32
+ */
33
+ service = "";
34
+
35
+ constructor(data?: PartialMessage<HealthCheckRequest>) {
36
+ super();
37
+ proto3.util.initPartial(data, this);
38
+ }
39
+
40
+ static readonly runtime = proto3;
41
+ static readonly typeName = "grpc.health.v1.HealthCheckRequest";
42
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
43
+ { no: 1, name: "service", kind: "scalar", T: 9 /* ScalarType.STRING */ },
44
+ ]);
45
+
46
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HealthCheckRequest {
47
+ return new HealthCheckRequest().fromBinary(bytes, options);
48
+ }
49
+
50
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HealthCheckRequest {
51
+ return new HealthCheckRequest().fromJson(jsonValue, options);
52
+ }
53
+
54
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HealthCheckRequest {
55
+ return new HealthCheckRequest().fromJsonString(jsonString, options);
56
+ }
57
+
58
+ static equals(a: HealthCheckRequest | PlainMessage<HealthCheckRequest> | undefined, b: HealthCheckRequest | PlainMessage<HealthCheckRequest> | undefined): boolean {
59
+ return proto3.util.equals(HealthCheckRequest, a, b);
60
+ }
61
+ }
62
+
63
+ /**
64
+ * @generated from message grpc.health.v1.HealthCheckResponse
65
+ */
66
+ export class HealthCheckResponse extends Message<HealthCheckResponse> {
67
+ /**
68
+ * @generated from field: grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
69
+ */
70
+ status = HealthCheckResponse_ServingStatus.UNKNOWN;
71
+
72
+ constructor(data?: PartialMessage<HealthCheckResponse>) {
73
+ super();
74
+ proto3.util.initPartial(data, this);
75
+ }
76
+
77
+ static readonly runtime = proto3;
78
+ static readonly typeName = "grpc.health.v1.HealthCheckResponse";
79
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
80
+ { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(HealthCheckResponse_ServingStatus) },
81
+ ]);
82
+
83
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HealthCheckResponse {
84
+ return new HealthCheckResponse().fromBinary(bytes, options);
85
+ }
86
+
87
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HealthCheckResponse {
88
+ return new HealthCheckResponse().fromJson(jsonValue, options);
89
+ }
90
+
91
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HealthCheckResponse {
92
+ return new HealthCheckResponse().fromJsonString(jsonString, options);
93
+ }
94
+
95
+ static equals(a: HealthCheckResponse | PlainMessage<HealthCheckResponse> | undefined, b: HealthCheckResponse | PlainMessage<HealthCheckResponse> | undefined): boolean {
96
+ return proto3.util.equals(HealthCheckResponse, a, b);
97
+ }
98
+ }
99
+
100
+ /**
101
+ * @generated from enum grpc.health.v1.HealthCheckResponse.ServingStatus
102
+ */
103
+ export enum HealthCheckResponse_ServingStatus {
104
+ /**
105
+ * @generated from enum value: UNKNOWN = 0;
106
+ */
107
+ UNKNOWN = 0,
108
+
109
+ /**
110
+ * @generated from enum value: SERVING = 1;
111
+ */
112
+ SERVING = 1,
113
+
114
+ /**
115
+ * @generated from enum value: NOT_SERVING = 2;
116
+ */
117
+ NOT_SERVING = 2,
118
+
119
+ /**
120
+ * Used only by the Watch method.
121
+ *
122
+ * @generated from enum value: SERVICE_UNKNOWN = 3;
123
+ */
124
+ SERVICE_UNKNOWN = 3,
125
+ }
126
+ // Retrieve enum metadata with: proto3.getEnumType(HealthCheckResponse_ServingStatus)
127
+ proto3.util.setEnumType(HealthCheckResponse_ServingStatus, "grpc.health.v1.HealthCheckResponse.ServingStatus", [
128
+ { no: 0, name: "UNKNOWN" },
129
+ { no: 1, name: "SERVING" },
130
+ { no: 2, name: "NOT_SERVING" },
131
+ { no: 3, name: "SERVICE_UNKNOWN" },
132
+ ]);
133
+
@@ -0,0 +1,42 @@
1
+ // package: norsk.api.manager.worker
2
+ // file: worker.proto
3
+
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+
7
+ import * as grpc from "@grpc/grpc-js";
8
+ import * as worker_pb from "./worker_pb";
9
+ import * as google_protobuf_timestamp_pb from "@bufbuild/protobuf";
10
+ import * as google_protobuf_empty_pb from "@bufbuild/protobuf";
11
+
12
+ interface IWorkerService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
13
+ nodeControllerStream: IWorkerService_INodeControllerStream;
14
+ }
15
+
16
+ interface IWorkerService_INodeControllerStream extends grpc.MethodDefinition<worker_pb.NodeControllerMessage, worker_pb.WorkerMessage> {
17
+ path: "/norsk.api.manager.worker.Worker/NodeControllerStream";
18
+ requestStream: true;
19
+ responseStream: true;
20
+ requestSerialize: grpc.serialize<worker_pb.NodeControllerMessage>;
21
+ requestDeserialize: grpc.deserialize<worker_pb.NodeControllerMessage>;
22
+ responseSerialize: grpc.serialize<worker_pb.WorkerMessage>;
23
+ responseDeserialize: grpc.deserialize<worker_pb.WorkerMessage>;
24
+ }
25
+
26
+ export const WorkerService: IWorkerService;
27
+
28
+ export interface IWorkerServer extends grpc.UntypedServiceImplementation {
29
+ nodeControllerStream: grpc.handleBidiStreamingCall<worker_pb.NodeControllerMessage, worker_pb.WorkerMessage>;
30
+ }
31
+
32
+ export interface IWorkerClient {
33
+ nodeControllerStream(): grpc.ClientDuplexStream<worker_pb.NodeControllerMessage, worker_pb.WorkerMessage>;
34
+ nodeControllerStream(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<worker_pb.NodeControllerMessage, worker_pb.WorkerMessage>;
35
+ nodeControllerStream(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<worker_pb.NodeControllerMessage, worker_pb.WorkerMessage>;
36
+ }
37
+
38
+ export class WorkerClient extends grpc.Client implements IWorkerClient {
39
+ constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
40
+ public nodeControllerStream(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<worker_pb.NodeControllerMessage, worker_pb.WorkerMessage>;
41
+ public nodeControllerStream(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<worker_pb.NodeControllerMessage, worker_pb.WorkerMessage>;
42
+ }
@@ -0,0 +1,46 @@
1
+ // GENERATED CODE -- DO NOT EDIT!
2
+
3
+ 'use strict';
4
+ var grpc = require('@grpc/grpc-js');
5
+ var worker_pb = require('./worker_pb.js');
6
+ var google_protobuf_timestamp_pb = require('@bufbuild/protobuf');
7
+ var google_protobuf_empty_pb = require('@bufbuild/protobuf');
8
+
9
+ function serialize_norsk_api_manager_worker_NodeControllerMessage(arg) {
10
+ if (!(arg instanceof worker_pb.NodeControllerMessage)) {
11
+ throw new Error('Expected argument of type norsk.api.manager.worker.NodeControllerMessage');
12
+ }
13
+ return Buffer.from(arg.toBinary());
14
+ }
15
+
16
+ function deserialize_norsk_api_manager_worker_NodeControllerMessage(buffer_arg) {
17
+ return worker_pb.NodeControllerMessage.fromBinary(new Uint8Array(buffer_arg));
18
+ }
19
+
20
+ function serialize_norsk_api_manager_worker_WorkerMessage(arg) {
21
+ if (!(arg instanceof worker_pb.WorkerMessage)) {
22
+ throw new Error('Expected argument of type norsk.api.manager.worker.WorkerMessage');
23
+ }
24
+ return Buffer.from(arg.toBinary());
25
+ }
26
+
27
+ function deserialize_norsk_api_manager_worker_WorkerMessage(buffer_arg) {
28
+ return worker_pb.WorkerMessage.fromBinary(new Uint8Array(buffer_arg));
29
+ }
30
+
31
+
32
+ var WorkerService = exports.WorkerService = {
33
+ nodeControllerStream: {
34
+ path: '/norsk.api.manager.worker.Worker/NodeControllerStream',
35
+ requestStream: true,
36
+ responseStream: true,
37
+ requestType: worker_pb.NodeControllerMessage,
38
+ responseType: worker_pb.WorkerMessage,
39
+ requestSerialize: serialize_norsk_api_manager_worker_NodeControllerMessage,
40
+ requestDeserialize: deserialize_norsk_api_manager_worker_NodeControllerMessage,
41
+ responseSerialize: serialize_norsk_api_manager_worker_WorkerMessage,
42
+ responseDeserialize: deserialize_norsk_api_manager_worker_WorkerMessage,
43
+ },
44
+ };
45
+
46
+ exports.WorkerClient = grpc.makeGenericClientConstructor(WorkerService);
@@ -0,0 +1,277 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, Timestamp } from "@bufbuild/protobuf";
3
+ /**
4
+ * TODO - see capacity comment in jobs.proto...
5
+ *
6
+ * @generated from message norsk.api.manager.worker.Capacity
7
+ */
8
+ export declare class Capacity extends Message<Capacity> {
9
+ /**
10
+ * @generated from field: float vCpus = 1;
11
+ */
12
+ vCpus: number;
13
+ /**
14
+ * @generated from field: float memory = 2;
15
+ */
16
+ memory: number;
17
+ /**
18
+ * @generated from field: float diskSpace = 3;
19
+ */
20
+ diskSpace: number;
21
+ /**
22
+ * @generated from field: float diskIOPS = 4;
23
+ */
24
+ diskIOPS: number;
25
+ /**
26
+ * @generated from field: float networkIOPS = 5;
27
+ */
28
+ networkIOPS: number;
29
+ constructor(data?: PartialMessage<Capacity>);
30
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
31
+ static readonly typeName = "norsk.api.manager.worker.Capacity";
32
+ static readonly fields: FieldList;
33
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Capacity;
34
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Capacity;
35
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Capacity;
36
+ static equals(a: Capacity | PlainMessage<Capacity> | undefined, b: Capacity | PlainMessage<Capacity> | undefined): boolean;
37
+ }
38
+ /**
39
+ * @generated from message norsk.api.manager.worker.NodeMetadata
40
+ */
41
+ export declare class NodeMetadata extends Message<NodeMetadata> {
42
+ /**
43
+ * @generated from field: string id = 1;
44
+ */
45
+ id: string;
46
+ /**
47
+ * @generated from field: map<string, string> tags = 2;
48
+ */
49
+ tags: {
50
+ [key: string]: string;
51
+ };
52
+ /**
53
+ * @generated from field: norsk.api.manager.worker.Capacity capacity = 3;
54
+ */
55
+ capacity?: Capacity;
56
+ /**
57
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
58
+ */
59
+ createdAt?: Timestamp;
60
+ /**
61
+ * @generated from field: bool reuse_on_idle = 5;
62
+ */
63
+ reuseOnIdle: boolean;
64
+ /**
65
+ * @generated from field: string region = 6;
66
+ */
67
+ region: string;
68
+ constructor(data?: PartialMessage<NodeMetadata>);
69
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
70
+ static readonly typeName = "norsk.api.manager.worker.NodeMetadata";
71
+ static readonly fields: FieldList;
72
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NodeMetadata;
73
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NodeMetadata;
74
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NodeMetadata;
75
+ static equals(a: NodeMetadata | PlainMessage<NodeMetadata> | undefined, b: NodeMetadata | PlainMessage<NodeMetadata> | undefined): boolean;
76
+ }
77
+ /**
78
+ * @generated from message norsk.api.manager.worker.Health
79
+ */
80
+ export declare class Health extends Message<Health> {
81
+ /**
82
+ * @generated from field: norsk.api.manager.worker.Capacity measured_load = 1;
83
+ */
84
+ measuredLoad?: Capacity;
85
+ constructor(data?: PartialMessage<Health>);
86
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
87
+ static readonly typeName = "norsk.api.manager.worker.Health";
88
+ static readonly fields: FieldList;
89
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Health;
90
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Health;
91
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Health;
92
+ static equals(a: Health | PlainMessage<Health> | undefined, b: Health | PlainMessage<Health> | undefined): boolean;
93
+ }
94
+ /**
95
+ * @generated from message norsk.api.manager.worker.WorkerJobId
96
+ */
97
+ export declare class WorkerJobId extends Message<WorkerJobId> {
98
+ /**
99
+ * @generated from field: string id = 1;
100
+ */
101
+ id: string;
102
+ constructor(data?: PartialMessage<WorkerJobId>);
103
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
104
+ static readonly typeName = "norsk.api.manager.worker.WorkerJobId";
105
+ static readonly fields: FieldList;
106
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerJobId;
107
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerJobId;
108
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerJobId;
109
+ static equals(a: WorkerJobId | PlainMessage<WorkerJobId> | undefined, b: WorkerJobId | PlainMessage<WorkerJobId> | undefined): boolean;
110
+ }
111
+ /**
112
+ * @generated from message norsk.api.manager.worker.WorkerJob
113
+ */
114
+ export declare class WorkerJob extends Message<WorkerJob> {
115
+ /**
116
+ * @generated from field: norsk.api.manager.worker.WorkerJobId id = 1;
117
+ */
118
+ id?: WorkerJobId;
119
+ /**
120
+ * @generated from field: string description = 2;
121
+ */
122
+ description: string;
123
+ /**
124
+ * @generated from field: map<string, string> tags = 3;
125
+ */
126
+ tags: {
127
+ [key: string]: string;
128
+ };
129
+ /**
130
+ * @generated from field: google.protobuf.Timestamp start_date_time = 4;
131
+ */
132
+ startDateTime?: Timestamp;
133
+ /**
134
+ * @generated from field: google.protobuf.Timestamp end_date_time = 5;
135
+ */
136
+ endDateTime?: Timestamp;
137
+ /**
138
+ * @generated from field: string media_configuration = 6;
139
+ */
140
+ mediaConfiguration: string;
141
+ constructor(data?: PartialMessage<WorkerJob>);
142
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
143
+ static readonly typeName = "norsk.api.manager.worker.WorkerJob";
144
+ static readonly fields: FieldList;
145
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerJob;
146
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerJob;
147
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerJob;
148
+ static equals(a: WorkerJob | PlainMessage<WorkerJob> | undefined, b: WorkerJob | PlainMessage<WorkerJob> | undefined): boolean;
149
+ }
150
+ /**
151
+ * @generated from message norsk.api.manager.worker.UpdateJobConfig
152
+ */
153
+ export declare class UpdateJobConfig extends Message<UpdateJobConfig> {
154
+ /**
155
+ * @generated from field: norsk.api.manager.worker.WorkerJobId id = 1;
156
+ */
157
+ id?: WorkerJobId;
158
+ /**
159
+ * @generated from field: string media_configuration = 2;
160
+ */
161
+ mediaConfiguration: string;
162
+ constructor(data?: PartialMessage<UpdateJobConfig>);
163
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
164
+ static readonly typeName = "norsk.api.manager.worker.UpdateJobConfig";
165
+ static readonly fields: FieldList;
166
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateJobConfig;
167
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateJobConfig;
168
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateJobConfig;
169
+ static equals(a: UpdateJobConfig | PlainMessage<UpdateJobConfig> | undefined, b: UpdateJobConfig | PlainMessage<UpdateJobConfig> | undefined): boolean;
170
+ }
171
+ /**
172
+ * @generated from message norsk.api.manager.worker.WorkerHello
173
+ */
174
+ export declare class WorkerHello extends Message<WorkerHello> {
175
+ /**
176
+ * @generated from field: norsk.api.manager.worker.NodeMetadata nodeMetadata = 1;
177
+ */
178
+ nodeMetadata?: NodeMetadata;
179
+ /**
180
+ * @generated from field: norsk.api.manager.worker.Capacity measured_load = 2;
181
+ */
182
+ measuredLoad?: Capacity;
183
+ /**
184
+ * @generated from field: repeated norsk.api.manager.worker.WorkerJob running_jobs = 3;
185
+ */
186
+ runningJobs: WorkerJob[];
187
+ constructor(data?: PartialMessage<WorkerHello>);
188
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
189
+ static readonly typeName = "norsk.api.manager.worker.WorkerHello";
190
+ static readonly fields: FieldList;
191
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerHello;
192
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerHello;
193
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerHello;
194
+ static equals(a: WorkerHello | PlainMessage<WorkerHello> | undefined, b: WorkerHello | PlainMessage<WorkerHello> | undefined): boolean;
195
+ }
196
+ /**
197
+ * @generated from message norsk.api.manager.worker.WorkerMessage
198
+ */
199
+ export declare class WorkerMessage extends Message<WorkerMessage> {
200
+ /**
201
+ * @generated from oneof norsk.api.manager.worker.WorkerMessage.message
202
+ */
203
+ message: {
204
+ /**
205
+ * @generated from field: norsk.api.manager.worker.WorkerHello hello = 1;
206
+ */
207
+ value: WorkerHello;
208
+ case: "hello";
209
+ } | {
210
+ /**
211
+ * @generated from field: norsk.api.manager.worker.Health health = 2;
212
+ */
213
+ value: Health;
214
+ case: "health";
215
+ } | {
216
+ /**
217
+ * @generated from field: norsk.api.manager.worker.WorkerJobId jobStarted = 3;
218
+ */
219
+ value: WorkerJobId;
220
+ case: "jobStarted";
221
+ } | {
222
+ /**
223
+ * @generated from field: norsk.api.manager.worker.WorkerJobId jobStopped = 4;
224
+ */
225
+ value: WorkerJobId;
226
+ case: "jobStopped";
227
+ } | {
228
+ case: undefined;
229
+ value?: undefined;
230
+ };
231
+ constructor(data?: PartialMessage<WorkerMessage>);
232
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
233
+ static readonly typeName = "norsk.api.manager.worker.WorkerMessage";
234
+ static readonly fields: FieldList;
235
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerMessage;
236
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerMessage;
237
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerMessage;
238
+ static equals(a: WorkerMessage | PlainMessage<WorkerMessage> | undefined, b: WorkerMessage | PlainMessage<WorkerMessage> | undefined): boolean;
239
+ }
240
+ /**
241
+ * @generated from message norsk.api.manager.worker.NodeControllerMessage
242
+ */
243
+ export declare class NodeControllerMessage extends Message<NodeControllerMessage> {
244
+ /**
245
+ * @generated from oneof norsk.api.manager.worker.NodeControllerMessage.message
246
+ */
247
+ message: {
248
+ /**
249
+ * @generated from field: norsk.api.manager.worker.WorkerJob provisionJob = 1;
250
+ */
251
+ value: WorkerJob;
252
+ case: "provisionJob";
253
+ } | {
254
+ /**
255
+ * @generated from field: norsk.api.manager.worker.WorkerJobId stopJob = 2;
256
+ */
257
+ value: WorkerJobId;
258
+ case: "stopJob";
259
+ } | {
260
+ /**
261
+ * @generated from field: norsk.api.manager.worker.WorkerJob updateJob = 3;
262
+ */
263
+ value: WorkerJob;
264
+ case: "updateJob";
265
+ } | {
266
+ case: undefined;
267
+ value?: undefined;
268
+ };
269
+ constructor(data?: PartialMessage<NodeControllerMessage>);
270
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
271
+ static readonly typeName = "norsk.api.manager.worker.NodeControllerMessage";
272
+ static readonly fields: FieldList;
273
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NodeControllerMessage;
274
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NodeControllerMessage;
275
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NodeControllerMessage;
276
+ static equals(a: NodeControllerMessage | PlainMessage<NodeControllerMessage> | undefined, b: NodeControllerMessage | PlainMessage<NodeControllerMessage> | undefined): boolean;
277
+ }