modal 0.3.17 → 0.3.19
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/dist/index.cjs +2920 -152
- package/dist/index.d.cts +96 -9
- package/dist/index.d.ts +96 -9
- package/dist/index.js +2918 -152
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -30,6 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
// src/index.ts
|
|
31
31
|
var index_exports = {};
|
|
32
32
|
__export(index_exports, {
|
|
33
|
+
AlreadyExistsError: () => AlreadyExistsError,
|
|
33
34
|
App: () => App,
|
|
34
35
|
CloudBucketMount: () => CloudBucketMount2,
|
|
35
36
|
Cls: () => Cls,
|
|
@@ -47,6 +48,7 @@ __export(index_exports, {
|
|
|
47
48
|
QueueEmptyError: () => QueueEmptyError,
|
|
48
49
|
QueueFullError: () => QueueFullError,
|
|
49
50
|
RemoteError: () => RemoteError,
|
|
51
|
+
Retries: () => Retries,
|
|
50
52
|
Sandbox: () => Sandbox2,
|
|
51
53
|
SandboxFile: () => SandboxFile,
|
|
52
54
|
SandboxTimeoutError: () => SandboxTimeoutError,
|
|
@@ -2246,6 +2248,41 @@ function systemErrorCodeToJSON(object) {
|
|
|
2246
2248
|
return "UNRECOGNIZED";
|
|
2247
2249
|
}
|
|
2248
2250
|
}
|
|
2251
|
+
function taskSnapshotBehaviorFromJSON(object) {
|
|
2252
|
+
switch (object) {
|
|
2253
|
+
case 0:
|
|
2254
|
+
case "TASK_SNAPSHOT_BEHAVIOR_UNSPECIFIED":
|
|
2255
|
+
return 0 /* TASK_SNAPSHOT_BEHAVIOR_UNSPECIFIED */;
|
|
2256
|
+
case 1:
|
|
2257
|
+
case "TASK_SNAPSHOT_BEHAVIOR_SNAPSHOT":
|
|
2258
|
+
return 1 /* TASK_SNAPSHOT_BEHAVIOR_SNAPSHOT */;
|
|
2259
|
+
case 2:
|
|
2260
|
+
case "TASK_SNAPSHOT_BEHAVIOR_RESTORE":
|
|
2261
|
+
return 2 /* TASK_SNAPSHOT_BEHAVIOR_RESTORE */;
|
|
2262
|
+
case 3:
|
|
2263
|
+
case "TASK_SNAPSHOT_BEHAVIOR_NONE":
|
|
2264
|
+
return 3 /* TASK_SNAPSHOT_BEHAVIOR_NONE */;
|
|
2265
|
+
case -1:
|
|
2266
|
+
case "UNRECOGNIZED":
|
|
2267
|
+
default:
|
|
2268
|
+
return -1 /* UNRECOGNIZED */;
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
function taskSnapshotBehaviorToJSON(object) {
|
|
2272
|
+
switch (object) {
|
|
2273
|
+
case 0 /* TASK_SNAPSHOT_BEHAVIOR_UNSPECIFIED */:
|
|
2274
|
+
return "TASK_SNAPSHOT_BEHAVIOR_UNSPECIFIED";
|
|
2275
|
+
case 1 /* TASK_SNAPSHOT_BEHAVIOR_SNAPSHOT */:
|
|
2276
|
+
return "TASK_SNAPSHOT_BEHAVIOR_SNAPSHOT";
|
|
2277
|
+
case 2 /* TASK_SNAPSHOT_BEHAVIOR_RESTORE */:
|
|
2278
|
+
return "TASK_SNAPSHOT_BEHAVIOR_RESTORE";
|
|
2279
|
+
case 3 /* TASK_SNAPSHOT_BEHAVIOR_NONE */:
|
|
2280
|
+
return "TASK_SNAPSHOT_BEHAVIOR_NONE";
|
|
2281
|
+
case -1 /* UNRECOGNIZED */:
|
|
2282
|
+
default:
|
|
2283
|
+
return "UNRECOGNIZED";
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2249
2286
|
function taskStateFromJSON(object) {
|
|
2250
2287
|
switch (object) {
|
|
2251
2288
|
case 0:
|
|
@@ -2669,6 +2706,9 @@ function genericResult_GenericStatusFromJSON(object) {
|
|
|
2669
2706
|
case 6:
|
|
2670
2707
|
case "GENERIC_STATUS_INTERNAL_FAILURE":
|
|
2671
2708
|
return 6 /* GENERIC_STATUS_INTERNAL_FAILURE */;
|
|
2709
|
+
case 7:
|
|
2710
|
+
case "GENERIC_STATUS_IDLE_TIMEOUT":
|
|
2711
|
+
return 7 /* GENERIC_STATUS_IDLE_TIMEOUT */;
|
|
2672
2712
|
case -1:
|
|
2673
2713
|
case "UNRECOGNIZED":
|
|
2674
2714
|
default:
|
|
@@ -2691,6 +2731,8 @@ function genericResult_GenericStatusToJSON(object) {
|
|
|
2691
2731
|
return "GENERIC_STATUS_INIT_FAILURE";
|
|
2692
2732
|
case 6 /* GENERIC_STATUS_INTERNAL_FAILURE */:
|
|
2693
2733
|
return "GENERIC_STATUS_INTERNAL_FAILURE";
|
|
2734
|
+
case 7 /* GENERIC_STATUS_IDLE_TIMEOUT */:
|
|
2735
|
+
return "GENERIC_STATUS_IDLE_TIMEOUT";
|
|
2694
2736
|
case -1 /* UNRECOGNIZED */:
|
|
2695
2737
|
default:
|
|
2696
2738
|
return "UNRECOGNIZED";
|
|
@@ -2761,6 +2803,36 @@ function pTYInfo_PTYTypeToJSON(object) {
|
|
|
2761
2803
|
return "UNRECOGNIZED";
|
|
2762
2804
|
}
|
|
2763
2805
|
}
|
|
2806
|
+
function sandboxRestoreRequest_SandboxNameOverrideTypeFromJSON(object) {
|
|
2807
|
+
switch (object) {
|
|
2808
|
+
case 0:
|
|
2809
|
+
case "SANDBOX_NAME_OVERRIDE_TYPE_UNSPECIFIED":
|
|
2810
|
+
return 0 /* SANDBOX_NAME_OVERRIDE_TYPE_UNSPECIFIED */;
|
|
2811
|
+
case 1:
|
|
2812
|
+
case "SANDBOX_NAME_OVERRIDE_TYPE_NONE":
|
|
2813
|
+
return 1 /* SANDBOX_NAME_OVERRIDE_TYPE_NONE */;
|
|
2814
|
+
case 2:
|
|
2815
|
+
case "SANDBOX_NAME_OVERRIDE_TYPE_STRING":
|
|
2816
|
+
return 2 /* SANDBOX_NAME_OVERRIDE_TYPE_STRING */;
|
|
2817
|
+
case -1:
|
|
2818
|
+
case "UNRECOGNIZED":
|
|
2819
|
+
default:
|
|
2820
|
+
return -1 /* UNRECOGNIZED */;
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
function sandboxRestoreRequest_SandboxNameOverrideTypeToJSON(object) {
|
|
2824
|
+
switch (object) {
|
|
2825
|
+
case 0 /* SANDBOX_NAME_OVERRIDE_TYPE_UNSPECIFIED */:
|
|
2826
|
+
return "SANDBOX_NAME_OVERRIDE_TYPE_UNSPECIFIED";
|
|
2827
|
+
case 1 /* SANDBOX_NAME_OVERRIDE_TYPE_NONE */:
|
|
2828
|
+
return "SANDBOX_NAME_OVERRIDE_TYPE_NONE";
|
|
2829
|
+
case 2 /* SANDBOX_NAME_OVERRIDE_TYPE_STRING */:
|
|
2830
|
+
return "SANDBOX_NAME_OVERRIDE_TYPE_STRING";
|
|
2831
|
+
case -1 /* UNRECOGNIZED */:
|
|
2832
|
+
default:
|
|
2833
|
+
return "UNRECOGNIZED";
|
|
2834
|
+
}
|
|
2835
|
+
}
|
|
2764
2836
|
function warning_WarningTypeFromJSON(object) {
|
|
2765
2837
|
switch (object) {
|
|
2766
2838
|
case 0:
|
|
@@ -6241,6 +6313,94 @@ var AttemptStartResponse = {
|
|
|
6241
6313
|
return message;
|
|
6242
6314
|
}
|
|
6243
6315
|
};
|
|
6316
|
+
function createBaseAuthTokenGetRequest() {
|
|
6317
|
+
return {};
|
|
6318
|
+
}
|
|
6319
|
+
var AuthTokenGetRequest = {
|
|
6320
|
+
encode(_, writer = new BinaryWriter()) {
|
|
6321
|
+
return writer;
|
|
6322
|
+
},
|
|
6323
|
+
decode(input, length) {
|
|
6324
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6325
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
6326
|
+
const message = createBaseAuthTokenGetRequest();
|
|
6327
|
+
while (reader.pos < end) {
|
|
6328
|
+
const tag = reader.uint32();
|
|
6329
|
+
switch (tag >>> 3) {
|
|
6330
|
+
}
|
|
6331
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
6332
|
+
break;
|
|
6333
|
+
}
|
|
6334
|
+
reader.skip(tag & 7);
|
|
6335
|
+
}
|
|
6336
|
+
return message;
|
|
6337
|
+
},
|
|
6338
|
+
fromJSON(_) {
|
|
6339
|
+
return {};
|
|
6340
|
+
},
|
|
6341
|
+
toJSON(_) {
|
|
6342
|
+
const obj = {};
|
|
6343
|
+
return obj;
|
|
6344
|
+
},
|
|
6345
|
+
create(base) {
|
|
6346
|
+
return AuthTokenGetRequest.fromPartial(base ?? {});
|
|
6347
|
+
},
|
|
6348
|
+
fromPartial(_) {
|
|
6349
|
+
const message = createBaseAuthTokenGetRequest();
|
|
6350
|
+
return message;
|
|
6351
|
+
}
|
|
6352
|
+
};
|
|
6353
|
+
function createBaseAuthTokenGetResponse() {
|
|
6354
|
+
return { token: "" };
|
|
6355
|
+
}
|
|
6356
|
+
var AuthTokenGetResponse = {
|
|
6357
|
+
encode(message, writer = new BinaryWriter()) {
|
|
6358
|
+
if (message.token !== "") {
|
|
6359
|
+
writer.uint32(10).string(message.token);
|
|
6360
|
+
}
|
|
6361
|
+
return writer;
|
|
6362
|
+
},
|
|
6363
|
+
decode(input, length) {
|
|
6364
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6365
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
6366
|
+
const message = createBaseAuthTokenGetResponse();
|
|
6367
|
+
while (reader.pos < end) {
|
|
6368
|
+
const tag = reader.uint32();
|
|
6369
|
+
switch (tag >>> 3) {
|
|
6370
|
+
case 1: {
|
|
6371
|
+
if (tag !== 10) {
|
|
6372
|
+
break;
|
|
6373
|
+
}
|
|
6374
|
+
message.token = reader.string();
|
|
6375
|
+
continue;
|
|
6376
|
+
}
|
|
6377
|
+
}
|
|
6378
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
6379
|
+
break;
|
|
6380
|
+
}
|
|
6381
|
+
reader.skip(tag & 7);
|
|
6382
|
+
}
|
|
6383
|
+
return message;
|
|
6384
|
+
},
|
|
6385
|
+
fromJSON(object) {
|
|
6386
|
+
return { token: isSet3(object.token) ? globalThis.String(object.token) : "" };
|
|
6387
|
+
},
|
|
6388
|
+
toJSON(message) {
|
|
6389
|
+
const obj = {};
|
|
6390
|
+
if (message.token !== "") {
|
|
6391
|
+
obj.token = message.token;
|
|
6392
|
+
}
|
|
6393
|
+
return obj;
|
|
6394
|
+
},
|
|
6395
|
+
create(base) {
|
|
6396
|
+
return AuthTokenGetResponse.fromPartial(base ?? {});
|
|
6397
|
+
},
|
|
6398
|
+
fromPartial(object) {
|
|
6399
|
+
const message = createBaseAuthTokenGetResponse();
|
|
6400
|
+
message.token = object.token ?? "";
|
|
6401
|
+
return message;
|
|
6402
|
+
}
|
|
6403
|
+
};
|
|
6244
6404
|
function createBaseAutoscalerSettings() {
|
|
6245
6405
|
return {
|
|
6246
6406
|
minContainers: void 0,
|
|
@@ -11044,6 +11204,74 @@ var ContainerStopResponse = {
|
|
|
11044
11204
|
return message;
|
|
11045
11205
|
}
|
|
11046
11206
|
};
|
|
11207
|
+
function createBaseCreationInfo() {
|
|
11208
|
+
return { createdAt: 0, createdBy: "" };
|
|
11209
|
+
}
|
|
11210
|
+
var CreationInfo = {
|
|
11211
|
+
encode(message, writer = new BinaryWriter()) {
|
|
11212
|
+
if (message.createdAt !== 0) {
|
|
11213
|
+
writer.uint32(9).double(message.createdAt);
|
|
11214
|
+
}
|
|
11215
|
+
if (message.createdBy !== "") {
|
|
11216
|
+
writer.uint32(18).string(message.createdBy);
|
|
11217
|
+
}
|
|
11218
|
+
return writer;
|
|
11219
|
+
},
|
|
11220
|
+
decode(input, length) {
|
|
11221
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
11222
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
11223
|
+
const message = createBaseCreationInfo();
|
|
11224
|
+
while (reader.pos < end) {
|
|
11225
|
+
const tag = reader.uint32();
|
|
11226
|
+
switch (tag >>> 3) {
|
|
11227
|
+
case 1: {
|
|
11228
|
+
if (tag !== 9) {
|
|
11229
|
+
break;
|
|
11230
|
+
}
|
|
11231
|
+
message.createdAt = reader.double();
|
|
11232
|
+
continue;
|
|
11233
|
+
}
|
|
11234
|
+
case 2: {
|
|
11235
|
+
if (tag !== 18) {
|
|
11236
|
+
break;
|
|
11237
|
+
}
|
|
11238
|
+
message.createdBy = reader.string();
|
|
11239
|
+
continue;
|
|
11240
|
+
}
|
|
11241
|
+
}
|
|
11242
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
11243
|
+
break;
|
|
11244
|
+
}
|
|
11245
|
+
reader.skip(tag & 7);
|
|
11246
|
+
}
|
|
11247
|
+
return message;
|
|
11248
|
+
},
|
|
11249
|
+
fromJSON(object) {
|
|
11250
|
+
return {
|
|
11251
|
+
createdAt: isSet3(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
11252
|
+
createdBy: isSet3(object.createdBy) ? globalThis.String(object.createdBy) : ""
|
|
11253
|
+
};
|
|
11254
|
+
},
|
|
11255
|
+
toJSON(message) {
|
|
11256
|
+
const obj = {};
|
|
11257
|
+
if (message.createdAt !== 0) {
|
|
11258
|
+
obj.createdAt = message.createdAt;
|
|
11259
|
+
}
|
|
11260
|
+
if (message.createdBy !== "") {
|
|
11261
|
+
obj.createdBy = message.createdBy;
|
|
11262
|
+
}
|
|
11263
|
+
return obj;
|
|
11264
|
+
},
|
|
11265
|
+
create(base) {
|
|
11266
|
+
return CreationInfo.fromPartial(base ?? {});
|
|
11267
|
+
},
|
|
11268
|
+
fromPartial(object) {
|
|
11269
|
+
const message = createBaseCreationInfo();
|
|
11270
|
+
message.createdAt = object.createdAt ?? 0;
|
|
11271
|
+
message.createdBy = object.createdBy ?? "";
|
|
11272
|
+
return message;
|
|
11273
|
+
}
|
|
11274
|
+
};
|
|
11047
11275
|
function createBaseCustomDomainConfig() {
|
|
11048
11276
|
return { name: "" };
|
|
11049
11277
|
}
|
|
@@ -11798,13 +12026,16 @@ var DictGetOrCreateRequest = {
|
|
|
11798
12026
|
}
|
|
11799
12027
|
};
|
|
11800
12028
|
function createBaseDictGetOrCreateResponse() {
|
|
11801
|
-
return { dictId: "" };
|
|
12029
|
+
return { dictId: "", metadata: void 0 };
|
|
11802
12030
|
}
|
|
11803
12031
|
var DictGetOrCreateResponse = {
|
|
11804
12032
|
encode(message, writer = new BinaryWriter()) {
|
|
11805
12033
|
if (message.dictId !== "") {
|
|
11806
12034
|
writer.uint32(10).string(message.dictId);
|
|
11807
12035
|
}
|
|
12036
|
+
if (message.metadata !== void 0) {
|
|
12037
|
+
DictMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
|
|
12038
|
+
}
|
|
11808
12039
|
return writer;
|
|
11809
12040
|
},
|
|
11810
12041
|
decode(input, length) {
|
|
@@ -11821,6 +12052,13 @@ var DictGetOrCreateResponse = {
|
|
|
11821
12052
|
message.dictId = reader.string();
|
|
11822
12053
|
continue;
|
|
11823
12054
|
}
|
|
12055
|
+
case 2: {
|
|
12056
|
+
if (tag !== 18) {
|
|
12057
|
+
break;
|
|
12058
|
+
}
|
|
12059
|
+
message.metadata = DictMetadata.decode(reader, reader.uint32());
|
|
12060
|
+
continue;
|
|
12061
|
+
}
|
|
11824
12062
|
}
|
|
11825
12063
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11826
12064
|
break;
|
|
@@ -11830,13 +12068,19 @@ var DictGetOrCreateResponse = {
|
|
|
11830
12068
|
return message;
|
|
11831
12069
|
},
|
|
11832
12070
|
fromJSON(object) {
|
|
11833
|
-
return {
|
|
12071
|
+
return {
|
|
12072
|
+
dictId: isSet3(object.dictId) ? globalThis.String(object.dictId) : "",
|
|
12073
|
+
metadata: isSet3(object.metadata) ? DictMetadata.fromJSON(object.metadata) : void 0
|
|
12074
|
+
};
|
|
11834
12075
|
},
|
|
11835
12076
|
toJSON(message) {
|
|
11836
12077
|
const obj = {};
|
|
11837
12078
|
if (message.dictId !== "") {
|
|
11838
12079
|
obj.dictId = message.dictId;
|
|
11839
12080
|
}
|
|
12081
|
+
if (message.metadata !== void 0) {
|
|
12082
|
+
obj.metadata = DictMetadata.toJSON(message.metadata);
|
|
12083
|
+
}
|
|
11840
12084
|
return obj;
|
|
11841
12085
|
},
|
|
11842
12086
|
create(base) {
|
|
@@ -11845,6 +12089,7 @@ var DictGetOrCreateResponse = {
|
|
|
11845
12089
|
fromPartial(object) {
|
|
11846
12090
|
const message = createBaseDictGetOrCreateResponse();
|
|
11847
12091
|
message.dictId = object.dictId ?? "";
|
|
12092
|
+
message.metadata = object.metadata !== void 0 && object.metadata !== null ? DictMetadata.fromPartial(object.metadata) : void 0;
|
|
11848
12093
|
return message;
|
|
11849
12094
|
}
|
|
11850
12095
|
};
|
|
@@ -12138,13 +12383,16 @@ var DictLenResponse = {
|
|
|
12138
12383
|
}
|
|
12139
12384
|
};
|
|
12140
12385
|
function createBaseDictListRequest() {
|
|
12141
|
-
return { environmentName: "" };
|
|
12386
|
+
return { environmentName: "", pagination: void 0 };
|
|
12142
12387
|
}
|
|
12143
12388
|
var DictListRequest = {
|
|
12144
12389
|
encode(message, writer = new BinaryWriter()) {
|
|
12145
12390
|
if (message.environmentName !== "") {
|
|
12146
12391
|
writer.uint32(10).string(message.environmentName);
|
|
12147
12392
|
}
|
|
12393
|
+
if (message.pagination !== void 0) {
|
|
12394
|
+
ListPagination.encode(message.pagination, writer.uint32(18).fork()).join();
|
|
12395
|
+
}
|
|
12148
12396
|
return writer;
|
|
12149
12397
|
},
|
|
12150
12398
|
decode(input, length) {
|
|
@@ -12161,6 +12409,13 @@ var DictListRequest = {
|
|
|
12161
12409
|
message.environmentName = reader.string();
|
|
12162
12410
|
continue;
|
|
12163
12411
|
}
|
|
12412
|
+
case 2: {
|
|
12413
|
+
if (tag !== 18) {
|
|
12414
|
+
break;
|
|
12415
|
+
}
|
|
12416
|
+
message.pagination = ListPagination.decode(reader, reader.uint32());
|
|
12417
|
+
continue;
|
|
12418
|
+
}
|
|
12164
12419
|
}
|
|
12165
12420
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12166
12421
|
break;
|
|
@@ -12170,13 +12425,19 @@ var DictListRequest = {
|
|
|
12170
12425
|
return message;
|
|
12171
12426
|
},
|
|
12172
12427
|
fromJSON(object) {
|
|
12173
|
-
return {
|
|
12428
|
+
return {
|
|
12429
|
+
environmentName: isSet3(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
12430
|
+
pagination: isSet3(object.pagination) ? ListPagination.fromJSON(object.pagination) : void 0
|
|
12431
|
+
};
|
|
12174
12432
|
},
|
|
12175
12433
|
toJSON(message) {
|
|
12176
12434
|
const obj = {};
|
|
12177
12435
|
if (message.environmentName !== "") {
|
|
12178
12436
|
obj.environmentName = message.environmentName;
|
|
12179
12437
|
}
|
|
12438
|
+
if (message.pagination !== void 0) {
|
|
12439
|
+
obj.pagination = ListPagination.toJSON(message.pagination);
|
|
12440
|
+
}
|
|
12180
12441
|
return obj;
|
|
12181
12442
|
},
|
|
12182
12443
|
create(base) {
|
|
@@ -12185,17 +12446,21 @@ var DictListRequest = {
|
|
|
12185
12446
|
fromPartial(object) {
|
|
12186
12447
|
const message = createBaseDictListRequest();
|
|
12187
12448
|
message.environmentName = object.environmentName ?? "";
|
|
12449
|
+
message.pagination = object.pagination !== void 0 && object.pagination !== null ? ListPagination.fromPartial(object.pagination) : void 0;
|
|
12188
12450
|
return message;
|
|
12189
12451
|
}
|
|
12190
12452
|
};
|
|
12191
12453
|
function createBaseDictListResponse() {
|
|
12192
|
-
return { dicts: [] };
|
|
12454
|
+
return { dicts: [], environmentName: "" };
|
|
12193
12455
|
}
|
|
12194
12456
|
var DictListResponse = {
|
|
12195
12457
|
encode(message, writer = new BinaryWriter()) {
|
|
12196
12458
|
for (const v of message.dicts) {
|
|
12197
12459
|
DictListResponse_DictInfo.encode(v, writer.uint32(10).fork()).join();
|
|
12198
12460
|
}
|
|
12461
|
+
if (message.environmentName !== "") {
|
|
12462
|
+
writer.uint32(18).string(message.environmentName);
|
|
12463
|
+
}
|
|
12199
12464
|
return writer;
|
|
12200
12465
|
},
|
|
12201
12466
|
decode(input, length) {
|
|
@@ -12212,6 +12477,13 @@ var DictListResponse = {
|
|
|
12212
12477
|
message.dicts.push(DictListResponse_DictInfo.decode(reader, reader.uint32()));
|
|
12213
12478
|
continue;
|
|
12214
12479
|
}
|
|
12480
|
+
case 2: {
|
|
12481
|
+
if (tag !== 18) {
|
|
12482
|
+
break;
|
|
12483
|
+
}
|
|
12484
|
+
message.environmentName = reader.string();
|
|
12485
|
+
continue;
|
|
12486
|
+
}
|
|
12215
12487
|
}
|
|
12216
12488
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12217
12489
|
break;
|
|
@@ -12222,7 +12494,8 @@ var DictListResponse = {
|
|
|
12222
12494
|
},
|
|
12223
12495
|
fromJSON(object) {
|
|
12224
12496
|
return {
|
|
12225
|
-
dicts: globalThis.Array.isArray(object?.dicts) ? object.dicts.map((e) => DictListResponse_DictInfo.fromJSON(e)) : []
|
|
12497
|
+
dicts: globalThis.Array.isArray(object?.dicts) ? object.dicts.map((e) => DictListResponse_DictInfo.fromJSON(e)) : [],
|
|
12498
|
+
environmentName: isSet3(object.environmentName) ? globalThis.String(object.environmentName) : ""
|
|
12226
12499
|
};
|
|
12227
12500
|
},
|
|
12228
12501
|
toJSON(message) {
|
|
@@ -12230,6 +12503,9 @@ var DictListResponse = {
|
|
|
12230
12503
|
if (message.dicts?.length) {
|
|
12231
12504
|
obj.dicts = message.dicts.map((e) => DictListResponse_DictInfo.toJSON(e));
|
|
12232
12505
|
}
|
|
12506
|
+
if (message.environmentName !== "") {
|
|
12507
|
+
obj.environmentName = message.environmentName;
|
|
12508
|
+
}
|
|
12233
12509
|
return obj;
|
|
12234
12510
|
},
|
|
12235
12511
|
create(base) {
|
|
@@ -12238,11 +12514,12 @@ var DictListResponse = {
|
|
|
12238
12514
|
fromPartial(object) {
|
|
12239
12515
|
const message = createBaseDictListResponse();
|
|
12240
12516
|
message.dicts = object.dicts?.map((e) => DictListResponse_DictInfo.fromPartial(e)) || [];
|
|
12517
|
+
message.environmentName = object.environmentName ?? "";
|
|
12241
12518
|
return message;
|
|
12242
12519
|
}
|
|
12243
12520
|
};
|
|
12244
12521
|
function createBaseDictListResponse_DictInfo() {
|
|
12245
|
-
return { name: "", createdAt: 0 };
|
|
12522
|
+
return { name: "", createdAt: 0, dictId: "", metadata: void 0 };
|
|
12246
12523
|
}
|
|
12247
12524
|
var DictListResponse_DictInfo = {
|
|
12248
12525
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -12252,6 +12529,12 @@ var DictListResponse_DictInfo = {
|
|
|
12252
12529
|
if (message.createdAt !== 0) {
|
|
12253
12530
|
writer.uint32(17).double(message.createdAt);
|
|
12254
12531
|
}
|
|
12532
|
+
if (message.dictId !== "") {
|
|
12533
|
+
writer.uint32(26).string(message.dictId);
|
|
12534
|
+
}
|
|
12535
|
+
if (message.metadata !== void 0) {
|
|
12536
|
+
DictMetadata.encode(message.metadata, writer.uint32(34).fork()).join();
|
|
12537
|
+
}
|
|
12255
12538
|
return writer;
|
|
12256
12539
|
},
|
|
12257
12540
|
decode(input, length) {
|
|
@@ -12275,6 +12558,20 @@ var DictListResponse_DictInfo = {
|
|
|
12275
12558
|
message.createdAt = reader.double();
|
|
12276
12559
|
continue;
|
|
12277
12560
|
}
|
|
12561
|
+
case 3: {
|
|
12562
|
+
if (tag !== 26) {
|
|
12563
|
+
break;
|
|
12564
|
+
}
|
|
12565
|
+
message.dictId = reader.string();
|
|
12566
|
+
continue;
|
|
12567
|
+
}
|
|
12568
|
+
case 4: {
|
|
12569
|
+
if (tag !== 34) {
|
|
12570
|
+
break;
|
|
12571
|
+
}
|
|
12572
|
+
message.metadata = DictMetadata.decode(reader, reader.uint32());
|
|
12573
|
+
continue;
|
|
12574
|
+
}
|
|
12278
12575
|
}
|
|
12279
12576
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12280
12577
|
break;
|
|
@@ -12286,7 +12583,9 @@ var DictListResponse_DictInfo = {
|
|
|
12286
12583
|
fromJSON(object) {
|
|
12287
12584
|
return {
|
|
12288
12585
|
name: isSet3(object.name) ? globalThis.String(object.name) : "",
|
|
12289
|
-
createdAt: isSet3(object.createdAt) ? globalThis.Number(object.createdAt) : 0
|
|
12586
|
+
createdAt: isSet3(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
12587
|
+
dictId: isSet3(object.dictId) ? globalThis.String(object.dictId) : "",
|
|
12588
|
+
metadata: isSet3(object.metadata) ? DictMetadata.fromJSON(object.metadata) : void 0
|
|
12290
12589
|
};
|
|
12291
12590
|
},
|
|
12292
12591
|
toJSON(message) {
|
|
@@ -12297,6 +12596,12 @@ var DictListResponse_DictInfo = {
|
|
|
12297
12596
|
if (message.createdAt !== 0) {
|
|
12298
12597
|
obj.createdAt = message.createdAt;
|
|
12299
12598
|
}
|
|
12599
|
+
if (message.dictId !== "") {
|
|
12600
|
+
obj.dictId = message.dictId;
|
|
12601
|
+
}
|
|
12602
|
+
if (message.metadata !== void 0) {
|
|
12603
|
+
obj.metadata = DictMetadata.toJSON(message.metadata);
|
|
12604
|
+
}
|
|
12300
12605
|
return obj;
|
|
12301
12606
|
},
|
|
12302
12607
|
create(base) {
|
|
@@ -12306,6 +12611,76 @@ var DictListResponse_DictInfo = {
|
|
|
12306
12611
|
const message = createBaseDictListResponse_DictInfo();
|
|
12307
12612
|
message.name = object.name ?? "";
|
|
12308
12613
|
message.createdAt = object.createdAt ?? 0;
|
|
12614
|
+
message.dictId = object.dictId ?? "";
|
|
12615
|
+
message.metadata = object.metadata !== void 0 && object.metadata !== null ? DictMetadata.fromPartial(object.metadata) : void 0;
|
|
12616
|
+
return message;
|
|
12617
|
+
}
|
|
12618
|
+
};
|
|
12619
|
+
function createBaseDictMetadata() {
|
|
12620
|
+
return { name: "", creationInfo: void 0 };
|
|
12621
|
+
}
|
|
12622
|
+
var DictMetadata = {
|
|
12623
|
+
encode(message, writer = new BinaryWriter()) {
|
|
12624
|
+
if (message.name !== "") {
|
|
12625
|
+
writer.uint32(10).string(message.name);
|
|
12626
|
+
}
|
|
12627
|
+
if (message.creationInfo !== void 0) {
|
|
12628
|
+
CreationInfo.encode(message.creationInfo, writer.uint32(18).fork()).join();
|
|
12629
|
+
}
|
|
12630
|
+
return writer;
|
|
12631
|
+
},
|
|
12632
|
+
decode(input, length) {
|
|
12633
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
12634
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
12635
|
+
const message = createBaseDictMetadata();
|
|
12636
|
+
while (reader.pos < end) {
|
|
12637
|
+
const tag = reader.uint32();
|
|
12638
|
+
switch (tag >>> 3) {
|
|
12639
|
+
case 1: {
|
|
12640
|
+
if (tag !== 10) {
|
|
12641
|
+
break;
|
|
12642
|
+
}
|
|
12643
|
+
message.name = reader.string();
|
|
12644
|
+
continue;
|
|
12645
|
+
}
|
|
12646
|
+
case 2: {
|
|
12647
|
+
if (tag !== 18) {
|
|
12648
|
+
break;
|
|
12649
|
+
}
|
|
12650
|
+
message.creationInfo = CreationInfo.decode(reader, reader.uint32());
|
|
12651
|
+
continue;
|
|
12652
|
+
}
|
|
12653
|
+
}
|
|
12654
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12655
|
+
break;
|
|
12656
|
+
}
|
|
12657
|
+
reader.skip(tag & 7);
|
|
12658
|
+
}
|
|
12659
|
+
return message;
|
|
12660
|
+
},
|
|
12661
|
+
fromJSON(object) {
|
|
12662
|
+
return {
|
|
12663
|
+
name: isSet3(object.name) ? globalThis.String(object.name) : "",
|
|
12664
|
+
creationInfo: isSet3(object.creationInfo) ? CreationInfo.fromJSON(object.creationInfo) : void 0
|
|
12665
|
+
};
|
|
12666
|
+
},
|
|
12667
|
+
toJSON(message) {
|
|
12668
|
+
const obj = {};
|
|
12669
|
+
if (message.name !== "") {
|
|
12670
|
+
obj.name = message.name;
|
|
12671
|
+
}
|
|
12672
|
+
if (message.creationInfo !== void 0) {
|
|
12673
|
+
obj.creationInfo = CreationInfo.toJSON(message.creationInfo);
|
|
12674
|
+
}
|
|
12675
|
+
return obj;
|
|
12676
|
+
},
|
|
12677
|
+
create(base) {
|
|
12678
|
+
return DictMetadata.fromPartial(base ?? {});
|
|
12679
|
+
},
|
|
12680
|
+
fromPartial(object) {
|
|
12681
|
+
const message = createBaseDictMetadata();
|
|
12682
|
+
message.name = object.name ?? "";
|
|
12683
|
+
message.creationInfo = object.creationInfo !== void 0 && object.creationInfo !== null ? CreationInfo.fromPartial(object.creationInfo) : void 0;
|
|
12309
12684
|
return message;
|
|
12310
12685
|
}
|
|
12311
12686
|
};
|
|
@@ -13242,7 +13617,7 @@ var EnvironmentGetOrCreateResponse = {
|
|
|
13242
13617
|
}
|
|
13243
13618
|
};
|
|
13244
13619
|
function createBaseEnvironmentListItem() {
|
|
13245
|
-
return { name: "", webhookSuffix: "", createdAt: 0, default: false };
|
|
13620
|
+
return { name: "", webhookSuffix: "", createdAt: 0, default: false, isManaged: false, environmentId: "" };
|
|
13246
13621
|
}
|
|
13247
13622
|
var EnvironmentListItem = {
|
|
13248
13623
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -13258,6 +13633,12 @@ var EnvironmentListItem = {
|
|
|
13258
13633
|
if (message.default !== false) {
|
|
13259
13634
|
writer.uint32(32).bool(message.default);
|
|
13260
13635
|
}
|
|
13636
|
+
if (message.isManaged !== false) {
|
|
13637
|
+
writer.uint32(40).bool(message.isManaged);
|
|
13638
|
+
}
|
|
13639
|
+
if (message.environmentId !== "") {
|
|
13640
|
+
writer.uint32(50).string(message.environmentId);
|
|
13641
|
+
}
|
|
13261
13642
|
return writer;
|
|
13262
13643
|
},
|
|
13263
13644
|
decode(input, length) {
|
|
@@ -13295,6 +13676,20 @@ var EnvironmentListItem = {
|
|
|
13295
13676
|
message.default = reader.bool();
|
|
13296
13677
|
continue;
|
|
13297
13678
|
}
|
|
13679
|
+
case 5: {
|
|
13680
|
+
if (tag !== 40) {
|
|
13681
|
+
break;
|
|
13682
|
+
}
|
|
13683
|
+
message.isManaged = reader.bool();
|
|
13684
|
+
continue;
|
|
13685
|
+
}
|
|
13686
|
+
case 6: {
|
|
13687
|
+
if (tag !== 50) {
|
|
13688
|
+
break;
|
|
13689
|
+
}
|
|
13690
|
+
message.environmentId = reader.string();
|
|
13691
|
+
continue;
|
|
13692
|
+
}
|
|
13298
13693
|
}
|
|
13299
13694
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13300
13695
|
break;
|
|
@@ -13308,7 +13703,9 @@ var EnvironmentListItem = {
|
|
|
13308
13703
|
name: isSet3(object.name) ? globalThis.String(object.name) : "",
|
|
13309
13704
|
webhookSuffix: isSet3(object.webhookSuffix) ? globalThis.String(object.webhookSuffix) : "",
|
|
13310
13705
|
createdAt: isSet3(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
13311
|
-
default: isSet3(object.default) ? globalThis.Boolean(object.default) : false
|
|
13706
|
+
default: isSet3(object.default) ? globalThis.Boolean(object.default) : false,
|
|
13707
|
+
isManaged: isSet3(object.isManaged) ? globalThis.Boolean(object.isManaged) : false,
|
|
13708
|
+
environmentId: isSet3(object.environmentId) ? globalThis.String(object.environmentId) : ""
|
|
13312
13709
|
};
|
|
13313
13710
|
},
|
|
13314
13711
|
toJSON(message) {
|
|
@@ -13325,6 +13722,12 @@ var EnvironmentListItem = {
|
|
|
13325
13722
|
if (message.default !== false) {
|
|
13326
13723
|
obj.default = message.default;
|
|
13327
13724
|
}
|
|
13725
|
+
if (message.isManaged !== false) {
|
|
13726
|
+
obj.isManaged = message.isManaged;
|
|
13727
|
+
}
|
|
13728
|
+
if (message.environmentId !== "") {
|
|
13729
|
+
obj.environmentId = message.environmentId;
|
|
13730
|
+
}
|
|
13328
13731
|
return obj;
|
|
13329
13732
|
},
|
|
13330
13733
|
create(base) {
|
|
@@ -13336,6 +13739,8 @@ var EnvironmentListItem = {
|
|
|
13336
13739
|
message.webhookSuffix = object.webhookSuffix ?? "";
|
|
13337
13740
|
message.createdAt = object.createdAt ?? 0;
|
|
13338
13741
|
message.default = object.default ?? false;
|
|
13742
|
+
message.isManaged = object.isManaged ?? false;
|
|
13743
|
+
message.environmentId = object.environmentId ?? "";
|
|
13339
13744
|
return message;
|
|
13340
13745
|
}
|
|
13341
13746
|
};
|
|
@@ -14280,7 +14685,10 @@ function createBaseFunctionMessage() {
|
|
|
14280
14685
|
functionSchema: void 0,
|
|
14281
14686
|
experimentalOptions: {},
|
|
14282
14687
|
mountClientDependencies: false,
|
|
14283
|
-
flashServiceUrls: []
|
|
14688
|
+
flashServiceUrls: [],
|
|
14689
|
+
flashServiceLabel: "",
|
|
14690
|
+
enableGpuSnapshot: false,
|
|
14691
|
+
startupTimeoutSecs: 0
|
|
14284
14692
|
};
|
|
14285
14693
|
}
|
|
14286
14694
|
var FunctionMessage = {
|
|
@@ -14495,6 +14903,15 @@ var FunctionMessage = {
|
|
|
14495
14903
|
for (const v of message.flashServiceUrls) {
|
|
14496
14904
|
writer.uint32(666).string(v);
|
|
14497
14905
|
}
|
|
14906
|
+
if (message.flashServiceLabel !== "") {
|
|
14907
|
+
writer.uint32(674).string(message.flashServiceLabel);
|
|
14908
|
+
}
|
|
14909
|
+
if (message.enableGpuSnapshot !== false) {
|
|
14910
|
+
writer.uint32(680).bool(message.enableGpuSnapshot);
|
|
14911
|
+
}
|
|
14912
|
+
if (message.startupTimeoutSecs !== 0) {
|
|
14913
|
+
writer.uint32(688).uint32(message.startupTimeoutSecs);
|
|
14914
|
+
}
|
|
14498
14915
|
return writer;
|
|
14499
14916
|
},
|
|
14500
14917
|
decode(input, length) {
|
|
@@ -15000,6 +15417,27 @@ var FunctionMessage = {
|
|
|
15000
15417
|
message.flashServiceUrls.push(reader.string());
|
|
15001
15418
|
continue;
|
|
15002
15419
|
}
|
|
15420
|
+
case 84: {
|
|
15421
|
+
if (tag !== 674) {
|
|
15422
|
+
break;
|
|
15423
|
+
}
|
|
15424
|
+
message.flashServiceLabel = reader.string();
|
|
15425
|
+
continue;
|
|
15426
|
+
}
|
|
15427
|
+
case 85: {
|
|
15428
|
+
if (tag !== 680) {
|
|
15429
|
+
break;
|
|
15430
|
+
}
|
|
15431
|
+
message.enableGpuSnapshot = reader.bool();
|
|
15432
|
+
continue;
|
|
15433
|
+
}
|
|
15434
|
+
case 86: {
|
|
15435
|
+
if (tag !== 688) {
|
|
15436
|
+
break;
|
|
15437
|
+
}
|
|
15438
|
+
message.startupTimeoutSecs = reader.uint32();
|
|
15439
|
+
continue;
|
|
15440
|
+
}
|
|
15003
15441
|
}
|
|
15004
15442
|
if ((tag & 7) === 4 || tag === 0) {
|
|
15005
15443
|
break;
|
|
@@ -15085,7 +15523,10 @@ var FunctionMessage = {
|
|
|
15085
15523
|
return acc;
|
|
15086
15524
|
}, {}) : {},
|
|
15087
15525
|
mountClientDependencies: isSet3(object.mountClientDependencies) ? globalThis.Boolean(object.mountClientDependencies) : false,
|
|
15088
|
-
flashServiceUrls: globalThis.Array.isArray(object?.flashServiceUrls) ? object.flashServiceUrls.map((e) => globalThis.String(e)) : []
|
|
15526
|
+
flashServiceUrls: globalThis.Array.isArray(object?.flashServiceUrls) ? object.flashServiceUrls.map((e) => globalThis.String(e)) : [],
|
|
15527
|
+
flashServiceLabel: isSet3(object.flashServiceLabel) ? globalThis.String(object.flashServiceLabel) : "",
|
|
15528
|
+
enableGpuSnapshot: isSet3(object.enableGpuSnapshot) ? globalThis.Boolean(object.enableGpuSnapshot) : false,
|
|
15529
|
+
startupTimeoutSecs: isSet3(object.startupTimeoutSecs) ? globalThis.Number(object.startupTimeoutSecs) : 0
|
|
15089
15530
|
};
|
|
15090
15531
|
},
|
|
15091
15532
|
toJSON(message) {
|
|
@@ -15312,6 +15753,15 @@ var FunctionMessage = {
|
|
|
15312
15753
|
if (message.flashServiceUrls?.length) {
|
|
15313
15754
|
obj.flashServiceUrls = message.flashServiceUrls;
|
|
15314
15755
|
}
|
|
15756
|
+
if (message.flashServiceLabel !== "") {
|
|
15757
|
+
obj.flashServiceLabel = message.flashServiceLabel;
|
|
15758
|
+
}
|
|
15759
|
+
if (message.enableGpuSnapshot !== false) {
|
|
15760
|
+
obj.enableGpuSnapshot = message.enableGpuSnapshot;
|
|
15761
|
+
}
|
|
15762
|
+
if (message.startupTimeoutSecs !== 0) {
|
|
15763
|
+
obj.startupTimeoutSecs = Math.round(message.startupTimeoutSecs);
|
|
15764
|
+
}
|
|
15315
15765
|
return obj;
|
|
15316
15766
|
},
|
|
15317
15767
|
create(base) {
|
|
@@ -15402,6 +15852,9 @@ var FunctionMessage = {
|
|
|
15402
15852
|
);
|
|
15403
15853
|
message.mountClientDependencies = object.mountClientDependencies ?? false;
|
|
15404
15854
|
message.flashServiceUrls = object.flashServiceUrls?.map((e) => e) || [];
|
|
15855
|
+
message.flashServiceLabel = object.flashServiceLabel ?? "";
|
|
15856
|
+
message.enableGpuSnapshot = object.enableGpuSnapshot ?? false;
|
|
15857
|
+
message.startupTimeoutSecs = object.startupTimeoutSecs ?? 0;
|
|
15405
15858
|
return message;
|
|
15406
15859
|
}
|
|
15407
15860
|
};
|
|
@@ -15693,7 +16146,13 @@ var FunctionAsyncInvokeResponse = {
|
|
|
15693
16146
|
}
|
|
15694
16147
|
};
|
|
15695
16148
|
function createBaseFunctionBindParamsRequest() {
|
|
15696
|
-
return {
|
|
16149
|
+
return {
|
|
16150
|
+
functionId: "",
|
|
16151
|
+
serializedParams: new Uint8Array(0),
|
|
16152
|
+
functionOptions: void 0,
|
|
16153
|
+
environmentName: "",
|
|
16154
|
+
authSecret: ""
|
|
16155
|
+
};
|
|
15697
16156
|
}
|
|
15698
16157
|
var FunctionBindParamsRequest = {
|
|
15699
16158
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -15709,6 +16168,9 @@ var FunctionBindParamsRequest = {
|
|
|
15709
16168
|
if (message.environmentName !== "") {
|
|
15710
16169
|
writer.uint32(34).string(message.environmentName);
|
|
15711
16170
|
}
|
|
16171
|
+
if (message.authSecret !== "") {
|
|
16172
|
+
writer.uint32(42).string(message.authSecret);
|
|
16173
|
+
}
|
|
15712
16174
|
return writer;
|
|
15713
16175
|
},
|
|
15714
16176
|
decode(input, length) {
|
|
@@ -15746,6 +16208,13 @@ var FunctionBindParamsRequest = {
|
|
|
15746
16208
|
message.environmentName = reader.string();
|
|
15747
16209
|
continue;
|
|
15748
16210
|
}
|
|
16211
|
+
case 5: {
|
|
16212
|
+
if (tag !== 42) {
|
|
16213
|
+
break;
|
|
16214
|
+
}
|
|
16215
|
+
message.authSecret = reader.string();
|
|
16216
|
+
continue;
|
|
16217
|
+
}
|
|
15749
16218
|
}
|
|
15750
16219
|
if ((tag & 7) === 4 || tag === 0) {
|
|
15751
16220
|
break;
|
|
@@ -15759,7 +16228,8 @@ var FunctionBindParamsRequest = {
|
|
|
15759
16228
|
functionId: isSet3(object.functionId) ? globalThis.String(object.functionId) : "",
|
|
15760
16229
|
serializedParams: isSet3(object.serializedParams) ? bytesFromBase64(object.serializedParams) : new Uint8Array(0),
|
|
15761
16230
|
functionOptions: isSet3(object.functionOptions) ? FunctionOptions.fromJSON(object.functionOptions) : void 0,
|
|
15762
|
-
environmentName: isSet3(object.environmentName) ? globalThis.String(object.environmentName) : ""
|
|
16231
|
+
environmentName: isSet3(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
16232
|
+
authSecret: isSet3(object.authSecret) ? globalThis.String(object.authSecret) : ""
|
|
15763
16233
|
};
|
|
15764
16234
|
},
|
|
15765
16235
|
toJSON(message) {
|
|
@@ -15776,6 +16246,9 @@ var FunctionBindParamsRequest = {
|
|
|
15776
16246
|
if (message.environmentName !== "") {
|
|
15777
16247
|
obj.environmentName = message.environmentName;
|
|
15778
16248
|
}
|
|
16249
|
+
if (message.authSecret !== "") {
|
|
16250
|
+
obj.authSecret = message.authSecret;
|
|
16251
|
+
}
|
|
15779
16252
|
return obj;
|
|
15780
16253
|
},
|
|
15781
16254
|
create(base) {
|
|
@@ -15787,6 +16260,7 @@ var FunctionBindParamsRequest = {
|
|
|
15787
16260
|
message.serializedParams = object.serializedParams ?? new Uint8Array(0);
|
|
15788
16261
|
message.functionOptions = object.functionOptions !== void 0 && object.functionOptions !== null ? FunctionOptions.fromPartial(object.functionOptions) : void 0;
|
|
15789
16262
|
message.environmentName = object.environmentName ?? "";
|
|
16263
|
+
message.authSecret = object.authSecret ?? "";
|
|
15790
16264
|
return message;
|
|
15791
16265
|
}
|
|
15792
16266
|
};
|
|
@@ -15957,7 +16431,7 @@ var FunctionCallCallGraphInfo = {
|
|
|
15957
16431
|
}
|
|
15958
16432
|
};
|
|
15959
16433
|
function createBaseFunctionCallCancelRequest() {
|
|
15960
|
-
return { functionCallId: "", terminateContainers: false };
|
|
16434
|
+
return { functionCallId: "", terminateContainers: false, functionId: void 0 };
|
|
15961
16435
|
}
|
|
15962
16436
|
var FunctionCallCancelRequest = {
|
|
15963
16437
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -15967,6 +16441,9 @@ var FunctionCallCancelRequest = {
|
|
|
15967
16441
|
if (message.terminateContainers !== false) {
|
|
15968
16442
|
writer.uint32(16).bool(message.terminateContainers);
|
|
15969
16443
|
}
|
|
16444
|
+
if (message.functionId !== void 0) {
|
|
16445
|
+
writer.uint32(26).string(message.functionId);
|
|
16446
|
+
}
|
|
15970
16447
|
return writer;
|
|
15971
16448
|
},
|
|
15972
16449
|
decode(input, length) {
|
|
@@ -15990,6 +16467,13 @@ var FunctionCallCancelRequest = {
|
|
|
15990
16467
|
message.terminateContainers = reader.bool();
|
|
15991
16468
|
continue;
|
|
15992
16469
|
}
|
|
16470
|
+
case 3: {
|
|
16471
|
+
if (tag !== 26) {
|
|
16472
|
+
break;
|
|
16473
|
+
}
|
|
16474
|
+
message.functionId = reader.string();
|
|
16475
|
+
continue;
|
|
16476
|
+
}
|
|
15993
16477
|
}
|
|
15994
16478
|
if ((tag & 7) === 4 || tag === 0) {
|
|
15995
16479
|
break;
|
|
@@ -16001,7 +16485,8 @@ var FunctionCallCancelRequest = {
|
|
|
16001
16485
|
fromJSON(object) {
|
|
16002
16486
|
return {
|
|
16003
16487
|
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
|
|
16004
|
-
terminateContainers: isSet3(object.terminateContainers) ? globalThis.Boolean(object.terminateContainers) : false
|
|
16488
|
+
terminateContainers: isSet3(object.terminateContainers) ? globalThis.Boolean(object.terminateContainers) : false,
|
|
16489
|
+
functionId: isSet3(object.functionId) ? globalThis.String(object.functionId) : void 0
|
|
16005
16490
|
};
|
|
16006
16491
|
},
|
|
16007
16492
|
toJSON(message) {
|
|
@@ -16012,6 +16497,9 @@ var FunctionCallCancelRequest = {
|
|
|
16012
16497
|
if (message.terminateContainers !== false) {
|
|
16013
16498
|
obj.terminateContainers = message.terminateContainers;
|
|
16014
16499
|
}
|
|
16500
|
+
if (message.functionId !== void 0) {
|
|
16501
|
+
obj.functionId = message.functionId;
|
|
16502
|
+
}
|
|
16015
16503
|
return obj;
|
|
16016
16504
|
},
|
|
16017
16505
|
create(base) {
|
|
@@ -16021,17 +16509,140 @@ var FunctionCallCancelRequest = {
|
|
|
16021
16509
|
const message = createBaseFunctionCallCancelRequest();
|
|
16022
16510
|
message.functionCallId = object.functionCallId ?? "";
|
|
16023
16511
|
message.terminateContainers = object.terminateContainers ?? false;
|
|
16512
|
+
message.functionId = object.functionId ?? void 0;
|
|
16513
|
+
return message;
|
|
16514
|
+
}
|
|
16515
|
+
};
|
|
16516
|
+
function createBaseFunctionCallFromIdRequest() {
|
|
16517
|
+
return { functionCallId: "" };
|
|
16518
|
+
}
|
|
16519
|
+
var FunctionCallFromIdRequest = {
|
|
16520
|
+
encode(message, writer = new BinaryWriter()) {
|
|
16521
|
+
if (message.functionCallId !== "") {
|
|
16522
|
+
writer.uint32(10).string(message.functionCallId);
|
|
16523
|
+
}
|
|
16524
|
+
return writer;
|
|
16525
|
+
},
|
|
16526
|
+
decode(input, length) {
|
|
16527
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
16528
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
16529
|
+
const message = createBaseFunctionCallFromIdRequest();
|
|
16530
|
+
while (reader.pos < end) {
|
|
16531
|
+
const tag = reader.uint32();
|
|
16532
|
+
switch (tag >>> 3) {
|
|
16533
|
+
case 1: {
|
|
16534
|
+
if (tag !== 10) {
|
|
16535
|
+
break;
|
|
16536
|
+
}
|
|
16537
|
+
message.functionCallId = reader.string();
|
|
16538
|
+
continue;
|
|
16539
|
+
}
|
|
16540
|
+
}
|
|
16541
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
16542
|
+
break;
|
|
16543
|
+
}
|
|
16544
|
+
reader.skip(tag & 7);
|
|
16545
|
+
}
|
|
16546
|
+
return message;
|
|
16547
|
+
},
|
|
16548
|
+
fromJSON(object) {
|
|
16549
|
+
return { functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : "" };
|
|
16550
|
+
},
|
|
16551
|
+
toJSON(message) {
|
|
16552
|
+
const obj = {};
|
|
16553
|
+
if (message.functionCallId !== "") {
|
|
16554
|
+
obj.functionCallId = message.functionCallId;
|
|
16555
|
+
}
|
|
16556
|
+
return obj;
|
|
16557
|
+
},
|
|
16558
|
+
create(base) {
|
|
16559
|
+
return FunctionCallFromIdRequest.fromPartial(base ?? {});
|
|
16560
|
+
},
|
|
16561
|
+
fromPartial(object) {
|
|
16562
|
+
const message = createBaseFunctionCallFromIdRequest();
|
|
16563
|
+
message.functionCallId = object.functionCallId ?? "";
|
|
16564
|
+
return message;
|
|
16565
|
+
}
|
|
16566
|
+
};
|
|
16567
|
+
function createBaseFunctionCallFromIdResponse() {
|
|
16568
|
+
return { functionCallId: "", numInputs: 0 };
|
|
16569
|
+
}
|
|
16570
|
+
var FunctionCallFromIdResponse = {
|
|
16571
|
+
encode(message, writer = new BinaryWriter()) {
|
|
16572
|
+
if (message.functionCallId !== "") {
|
|
16573
|
+
writer.uint32(10).string(message.functionCallId);
|
|
16574
|
+
}
|
|
16575
|
+
if (message.numInputs !== 0) {
|
|
16576
|
+
writer.uint32(16).int32(message.numInputs);
|
|
16577
|
+
}
|
|
16578
|
+
return writer;
|
|
16579
|
+
},
|
|
16580
|
+
decode(input, length) {
|
|
16581
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
16582
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
16583
|
+
const message = createBaseFunctionCallFromIdResponse();
|
|
16584
|
+
while (reader.pos < end) {
|
|
16585
|
+
const tag = reader.uint32();
|
|
16586
|
+
switch (tag >>> 3) {
|
|
16587
|
+
case 1: {
|
|
16588
|
+
if (tag !== 10) {
|
|
16589
|
+
break;
|
|
16590
|
+
}
|
|
16591
|
+
message.functionCallId = reader.string();
|
|
16592
|
+
continue;
|
|
16593
|
+
}
|
|
16594
|
+
case 2: {
|
|
16595
|
+
if (tag !== 16) {
|
|
16596
|
+
break;
|
|
16597
|
+
}
|
|
16598
|
+
message.numInputs = reader.int32();
|
|
16599
|
+
continue;
|
|
16600
|
+
}
|
|
16601
|
+
}
|
|
16602
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
16603
|
+
break;
|
|
16604
|
+
}
|
|
16605
|
+
reader.skip(tag & 7);
|
|
16606
|
+
}
|
|
16607
|
+
return message;
|
|
16608
|
+
},
|
|
16609
|
+
fromJSON(object) {
|
|
16610
|
+
return {
|
|
16611
|
+
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
|
|
16612
|
+
numInputs: isSet3(object.numInputs) ? globalThis.Number(object.numInputs) : 0
|
|
16613
|
+
};
|
|
16614
|
+
},
|
|
16615
|
+
toJSON(message) {
|
|
16616
|
+
const obj = {};
|
|
16617
|
+
if (message.functionCallId !== "") {
|
|
16618
|
+
obj.functionCallId = message.functionCallId;
|
|
16619
|
+
}
|
|
16620
|
+
if (message.numInputs !== 0) {
|
|
16621
|
+
obj.numInputs = Math.round(message.numInputs);
|
|
16622
|
+
}
|
|
16623
|
+
return obj;
|
|
16624
|
+
},
|
|
16625
|
+
create(base) {
|
|
16626
|
+
return FunctionCallFromIdResponse.fromPartial(base ?? {});
|
|
16627
|
+
},
|
|
16628
|
+
fromPartial(object) {
|
|
16629
|
+
const message = createBaseFunctionCallFromIdResponse();
|
|
16630
|
+
message.functionCallId = object.functionCallId ?? "";
|
|
16631
|
+
message.numInputs = object.numInputs ?? 0;
|
|
16024
16632
|
return message;
|
|
16025
16633
|
}
|
|
16026
16634
|
};
|
|
16027
16635
|
function createBaseFunctionCallGetDataRequest() {
|
|
16028
|
-
return { functionCallId:
|
|
16636
|
+
return { functionCallId: void 0, attemptToken: void 0, lastIndex: 0 };
|
|
16029
16637
|
}
|
|
16030
16638
|
var FunctionCallGetDataRequest = {
|
|
16031
16639
|
encode(message, writer = new BinaryWriter()) {
|
|
16032
|
-
if (message.functionCallId !==
|
|
16640
|
+
if (message.functionCallId !== void 0) {
|
|
16033
16641
|
writer.uint32(10).string(message.functionCallId);
|
|
16034
16642
|
}
|
|
16643
|
+
if (message.attemptToken !== void 0) {
|
|
16644
|
+
writer.uint32(26).string(message.attemptToken);
|
|
16645
|
+
}
|
|
16035
16646
|
if (message.lastIndex !== 0) {
|
|
16036
16647
|
writer.uint32(16).uint64(message.lastIndex);
|
|
16037
16648
|
}
|
|
@@ -16051,6 +16662,13 @@ var FunctionCallGetDataRequest = {
|
|
|
16051
16662
|
message.functionCallId = reader.string();
|
|
16052
16663
|
continue;
|
|
16053
16664
|
}
|
|
16665
|
+
case 3: {
|
|
16666
|
+
if (tag !== 26) {
|
|
16667
|
+
break;
|
|
16668
|
+
}
|
|
16669
|
+
message.attemptToken = reader.string();
|
|
16670
|
+
continue;
|
|
16671
|
+
}
|
|
16054
16672
|
case 2: {
|
|
16055
16673
|
if (tag !== 16) {
|
|
16056
16674
|
break;
|
|
@@ -16068,15 +16686,19 @@ var FunctionCallGetDataRequest = {
|
|
|
16068
16686
|
},
|
|
16069
16687
|
fromJSON(object) {
|
|
16070
16688
|
return {
|
|
16071
|
-
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) :
|
|
16689
|
+
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : void 0,
|
|
16690
|
+
attemptToken: isSet3(object.attemptToken) ? globalThis.String(object.attemptToken) : void 0,
|
|
16072
16691
|
lastIndex: isSet3(object.lastIndex) ? globalThis.Number(object.lastIndex) : 0
|
|
16073
16692
|
};
|
|
16074
16693
|
},
|
|
16075
16694
|
toJSON(message) {
|
|
16076
16695
|
const obj = {};
|
|
16077
|
-
if (message.functionCallId !==
|
|
16696
|
+
if (message.functionCallId !== void 0) {
|
|
16078
16697
|
obj.functionCallId = message.functionCallId;
|
|
16079
16698
|
}
|
|
16699
|
+
if (message.attemptToken !== void 0) {
|
|
16700
|
+
obj.attemptToken = message.attemptToken;
|
|
16701
|
+
}
|
|
16080
16702
|
if (message.lastIndex !== 0) {
|
|
16081
16703
|
obj.lastIndex = Math.round(message.lastIndex);
|
|
16082
16704
|
}
|
|
@@ -16087,7 +16709,8 @@ var FunctionCallGetDataRequest = {
|
|
|
16087
16709
|
},
|
|
16088
16710
|
fromPartial(object) {
|
|
16089
16711
|
const message = createBaseFunctionCallGetDataRequest();
|
|
16090
|
-
message.functionCallId = object.functionCallId ??
|
|
16712
|
+
message.functionCallId = object.functionCallId ?? void 0;
|
|
16713
|
+
message.attemptToken = object.attemptToken ?? void 0;
|
|
16091
16714
|
message.lastIndex = object.lastIndex ?? 0;
|
|
16092
16715
|
return message;
|
|
16093
16716
|
}
|
|
@@ -16396,13 +17019,16 @@ var FunctionCallListResponse = {
|
|
|
16396
17019
|
}
|
|
16397
17020
|
};
|
|
16398
17021
|
function createBaseFunctionCallPutDataRequest() {
|
|
16399
|
-
return { functionCallId:
|
|
17022
|
+
return { functionCallId: void 0, attemptToken: void 0, dataChunks: [] };
|
|
16400
17023
|
}
|
|
16401
17024
|
var FunctionCallPutDataRequest = {
|
|
16402
17025
|
encode(message, writer = new BinaryWriter()) {
|
|
16403
|
-
if (message.functionCallId !==
|
|
17026
|
+
if (message.functionCallId !== void 0) {
|
|
16404
17027
|
writer.uint32(10).string(message.functionCallId);
|
|
16405
17028
|
}
|
|
17029
|
+
if (message.attemptToken !== void 0) {
|
|
17030
|
+
writer.uint32(26).string(message.attemptToken);
|
|
17031
|
+
}
|
|
16406
17032
|
for (const v of message.dataChunks) {
|
|
16407
17033
|
DataChunk.encode(v, writer.uint32(18).fork()).join();
|
|
16408
17034
|
}
|
|
@@ -16422,6 +17048,13 @@ var FunctionCallPutDataRequest = {
|
|
|
16422
17048
|
message.functionCallId = reader.string();
|
|
16423
17049
|
continue;
|
|
16424
17050
|
}
|
|
17051
|
+
case 3: {
|
|
17052
|
+
if (tag !== 26) {
|
|
17053
|
+
break;
|
|
17054
|
+
}
|
|
17055
|
+
message.attemptToken = reader.string();
|
|
17056
|
+
continue;
|
|
17057
|
+
}
|
|
16425
17058
|
case 2: {
|
|
16426
17059
|
if (tag !== 18) {
|
|
16427
17060
|
break;
|
|
@@ -16439,15 +17072,19 @@ var FunctionCallPutDataRequest = {
|
|
|
16439
17072
|
},
|
|
16440
17073
|
fromJSON(object) {
|
|
16441
17074
|
return {
|
|
16442
|
-
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) :
|
|
17075
|
+
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : void 0,
|
|
17076
|
+
attemptToken: isSet3(object.attemptToken) ? globalThis.String(object.attemptToken) : void 0,
|
|
16443
17077
|
dataChunks: globalThis.Array.isArray(object?.dataChunks) ? object.dataChunks.map((e) => DataChunk.fromJSON(e)) : []
|
|
16444
17078
|
};
|
|
16445
17079
|
},
|
|
16446
17080
|
toJSON(message) {
|
|
16447
17081
|
const obj = {};
|
|
16448
|
-
if (message.functionCallId !==
|
|
17082
|
+
if (message.functionCallId !== void 0) {
|
|
16449
17083
|
obj.functionCallId = message.functionCallId;
|
|
16450
17084
|
}
|
|
17085
|
+
if (message.attemptToken !== void 0) {
|
|
17086
|
+
obj.attemptToken = message.attemptToken;
|
|
17087
|
+
}
|
|
16451
17088
|
if (message.dataChunks?.length) {
|
|
16452
17089
|
obj.dataChunks = message.dataChunks.map((e) => DataChunk.toJSON(e));
|
|
16453
17090
|
}
|
|
@@ -16458,7 +17095,8 @@ var FunctionCallPutDataRequest = {
|
|
|
16458
17095
|
},
|
|
16459
17096
|
fromPartial(object) {
|
|
16460
17097
|
const message = createBaseFunctionCallPutDataRequest();
|
|
16461
|
-
message.functionCallId = object.functionCallId ??
|
|
17098
|
+
message.functionCallId = object.functionCallId ?? void 0;
|
|
17099
|
+
message.attemptToken = object.attemptToken ?? void 0;
|
|
16462
17100
|
message.dataChunks = object.dataChunks?.map((e) => DataChunk.fromPartial(e)) || [];
|
|
16463
17101
|
return message;
|
|
16464
17102
|
}
|
|
@@ -16723,7 +17361,9 @@ function createBaseFunctionData() {
|
|
|
16723
17361
|
autoscalerSettings: void 0,
|
|
16724
17362
|
functionSchema: void 0,
|
|
16725
17363
|
experimentalOptions: {},
|
|
16726
|
-
flashServiceUrls: []
|
|
17364
|
+
flashServiceUrls: [],
|
|
17365
|
+
flashServiceLabel: "",
|
|
17366
|
+
startupTimeoutSecs: 0
|
|
16727
17367
|
};
|
|
16728
17368
|
}
|
|
16729
17369
|
var FunctionData = {
|
|
@@ -16827,6 +17467,12 @@ var FunctionData = {
|
|
|
16827
17467
|
for (const v of message.flashServiceUrls) {
|
|
16828
17468
|
writer.uint32(274).string(v);
|
|
16829
17469
|
}
|
|
17470
|
+
if (message.flashServiceLabel !== "") {
|
|
17471
|
+
writer.uint32(282).string(message.flashServiceLabel);
|
|
17472
|
+
}
|
|
17473
|
+
if (message.startupTimeoutSecs !== 0) {
|
|
17474
|
+
writer.uint32(288).uint32(message.startupTimeoutSecs);
|
|
17475
|
+
}
|
|
16830
17476
|
return writer;
|
|
16831
17477
|
},
|
|
16832
17478
|
decode(input, length) {
|
|
@@ -17073,6 +17719,20 @@ var FunctionData = {
|
|
|
17073
17719
|
message.flashServiceUrls.push(reader.string());
|
|
17074
17720
|
continue;
|
|
17075
17721
|
}
|
|
17722
|
+
case 35: {
|
|
17723
|
+
if (tag !== 282) {
|
|
17724
|
+
break;
|
|
17725
|
+
}
|
|
17726
|
+
message.flashServiceLabel = reader.string();
|
|
17727
|
+
continue;
|
|
17728
|
+
}
|
|
17729
|
+
case 36: {
|
|
17730
|
+
if (tag !== 288) {
|
|
17731
|
+
break;
|
|
17732
|
+
}
|
|
17733
|
+
message.startupTimeoutSecs = reader.uint32();
|
|
17734
|
+
continue;
|
|
17735
|
+
}
|
|
17076
17736
|
}
|
|
17077
17737
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17078
17738
|
break;
|
|
@@ -17121,7 +17781,9 @@ var FunctionData = {
|
|
|
17121
17781
|
acc[key] = String(value);
|
|
17122
17782
|
return acc;
|
|
17123
17783
|
}, {}) : {},
|
|
17124
|
-
flashServiceUrls: globalThis.Array.isArray(object?.flashServiceUrls) ? object.flashServiceUrls.map((e) => globalThis.String(e)) : []
|
|
17784
|
+
flashServiceUrls: globalThis.Array.isArray(object?.flashServiceUrls) ? object.flashServiceUrls.map((e) => globalThis.String(e)) : [],
|
|
17785
|
+
flashServiceLabel: isSet3(object.flashServiceLabel) ? globalThis.String(object.flashServiceLabel) : "",
|
|
17786
|
+
startupTimeoutSecs: isSet3(object.startupTimeoutSecs) ? globalThis.Number(object.startupTimeoutSecs) : 0
|
|
17125
17787
|
};
|
|
17126
17788
|
},
|
|
17127
17789
|
toJSON(message) {
|
|
@@ -17237,6 +17899,12 @@ var FunctionData = {
|
|
|
17237
17899
|
if (message.flashServiceUrls?.length) {
|
|
17238
17900
|
obj.flashServiceUrls = message.flashServiceUrls;
|
|
17239
17901
|
}
|
|
17902
|
+
if (message.flashServiceLabel !== "") {
|
|
17903
|
+
obj.flashServiceLabel = message.flashServiceLabel;
|
|
17904
|
+
}
|
|
17905
|
+
if (message.startupTimeoutSecs !== 0) {
|
|
17906
|
+
obj.startupTimeoutSecs = Math.round(message.startupTimeoutSecs);
|
|
17907
|
+
}
|
|
17240
17908
|
return obj;
|
|
17241
17909
|
},
|
|
17242
17910
|
create(base) {
|
|
@@ -17290,6 +17958,8 @@ var FunctionData = {
|
|
|
17290
17958
|
{}
|
|
17291
17959
|
);
|
|
17292
17960
|
message.flashServiceUrls = object.flashServiceUrls?.map((e) => e) || [];
|
|
17961
|
+
message.flashServiceLabel = object.flashServiceLabel ?? "";
|
|
17962
|
+
message.startupTimeoutSecs = object.startupTimeoutSecs ?? 0;
|
|
17293
17963
|
return message;
|
|
17294
17964
|
}
|
|
17295
17965
|
};
|
|
@@ -17497,6 +18167,89 @@ var FunctionData_ExperimentalOptionsEntry = {
|
|
|
17497
18167
|
return message;
|
|
17498
18168
|
}
|
|
17499
18169
|
};
|
|
18170
|
+
function createBaseFunctionFinishInputsRequest() {
|
|
18171
|
+
return { functionId: "", functionCallId: "", numInputs: 0 };
|
|
18172
|
+
}
|
|
18173
|
+
var FunctionFinishInputsRequest = {
|
|
18174
|
+
encode(message, writer = new BinaryWriter()) {
|
|
18175
|
+
if (message.functionId !== "") {
|
|
18176
|
+
writer.uint32(10).string(message.functionId);
|
|
18177
|
+
}
|
|
18178
|
+
if (message.functionCallId !== "") {
|
|
18179
|
+
writer.uint32(18).string(message.functionCallId);
|
|
18180
|
+
}
|
|
18181
|
+
if (message.numInputs !== 0) {
|
|
18182
|
+
writer.uint32(24).uint32(message.numInputs);
|
|
18183
|
+
}
|
|
18184
|
+
return writer;
|
|
18185
|
+
},
|
|
18186
|
+
decode(input, length) {
|
|
18187
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
18188
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
18189
|
+
const message = createBaseFunctionFinishInputsRequest();
|
|
18190
|
+
while (reader.pos < end) {
|
|
18191
|
+
const tag = reader.uint32();
|
|
18192
|
+
switch (tag >>> 3) {
|
|
18193
|
+
case 1: {
|
|
18194
|
+
if (tag !== 10) {
|
|
18195
|
+
break;
|
|
18196
|
+
}
|
|
18197
|
+
message.functionId = reader.string();
|
|
18198
|
+
continue;
|
|
18199
|
+
}
|
|
18200
|
+
case 2: {
|
|
18201
|
+
if (tag !== 18) {
|
|
18202
|
+
break;
|
|
18203
|
+
}
|
|
18204
|
+
message.functionCallId = reader.string();
|
|
18205
|
+
continue;
|
|
18206
|
+
}
|
|
18207
|
+
case 3: {
|
|
18208
|
+
if (tag !== 24) {
|
|
18209
|
+
break;
|
|
18210
|
+
}
|
|
18211
|
+
message.numInputs = reader.uint32();
|
|
18212
|
+
continue;
|
|
18213
|
+
}
|
|
18214
|
+
}
|
|
18215
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
18216
|
+
break;
|
|
18217
|
+
}
|
|
18218
|
+
reader.skip(tag & 7);
|
|
18219
|
+
}
|
|
18220
|
+
return message;
|
|
18221
|
+
},
|
|
18222
|
+
fromJSON(object) {
|
|
18223
|
+
return {
|
|
18224
|
+
functionId: isSet3(object.functionId) ? globalThis.String(object.functionId) : "",
|
|
18225
|
+
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
|
|
18226
|
+
numInputs: isSet3(object.numInputs) ? globalThis.Number(object.numInputs) : 0
|
|
18227
|
+
};
|
|
18228
|
+
},
|
|
18229
|
+
toJSON(message) {
|
|
18230
|
+
const obj = {};
|
|
18231
|
+
if (message.functionId !== "") {
|
|
18232
|
+
obj.functionId = message.functionId;
|
|
18233
|
+
}
|
|
18234
|
+
if (message.functionCallId !== "") {
|
|
18235
|
+
obj.functionCallId = message.functionCallId;
|
|
18236
|
+
}
|
|
18237
|
+
if (message.numInputs !== 0) {
|
|
18238
|
+
obj.numInputs = Math.round(message.numInputs);
|
|
18239
|
+
}
|
|
18240
|
+
return obj;
|
|
18241
|
+
},
|
|
18242
|
+
create(base) {
|
|
18243
|
+
return FunctionFinishInputsRequest.fromPartial(base ?? {});
|
|
18244
|
+
},
|
|
18245
|
+
fromPartial(object) {
|
|
18246
|
+
const message = createBaseFunctionFinishInputsRequest();
|
|
18247
|
+
message.functionId = object.functionId ?? "";
|
|
18248
|
+
message.functionCallId = object.functionCallId ?? "";
|
|
18249
|
+
message.numInputs = object.numInputs ?? 0;
|
|
18250
|
+
return message;
|
|
18251
|
+
}
|
|
18252
|
+
};
|
|
17500
18253
|
function createBaseFunctionGetCallGraphRequest() {
|
|
17501
18254
|
return { functionCallId: "" };
|
|
17502
18255
|
}
|
|
@@ -17808,7 +18561,9 @@ function createBaseFunctionGetInputsItem() {
|
|
|
17808
18561
|
killSwitch: false,
|
|
17809
18562
|
functionCallId: "",
|
|
17810
18563
|
functionCallInvocationType: 0,
|
|
17811
|
-
retryCount: 0
|
|
18564
|
+
retryCount: 0,
|
|
18565
|
+
functionMapIdx: void 0,
|
|
18566
|
+
attemptToken: ""
|
|
17812
18567
|
};
|
|
17813
18568
|
}
|
|
17814
18569
|
var FunctionGetInputsItem = {
|
|
@@ -17831,6 +18586,12 @@ var FunctionGetInputsItem = {
|
|
|
17831
18586
|
if (message.retryCount !== 0) {
|
|
17832
18587
|
writer.uint32(56).uint32(message.retryCount);
|
|
17833
18588
|
}
|
|
18589
|
+
if (message.functionMapIdx !== void 0) {
|
|
18590
|
+
writer.uint32(64).int32(message.functionMapIdx);
|
|
18591
|
+
}
|
|
18592
|
+
if (message.attemptToken !== "") {
|
|
18593
|
+
writer.uint32(74).string(message.attemptToken);
|
|
18594
|
+
}
|
|
17834
18595
|
return writer;
|
|
17835
18596
|
},
|
|
17836
18597
|
decode(input, length) {
|
|
@@ -17882,6 +18643,20 @@ var FunctionGetInputsItem = {
|
|
|
17882
18643
|
message.retryCount = reader.uint32();
|
|
17883
18644
|
continue;
|
|
17884
18645
|
}
|
|
18646
|
+
case 8: {
|
|
18647
|
+
if (tag !== 64) {
|
|
18648
|
+
break;
|
|
18649
|
+
}
|
|
18650
|
+
message.functionMapIdx = reader.int32();
|
|
18651
|
+
continue;
|
|
18652
|
+
}
|
|
18653
|
+
case 9: {
|
|
18654
|
+
if (tag !== 74) {
|
|
18655
|
+
break;
|
|
18656
|
+
}
|
|
18657
|
+
message.attemptToken = reader.string();
|
|
18658
|
+
continue;
|
|
18659
|
+
}
|
|
17885
18660
|
}
|
|
17886
18661
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17887
18662
|
break;
|
|
@@ -17897,7 +18672,9 @@ var FunctionGetInputsItem = {
|
|
|
17897
18672
|
killSwitch: isSet3(object.killSwitch) ? globalThis.Boolean(object.killSwitch) : false,
|
|
17898
18673
|
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
|
|
17899
18674
|
functionCallInvocationType: isSet3(object.functionCallInvocationType) ? functionCallInvocationTypeFromJSON(object.functionCallInvocationType) : 0,
|
|
17900
|
-
retryCount: isSet3(object.retryCount) ? globalThis.Number(object.retryCount) : 0
|
|
18675
|
+
retryCount: isSet3(object.retryCount) ? globalThis.Number(object.retryCount) : 0,
|
|
18676
|
+
functionMapIdx: isSet3(object.functionMapIdx) ? globalThis.Number(object.functionMapIdx) : void 0,
|
|
18677
|
+
attemptToken: isSet3(object.attemptToken) ? globalThis.String(object.attemptToken) : ""
|
|
17901
18678
|
};
|
|
17902
18679
|
},
|
|
17903
18680
|
toJSON(message) {
|
|
@@ -17920,6 +18697,12 @@ var FunctionGetInputsItem = {
|
|
|
17920
18697
|
if (message.retryCount !== 0) {
|
|
17921
18698
|
obj.retryCount = Math.round(message.retryCount);
|
|
17922
18699
|
}
|
|
18700
|
+
if (message.functionMapIdx !== void 0) {
|
|
18701
|
+
obj.functionMapIdx = Math.round(message.functionMapIdx);
|
|
18702
|
+
}
|
|
18703
|
+
if (message.attemptToken !== "") {
|
|
18704
|
+
obj.attemptToken = message.attemptToken;
|
|
18705
|
+
}
|
|
17923
18706
|
return obj;
|
|
17924
18707
|
},
|
|
17925
18708
|
create(base) {
|
|
@@ -17933,6 +18716,8 @@ var FunctionGetInputsItem = {
|
|
|
17933
18716
|
message.functionCallId = object.functionCallId ?? "";
|
|
17934
18717
|
message.functionCallInvocationType = object.functionCallInvocationType ?? 0;
|
|
17935
18718
|
message.retryCount = object.retryCount ?? 0;
|
|
18719
|
+
message.functionMapIdx = object.functionMapIdx ?? void 0;
|
|
18720
|
+
message.attemptToken = object.attemptToken ?? "";
|
|
17936
18721
|
return message;
|
|
17937
18722
|
}
|
|
17938
18723
|
};
|
|
@@ -18323,7 +19108,9 @@ function createBaseFunctionGetOutputsRequest() {
|
|
|
18323
19108
|
lastEntryId: "",
|
|
18324
19109
|
clearOnSuccess: false,
|
|
18325
19110
|
requestedAt: 0,
|
|
18326
|
-
inputJwts: []
|
|
19111
|
+
inputJwts: [],
|
|
19112
|
+
startIdx: void 0,
|
|
19113
|
+
endIdx: void 0
|
|
18327
19114
|
};
|
|
18328
19115
|
}
|
|
18329
19116
|
var FunctionGetOutputsRequest = {
|
|
@@ -18349,6 +19136,12 @@ var FunctionGetOutputsRequest = {
|
|
|
18349
19136
|
for (const v of message.inputJwts) {
|
|
18350
19137
|
writer.uint32(74).string(v);
|
|
18351
19138
|
}
|
|
19139
|
+
if (message.startIdx !== void 0) {
|
|
19140
|
+
writer.uint32(80).int32(message.startIdx);
|
|
19141
|
+
}
|
|
19142
|
+
if (message.endIdx !== void 0) {
|
|
19143
|
+
writer.uint32(88).int32(message.endIdx);
|
|
19144
|
+
}
|
|
18352
19145
|
return writer;
|
|
18353
19146
|
},
|
|
18354
19147
|
decode(input, length) {
|
|
@@ -18407,6 +19200,20 @@ var FunctionGetOutputsRequest = {
|
|
|
18407
19200
|
message.inputJwts.push(reader.string());
|
|
18408
19201
|
continue;
|
|
18409
19202
|
}
|
|
19203
|
+
case 10: {
|
|
19204
|
+
if (tag !== 80) {
|
|
19205
|
+
break;
|
|
19206
|
+
}
|
|
19207
|
+
message.startIdx = reader.int32();
|
|
19208
|
+
continue;
|
|
19209
|
+
}
|
|
19210
|
+
case 11: {
|
|
19211
|
+
if (tag !== 88) {
|
|
19212
|
+
break;
|
|
19213
|
+
}
|
|
19214
|
+
message.endIdx = reader.int32();
|
|
19215
|
+
continue;
|
|
19216
|
+
}
|
|
18410
19217
|
}
|
|
18411
19218
|
if ((tag & 7) === 4 || tag === 0) {
|
|
18412
19219
|
break;
|
|
@@ -18423,7 +19230,9 @@ var FunctionGetOutputsRequest = {
|
|
|
18423
19230
|
lastEntryId: isSet3(object.lastEntryId) ? globalThis.String(object.lastEntryId) : "",
|
|
18424
19231
|
clearOnSuccess: isSet3(object.clearOnSuccess) ? globalThis.Boolean(object.clearOnSuccess) : false,
|
|
18425
19232
|
requestedAt: isSet3(object.requestedAt) ? globalThis.Number(object.requestedAt) : 0,
|
|
18426
|
-
inputJwts: globalThis.Array.isArray(object?.inputJwts) ? object.inputJwts.map((e) => globalThis.String(e)) : []
|
|
19233
|
+
inputJwts: globalThis.Array.isArray(object?.inputJwts) ? object.inputJwts.map((e) => globalThis.String(e)) : [],
|
|
19234
|
+
startIdx: isSet3(object.startIdx) ? globalThis.Number(object.startIdx) : void 0,
|
|
19235
|
+
endIdx: isSet3(object.endIdx) ? globalThis.Number(object.endIdx) : void 0
|
|
18427
19236
|
};
|
|
18428
19237
|
},
|
|
18429
19238
|
toJSON(message) {
|
|
@@ -18449,6 +19258,12 @@ var FunctionGetOutputsRequest = {
|
|
|
18449
19258
|
if (message.inputJwts?.length) {
|
|
18450
19259
|
obj.inputJwts = message.inputJwts;
|
|
18451
19260
|
}
|
|
19261
|
+
if (message.startIdx !== void 0) {
|
|
19262
|
+
obj.startIdx = Math.round(message.startIdx);
|
|
19263
|
+
}
|
|
19264
|
+
if (message.endIdx !== void 0) {
|
|
19265
|
+
obj.endIdx = Math.round(message.endIdx);
|
|
19266
|
+
}
|
|
18452
19267
|
return obj;
|
|
18453
19268
|
},
|
|
18454
19269
|
create(base) {
|
|
@@ -18463,6 +19278,8 @@ var FunctionGetOutputsRequest = {
|
|
|
18463
19278
|
message.clearOnSuccess = object.clearOnSuccess ?? false;
|
|
18464
19279
|
message.requestedAt = object.requestedAt ?? 0;
|
|
18465
19280
|
message.inputJwts = object.inputJwts?.map((e) => e) || [];
|
|
19281
|
+
message.startIdx = object.startIdx ?? void 0;
|
|
19282
|
+
message.endIdx = object.endIdx ?? void 0;
|
|
18466
19283
|
return message;
|
|
18467
19284
|
}
|
|
18468
19285
|
};
|
|
@@ -19609,7 +20426,9 @@ function createBaseFunctionOptions() {
|
|
|
19609
20426
|
bufferContainers: void 0,
|
|
19610
20427
|
maxConcurrentInputs: void 0,
|
|
19611
20428
|
batchMaxSize: void 0,
|
|
19612
|
-
batchLingerMs: void 0
|
|
20429
|
+
batchLingerMs: void 0,
|
|
20430
|
+
schedulerPlacement: void 0,
|
|
20431
|
+
cloudProviderStr: void 0
|
|
19613
20432
|
};
|
|
19614
20433
|
}
|
|
19615
20434
|
var FunctionOptions = {
|
|
@@ -19662,6 +20481,12 @@ var FunctionOptions = {
|
|
|
19662
20481
|
if (message.batchLingerMs !== void 0) {
|
|
19663
20482
|
writer.uint32(128).uint64(message.batchLingerMs);
|
|
19664
20483
|
}
|
|
20484
|
+
if (message.schedulerPlacement !== void 0) {
|
|
20485
|
+
SchedulerPlacement.encode(message.schedulerPlacement, writer.uint32(138).fork()).join();
|
|
20486
|
+
}
|
|
20487
|
+
if (message.cloudProviderStr !== void 0) {
|
|
20488
|
+
writer.uint32(146).string(message.cloudProviderStr);
|
|
20489
|
+
}
|
|
19665
20490
|
return writer;
|
|
19666
20491
|
},
|
|
19667
20492
|
decode(input, length) {
|
|
@@ -19783,6 +20608,20 @@ var FunctionOptions = {
|
|
|
19783
20608
|
message.batchLingerMs = longToNumber(reader.uint64());
|
|
19784
20609
|
continue;
|
|
19785
20610
|
}
|
|
20611
|
+
case 17: {
|
|
20612
|
+
if (tag !== 138) {
|
|
20613
|
+
break;
|
|
20614
|
+
}
|
|
20615
|
+
message.schedulerPlacement = SchedulerPlacement.decode(reader, reader.uint32());
|
|
20616
|
+
continue;
|
|
20617
|
+
}
|
|
20618
|
+
case 18: {
|
|
20619
|
+
if (tag !== 146) {
|
|
20620
|
+
break;
|
|
20621
|
+
}
|
|
20622
|
+
message.cloudProviderStr = reader.string();
|
|
20623
|
+
continue;
|
|
20624
|
+
}
|
|
19786
20625
|
}
|
|
19787
20626
|
if ((tag & 7) === 4 || tag === 0) {
|
|
19788
20627
|
break;
|
|
@@ -19808,7 +20647,9 @@ var FunctionOptions = {
|
|
|
19808
20647
|
bufferContainers: isSet3(object.bufferContainers) ? globalThis.Number(object.bufferContainers) : void 0,
|
|
19809
20648
|
maxConcurrentInputs: isSet3(object.maxConcurrentInputs) ? globalThis.Number(object.maxConcurrentInputs) : void 0,
|
|
19810
20649
|
batchMaxSize: isSet3(object.batchMaxSize) ? globalThis.Number(object.batchMaxSize) : void 0,
|
|
19811
|
-
batchLingerMs: isSet3(object.batchLingerMs) ? globalThis.Number(object.batchLingerMs) : void 0
|
|
20650
|
+
batchLingerMs: isSet3(object.batchLingerMs) ? globalThis.Number(object.batchLingerMs) : void 0,
|
|
20651
|
+
schedulerPlacement: isSet3(object.schedulerPlacement) ? SchedulerPlacement.fromJSON(object.schedulerPlacement) : void 0,
|
|
20652
|
+
cloudProviderStr: isSet3(object.cloudProviderStr) ? globalThis.String(object.cloudProviderStr) : void 0
|
|
19812
20653
|
};
|
|
19813
20654
|
},
|
|
19814
20655
|
toJSON(message) {
|
|
@@ -19861,6 +20702,12 @@ var FunctionOptions = {
|
|
|
19861
20702
|
if (message.batchLingerMs !== void 0) {
|
|
19862
20703
|
obj.batchLingerMs = Math.round(message.batchLingerMs);
|
|
19863
20704
|
}
|
|
20705
|
+
if (message.schedulerPlacement !== void 0) {
|
|
20706
|
+
obj.schedulerPlacement = SchedulerPlacement.toJSON(message.schedulerPlacement);
|
|
20707
|
+
}
|
|
20708
|
+
if (message.cloudProviderStr !== void 0) {
|
|
20709
|
+
obj.cloudProviderStr = message.cloudProviderStr;
|
|
20710
|
+
}
|
|
19864
20711
|
return obj;
|
|
19865
20712
|
},
|
|
19866
20713
|
create(base) {
|
|
@@ -19884,6 +20731,8 @@ var FunctionOptions = {
|
|
|
19884
20731
|
message.maxConcurrentInputs = object.maxConcurrentInputs ?? void 0;
|
|
19885
20732
|
message.batchMaxSize = object.batchMaxSize ?? void 0;
|
|
19886
20733
|
message.batchLingerMs = object.batchLingerMs ?? void 0;
|
|
20734
|
+
message.schedulerPlacement = object.schedulerPlacement !== void 0 && object.schedulerPlacement !== null ? SchedulerPlacement.fromPartial(object.schedulerPlacement) : void 0;
|
|
20735
|
+
message.cloudProviderStr = object.cloudProviderStr ?? void 0;
|
|
19887
20736
|
return message;
|
|
19888
20737
|
}
|
|
19889
20738
|
};
|
|
@@ -20224,7 +21073,7 @@ var FunctionPrecreateResponse = {
|
|
|
20224
21073
|
}
|
|
20225
21074
|
};
|
|
20226
21075
|
function createBaseFunctionPutInputsItem() {
|
|
20227
|
-
return { idx: 0, input: void 0, r2Failed: false,
|
|
21076
|
+
return { idx: 0, input: void 0, r2Failed: false, r2ThroughputBytesS: 0 };
|
|
20228
21077
|
}
|
|
20229
21078
|
var FunctionPutInputsItem = {
|
|
20230
21079
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -20237,8 +21086,8 @@ var FunctionPutInputsItem = {
|
|
|
20237
21086
|
if (message.r2Failed !== false) {
|
|
20238
21087
|
writer.uint32(24).bool(message.r2Failed);
|
|
20239
21088
|
}
|
|
20240
|
-
if (message.
|
|
20241
|
-
writer.uint32(
|
|
21089
|
+
if (message.r2ThroughputBytesS !== 0) {
|
|
21090
|
+
writer.uint32(40).uint64(message.r2ThroughputBytesS);
|
|
20242
21091
|
}
|
|
20243
21092
|
return writer;
|
|
20244
21093
|
},
|
|
@@ -20270,11 +21119,11 @@ var FunctionPutInputsItem = {
|
|
|
20270
21119
|
message.r2Failed = reader.bool();
|
|
20271
21120
|
continue;
|
|
20272
21121
|
}
|
|
20273
|
-
case
|
|
20274
|
-
if (tag !==
|
|
21122
|
+
case 5: {
|
|
21123
|
+
if (tag !== 40) {
|
|
20275
21124
|
break;
|
|
20276
21125
|
}
|
|
20277
|
-
message.
|
|
21126
|
+
message.r2ThroughputBytesS = longToNumber(reader.uint64());
|
|
20278
21127
|
continue;
|
|
20279
21128
|
}
|
|
20280
21129
|
}
|
|
@@ -20290,7 +21139,7 @@ var FunctionPutInputsItem = {
|
|
|
20290
21139
|
idx: isSet3(object.idx) ? globalThis.Number(object.idx) : 0,
|
|
20291
21140
|
input: isSet3(object.input) ? FunctionInput.fromJSON(object.input) : void 0,
|
|
20292
21141
|
r2Failed: isSet3(object.r2Failed) ? globalThis.Boolean(object.r2Failed) : false,
|
|
20293
|
-
|
|
21142
|
+
r2ThroughputBytesS: isSet3(object.r2ThroughputBytesS) ? globalThis.Number(object.r2ThroughputBytesS) : 0
|
|
20294
21143
|
};
|
|
20295
21144
|
},
|
|
20296
21145
|
toJSON(message) {
|
|
@@ -20304,8 +21153,8 @@ var FunctionPutInputsItem = {
|
|
|
20304
21153
|
if (message.r2Failed !== false) {
|
|
20305
21154
|
obj.r2Failed = message.r2Failed;
|
|
20306
21155
|
}
|
|
20307
|
-
if (message.
|
|
20308
|
-
obj.
|
|
21156
|
+
if (message.r2ThroughputBytesS !== 0) {
|
|
21157
|
+
obj.r2ThroughputBytesS = Math.round(message.r2ThroughputBytesS);
|
|
20309
21158
|
}
|
|
20310
21159
|
return obj;
|
|
20311
21160
|
},
|
|
@@ -20317,7 +21166,7 @@ var FunctionPutInputsItem = {
|
|
|
20317
21166
|
message.idx = object.idx ?? 0;
|
|
20318
21167
|
message.input = object.input !== void 0 && object.input !== null ? FunctionInput.fromPartial(object.input) : void 0;
|
|
20319
21168
|
message.r2Failed = object.r2Failed ?? false;
|
|
20320
|
-
message.
|
|
21169
|
+
message.r2ThroughputBytesS = object.r2ThroughputBytesS ?? 0;
|
|
20321
21170
|
return message;
|
|
20322
21171
|
}
|
|
20323
21172
|
};
|
|
@@ -20541,7 +21390,16 @@ var FunctionPutInputsResponseItem = {
|
|
|
20541
21390
|
}
|
|
20542
21391
|
};
|
|
20543
21392
|
function createBaseFunctionPutOutputsItem() {
|
|
20544
|
-
return {
|
|
21393
|
+
return {
|
|
21394
|
+
inputId: "",
|
|
21395
|
+
result: void 0,
|
|
21396
|
+
inputStartedAt: 0,
|
|
21397
|
+
outputCreatedAt: 0,
|
|
21398
|
+
dataFormat: 0,
|
|
21399
|
+
retryCount: 0,
|
|
21400
|
+
functionCallId: "",
|
|
21401
|
+
functionMapIdx: void 0
|
|
21402
|
+
};
|
|
20545
21403
|
}
|
|
20546
21404
|
var FunctionPutOutputsItem = {
|
|
20547
21405
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -20563,6 +21421,12 @@ var FunctionPutOutputsItem = {
|
|
|
20563
21421
|
if (message.retryCount !== 0) {
|
|
20564
21422
|
writer.uint32(64).uint32(message.retryCount);
|
|
20565
21423
|
}
|
|
21424
|
+
if (message.functionCallId !== "") {
|
|
21425
|
+
writer.uint32(74).string(message.functionCallId);
|
|
21426
|
+
}
|
|
21427
|
+
if (message.functionMapIdx !== void 0) {
|
|
21428
|
+
writer.uint32(80).int32(message.functionMapIdx);
|
|
21429
|
+
}
|
|
20566
21430
|
return writer;
|
|
20567
21431
|
},
|
|
20568
21432
|
decode(input, length) {
|
|
@@ -20614,6 +21478,20 @@ var FunctionPutOutputsItem = {
|
|
|
20614
21478
|
message.retryCount = reader.uint32();
|
|
20615
21479
|
continue;
|
|
20616
21480
|
}
|
|
21481
|
+
case 9: {
|
|
21482
|
+
if (tag !== 74) {
|
|
21483
|
+
break;
|
|
21484
|
+
}
|
|
21485
|
+
message.functionCallId = reader.string();
|
|
21486
|
+
continue;
|
|
21487
|
+
}
|
|
21488
|
+
case 10: {
|
|
21489
|
+
if (tag !== 80) {
|
|
21490
|
+
break;
|
|
21491
|
+
}
|
|
21492
|
+
message.functionMapIdx = reader.int32();
|
|
21493
|
+
continue;
|
|
21494
|
+
}
|
|
20617
21495
|
}
|
|
20618
21496
|
if ((tag & 7) === 4 || tag === 0) {
|
|
20619
21497
|
break;
|
|
@@ -20629,7 +21507,9 @@ var FunctionPutOutputsItem = {
|
|
|
20629
21507
|
inputStartedAt: isSet3(object.inputStartedAt) ? globalThis.Number(object.inputStartedAt) : 0,
|
|
20630
21508
|
outputCreatedAt: isSet3(object.outputCreatedAt) ? globalThis.Number(object.outputCreatedAt) : 0,
|
|
20631
21509
|
dataFormat: isSet3(object.dataFormat) ? dataFormatFromJSON(object.dataFormat) : 0,
|
|
20632
|
-
retryCount: isSet3(object.retryCount) ? globalThis.Number(object.retryCount) : 0
|
|
21510
|
+
retryCount: isSet3(object.retryCount) ? globalThis.Number(object.retryCount) : 0,
|
|
21511
|
+
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
|
|
21512
|
+
functionMapIdx: isSet3(object.functionMapIdx) ? globalThis.Number(object.functionMapIdx) : void 0
|
|
20633
21513
|
};
|
|
20634
21514
|
},
|
|
20635
21515
|
toJSON(message) {
|
|
@@ -20652,6 +21532,12 @@ var FunctionPutOutputsItem = {
|
|
|
20652
21532
|
if (message.retryCount !== 0) {
|
|
20653
21533
|
obj.retryCount = Math.round(message.retryCount);
|
|
20654
21534
|
}
|
|
21535
|
+
if (message.functionCallId !== "") {
|
|
21536
|
+
obj.functionCallId = message.functionCallId;
|
|
21537
|
+
}
|
|
21538
|
+
if (message.functionMapIdx !== void 0) {
|
|
21539
|
+
obj.functionMapIdx = Math.round(message.functionMapIdx);
|
|
21540
|
+
}
|
|
20655
21541
|
return obj;
|
|
20656
21542
|
},
|
|
20657
21543
|
create(base) {
|
|
@@ -20665,6 +21551,8 @@ var FunctionPutOutputsItem = {
|
|
|
20665
21551
|
message.outputCreatedAt = object.outputCreatedAt ?? 0;
|
|
20666
21552
|
message.dataFormat = object.dataFormat ?? 0;
|
|
20667
21553
|
message.retryCount = object.retryCount ?? 0;
|
|
21554
|
+
message.functionCallId = object.functionCallId ?? "";
|
|
21555
|
+
message.functionMapIdx = object.functionMapIdx ?? void 0;
|
|
20668
21556
|
return message;
|
|
20669
21557
|
}
|
|
20670
21558
|
};
|
|
@@ -23293,6 +24181,662 @@ var InputInfo = {
|
|
|
23293
24181
|
return message;
|
|
23294
24182
|
}
|
|
23295
24183
|
};
|
|
24184
|
+
function createBaseListPagination() {
|
|
24185
|
+
return { maxObjects: 0, createdBefore: 0 };
|
|
24186
|
+
}
|
|
24187
|
+
var ListPagination = {
|
|
24188
|
+
encode(message, writer = new BinaryWriter()) {
|
|
24189
|
+
if (message.maxObjects !== 0) {
|
|
24190
|
+
writer.uint32(8).int32(message.maxObjects);
|
|
24191
|
+
}
|
|
24192
|
+
if (message.createdBefore !== 0) {
|
|
24193
|
+
writer.uint32(17).double(message.createdBefore);
|
|
24194
|
+
}
|
|
24195
|
+
return writer;
|
|
24196
|
+
},
|
|
24197
|
+
decode(input, length) {
|
|
24198
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
24199
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
24200
|
+
const message = createBaseListPagination();
|
|
24201
|
+
while (reader.pos < end) {
|
|
24202
|
+
const tag = reader.uint32();
|
|
24203
|
+
switch (tag >>> 3) {
|
|
24204
|
+
case 1: {
|
|
24205
|
+
if (tag !== 8) {
|
|
24206
|
+
break;
|
|
24207
|
+
}
|
|
24208
|
+
message.maxObjects = reader.int32();
|
|
24209
|
+
continue;
|
|
24210
|
+
}
|
|
24211
|
+
case 2: {
|
|
24212
|
+
if (tag !== 17) {
|
|
24213
|
+
break;
|
|
24214
|
+
}
|
|
24215
|
+
message.createdBefore = reader.double();
|
|
24216
|
+
continue;
|
|
24217
|
+
}
|
|
24218
|
+
}
|
|
24219
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
24220
|
+
break;
|
|
24221
|
+
}
|
|
24222
|
+
reader.skip(tag & 7);
|
|
24223
|
+
}
|
|
24224
|
+
return message;
|
|
24225
|
+
},
|
|
24226
|
+
fromJSON(object) {
|
|
24227
|
+
return {
|
|
24228
|
+
maxObjects: isSet3(object.maxObjects) ? globalThis.Number(object.maxObjects) : 0,
|
|
24229
|
+
createdBefore: isSet3(object.createdBefore) ? globalThis.Number(object.createdBefore) : 0
|
|
24230
|
+
};
|
|
24231
|
+
},
|
|
24232
|
+
toJSON(message) {
|
|
24233
|
+
const obj = {};
|
|
24234
|
+
if (message.maxObjects !== 0) {
|
|
24235
|
+
obj.maxObjects = Math.round(message.maxObjects);
|
|
24236
|
+
}
|
|
24237
|
+
if (message.createdBefore !== 0) {
|
|
24238
|
+
obj.createdBefore = message.createdBefore;
|
|
24239
|
+
}
|
|
24240
|
+
return obj;
|
|
24241
|
+
},
|
|
24242
|
+
create(base) {
|
|
24243
|
+
return ListPagination.fromPartial(base ?? {});
|
|
24244
|
+
},
|
|
24245
|
+
fromPartial(object) {
|
|
24246
|
+
const message = createBaseListPagination();
|
|
24247
|
+
message.maxObjects = object.maxObjects ?? 0;
|
|
24248
|
+
message.createdBefore = object.createdBefore ?? 0;
|
|
24249
|
+
return message;
|
|
24250
|
+
}
|
|
24251
|
+
};
|
|
24252
|
+
function createBaseMapAwaitRequest() {
|
|
24253
|
+
return { functionCallId: "", lastEntryId: "", requestedAt: 0, timeout: 0 };
|
|
24254
|
+
}
|
|
24255
|
+
var MapAwaitRequest = {
|
|
24256
|
+
encode(message, writer = new BinaryWriter()) {
|
|
24257
|
+
if (message.functionCallId !== "") {
|
|
24258
|
+
writer.uint32(10).string(message.functionCallId);
|
|
24259
|
+
}
|
|
24260
|
+
if (message.lastEntryId !== "") {
|
|
24261
|
+
writer.uint32(18).string(message.lastEntryId);
|
|
24262
|
+
}
|
|
24263
|
+
if (message.requestedAt !== 0) {
|
|
24264
|
+
writer.uint32(25).double(message.requestedAt);
|
|
24265
|
+
}
|
|
24266
|
+
if (message.timeout !== 0) {
|
|
24267
|
+
writer.uint32(37).float(message.timeout);
|
|
24268
|
+
}
|
|
24269
|
+
return writer;
|
|
24270
|
+
},
|
|
24271
|
+
decode(input, length) {
|
|
24272
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
24273
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
24274
|
+
const message = createBaseMapAwaitRequest();
|
|
24275
|
+
while (reader.pos < end) {
|
|
24276
|
+
const tag = reader.uint32();
|
|
24277
|
+
switch (tag >>> 3) {
|
|
24278
|
+
case 1: {
|
|
24279
|
+
if (tag !== 10) {
|
|
24280
|
+
break;
|
|
24281
|
+
}
|
|
24282
|
+
message.functionCallId = reader.string();
|
|
24283
|
+
continue;
|
|
24284
|
+
}
|
|
24285
|
+
case 2: {
|
|
24286
|
+
if (tag !== 18) {
|
|
24287
|
+
break;
|
|
24288
|
+
}
|
|
24289
|
+
message.lastEntryId = reader.string();
|
|
24290
|
+
continue;
|
|
24291
|
+
}
|
|
24292
|
+
case 3: {
|
|
24293
|
+
if (tag !== 25) {
|
|
24294
|
+
break;
|
|
24295
|
+
}
|
|
24296
|
+
message.requestedAt = reader.double();
|
|
24297
|
+
continue;
|
|
24298
|
+
}
|
|
24299
|
+
case 4: {
|
|
24300
|
+
if (tag !== 37) {
|
|
24301
|
+
break;
|
|
24302
|
+
}
|
|
24303
|
+
message.timeout = reader.float();
|
|
24304
|
+
continue;
|
|
24305
|
+
}
|
|
24306
|
+
}
|
|
24307
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
24308
|
+
break;
|
|
24309
|
+
}
|
|
24310
|
+
reader.skip(tag & 7);
|
|
24311
|
+
}
|
|
24312
|
+
return message;
|
|
24313
|
+
},
|
|
24314
|
+
fromJSON(object) {
|
|
24315
|
+
return {
|
|
24316
|
+
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
|
|
24317
|
+
lastEntryId: isSet3(object.lastEntryId) ? globalThis.String(object.lastEntryId) : "",
|
|
24318
|
+
requestedAt: isSet3(object.requestedAt) ? globalThis.Number(object.requestedAt) : 0,
|
|
24319
|
+
timeout: isSet3(object.timeout) ? globalThis.Number(object.timeout) : 0
|
|
24320
|
+
};
|
|
24321
|
+
},
|
|
24322
|
+
toJSON(message) {
|
|
24323
|
+
const obj = {};
|
|
24324
|
+
if (message.functionCallId !== "") {
|
|
24325
|
+
obj.functionCallId = message.functionCallId;
|
|
24326
|
+
}
|
|
24327
|
+
if (message.lastEntryId !== "") {
|
|
24328
|
+
obj.lastEntryId = message.lastEntryId;
|
|
24329
|
+
}
|
|
24330
|
+
if (message.requestedAt !== 0) {
|
|
24331
|
+
obj.requestedAt = message.requestedAt;
|
|
24332
|
+
}
|
|
24333
|
+
if (message.timeout !== 0) {
|
|
24334
|
+
obj.timeout = message.timeout;
|
|
24335
|
+
}
|
|
24336
|
+
return obj;
|
|
24337
|
+
},
|
|
24338
|
+
create(base) {
|
|
24339
|
+
return MapAwaitRequest.fromPartial(base ?? {});
|
|
24340
|
+
},
|
|
24341
|
+
fromPartial(object) {
|
|
24342
|
+
const message = createBaseMapAwaitRequest();
|
|
24343
|
+
message.functionCallId = object.functionCallId ?? "";
|
|
24344
|
+
message.lastEntryId = object.lastEntryId ?? "";
|
|
24345
|
+
message.requestedAt = object.requestedAt ?? 0;
|
|
24346
|
+
message.timeout = object.timeout ?? 0;
|
|
24347
|
+
return message;
|
|
24348
|
+
}
|
|
24349
|
+
};
|
|
24350
|
+
function createBaseMapAwaitResponse() {
|
|
24351
|
+
return { outputs: [], lastEntryId: "" };
|
|
24352
|
+
}
|
|
24353
|
+
var MapAwaitResponse = {
|
|
24354
|
+
encode(message, writer = new BinaryWriter()) {
|
|
24355
|
+
for (const v of message.outputs) {
|
|
24356
|
+
FunctionGetOutputsItem.encode(v, writer.uint32(10).fork()).join();
|
|
24357
|
+
}
|
|
24358
|
+
if (message.lastEntryId !== "") {
|
|
24359
|
+
writer.uint32(18).string(message.lastEntryId);
|
|
24360
|
+
}
|
|
24361
|
+
return writer;
|
|
24362
|
+
},
|
|
24363
|
+
decode(input, length) {
|
|
24364
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
24365
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
24366
|
+
const message = createBaseMapAwaitResponse();
|
|
24367
|
+
while (reader.pos < end) {
|
|
24368
|
+
const tag = reader.uint32();
|
|
24369
|
+
switch (tag >>> 3) {
|
|
24370
|
+
case 1: {
|
|
24371
|
+
if (tag !== 10) {
|
|
24372
|
+
break;
|
|
24373
|
+
}
|
|
24374
|
+
message.outputs.push(FunctionGetOutputsItem.decode(reader, reader.uint32()));
|
|
24375
|
+
continue;
|
|
24376
|
+
}
|
|
24377
|
+
case 2: {
|
|
24378
|
+
if (tag !== 18) {
|
|
24379
|
+
break;
|
|
24380
|
+
}
|
|
24381
|
+
message.lastEntryId = reader.string();
|
|
24382
|
+
continue;
|
|
24383
|
+
}
|
|
24384
|
+
}
|
|
24385
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
24386
|
+
break;
|
|
24387
|
+
}
|
|
24388
|
+
reader.skip(tag & 7);
|
|
24389
|
+
}
|
|
24390
|
+
return message;
|
|
24391
|
+
},
|
|
24392
|
+
fromJSON(object) {
|
|
24393
|
+
return {
|
|
24394
|
+
outputs: globalThis.Array.isArray(object?.outputs) ? object.outputs.map((e) => FunctionGetOutputsItem.fromJSON(e)) : [],
|
|
24395
|
+
lastEntryId: isSet3(object.lastEntryId) ? globalThis.String(object.lastEntryId) : ""
|
|
24396
|
+
};
|
|
24397
|
+
},
|
|
24398
|
+
toJSON(message) {
|
|
24399
|
+
const obj = {};
|
|
24400
|
+
if (message.outputs?.length) {
|
|
24401
|
+
obj.outputs = message.outputs.map((e) => FunctionGetOutputsItem.toJSON(e));
|
|
24402
|
+
}
|
|
24403
|
+
if (message.lastEntryId !== "") {
|
|
24404
|
+
obj.lastEntryId = message.lastEntryId;
|
|
24405
|
+
}
|
|
24406
|
+
return obj;
|
|
24407
|
+
},
|
|
24408
|
+
create(base) {
|
|
24409
|
+
return MapAwaitResponse.fromPartial(base ?? {});
|
|
24410
|
+
},
|
|
24411
|
+
fromPartial(object) {
|
|
24412
|
+
const message = createBaseMapAwaitResponse();
|
|
24413
|
+
message.outputs = object.outputs?.map((e) => FunctionGetOutputsItem.fromPartial(e)) || [];
|
|
24414
|
+
message.lastEntryId = object.lastEntryId ?? "";
|
|
24415
|
+
return message;
|
|
24416
|
+
}
|
|
24417
|
+
};
|
|
24418
|
+
function createBaseMapCheckInputsRequest() {
|
|
24419
|
+
return { lastEntryId: "", timeout: 0, attemptTokens: [] };
|
|
24420
|
+
}
|
|
24421
|
+
var MapCheckInputsRequest = {
|
|
24422
|
+
encode(message, writer = new BinaryWriter()) {
|
|
24423
|
+
if (message.lastEntryId !== "") {
|
|
24424
|
+
writer.uint32(10).string(message.lastEntryId);
|
|
24425
|
+
}
|
|
24426
|
+
if (message.timeout !== 0) {
|
|
24427
|
+
writer.uint32(21).float(message.timeout);
|
|
24428
|
+
}
|
|
24429
|
+
for (const v of message.attemptTokens) {
|
|
24430
|
+
writer.uint32(26).string(v);
|
|
24431
|
+
}
|
|
24432
|
+
return writer;
|
|
24433
|
+
},
|
|
24434
|
+
decode(input, length) {
|
|
24435
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
24436
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
24437
|
+
const message = createBaseMapCheckInputsRequest();
|
|
24438
|
+
while (reader.pos < end) {
|
|
24439
|
+
const tag = reader.uint32();
|
|
24440
|
+
switch (tag >>> 3) {
|
|
24441
|
+
case 1: {
|
|
24442
|
+
if (tag !== 10) {
|
|
24443
|
+
break;
|
|
24444
|
+
}
|
|
24445
|
+
message.lastEntryId = reader.string();
|
|
24446
|
+
continue;
|
|
24447
|
+
}
|
|
24448
|
+
case 2: {
|
|
24449
|
+
if (tag !== 21) {
|
|
24450
|
+
break;
|
|
24451
|
+
}
|
|
24452
|
+
message.timeout = reader.float();
|
|
24453
|
+
continue;
|
|
24454
|
+
}
|
|
24455
|
+
case 3: {
|
|
24456
|
+
if (tag !== 26) {
|
|
24457
|
+
break;
|
|
24458
|
+
}
|
|
24459
|
+
message.attemptTokens.push(reader.string());
|
|
24460
|
+
continue;
|
|
24461
|
+
}
|
|
24462
|
+
}
|
|
24463
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
24464
|
+
break;
|
|
24465
|
+
}
|
|
24466
|
+
reader.skip(tag & 7);
|
|
24467
|
+
}
|
|
24468
|
+
return message;
|
|
24469
|
+
},
|
|
24470
|
+
fromJSON(object) {
|
|
24471
|
+
return {
|
|
24472
|
+
lastEntryId: isSet3(object.lastEntryId) ? globalThis.String(object.lastEntryId) : "",
|
|
24473
|
+
timeout: isSet3(object.timeout) ? globalThis.Number(object.timeout) : 0,
|
|
24474
|
+
attemptTokens: globalThis.Array.isArray(object?.attemptTokens) ? object.attemptTokens.map((e) => globalThis.String(e)) : []
|
|
24475
|
+
};
|
|
24476
|
+
},
|
|
24477
|
+
toJSON(message) {
|
|
24478
|
+
const obj = {};
|
|
24479
|
+
if (message.lastEntryId !== "") {
|
|
24480
|
+
obj.lastEntryId = message.lastEntryId;
|
|
24481
|
+
}
|
|
24482
|
+
if (message.timeout !== 0) {
|
|
24483
|
+
obj.timeout = message.timeout;
|
|
24484
|
+
}
|
|
24485
|
+
if (message.attemptTokens?.length) {
|
|
24486
|
+
obj.attemptTokens = message.attemptTokens;
|
|
24487
|
+
}
|
|
24488
|
+
return obj;
|
|
24489
|
+
},
|
|
24490
|
+
create(base) {
|
|
24491
|
+
return MapCheckInputsRequest.fromPartial(base ?? {});
|
|
24492
|
+
},
|
|
24493
|
+
fromPartial(object) {
|
|
24494
|
+
const message = createBaseMapCheckInputsRequest();
|
|
24495
|
+
message.lastEntryId = object.lastEntryId ?? "";
|
|
24496
|
+
message.timeout = object.timeout ?? 0;
|
|
24497
|
+
message.attemptTokens = object.attemptTokens?.map((e) => e) || [];
|
|
24498
|
+
return message;
|
|
24499
|
+
}
|
|
24500
|
+
};
|
|
24501
|
+
function createBaseMapCheckInputsResponse() {
|
|
24502
|
+
return { lost: [] };
|
|
24503
|
+
}
|
|
24504
|
+
var MapCheckInputsResponse = {
|
|
24505
|
+
encode(message, writer = new BinaryWriter()) {
|
|
24506
|
+
writer.uint32(10).fork();
|
|
24507
|
+
for (const v of message.lost) {
|
|
24508
|
+
writer.bool(v);
|
|
24509
|
+
}
|
|
24510
|
+
writer.join();
|
|
24511
|
+
return writer;
|
|
24512
|
+
},
|
|
24513
|
+
decode(input, length) {
|
|
24514
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
24515
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
24516
|
+
const message = createBaseMapCheckInputsResponse();
|
|
24517
|
+
while (reader.pos < end) {
|
|
24518
|
+
const tag = reader.uint32();
|
|
24519
|
+
switch (tag >>> 3) {
|
|
24520
|
+
case 1: {
|
|
24521
|
+
if (tag === 8) {
|
|
24522
|
+
message.lost.push(reader.bool());
|
|
24523
|
+
continue;
|
|
24524
|
+
}
|
|
24525
|
+
if (tag === 10) {
|
|
24526
|
+
const end2 = reader.uint32() + reader.pos;
|
|
24527
|
+
while (reader.pos < end2) {
|
|
24528
|
+
message.lost.push(reader.bool());
|
|
24529
|
+
}
|
|
24530
|
+
continue;
|
|
24531
|
+
}
|
|
24532
|
+
break;
|
|
24533
|
+
}
|
|
24534
|
+
}
|
|
24535
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
24536
|
+
break;
|
|
24537
|
+
}
|
|
24538
|
+
reader.skip(tag & 7);
|
|
24539
|
+
}
|
|
24540
|
+
return message;
|
|
24541
|
+
},
|
|
24542
|
+
fromJSON(object) {
|
|
24543
|
+
return { lost: globalThis.Array.isArray(object?.lost) ? object.lost.map((e) => globalThis.Boolean(e)) : [] };
|
|
24544
|
+
},
|
|
24545
|
+
toJSON(message) {
|
|
24546
|
+
const obj = {};
|
|
24547
|
+
if (message.lost?.length) {
|
|
24548
|
+
obj.lost = message.lost;
|
|
24549
|
+
}
|
|
24550
|
+
return obj;
|
|
24551
|
+
},
|
|
24552
|
+
create(base) {
|
|
24553
|
+
return MapCheckInputsResponse.fromPartial(base ?? {});
|
|
24554
|
+
},
|
|
24555
|
+
fromPartial(object) {
|
|
24556
|
+
const message = createBaseMapCheckInputsResponse();
|
|
24557
|
+
message.lost = object.lost?.map((e) => e) || [];
|
|
24558
|
+
return message;
|
|
24559
|
+
}
|
|
24560
|
+
};
|
|
24561
|
+
function createBaseMapStartOrContinueItem() {
|
|
24562
|
+
return { input: void 0, attemptToken: void 0 };
|
|
24563
|
+
}
|
|
24564
|
+
var MapStartOrContinueItem = {
|
|
24565
|
+
encode(message, writer = new BinaryWriter()) {
|
|
24566
|
+
if (message.input !== void 0) {
|
|
24567
|
+
FunctionPutInputsItem.encode(message.input, writer.uint32(10).fork()).join();
|
|
24568
|
+
}
|
|
24569
|
+
if (message.attemptToken !== void 0) {
|
|
24570
|
+
writer.uint32(18).string(message.attemptToken);
|
|
24571
|
+
}
|
|
24572
|
+
return writer;
|
|
24573
|
+
},
|
|
24574
|
+
decode(input, length) {
|
|
24575
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
24576
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
24577
|
+
const message = createBaseMapStartOrContinueItem();
|
|
24578
|
+
while (reader.pos < end) {
|
|
24579
|
+
const tag = reader.uint32();
|
|
24580
|
+
switch (tag >>> 3) {
|
|
24581
|
+
case 1: {
|
|
24582
|
+
if (tag !== 10) {
|
|
24583
|
+
break;
|
|
24584
|
+
}
|
|
24585
|
+
message.input = FunctionPutInputsItem.decode(reader, reader.uint32());
|
|
24586
|
+
continue;
|
|
24587
|
+
}
|
|
24588
|
+
case 2: {
|
|
24589
|
+
if (tag !== 18) {
|
|
24590
|
+
break;
|
|
24591
|
+
}
|
|
24592
|
+
message.attemptToken = reader.string();
|
|
24593
|
+
continue;
|
|
24594
|
+
}
|
|
24595
|
+
}
|
|
24596
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
24597
|
+
break;
|
|
24598
|
+
}
|
|
24599
|
+
reader.skip(tag & 7);
|
|
24600
|
+
}
|
|
24601
|
+
return message;
|
|
24602
|
+
},
|
|
24603
|
+
fromJSON(object) {
|
|
24604
|
+
return {
|
|
24605
|
+
input: isSet3(object.input) ? FunctionPutInputsItem.fromJSON(object.input) : void 0,
|
|
24606
|
+
attemptToken: isSet3(object.attemptToken) ? globalThis.String(object.attemptToken) : void 0
|
|
24607
|
+
};
|
|
24608
|
+
},
|
|
24609
|
+
toJSON(message) {
|
|
24610
|
+
const obj = {};
|
|
24611
|
+
if (message.input !== void 0) {
|
|
24612
|
+
obj.input = FunctionPutInputsItem.toJSON(message.input);
|
|
24613
|
+
}
|
|
24614
|
+
if (message.attemptToken !== void 0) {
|
|
24615
|
+
obj.attemptToken = message.attemptToken;
|
|
24616
|
+
}
|
|
24617
|
+
return obj;
|
|
24618
|
+
},
|
|
24619
|
+
create(base) {
|
|
24620
|
+
return MapStartOrContinueItem.fromPartial(base ?? {});
|
|
24621
|
+
},
|
|
24622
|
+
fromPartial(object) {
|
|
24623
|
+
const message = createBaseMapStartOrContinueItem();
|
|
24624
|
+
message.input = object.input !== void 0 && object.input !== null ? FunctionPutInputsItem.fromPartial(object.input) : void 0;
|
|
24625
|
+
message.attemptToken = object.attemptToken ?? void 0;
|
|
24626
|
+
return message;
|
|
24627
|
+
}
|
|
24628
|
+
};
|
|
24629
|
+
function createBaseMapStartOrContinueRequest() {
|
|
24630
|
+
return { functionId: "", parentInputId: "", functionCallId: void 0, items: [] };
|
|
24631
|
+
}
|
|
24632
|
+
var MapStartOrContinueRequest = {
|
|
24633
|
+
encode(message, writer = new BinaryWriter()) {
|
|
24634
|
+
if (message.functionId !== "") {
|
|
24635
|
+
writer.uint32(10).string(message.functionId);
|
|
24636
|
+
}
|
|
24637
|
+
if (message.parentInputId !== "") {
|
|
24638
|
+
writer.uint32(18).string(message.parentInputId);
|
|
24639
|
+
}
|
|
24640
|
+
if (message.functionCallId !== void 0) {
|
|
24641
|
+
writer.uint32(26).string(message.functionCallId);
|
|
24642
|
+
}
|
|
24643
|
+
for (const v of message.items) {
|
|
24644
|
+
MapStartOrContinueItem.encode(v, writer.uint32(34).fork()).join();
|
|
24645
|
+
}
|
|
24646
|
+
return writer;
|
|
24647
|
+
},
|
|
24648
|
+
decode(input, length) {
|
|
24649
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
24650
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
24651
|
+
const message = createBaseMapStartOrContinueRequest();
|
|
24652
|
+
while (reader.pos < end) {
|
|
24653
|
+
const tag = reader.uint32();
|
|
24654
|
+
switch (tag >>> 3) {
|
|
24655
|
+
case 1: {
|
|
24656
|
+
if (tag !== 10) {
|
|
24657
|
+
break;
|
|
24658
|
+
}
|
|
24659
|
+
message.functionId = reader.string();
|
|
24660
|
+
continue;
|
|
24661
|
+
}
|
|
24662
|
+
case 2: {
|
|
24663
|
+
if (tag !== 18) {
|
|
24664
|
+
break;
|
|
24665
|
+
}
|
|
24666
|
+
message.parentInputId = reader.string();
|
|
24667
|
+
continue;
|
|
24668
|
+
}
|
|
24669
|
+
case 3: {
|
|
24670
|
+
if (tag !== 26) {
|
|
24671
|
+
break;
|
|
24672
|
+
}
|
|
24673
|
+
message.functionCallId = reader.string();
|
|
24674
|
+
continue;
|
|
24675
|
+
}
|
|
24676
|
+
case 4: {
|
|
24677
|
+
if (tag !== 34) {
|
|
24678
|
+
break;
|
|
24679
|
+
}
|
|
24680
|
+
message.items.push(MapStartOrContinueItem.decode(reader, reader.uint32()));
|
|
24681
|
+
continue;
|
|
24682
|
+
}
|
|
24683
|
+
}
|
|
24684
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
24685
|
+
break;
|
|
24686
|
+
}
|
|
24687
|
+
reader.skip(tag & 7);
|
|
24688
|
+
}
|
|
24689
|
+
return message;
|
|
24690
|
+
},
|
|
24691
|
+
fromJSON(object) {
|
|
24692
|
+
return {
|
|
24693
|
+
functionId: isSet3(object.functionId) ? globalThis.String(object.functionId) : "",
|
|
24694
|
+
parentInputId: isSet3(object.parentInputId) ? globalThis.String(object.parentInputId) : "",
|
|
24695
|
+
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : void 0,
|
|
24696
|
+
items: globalThis.Array.isArray(object?.items) ? object.items.map((e) => MapStartOrContinueItem.fromJSON(e)) : []
|
|
24697
|
+
};
|
|
24698
|
+
},
|
|
24699
|
+
toJSON(message) {
|
|
24700
|
+
const obj = {};
|
|
24701
|
+
if (message.functionId !== "") {
|
|
24702
|
+
obj.functionId = message.functionId;
|
|
24703
|
+
}
|
|
24704
|
+
if (message.parentInputId !== "") {
|
|
24705
|
+
obj.parentInputId = message.parentInputId;
|
|
24706
|
+
}
|
|
24707
|
+
if (message.functionCallId !== void 0) {
|
|
24708
|
+
obj.functionCallId = message.functionCallId;
|
|
24709
|
+
}
|
|
24710
|
+
if (message.items?.length) {
|
|
24711
|
+
obj.items = message.items.map((e) => MapStartOrContinueItem.toJSON(e));
|
|
24712
|
+
}
|
|
24713
|
+
return obj;
|
|
24714
|
+
},
|
|
24715
|
+
create(base) {
|
|
24716
|
+
return MapStartOrContinueRequest.fromPartial(base ?? {});
|
|
24717
|
+
},
|
|
24718
|
+
fromPartial(object) {
|
|
24719
|
+
const message = createBaseMapStartOrContinueRequest();
|
|
24720
|
+
message.functionId = object.functionId ?? "";
|
|
24721
|
+
message.parentInputId = object.parentInputId ?? "";
|
|
24722
|
+
message.functionCallId = object.functionCallId ?? void 0;
|
|
24723
|
+
message.items = object.items?.map((e) => MapStartOrContinueItem.fromPartial(e)) || [];
|
|
24724
|
+
return message;
|
|
24725
|
+
}
|
|
24726
|
+
};
|
|
24727
|
+
function createBaseMapStartOrContinueResponse() {
|
|
24728
|
+
return { functionId: "", functionCallId: "", maxInputsOutstanding: 0, attemptTokens: [], retryPolicy: void 0 };
|
|
24729
|
+
}
|
|
24730
|
+
var MapStartOrContinueResponse = {
|
|
24731
|
+
encode(message, writer = new BinaryWriter()) {
|
|
24732
|
+
if (message.functionId !== "") {
|
|
24733
|
+
writer.uint32(10).string(message.functionId);
|
|
24734
|
+
}
|
|
24735
|
+
if (message.functionCallId !== "") {
|
|
24736
|
+
writer.uint32(18).string(message.functionCallId);
|
|
24737
|
+
}
|
|
24738
|
+
if (message.maxInputsOutstanding !== 0) {
|
|
24739
|
+
writer.uint32(24).uint32(message.maxInputsOutstanding);
|
|
24740
|
+
}
|
|
24741
|
+
for (const v of message.attemptTokens) {
|
|
24742
|
+
writer.uint32(34).string(v);
|
|
24743
|
+
}
|
|
24744
|
+
if (message.retryPolicy !== void 0) {
|
|
24745
|
+
FunctionRetryPolicy.encode(message.retryPolicy, writer.uint32(42).fork()).join();
|
|
24746
|
+
}
|
|
24747
|
+
return writer;
|
|
24748
|
+
},
|
|
24749
|
+
decode(input, length) {
|
|
24750
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
24751
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
24752
|
+
const message = createBaseMapStartOrContinueResponse();
|
|
24753
|
+
while (reader.pos < end) {
|
|
24754
|
+
const tag = reader.uint32();
|
|
24755
|
+
switch (tag >>> 3) {
|
|
24756
|
+
case 1: {
|
|
24757
|
+
if (tag !== 10) {
|
|
24758
|
+
break;
|
|
24759
|
+
}
|
|
24760
|
+
message.functionId = reader.string();
|
|
24761
|
+
continue;
|
|
24762
|
+
}
|
|
24763
|
+
case 2: {
|
|
24764
|
+
if (tag !== 18) {
|
|
24765
|
+
break;
|
|
24766
|
+
}
|
|
24767
|
+
message.functionCallId = reader.string();
|
|
24768
|
+
continue;
|
|
24769
|
+
}
|
|
24770
|
+
case 3: {
|
|
24771
|
+
if (tag !== 24) {
|
|
24772
|
+
break;
|
|
24773
|
+
}
|
|
24774
|
+
message.maxInputsOutstanding = reader.uint32();
|
|
24775
|
+
continue;
|
|
24776
|
+
}
|
|
24777
|
+
case 4: {
|
|
24778
|
+
if (tag !== 34) {
|
|
24779
|
+
break;
|
|
24780
|
+
}
|
|
24781
|
+
message.attemptTokens.push(reader.string());
|
|
24782
|
+
continue;
|
|
24783
|
+
}
|
|
24784
|
+
case 5: {
|
|
24785
|
+
if (tag !== 42) {
|
|
24786
|
+
break;
|
|
24787
|
+
}
|
|
24788
|
+
message.retryPolicy = FunctionRetryPolicy.decode(reader, reader.uint32());
|
|
24789
|
+
continue;
|
|
24790
|
+
}
|
|
24791
|
+
}
|
|
24792
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
24793
|
+
break;
|
|
24794
|
+
}
|
|
24795
|
+
reader.skip(tag & 7);
|
|
24796
|
+
}
|
|
24797
|
+
return message;
|
|
24798
|
+
},
|
|
24799
|
+
fromJSON(object) {
|
|
24800
|
+
return {
|
|
24801
|
+
functionId: isSet3(object.functionId) ? globalThis.String(object.functionId) : "",
|
|
24802
|
+
functionCallId: isSet3(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
|
|
24803
|
+
maxInputsOutstanding: isSet3(object.maxInputsOutstanding) ? globalThis.Number(object.maxInputsOutstanding) : 0,
|
|
24804
|
+
attemptTokens: globalThis.Array.isArray(object?.attemptTokens) ? object.attemptTokens.map((e) => globalThis.String(e)) : [],
|
|
24805
|
+
retryPolicy: isSet3(object.retryPolicy) ? FunctionRetryPolicy.fromJSON(object.retryPolicy) : void 0
|
|
24806
|
+
};
|
|
24807
|
+
},
|
|
24808
|
+
toJSON(message) {
|
|
24809
|
+
const obj = {};
|
|
24810
|
+
if (message.functionId !== "") {
|
|
24811
|
+
obj.functionId = message.functionId;
|
|
24812
|
+
}
|
|
24813
|
+
if (message.functionCallId !== "") {
|
|
24814
|
+
obj.functionCallId = message.functionCallId;
|
|
24815
|
+
}
|
|
24816
|
+
if (message.maxInputsOutstanding !== 0) {
|
|
24817
|
+
obj.maxInputsOutstanding = Math.round(message.maxInputsOutstanding);
|
|
24818
|
+
}
|
|
24819
|
+
if (message.attemptTokens?.length) {
|
|
24820
|
+
obj.attemptTokens = message.attemptTokens;
|
|
24821
|
+
}
|
|
24822
|
+
if (message.retryPolicy !== void 0) {
|
|
24823
|
+
obj.retryPolicy = FunctionRetryPolicy.toJSON(message.retryPolicy);
|
|
24824
|
+
}
|
|
24825
|
+
return obj;
|
|
24826
|
+
},
|
|
24827
|
+
create(base) {
|
|
24828
|
+
return MapStartOrContinueResponse.fromPartial(base ?? {});
|
|
24829
|
+
},
|
|
24830
|
+
fromPartial(object) {
|
|
24831
|
+
const message = createBaseMapStartOrContinueResponse();
|
|
24832
|
+
message.functionId = object.functionId ?? "";
|
|
24833
|
+
message.functionCallId = object.functionCallId ?? "";
|
|
24834
|
+
message.maxInputsOutstanding = object.maxInputsOutstanding ?? 0;
|
|
24835
|
+
message.attemptTokens = object.attemptTokens?.map((e) => e) || [];
|
|
24836
|
+
message.retryPolicy = object.retryPolicy !== void 0 && object.retryPolicy !== null ? FunctionRetryPolicy.fromPartial(object.retryPolicy) : void 0;
|
|
24837
|
+
return message;
|
|
24838
|
+
}
|
|
24839
|
+
};
|
|
23296
24840
|
function createBaseMethodDefinition() {
|
|
23297
24841
|
return {
|
|
23298
24842
|
functionName: "",
|
|
@@ -26314,13 +27858,16 @@ var QueueGetOrCreateRequest = {
|
|
|
26314
27858
|
}
|
|
26315
27859
|
};
|
|
26316
27860
|
function createBaseQueueGetOrCreateResponse() {
|
|
26317
|
-
return { queueId: "" };
|
|
27861
|
+
return { queueId: "", metadata: void 0 };
|
|
26318
27862
|
}
|
|
26319
27863
|
var QueueGetOrCreateResponse = {
|
|
26320
27864
|
encode(message, writer = new BinaryWriter()) {
|
|
26321
27865
|
if (message.queueId !== "") {
|
|
26322
27866
|
writer.uint32(10).string(message.queueId);
|
|
26323
27867
|
}
|
|
27868
|
+
if (message.metadata !== void 0) {
|
|
27869
|
+
QueueMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
|
|
27870
|
+
}
|
|
26324
27871
|
return writer;
|
|
26325
27872
|
},
|
|
26326
27873
|
decode(input, length) {
|
|
@@ -26337,6 +27884,13 @@ var QueueGetOrCreateResponse = {
|
|
|
26337
27884
|
message.queueId = reader.string();
|
|
26338
27885
|
continue;
|
|
26339
27886
|
}
|
|
27887
|
+
case 2: {
|
|
27888
|
+
if (tag !== 18) {
|
|
27889
|
+
break;
|
|
27890
|
+
}
|
|
27891
|
+
message.metadata = QueueMetadata.decode(reader, reader.uint32());
|
|
27892
|
+
continue;
|
|
27893
|
+
}
|
|
26340
27894
|
}
|
|
26341
27895
|
if ((tag & 7) === 4 || tag === 0) {
|
|
26342
27896
|
break;
|
|
@@ -26346,13 +27900,19 @@ var QueueGetOrCreateResponse = {
|
|
|
26346
27900
|
return message;
|
|
26347
27901
|
},
|
|
26348
27902
|
fromJSON(object) {
|
|
26349
|
-
return {
|
|
27903
|
+
return {
|
|
27904
|
+
queueId: isSet3(object.queueId) ? globalThis.String(object.queueId) : "",
|
|
27905
|
+
metadata: isSet3(object.metadata) ? QueueMetadata.fromJSON(object.metadata) : void 0
|
|
27906
|
+
};
|
|
26350
27907
|
},
|
|
26351
27908
|
toJSON(message) {
|
|
26352
27909
|
const obj = {};
|
|
26353
27910
|
if (message.queueId !== "") {
|
|
26354
27911
|
obj.queueId = message.queueId;
|
|
26355
27912
|
}
|
|
27913
|
+
if (message.metadata !== void 0) {
|
|
27914
|
+
obj.metadata = QueueMetadata.toJSON(message.metadata);
|
|
27915
|
+
}
|
|
26356
27916
|
return obj;
|
|
26357
27917
|
},
|
|
26358
27918
|
create(base) {
|
|
@@ -26361,6 +27921,7 @@ var QueueGetOrCreateResponse = {
|
|
|
26361
27921
|
fromPartial(object) {
|
|
26362
27922
|
const message = createBaseQueueGetOrCreateResponse();
|
|
26363
27923
|
message.queueId = object.queueId ?? "";
|
|
27924
|
+
message.metadata = object.metadata !== void 0 && object.metadata !== null ? QueueMetadata.fromPartial(object.metadata) : void 0;
|
|
26364
27925
|
return message;
|
|
26365
27926
|
}
|
|
26366
27927
|
};
|
|
@@ -26769,7 +28330,7 @@ var QueueLenResponse = {
|
|
|
26769
28330
|
}
|
|
26770
28331
|
};
|
|
26771
28332
|
function createBaseQueueListRequest() {
|
|
26772
|
-
return { environmentName: "", totalSizeLimit: 0 };
|
|
28333
|
+
return { environmentName: "", totalSizeLimit: 0, pagination: void 0 };
|
|
26773
28334
|
}
|
|
26774
28335
|
var QueueListRequest = {
|
|
26775
28336
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -26779,6 +28340,9 @@ var QueueListRequest = {
|
|
|
26779
28340
|
if (message.totalSizeLimit !== 0) {
|
|
26780
28341
|
writer.uint32(16).int32(message.totalSizeLimit);
|
|
26781
28342
|
}
|
|
28343
|
+
if (message.pagination !== void 0) {
|
|
28344
|
+
ListPagination.encode(message.pagination, writer.uint32(26).fork()).join();
|
|
28345
|
+
}
|
|
26782
28346
|
return writer;
|
|
26783
28347
|
},
|
|
26784
28348
|
decode(input, length) {
|
|
@@ -26802,6 +28366,13 @@ var QueueListRequest = {
|
|
|
26802
28366
|
message.totalSizeLimit = reader.int32();
|
|
26803
28367
|
continue;
|
|
26804
28368
|
}
|
|
28369
|
+
case 3: {
|
|
28370
|
+
if (tag !== 26) {
|
|
28371
|
+
break;
|
|
28372
|
+
}
|
|
28373
|
+
message.pagination = ListPagination.decode(reader, reader.uint32());
|
|
28374
|
+
continue;
|
|
28375
|
+
}
|
|
26805
28376
|
}
|
|
26806
28377
|
if ((tag & 7) === 4 || tag === 0) {
|
|
26807
28378
|
break;
|
|
@@ -26813,7 +28384,8 @@ var QueueListRequest = {
|
|
|
26813
28384
|
fromJSON(object) {
|
|
26814
28385
|
return {
|
|
26815
28386
|
environmentName: isSet3(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
26816
|
-
totalSizeLimit: isSet3(object.totalSizeLimit) ? globalThis.Number(object.totalSizeLimit) : 0
|
|
28387
|
+
totalSizeLimit: isSet3(object.totalSizeLimit) ? globalThis.Number(object.totalSizeLimit) : 0,
|
|
28388
|
+
pagination: isSet3(object.pagination) ? ListPagination.fromJSON(object.pagination) : void 0
|
|
26817
28389
|
};
|
|
26818
28390
|
},
|
|
26819
28391
|
toJSON(message) {
|
|
@@ -26824,6 +28396,9 @@ var QueueListRequest = {
|
|
|
26824
28396
|
if (message.totalSizeLimit !== 0) {
|
|
26825
28397
|
obj.totalSizeLimit = Math.round(message.totalSizeLimit);
|
|
26826
28398
|
}
|
|
28399
|
+
if (message.pagination !== void 0) {
|
|
28400
|
+
obj.pagination = ListPagination.toJSON(message.pagination);
|
|
28401
|
+
}
|
|
26827
28402
|
return obj;
|
|
26828
28403
|
},
|
|
26829
28404
|
create(base) {
|
|
@@ -26833,17 +28408,21 @@ var QueueListRequest = {
|
|
|
26833
28408
|
const message = createBaseQueueListRequest();
|
|
26834
28409
|
message.environmentName = object.environmentName ?? "";
|
|
26835
28410
|
message.totalSizeLimit = object.totalSizeLimit ?? 0;
|
|
28411
|
+
message.pagination = object.pagination !== void 0 && object.pagination !== null ? ListPagination.fromPartial(object.pagination) : void 0;
|
|
26836
28412
|
return message;
|
|
26837
28413
|
}
|
|
26838
28414
|
};
|
|
26839
28415
|
function createBaseQueueListResponse() {
|
|
26840
|
-
return { queues: [] };
|
|
28416
|
+
return { queues: [], environmentName: "" };
|
|
26841
28417
|
}
|
|
26842
28418
|
var QueueListResponse = {
|
|
26843
28419
|
encode(message, writer = new BinaryWriter()) {
|
|
26844
28420
|
for (const v of message.queues) {
|
|
26845
28421
|
QueueListResponse_QueueInfo.encode(v, writer.uint32(10).fork()).join();
|
|
26846
28422
|
}
|
|
28423
|
+
if (message.environmentName !== "") {
|
|
28424
|
+
writer.uint32(18).string(message.environmentName);
|
|
28425
|
+
}
|
|
26847
28426
|
return writer;
|
|
26848
28427
|
},
|
|
26849
28428
|
decode(input, length) {
|
|
@@ -26860,6 +28439,13 @@ var QueueListResponse = {
|
|
|
26860
28439
|
message.queues.push(QueueListResponse_QueueInfo.decode(reader, reader.uint32()));
|
|
26861
28440
|
continue;
|
|
26862
28441
|
}
|
|
28442
|
+
case 2: {
|
|
28443
|
+
if (tag !== 18) {
|
|
28444
|
+
break;
|
|
28445
|
+
}
|
|
28446
|
+
message.environmentName = reader.string();
|
|
28447
|
+
continue;
|
|
28448
|
+
}
|
|
26863
28449
|
}
|
|
26864
28450
|
if ((tag & 7) === 4 || tag === 0) {
|
|
26865
28451
|
break;
|
|
@@ -26870,7 +28456,8 @@ var QueueListResponse = {
|
|
|
26870
28456
|
},
|
|
26871
28457
|
fromJSON(object) {
|
|
26872
28458
|
return {
|
|
26873
|
-
queues: globalThis.Array.isArray(object?.queues) ? object.queues.map((e) => QueueListResponse_QueueInfo.fromJSON(e)) : []
|
|
28459
|
+
queues: globalThis.Array.isArray(object?.queues) ? object.queues.map((e) => QueueListResponse_QueueInfo.fromJSON(e)) : [],
|
|
28460
|
+
environmentName: isSet3(object.environmentName) ? globalThis.String(object.environmentName) : ""
|
|
26874
28461
|
};
|
|
26875
28462
|
},
|
|
26876
28463
|
toJSON(message) {
|
|
@@ -26878,6 +28465,9 @@ var QueueListResponse = {
|
|
|
26878
28465
|
if (message.queues?.length) {
|
|
26879
28466
|
obj.queues = message.queues.map((e) => QueueListResponse_QueueInfo.toJSON(e));
|
|
26880
28467
|
}
|
|
28468
|
+
if (message.environmentName !== "") {
|
|
28469
|
+
obj.environmentName = message.environmentName;
|
|
28470
|
+
}
|
|
26881
28471
|
return obj;
|
|
26882
28472
|
},
|
|
26883
28473
|
create(base) {
|
|
@@ -26886,11 +28476,12 @@ var QueueListResponse = {
|
|
|
26886
28476
|
fromPartial(object) {
|
|
26887
28477
|
const message = createBaseQueueListResponse();
|
|
26888
28478
|
message.queues = object.queues?.map((e) => QueueListResponse_QueueInfo.fromPartial(e)) || [];
|
|
28479
|
+
message.environmentName = object.environmentName ?? "";
|
|
26889
28480
|
return message;
|
|
26890
28481
|
}
|
|
26891
28482
|
};
|
|
26892
28483
|
function createBaseQueueListResponse_QueueInfo() {
|
|
26893
|
-
return { name: "", createdAt: 0, numPartitions: 0, totalSize: 0 };
|
|
28484
|
+
return { name: "", createdAt: 0, numPartitions: 0, totalSize: 0, queueId: "", metadata: void 0 };
|
|
26894
28485
|
}
|
|
26895
28486
|
var QueueListResponse_QueueInfo = {
|
|
26896
28487
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -26906,6 +28497,12 @@ var QueueListResponse_QueueInfo = {
|
|
|
26906
28497
|
if (message.totalSize !== 0) {
|
|
26907
28498
|
writer.uint32(32).int32(message.totalSize);
|
|
26908
28499
|
}
|
|
28500
|
+
if (message.queueId !== "") {
|
|
28501
|
+
writer.uint32(42).string(message.queueId);
|
|
28502
|
+
}
|
|
28503
|
+
if (message.metadata !== void 0) {
|
|
28504
|
+
QueueMetadata.encode(message.metadata, writer.uint32(50).fork()).join();
|
|
28505
|
+
}
|
|
26909
28506
|
return writer;
|
|
26910
28507
|
},
|
|
26911
28508
|
decode(input, length) {
|
|
@@ -26943,6 +28540,20 @@ var QueueListResponse_QueueInfo = {
|
|
|
26943
28540
|
message.totalSize = reader.int32();
|
|
26944
28541
|
continue;
|
|
26945
28542
|
}
|
|
28543
|
+
case 5: {
|
|
28544
|
+
if (tag !== 42) {
|
|
28545
|
+
break;
|
|
28546
|
+
}
|
|
28547
|
+
message.queueId = reader.string();
|
|
28548
|
+
continue;
|
|
28549
|
+
}
|
|
28550
|
+
case 6: {
|
|
28551
|
+
if (tag !== 50) {
|
|
28552
|
+
break;
|
|
28553
|
+
}
|
|
28554
|
+
message.metadata = QueueMetadata.decode(reader, reader.uint32());
|
|
28555
|
+
continue;
|
|
28556
|
+
}
|
|
26946
28557
|
}
|
|
26947
28558
|
if ((tag & 7) === 4 || tag === 0) {
|
|
26948
28559
|
break;
|
|
@@ -26956,7 +28567,9 @@ var QueueListResponse_QueueInfo = {
|
|
|
26956
28567
|
name: isSet3(object.name) ? globalThis.String(object.name) : "",
|
|
26957
28568
|
createdAt: isSet3(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
26958
28569
|
numPartitions: isSet3(object.numPartitions) ? globalThis.Number(object.numPartitions) : 0,
|
|
26959
|
-
totalSize: isSet3(object.totalSize) ? globalThis.Number(object.totalSize) : 0
|
|
28570
|
+
totalSize: isSet3(object.totalSize) ? globalThis.Number(object.totalSize) : 0,
|
|
28571
|
+
queueId: isSet3(object.queueId) ? globalThis.String(object.queueId) : "",
|
|
28572
|
+
metadata: isSet3(object.metadata) ? QueueMetadata.fromJSON(object.metadata) : void 0
|
|
26960
28573
|
};
|
|
26961
28574
|
},
|
|
26962
28575
|
toJSON(message) {
|
|
@@ -26973,6 +28586,12 @@ var QueueListResponse_QueueInfo = {
|
|
|
26973
28586
|
if (message.totalSize !== 0) {
|
|
26974
28587
|
obj.totalSize = Math.round(message.totalSize);
|
|
26975
28588
|
}
|
|
28589
|
+
if (message.queueId !== "") {
|
|
28590
|
+
obj.queueId = message.queueId;
|
|
28591
|
+
}
|
|
28592
|
+
if (message.metadata !== void 0) {
|
|
28593
|
+
obj.metadata = QueueMetadata.toJSON(message.metadata);
|
|
28594
|
+
}
|
|
26976
28595
|
return obj;
|
|
26977
28596
|
},
|
|
26978
28597
|
create(base) {
|
|
@@ -26984,6 +28603,76 @@ var QueueListResponse_QueueInfo = {
|
|
|
26984
28603
|
message.createdAt = object.createdAt ?? 0;
|
|
26985
28604
|
message.numPartitions = object.numPartitions ?? 0;
|
|
26986
28605
|
message.totalSize = object.totalSize ?? 0;
|
|
28606
|
+
message.queueId = object.queueId ?? "";
|
|
28607
|
+
message.metadata = object.metadata !== void 0 && object.metadata !== null ? QueueMetadata.fromPartial(object.metadata) : void 0;
|
|
28608
|
+
return message;
|
|
28609
|
+
}
|
|
28610
|
+
};
|
|
28611
|
+
function createBaseQueueMetadata() {
|
|
28612
|
+
return { name: "", creationInfo: void 0 };
|
|
28613
|
+
}
|
|
28614
|
+
var QueueMetadata = {
|
|
28615
|
+
encode(message, writer = new BinaryWriter()) {
|
|
28616
|
+
if (message.name !== "") {
|
|
28617
|
+
writer.uint32(10).string(message.name);
|
|
28618
|
+
}
|
|
28619
|
+
if (message.creationInfo !== void 0) {
|
|
28620
|
+
CreationInfo.encode(message.creationInfo, writer.uint32(18).fork()).join();
|
|
28621
|
+
}
|
|
28622
|
+
return writer;
|
|
28623
|
+
},
|
|
28624
|
+
decode(input, length) {
|
|
28625
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
28626
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
28627
|
+
const message = createBaseQueueMetadata();
|
|
28628
|
+
while (reader.pos < end) {
|
|
28629
|
+
const tag = reader.uint32();
|
|
28630
|
+
switch (tag >>> 3) {
|
|
28631
|
+
case 1: {
|
|
28632
|
+
if (tag !== 10) {
|
|
28633
|
+
break;
|
|
28634
|
+
}
|
|
28635
|
+
message.name = reader.string();
|
|
28636
|
+
continue;
|
|
28637
|
+
}
|
|
28638
|
+
case 2: {
|
|
28639
|
+
if (tag !== 18) {
|
|
28640
|
+
break;
|
|
28641
|
+
}
|
|
28642
|
+
message.creationInfo = CreationInfo.decode(reader, reader.uint32());
|
|
28643
|
+
continue;
|
|
28644
|
+
}
|
|
28645
|
+
}
|
|
28646
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
28647
|
+
break;
|
|
28648
|
+
}
|
|
28649
|
+
reader.skip(tag & 7);
|
|
28650
|
+
}
|
|
28651
|
+
return message;
|
|
28652
|
+
},
|
|
28653
|
+
fromJSON(object) {
|
|
28654
|
+
return {
|
|
28655
|
+
name: isSet3(object.name) ? globalThis.String(object.name) : "",
|
|
28656
|
+
creationInfo: isSet3(object.creationInfo) ? CreationInfo.fromJSON(object.creationInfo) : void 0
|
|
28657
|
+
};
|
|
28658
|
+
},
|
|
28659
|
+
toJSON(message) {
|
|
28660
|
+
const obj = {};
|
|
28661
|
+
if (message.name !== "") {
|
|
28662
|
+
obj.name = message.name;
|
|
28663
|
+
}
|
|
28664
|
+
if (message.creationInfo !== void 0) {
|
|
28665
|
+
obj.creationInfo = CreationInfo.toJSON(message.creationInfo);
|
|
28666
|
+
}
|
|
28667
|
+
return obj;
|
|
28668
|
+
},
|
|
28669
|
+
create(base) {
|
|
28670
|
+
return QueueMetadata.fromPartial(base ?? {});
|
|
28671
|
+
},
|
|
28672
|
+
fromPartial(object) {
|
|
28673
|
+
const message = createBaseQueueMetadata();
|
|
28674
|
+
message.name = object.name ?? "";
|
|
28675
|
+
message.creationInfo = object.creationInfo !== void 0 && object.creationInfo !== null ? CreationInfo.fromPartial(object.creationInfo) : void 0;
|
|
26987
28676
|
return message;
|
|
26988
28677
|
}
|
|
26989
28678
|
};
|
|
@@ -27875,7 +29564,11 @@ function createBaseSandbox() {
|
|
|
27875
29564
|
cloudProviderStr: "",
|
|
27876
29565
|
runscRuntimeVersion: void 0,
|
|
27877
29566
|
runtime: void 0,
|
|
27878
|
-
verbose: false
|
|
29567
|
+
verbose: false,
|
|
29568
|
+
name: void 0,
|
|
29569
|
+
experimentalOptions: {},
|
|
29570
|
+
preloadPathPrefixes: [],
|
|
29571
|
+
idleTimeoutSecs: void 0
|
|
27879
29572
|
};
|
|
27880
29573
|
}
|
|
27881
29574
|
var Sandbox = {
|
|
@@ -27961,6 +29654,18 @@ var Sandbox = {
|
|
|
27961
29654
|
if (message.verbose !== false) {
|
|
27962
29655
|
writer.uint32(232).bool(message.verbose);
|
|
27963
29656
|
}
|
|
29657
|
+
if (message.name !== void 0) {
|
|
29658
|
+
writer.uint32(242).string(message.name);
|
|
29659
|
+
}
|
|
29660
|
+
Object.entries(message.experimentalOptions).forEach(([key, value]) => {
|
|
29661
|
+
Sandbox_ExperimentalOptionsEntry.encode({ key, value }, writer.uint32(250).fork()).join();
|
|
29662
|
+
});
|
|
29663
|
+
for (const v of message.preloadPathPrefixes) {
|
|
29664
|
+
writer.uint32(258).string(v);
|
|
29665
|
+
}
|
|
29666
|
+
if (message.idleTimeoutSecs !== void 0) {
|
|
29667
|
+
writer.uint32(264).uint32(message.idleTimeoutSecs);
|
|
29668
|
+
}
|
|
27964
29669
|
return writer;
|
|
27965
29670
|
},
|
|
27966
29671
|
decode(input, length) {
|
|
@@ -28159,6 +29864,37 @@ var Sandbox = {
|
|
|
28159
29864
|
message.verbose = reader.bool();
|
|
28160
29865
|
continue;
|
|
28161
29866
|
}
|
|
29867
|
+
case 30: {
|
|
29868
|
+
if (tag !== 242) {
|
|
29869
|
+
break;
|
|
29870
|
+
}
|
|
29871
|
+
message.name = reader.string();
|
|
29872
|
+
continue;
|
|
29873
|
+
}
|
|
29874
|
+
case 31: {
|
|
29875
|
+
if (tag !== 250) {
|
|
29876
|
+
break;
|
|
29877
|
+
}
|
|
29878
|
+
const entry31 = Sandbox_ExperimentalOptionsEntry.decode(reader, reader.uint32());
|
|
29879
|
+
if (entry31.value !== void 0) {
|
|
29880
|
+
message.experimentalOptions[entry31.key] = entry31.value;
|
|
29881
|
+
}
|
|
29882
|
+
continue;
|
|
29883
|
+
}
|
|
29884
|
+
case 32: {
|
|
29885
|
+
if (tag !== 258) {
|
|
29886
|
+
break;
|
|
29887
|
+
}
|
|
29888
|
+
message.preloadPathPrefixes.push(reader.string());
|
|
29889
|
+
continue;
|
|
29890
|
+
}
|
|
29891
|
+
case 33: {
|
|
29892
|
+
if (tag !== 264) {
|
|
29893
|
+
break;
|
|
29894
|
+
}
|
|
29895
|
+
message.idleTimeoutSecs = reader.uint32();
|
|
29896
|
+
continue;
|
|
29897
|
+
}
|
|
28162
29898
|
}
|
|
28163
29899
|
if ((tag & 7) === 4 || tag === 0) {
|
|
28164
29900
|
break;
|
|
@@ -28195,7 +29931,14 @@ var Sandbox = {
|
|
|
28195
29931
|
cloudProviderStr: isSet3(object.cloudProviderStr) ? globalThis.String(object.cloudProviderStr) : "",
|
|
28196
29932
|
runscRuntimeVersion: isSet3(object.runscRuntimeVersion) ? globalThis.String(object.runscRuntimeVersion) : void 0,
|
|
28197
29933
|
runtime: isSet3(object.runtime) ? globalThis.String(object.runtime) : void 0,
|
|
28198
|
-
verbose: isSet3(object.verbose) ? globalThis.Boolean(object.verbose) : false
|
|
29934
|
+
verbose: isSet3(object.verbose) ? globalThis.Boolean(object.verbose) : false,
|
|
29935
|
+
name: isSet3(object.name) ? globalThis.String(object.name) : void 0,
|
|
29936
|
+
experimentalOptions: isObject2(object.experimentalOptions) ? Object.entries(object.experimentalOptions).reduce((acc, [key, value]) => {
|
|
29937
|
+
acc[key] = Boolean(value);
|
|
29938
|
+
return acc;
|
|
29939
|
+
}, {}) : {},
|
|
29940
|
+
preloadPathPrefixes: globalThis.Array.isArray(object?.preloadPathPrefixes) ? object.preloadPathPrefixes.map((e) => globalThis.String(e)) : [],
|
|
29941
|
+
idleTimeoutSecs: isSet3(object.idleTimeoutSecs) ? globalThis.Number(object.idleTimeoutSecs) : void 0
|
|
28199
29942
|
};
|
|
28200
29943
|
},
|
|
28201
29944
|
toJSON(message) {
|
|
@@ -28281,6 +30024,24 @@ var Sandbox = {
|
|
|
28281
30024
|
if (message.verbose !== false) {
|
|
28282
30025
|
obj.verbose = message.verbose;
|
|
28283
30026
|
}
|
|
30027
|
+
if (message.name !== void 0) {
|
|
30028
|
+
obj.name = message.name;
|
|
30029
|
+
}
|
|
30030
|
+
if (message.experimentalOptions) {
|
|
30031
|
+
const entries = Object.entries(message.experimentalOptions);
|
|
30032
|
+
if (entries.length > 0) {
|
|
30033
|
+
obj.experimentalOptions = {};
|
|
30034
|
+
entries.forEach(([k, v]) => {
|
|
30035
|
+
obj.experimentalOptions[k] = v;
|
|
30036
|
+
});
|
|
30037
|
+
}
|
|
30038
|
+
}
|
|
30039
|
+
if (message.preloadPathPrefixes?.length) {
|
|
30040
|
+
obj.preloadPathPrefixes = message.preloadPathPrefixes;
|
|
30041
|
+
}
|
|
30042
|
+
if (message.idleTimeoutSecs !== void 0) {
|
|
30043
|
+
obj.idleTimeoutSecs = Math.round(message.idleTimeoutSecs);
|
|
30044
|
+
}
|
|
28284
30045
|
return obj;
|
|
28285
30046
|
},
|
|
28286
30047
|
create(base) {
|
|
@@ -28315,6 +30076,86 @@ var Sandbox = {
|
|
|
28315
30076
|
message.runscRuntimeVersion = object.runscRuntimeVersion ?? void 0;
|
|
28316
30077
|
message.runtime = object.runtime ?? void 0;
|
|
28317
30078
|
message.verbose = object.verbose ?? false;
|
|
30079
|
+
message.name = object.name ?? void 0;
|
|
30080
|
+
message.experimentalOptions = Object.entries(object.experimentalOptions ?? {}).reduce(
|
|
30081
|
+
(acc, [key, value]) => {
|
|
30082
|
+
if (value !== void 0) {
|
|
30083
|
+
acc[key] = globalThis.Boolean(value);
|
|
30084
|
+
}
|
|
30085
|
+
return acc;
|
|
30086
|
+
},
|
|
30087
|
+
{}
|
|
30088
|
+
);
|
|
30089
|
+
message.preloadPathPrefixes = object.preloadPathPrefixes?.map((e) => e) || [];
|
|
30090
|
+
message.idleTimeoutSecs = object.idleTimeoutSecs ?? void 0;
|
|
30091
|
+
return message;
|
|
30092
|
+
}
|
|
30093
|
+
};
|
|
30094
|
+
function createBaseSandbox_ExperimentalOptionsEntry() {
|
|
30095
|
+
return { key: "", value: false };
|
|
30096
|
+
}
|
|
30097
|
+
var Sandbox_ExperimentalOptionsEntry = {
|
|
30098
|
+
encode(message, writer = new BinaryWriter()) {
|
|
30099
|
+
if (message.key !== "") {
|
|
30100
|
+
writer.uint32(10).string(message.key);
|
|
30101
|
+
}
|
|
30102
|
+
if (message.value !== false) {
|
|
30103
|
+
writer.uint32(16).bool(message.value);
|
|
30104
|
+
}
|
|
30105
|
+
return writer;
|
|
30106
|
+
},
|
|
30107
|
+
decode(input, length) {
|
|
30108
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
30109
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
30110
|
+
const message = createBaseSandbox_ExperimentalOptionsEntry();
|
|
30111
|
+
while (reader.pos < end) {
|
|
30112
|
+
const tag = reader.uint32();
|
|
30113
|
+
switch (tag >>> 3) {
|
|
30114
|
+
case 1: {
|
|
30115
|
+
if (tag !== 10) {
|
|
30116
|
+
break;
|
|
30117
|
+
}
|
|
30118
|
+
message.key = reader.string();
|
|
30119
|
+
continue;
|
|
30120
|
+
}
|
|
30121
|
+
case 2: {
|
|
30122
|
+
if (tag !== 16) {
|
|
30123
|
+
break;
|
|
30124
|
+
}
|
|
30125
|
+
message.value = reader.bool();
|
|
30126
|
+
continue;
|
|
30127
|
+
}
|
|
30128
|
+
}
|
|
30129
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
30130
|
+
break;
|
|
30131
|
+
}
|
|
30132
|
+
reader.skip(tag & 7);
|
|
30133
|
+
}
|
|
30134
|
+
return message;
|
|
30135
|
+
},
|
|
30136
|
+
fromJSON(object) {
|
|
30137
|
+
return {
|
|
30138
|
+
key: isSet3(object.key) ? globalThis.String(object.key) : "",
|
|
30139
|
+
value: isSet3(object.value) ? globalThis.Boolean(object.value) : false
|
|
30140
|
+
};
|
|
30141
|
+
},
|
|
30142
|
+
toJSON(message) {
|
|
30143
|
+
const obj = {};
|
|
30144
|
+
if (message.key !== "") {
|
|
30145
|
+
obj.key = message.key;
|
|
30146
|
+
}
|
|
30147
|
+
if (message.value !== false) {
|
|
30148
|
+
obj.value = message.value;
|
|
30149
|
+
}
|
|
30150
|
+
return obj;
|
|
30151
|
+
},
|
|
30152
|
+
create(base) {
|
|
30153
|
+
return Sandbox_ExperimentalOptionsEntry.fromPartial(base ?? {});
|
|
30154
|
+
},
|
|
30155
|
+
fromPartial(object) {
|
|
30156
|
+
const message = createBaseSandbox_ExperimentalOptionsEntry();
|
|
30157
|
+
message.key = object.key ?? "";
|
|
30158
|
+
message.value = object.value ?? false;
|
|
28318
30159
|
return message;
|
|
28319
30160
|
}
|
|
28320
30161
|
};
|
|
@@ -28452,6 +30293,140 @@ var SandboxCreateResponse = {
|
|
|
28452
30293
|
return message;
|
|
28453
30294
|
}
|
|
28454
30295
|
};
|
|
30296
|
+
function createBaseSandboxGetFromNameRequest() {
|
|
30297
|
+
return { sandboxName: "", environmentName: "", appName: "" };
|
|
30298
|
+
}
|
|
30299
|
+
var SandboxGetFromNameRequest = {
|
|
30300
|
+
encode(message, writer = new BinaryWriter()) {
|
|
30301
|
+
if (message.sandboxName !== "") {
|
|
30302
|
+
writer.uint32(10).string(message.sandboxName);
|
|
30303
|
+
}
|
|
30304
|
+
if (message.environmentName !== "") {
|
|
30305
|
+
writer.uint32(18).string(message.environmentName);
|
|
30306
|
+
}
|
|
30307
|
+
if (message.appName !== "") {
|
|
30308
|
+
writer.uint32(26).string(message.appName);
|
|
30309
|
+
}
|
|
30310
|
+
return writer;
|
|
30311
|
+
},
|
|
30312
|
+
decode(input, length) {
|
|
30313
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
30314
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
30315
|
+
const message = createBaseSandboxGetFromNameRequest();
|
|
30316
|
+
while (reader.pos < end) {
|
|
30317
|
+
const tag = reader.uint32();
|
|
30318
|
+
switch (tag >>> 3) {
|
|
30319
|
+
case 1: {
|
|
30320
|
+
if (tag !== 10) {
|
|
30321
|
+
break;
|
|
30322
|
+
}
|
|
30323
|
+
message.sandboxName = reader.string();
|
|
30324
|
+
continue;
|
|
30325
|
+
}
|
|
30326
|
+
case 2: {
|
|
30327
|
+
if (tag !== 18) {
|
|
30328
|
+
break;
|
|
30329
|
+
}
|
|
30330
|
+
message.environmentName = reader.string();
|
|
30331
|
+
continue;
|
|
30332
|
+
}
|
|
30333
|
+
case 3: {
|
|
30334
|
+
if (tag !== 26) {
|
|
30335
|
+
break;
|
|
30336
|
+
}
|
|
30337
|
+
message.appName = reader.string();
|
|
30338
|
+
continue;
|
|
30339
|
+
}
|
|
30340
|
+
}
|
|
30341
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
30342
|
+
break;
|
|
30343
|
+
}
|
|
30344
|
+
reader.skip(tag & 7);
|
|
30345
|
+
}
|
|
30346
|
+
return message;
|
|
30347
|
+
},
|
|
30348
|
+
fromJSON(object) {
|
|
30349
|
+
return {
|
|
30350
|
+
sandboxName: isSet3(object.sandboxName) ? globalThis.String(object.sandboxName) : "",
|
|
30351
|
+
environmentName: isSet3(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
30352
|
+
appName: isSet3(object.appName) ? globalThis.String(object.appName) : ""
|
|
30353
|
+
};
|
|
30354
|
+
},
|
|
30355
|
+
toJSON(message) {
|
|
30356
|
+
const obj = {};
|
|
30357
|
+
if (message.sandboxName !== "") {
|
|
30358
|
+
obj.sandboxName = message.sandboxName;
|
|
30359
|
+
}
|
|
30360
|
+
if (message.environmentName !== "") {
|
|
30361
|
+
obj.environmentName = message.environmentName;
|
|
30362
|
+
}
|
|
30363
|
+
if (message.appName !== "") {
|
|
30364
|
+
obj.appName = message.appName;
|
|
30365
|
+
}
|
|
30366
|
+
return obj;
|
|
30367
|
+
},
|
|
30368
|
+
create(base) {
|
|
30369
|
+
return SandboxGetFromNameRequest.fromPartial(base ?? {});
|
|
30370
|
+
},
|
|
30371
|
+
fromPartial(object) {
|
|
30372
|
+
const message = createBaseSandboxGetFromNameRequest();
|
|
30373
|
+
message.sandboxName = object.sandboxName ?? "";
|
|
30374
|
+
message.environmentName = object.environmentName ?? "";
|
|
30375
|
+
message.appName = object.appName ?? "";
|
|
30376
|
+
return message;
|
|
30377
|
+
}
|
|
30378
|
+
};
|
|
30379
|
+
function createBaseSandboxGetFromNameResponse() {
|
|
30380
|
+
return { sandboxId: "" };
|
|
30381
|
+
}
|
|
30382
|
+
var SandboxGetFromNameResponse = {
|
|
30383
|
+
encode(message, writer = new BinaryWriter()) {
|
|
30384
|
+
if (message.sandboxId !== "") {
|
|
30385
|
+
writer.uint32(10).string(message.sandboxId);
|
|
30386
|
+
}
|
|
30387
|
+
return writer;
|
|
30388
|
+
},
|
|
30389
|
+
decode(input, length) {
|
|
30390
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
30391
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
30392
|
+
const message = createBaseSandboxGetFromNameResponse();
|
|
30393
|
+
while (reader.pos < end) {
|
|
30394
|
+
const tag = reader.uint32();
|
|
30395
|
+
switch (tag >>> 3) {
|
|
30396
|
+
case 1: {
|
|
30397
|
+
if (tag !== 10) {
|
|
30398
|
+
break;
|
|
30399
|
+
}
|
|
30400
|
+
message.sandboxId = reader.string();
|
|
30401
|
+
continue;
|
|
30402
|
+
}
|
|
30403
|
+
}
|
|
30404
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
30405
|
+
break;
|
|
30406
|
+
}
|
|
30407
|
+
reader.skip(tag & 7);
|
|
30408
|
+
}
|
|
30409
|
+
return message;
|
|
30410
|
+
},
|
|
30411
|
+
fromJSON(object) {
|
|
30412
|
+
return { sandboxId: isSet3(object.sandboxId) ? globalThis.String(object.sandboxId) : "" };
|
|
30413
|
+
},
|
|
30414
|
+
toJSON(message) {
|
|
30415
|
+
const obj = {};
|
|
30416
|
+
if (message.sandboxId !== "") {
|
|
30417
|
+
obj.sandboxId = message.sandboxId;
|
|
30418
|
+
}
|
|
30419
|
+
return obj;
|
|
30420
|
+
},
|
|
30421
|
+
create(base) {
|
|
30422
|
+
return SandboxGetFromNameResponse.fromPartial(base ?? {});
|
|
30423
|
+
},
|
|
30424
|
+
fromPartial(object) {
|
|
30425
|
+
const message = createBaseSandboxGetFromNameResponse();
|
|
30426
|
+
message.sandboxId = object.sandboxId ?? "";
|
|
30427
|
+
return message;
|
|
30428
|
+
}
|
|
30429
|
+
};
|
|
28455
30430
|
function createBaseSandboxGetLogsRequest() {
|
|
28456
30431
|
return { sandboxId: "", fileDescriptor: 0, timeout: 0, lastEntryId: "" };
|
|
28457
30432
|
}
|
|
@@ -29038,7 +31013,7 @@ var SandboxHandleMetadata = {
|
|
|
29038
31013
|
}
|
|
29039
31014
|
};
|
|
29040
31015
|
function createBaseSandboxInfo() {
|
|
29041
|
-
return { id: "", createdAt: 0, taskInfo: void 0, appId: "", tags: [] };
|
|
31016
|
+
return { id: "", createdAt: 0, taskInfo: void 0, appId: "", tags: [], name: "" };
|
|
29042
31017
|
}
|
|
29043
31018
|
var SandboxInfo = {
|
|
29044
31019
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -29057,6 +31032,9 @@ var SandboxInfo = {
|
|
|
29057
31032
|
for (const v of message.tags) {
|
|
29058
31033
|
SandboxTag.encode(v, writer.uint32(50).fork()).join();
|
|
29059
31034
|
}
|
|
31035
|
+
if (message.name !== "") {
|
|
31036
|
+
writer.uint32(58).string(message.name);
|
|
31037
|
+
}
|
|
29060
31038
|
return writer;
|
|
29061
31039
|
},
|
|
29062
31040
|
decode(input, length) {
|
|
@@ -29101,6 +31079,13 @@ var SandboxInfo = {
|
|
|
29101
31079
|
message.tags.push(SandboxTag.decode(reader, reader.uint32()));
|
|
29102
31080
|
continue;
|
|
29103
31081
|
}
|
|
31082
|
+
case 7: {
|
|
31083
|
+
if (tag !== 58) {
|
|
31084
|
+
break;
|
|
31085
|
+
}
|
|
31086
|
+
message.name = reader.string();
|
|
31087
|
+
continue;
|
|
31088
|
+
}
|
|
29104
31089
|
}
|
|
29105
31090
|
if ((tag & 7) === 4 || tag === 0) {
|
|
29106
31091
|
break;
|
|
@@ -29115,7 +31100,8 @@ var SandboxInfo = {
|
|
|
29115
31100
|
createdAt: isSet3(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
29116
31101
|
taskInfo: isSet3(object.taskInfo) ? TaskInfo.fromJSON(object.taskInfo) : void 0,
|
|
29117
31102
|
appId: isSet3(object.appId) ? globalThis.String(object.appId) : "",
|
|
29118
|
-
tags: globalThis.Array.isArray(object?.tags) ? object.tags.map((e) => SandboxTag.fromJSON(e)) : []
|
|
31103
|
+
tags: globalThis.Array.isArray(object?.tags) ? object.tags.map((e) => SandboxTag.fromJSON(e)) : [],
|
|
31104
|
+
name: isSet3(object.name) ? globalThis.String(object.name) : ""
|
|
29119
31105
|
};
|
|
29120
31106
|
},
|
|
29121
31107
|
toJSON(message) {
|
|
@@ -29135,6 +31121,9 @@ var SandboxInfo = {
|
|
|
29135
31121
|
if (message.tags?.length) {
|
|
29136
31122
|
obj.tags = message.tags.map((e) => SandboxTag.toJSON(e));
|
|
29137
31123
|
}
|
|
31124
|
+
if (message.name !== "") {
|
|
31125
|
+
obj.name = message.name;
|
|
31126
|
+
}
|
|
29138
31127
|
return obj;
|
|
29139
31128
|
},
|
|
29140
31129
|
create(base) {
|
|
@@ -29147,6 +31136,7 @@ var SandboxInfo = {
|
|
|
29147
31136
|
message.taskInfo = object.taskInfo !== void 0 && object.taskInfo !== null ? TaskInfo.fromPartial(object.taskInfo) : void 0;
|
|
29148
31137
|
message.appId = object.appId ?? "";
|
|
29149
31138
|
message.tags = object.tags?.map((e) => SandboxTag.fromPartial(e)) || [];
|
|
31139
|
+
message.name = object.name ?? "";
|
|
29150
31140
|
return message;
|
|
29151
31141
|
}
|
|
29152
31142
|
};
|
|
@@ -29317,13 +31307,19 @@ var SandboxListResponse = {
|
|
|
29317
31307
|
}
|
|
29318
31308
|
};
|
|
29319
31309
|
function createBaseSandboxRestoreRequest() {
|
|
29320
|
-
return { snapshotId: "" };
|
|
31310
|
+
return { snapshotId: "", sandboxNameOverride: "", sandboxNameOverrideType: 0 };
|
|
29321
31311
|
}
|
|
29322
31312
|
var SandboxRestoreRequest = {
|
|
29323
31313
|
encode(message, writer = new BinaryWriter()) {
|
|
29324
31314
|
if (message.snapshotId !== "") {
|
|
29325
31315
|
writer.uint32(10).string(message.snapshotId);
|
|
29326
31316
|
}
|
|
31317
|
+
if (message.sandboxNameOverride !== "") {
|
|
31318
|
+
writer.uint32(18).string(message.sandboxNameOverride);
|
|
31319
|
+
}
|
|
31320
|
+
if (message.sandboxNameOverrideType !== 0) {
|
|
31321
|
+
writer.uint32(24).int32(message.sandboxNameOverrideType);
|
|
31322
|
+
}
|
|
29327
31323
|
return writer;
|
|
29328
31324
|
},
|
|
29329
31325
|
decode(input, length) {
|
|
@@ -29340,6 +31336,20 @@ var SandboxRestoreRequest = {
|
|
|
29340
31336
|
message.snapshotId = reader.string();
|
|
29341
31337
|
continue;
|
|
29342
31338
|
}
|
|
31339
|
+
case 2: {
|
|
31340
|
+
if (tag !== 18) {
|
|
31341
|
+
break;
|
|
31342
|
+
}
|
|
31343
|
+
message.sandboxNameOverride = reader.string();
|
|
31344
|
+
continue;
|
|
31345
|
+
}
|
|
31346
|
+
case 3: {
|
|
31347
|
+
if (tag !== 24) {
|
|
31348
|
+
break;
|
|
31349
|
+
}
|
|
31350
|
+
message.sandboxNameOverrideType = reader.int32();
|
|
31351
|
+
continue;
|
|
31352
|
+
}
|
|
29343
31353
|
}
|
|
29344
31354
|
if ((tag & 7) === 4 || tag === 0) {
|
|
29345
31355
|
break;
|
|
@@ -29349,13 +31359,25 @@ var SandboxRestoreRequest = {
|
|
|
29349
31359
|
return message;
|
|
29350
31360
|
},
|
|
29351
31361
|
fromJSON(object) {
|
|
29352
|
-
return {
|
|
31362
|
+
return {
|
|
31363
|
+
snapshotId: isSet3(object.snapshotId) ? globalThis.String(object.snapshotId) : "",
|
|
31364
|
+
sandboxNameOverride: isSet3(object.sandboxNameOverride) ? globalThis.String(object.sandboxNameOverride) : "",
|
|
31365
|
+
sandboxNameOverrideType: isSet3(object.sandboxNameOverrideType) ? sandboxRestoreRequest_SandboxNameOverrideTypeFromJSON(object.sandboxNameOverrideType) : 0
|
|
31366
|
+
};
|
|
29353
31367
|
},
|
|
29354
31368
|
toJSON(message) {
|
|
29355
31369
|
const obj = {};
|
|
29356
31370
|
if (message.snapshotId !== "") {
|
|
29357
31371
|
obj.snapshotId = message.snapshotId;
|
|
29358
31372
|
}
|
|
31373
|
+
if (message.sandboxNameOverride !== "") {
|
|
31374
|
+
obj.sandboxNameOverride = message.sandboxNameOverride;
|
|
31375
|
+
}
|
|
31376
|
+
if (message.sandboxNameOverrideType !== 0) {
|
|
31377
|
+
obj.sandboxNameOverrideType = sandboxRestoreRequest_SandboxNameOverrideTypeToJSON(
|
|
31378
|
+
message.sandboxNameOverrideType
|
|
31379
|
+
);
|
|
31380
|
+
}
|
|
29359
31381
|
return obj;
|
|
29360
31382
|
},
|
|
29361
31383
|
create(base) {
|
|
@@ -29364,6 +31386,8 @@ var SandboxRestoreRequest = {
|
|
|
29364
31386
|
fromPartial(object) {
|
|
29365
31387
|
const message = createBaseSandboxRestoreRequest();
|
|
29366
31388
|
message.snapshotId = object.snapshotId ?? "";
|
|
31389
|
+
message.sandboxNameOverride = object.sandboxNameOverride ?? "";
|
|
31390
|
+
message.sandboxNameOverrideType = object.sandboxNameOverrideType ?? 0;
|
|
29367
31391
|
return message;
|
|
29368
31392
|
}
|
|
29369
31393
|
};
|
|
@@ -29418,6 +31442,176 @@ var SandboxRestoreResponse = {
|
|
|
29418
31442
|
return message;
|
|
29419
31443
|
}
|
|
29420
31444
|
};
|
|
31445
|
+
function createBaseSandboxSnapshotFsAsyncGetRequest() {
|
|
31446
|
+
return { imageId: "", timeout: 0 };
|
|
31447
|
+
}
|
|
31448
|
+
var SandboxSnapshotFsAsyncGetRequest = {
|
|
31449
|
+
encode(message, writer = new BinaryWriter()) {
|
|
31450
|
+
if (message.imageId !== "") {
|
|
31451
|
+
writer.uint32(10).string(message.imageId);
|
|
31452
|
+
}
|
|
31453
|
+
if (message.timeout !== 0) {
|
|
31454
|
+
writer.uint32(21).float(message.timeout);
|
|
31455
|
+
}
|
|
31456
|
+
return writer;
|
|
31457
|
+
},
|
|
31458
|
+
decode(input, length) {
|
|
31459
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
31460
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
31461
|
+
const message = createBaseSandboxSnapshotFsAsyncGetRequest();
|
|
31462
|
+
while (reader.pos < end) {
|
|
31463
|
+
const tag = reader.uint32();
|
|
31464
|
+
switch (tag >>> 3) {
|
|
31465
|
+
case 1: {
|
|
31466
|
+
if (tag !== 10) {
|
|
31467
|
+
break;
|
|
31468
|
+
}
|
|
31469
|
+
message.imageId = reader.string();
|
|
31470
|
+
continue;
|
|
31471
|
+
}
|
|
31472
|
+
case 2: {
|
|
31473
|
+
if (tag !== 21) {
|
|
31474
|
+
break;
|
|
31475
|
+
}
|
|
31476
|
+
message.timeout = reader.float();
|
|
31477
|
+
continue;
|
|
31478
|
+
}
|
|
31479
|
+
}
|
|
31480
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31481
|
+
break;
|
|
31482
|
+
}
|
|
31483
|
+
reader.skip(tag & 7);
|
|
31484
|
+
}
|
|
31485
|
+
return message;
|
|
31486
|
+
},
|
|
31487
|
+
fromJSON(object) {
|
|
31488
|
+
return {
|
|
31489
|
+
imageId: isSet3(object.imageId) ? globalThis.String(object.imageId) : "",
|
|
31490
|
+
timeout: isSet3(object.timeout) ? globalThis.Number(object.timeout) : 0
|
|
31491
|
+
};
|
|
31492
|
+
},
|
|
31493
|
+
toJSON(message) {
|
|
31494
|
+
const obj = {};
|
|
31495
|
+
if (message.imageId !== "") {
|
|
31496
|
+
obj.imageId = message.imageId;
|
|
31497
|
+
}
|
|
31498
|
+
if (message.timeout !== 0) {
|
|
31499
|
+
obj.timeout = message.timeout;
|
|
31500
|
+
}
|
|
31501
|
+
return obj;
|
|
31502
|
+
},
|
|
31503
|
+
create(base) {
|
|
31504
|
+
return SandboxSnapshotFsAsyncGetRequest.fromPartial(base ?? {});
|
|
31505
|
+
},
|
|
31506
|
+
fromPartial(object) {
|
|
31507
|
+
const message = createBaseSandboxSnapshotFsAsyncGetRequest();
|
|
31508
|
+
message.imageId = object.imageId ?? "";
|
|
31509
|
+
message.timeout = object.timeout ?? 0;
|
|
31510
|
+
return message;
|
|
31511
|
+
}
|
|
31512
|
+
};
|
|
31513
|
+
function createBaseSandboxSnapshotFsAsyncRequest() {
|
|
31514
|
+
return { sandboxId: "" };
|
|
31515
|
+
}
|
|
31516
|
+
var SandboxSnapshotFsAsyncRequest = {
|
|
31517
|
+
encode(message, writer = new BinaryWriter()) {
|
|
31518
|
+
if (message.sandboxId !== "") {
|
|
31519
|
+
writer.uint32(10).string(message.sandboxId);
|
|
31520
|
+
}
|
|
31521
|
+
return writer;
|
|
31522
|
+
},
|
|
31523
|
+
decode(input, length) {
|
|
31524
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
31525
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
31526
|
+
const message = createBaseSandboxSnapshotFsAsyncRequest();
|
|
31527
|
+
while (reader.pos < end) {
|
|
31528
|
+
const tag = reader.uint32();
|
|
31529
|
+
switch (tag >>> 3) {
|
|
31530
|
+
case 1: {
|
|
31531
|
+
if (tag !== 10) {
|
|
31532
|
+
break;
|
|
31533
|
+
}
|
|
31534
|
+
message.sandboxId = reader.string();
|
|
31535
|
+
continue;
|
|
31536
|
+
}
|
|
31537
|
+
}
|
|
31538
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31539
|
+
break;
|
|
31540
|
+
}
|
|
31541
|
+
reader.skip(tag & 7);
|
|
31542
|
+
}
|
|
31543
|
+
return message;
|
|
31544
|
+
},
|
|
31545
|
+
fromJSON(object) {
|
|
31546
|
+
return { sandboxId: isSet3(object.sandboxId) ? globalThis.String(object.sandboxId) : "" };
|
|
31547
|
+
},
|
|
31548
|
+
toJSON(message) {
|
|
31549
|
+
const obj = {};
|
|
31550
|
+
if (message.sandboxId !== "") {
|
|
31551
|
+
obj.sandboxId = message.sandboxId;
|
|
31552
|
+
}
|
|
31553
|
+
return obj;
|
|
31554
|
+
},
|
|
31555
|
+
create(base) {
|
|
31556
|
+
return SandboxSnapshotFsAsyncRequest.fromPartial(base ?? {});
|
|
31557
|
+
},
|
|
31558
|
+
fromPartial(object) {
|
|
31559
|
+
const message = createBaseSandboxSnapshotFsAsyncRequest();
|
|
31560
|
+
message.sandboxId = object.sandboxId ?? "";
|
|
31561
|
+
return message;
|
|
31562
|
+
}
|
|
31563
|
+
};
|
|
31564
|
+
function createBaseSandboxSnapshotFsAsyncResponse() {
|
|
31565
|
+
return { imageId: "" };
|
|
31566
|
+
}
|
|
31567
|
+
var SandboxSnapshotFsAsyncResponse = {
|
|
31568
|
+
encode(message, writer = new BinaryWriter()) {
|
|
31569
|
+
if (message.imageId !== "") {
|
|
31570
|
+
writer.uint32(10).string(message.imageId);
|
|
31571
|
+
}
|
|
31572
|
+
return writer;
|
|
31573
|
+
},
|
|
31574
|
+
decode(input, length) {
|
|
31575
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
31576
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
31577
|
+
const message = createBaseSandboxSnapshotFsAsyncResponse();
|
|
31578
|
+
while (reader.pos < end) {
|
|
31579
|
+
const tag = reader.uint32();
|
|
31580
|
+
switch (tag >>> 3) {
|
|
31581
|
+
case 1: {
|
|
31582
|
+
if (tag !== 10) {
|
|
31583
|
+
break;
|
|
31584
|
+
}
|
|
31585
|
+
message.imageId = reader.string();
|
|
31586
|
+
continue;
|
|
31587
|
+
}
|
|
31588
|
+
}
|
|
31589
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31590
|
+
break;
|
|
31591
|
+
}
|
|
31592
|
+
reader.skip(tag & 7);
|
|
31593
|
+
}
|
|
31594
|
+
return message;
|
|
31595
|
+
},
|
|
31596
|
+
fromJSON(object) {
|
|
31597
|
+
return { imageId: isSet3(object.imageId) ? globalThis.String(object.imageId) : "" };
|
|
31598
|
+
},
|
|
31599
|
+
toJSON(message) {
|
|
31600
|
+
const obj = {};
|
|
31601
|
+
if (message.imageId !== "") {
|
|
31602
|
+
obj.imageId = message.imageId;
|
|
31603
|
+
}
|
|
31604
|
+
return obj;
|
|
31605
|
+
},
|
|
31606
|
+
create(base) {
|
|
31607
|
+
return SandboxSnapshotFsAsyncResponse.fromPartial(base ?? {});
|
|
31608
|
+
},
|
|
31609
|
+
fromPartial(object) {
|
|
31610
|
+
const message = createBaseSandboxSnapshotFsAsyncResponse();
|
|
31611
|
+
message.imageId = object.imageId ?? "";
|
|
31612
|
+
return message;
|
|
31613
|
+
}
|
|
31614
|
+
};
|
|
29421
31615
|
function createBaseSandboxSnapshotFsRequest() {
|
|
29422
31616
|
return { sandboxId: "", timeout: 0 };
|
|
29423
31617
|
}
|
|
@@ -31041,13 +33235,16 @@ var SecretGetOrCreateRequest_EnvDictEntry = {
|
|
|
31041
33235
|
}
|
|
31042
33236
|
};
|
|
31043
33237
|
function createBaseSecretGetOrCreateResponse() {
|
|
31044
|
-
return { secretId: "" };
|
|
33238
|
+
return { secretId: "", metadata: void 0 };
|
|
31045
33239
|
}
|
|
31046
33240
|
var SecretGetOrCreateResponse = {
|
|
31047
33241
|
encode(message, writer = new BinaryWriter()) {
|
|
31048
33242
|
if (message.secretId !== "") {
|
|
31049
33243
|
writer.uint32(10).string(message.secretId);
|
|
31050
33244
|
}
|
|
33245
|
+
if (message.metadata !== void 0) {
|
|
33246
|
+
SecretMetadata.encode(message.metadata, writer.uint32(18).fork()).join();
|
|
33247
|
+
}
|
|
31051
33248
|
return writer;
|
|
31052
33249
|
},
|
|
31053
33250
|
decode(input, length) {
|
|
@@ -31064,6 +33261,13 @@ var SecretGetOrCreateResponse = {
|
|
|
31064
33261
|
message.secretId = reader.string();
|
|
31065
33262
|
continue;
|
|
31066
33263
|
}
|
|
33264
|
+
case 2: {
|
|
33265
|
+
if (tag !== 18) {
|
|
33266
|
+
break;
|
|
33267
|
+
}
|
|
33268
|
+
message.metadata = SecretMetadata.decode(reader, reader.uint32());
|
|
33269
|
+
continue;
|
|
33270
|
+
}
|
|
31067
33271
|
}
|
|
31068
33272
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31069
33273
|
break;
|
|
@@ -31073,13 +33277,19 @@ var SecretGetOrCreateResponse = {
|
|
|
31073
33277
|
return message;
|
|
31074
33278
|
},
|
|
31075
33279
|
fromJSON(object) {
|
|
31076
|
-
return {
|
|
33280
|
+
return {
|
|
33281
|
+
secretId: isSet3(object.secretId) ? globalThis.String(object.secretId) : "",
|
|
33282
|
+
metadata: isSet3(object.metadata) ? SecretMetadata.fromJSON(object.metadata) : void 0
|
|
33283
|
+
};
|
|
31077
33284
|
},
|
|
31078
33285
|
toJSON(message) {
|
|
31079
33286
|
const obj = {};
|
|
31080
33287
|
if (message.secretId !== "") {
|
|
31081
33288
|
obj.secretId = message.secretId;
|
|
31082
33289
|
}
|
|
33290
|
+
if (message.metadata !== void 0) {
|
|
33291
|
+
obj.metadata = SecretMetadata.toJSON(message.metadata);
|
|
33292
|
+
}
|
|
31083
33293
|
return obj;
|
|
31084
33294
|
},
|
|
31085
33295
|
create(base) {
|
|
@@ -31088,11 +33298,12 @@ var SecretGetOrCreateResponse = {
|
|
|
31088
33298
|
fromPartial(object) {
|
|
31089
33299
|
const message = createBaseSecretGetOrCreateResponse();
|
|
31090
33300
|
message.secretId = object.secretId ?? "";
|
|
33301
|
+
message.metadata = object.metadata !== void 0 && object.metadata !== null ? SecretMetadata.fromPartial(object.metadata) : void 0;
|
|
31091
33302
|
return message;
|
|
31092
33303
|
}
|
|
31093
33304
|
};
|
|
31094
33305
|
function createBaseSecretListItem() {
|
|
31095
|
-
return { label: "", createdAt: 0, lastUsedAt: 0, environmentName: "", secretId: "" };
|
|
33306
|
+
return { label: "", createdAt: 0, lastUsedAt: 0, environmentName: "", secretId: "", metadata: void 0 };
|
|
31096
33307
|
}
|
|
31097
33308
|
var SecretListItem = {
|
|
31098
33309
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -31111,6 +33322,9 @@ var SecretListItem = {
|
|
|
31111
33322
|
if (message.secretId !== "") {
|
|
31112
33323
|
writer.uint32(42).string(message.secretId);
|
|
31113
33324
|
}
|
|
33325
|
+
if (message.metadata !== void 0) {
|
|
33326
|
+
SecretMetadata.encode(message.metadata, writer.uint32(50).fork()).join();
|
|
33327
|
+
}
|
|
31114
33328
|
return writer;
|
|
31115
33329
|
},
|
|
31116
33330
|
decode(input, length) {
|
|
@@ -31155,6 +33369,13 @@ var SecretListItem = {
|
|
|
31155
33369
|
message.secretId = reader.string();
|
|
31156
33370
|
continue;
|
|
31157
33371
|
}
|
|
33372
|
+
case 6: {
|
|
33373
|
+
if (tag !== 50) {
|
|
33374
|
+
break;
|
|
33375
|
+
}
|
|
33376
|
+
message.metadata = SecretMetadata.decode(reader, reader.uint32());
|
|
33377
|
+
continue;
|
|
33378
|
+
}
|
|
31158
33379
|
}
|
|
31159
33380
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31160
33381
|
break;
|
|
@@ -31169,7 +33390,8 @@ var SecretListItem = {
|
|
|
31169
33390
|
createdAt: isSet3(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
31170
33391
|
lastUsedAt: isSet3(object.lastUsedAt) ? globalThis.Number(object.lastUsedAt) : 0,
|
|
31171
33392
|
environmentName: isSet3(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
31172
|
-
secretId: isSet3(object.secretId) ? globalThis.String(object.secretId) : ""
|
|
33393
|
+
secretId: isSet3(object.secretId) ? globalThis.String(object.secretId) : "",
|
|
33394
|
+
metadata: isSet3(object.metadata) ? SecretMetadata.fromJSON(object.metadata) : void 0
|
|
31173
33395
|
};
|
|
31174
33396
|
},
|
|
31175
33397
|
toJSON(message) {
|
|
@@ -31189,6 +33411,9 @@ var SecretListItem = {
|
|
|
31189
33411
|
if (message.secretId !== "") {
|
|
31190
33412
|
obj.secretId = message.secretId;
|
|
31191
33413
|
}
|
|
33414
|
+
if (message.metadata !== void 0) {
|
|
33415
|
+
obj.metadata = SecretMetadata.toJSON(message.metadata);
|
|
33416
|
+
}
|
|
31192
33417
|
return obj;
|
|
31193
33418
|
},
|
|
31194
33419
|
create(base) {
|
|
@@ -31201,17 +33426,21 @@ var SecretListItem = {
|
|
|
31201
33426
|
message.lastUsedAt = object.lastUsedAt ?? 0;
|
|
31202
33427
|
message.environmentName = object.environmentName ?? "";
|
|
31203
33428
|
message.secretId = object.secretId ?? "";
|
|
33429
|
+
message.metadata = object.metadata !== void 0 && object.metadata !== null ? SecretMetadata.fromPartial(object.metadata) : void 0;
|
|
31204
33430
|
return message;
|
|
31205
33431
|
}
|
|
31206
33432
|
};
|
|
31207
33433
|
function createBaseSecretListRequest() {
|
|
31208
|
-
return { environmentName: "" };
|
|
33434
|
+
return { environmentName: "", pagination: void 0 };
|
|
31209
33435
|
}
|
|
31210
33436
|
var SecretListRequest = {
|
|
31211
33437
|
encode(message, writer = new BinaryWriter()) {
|
|
31212
33438
|
if (message.environmentName !== "") {
|
|
31213
33439
|
writer.uint32(10).string(message.environmentName);
|
|
31214
33440
|
}
|
|
33441
|
+
if (message.pagination !== void 0) {
|
|
33442
|
+
ListPagination.encode(message.pagination, writer.uint32(18).fork()).join();
|
|
33443
|
+
}
|
|
31215
33444
|
return writer;
|
|
31216
33445
|
},
|
|
31217
33446
|
decode(input, length) {
|
|
@@ -31228,6 +33457,13 @@ var SecretListRequest = {
|
|
|
31228
33457
|
message.environmentName = reader.string();
|
|
31229
33458
|
continue;
|
|
31230
33459
|
}
|
|
33460
|
+
case 2: {
|
|
33461
|
+
if (tag !== 18) {
|
|
33462
|
+
break;
|
|
33463
|
+
}
|
|
33464
|
+
message.pagination = ListPagination.decode(reader, reader.uint32());
|
|
33465
|
+
continue;
|
|
33466
|
+
}
|
|
31231
33467
|
}
|
|
31232
33468
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31233
33469
|
break;
|
|
@@ -31237,13 +33473,19 @@ var SecretListRequest = {
|
|
|
31237
33473
|
return message;
|
|
31238
33474
|
},
|
|
31239
33475
|
fromJSON(object) {
|
|
31240
|
-
return {
|
|
33476
|
+
return {
|
|
33477
|
+
environmentName: isSet3(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
33478
|
+
pagination: isSet3(object.pagination) ? ListPagination.fromJSON(object.pagination) : void 0
|
|
33479
|
+
};
|
|
31241
33480
|
},
|
|
31242
33481
|
toJSON(message) {
|
|
31243
33482
|
const obj = {};
|
|
31244
33483
|
if (message.environmentName !== "") {
|
|
31245
33484
|
obj.environmentName = message.environmentName;
|
|
31246
33485
|
}
|
|
33486
|
+
if (message.pagination !== void 0) {
|
|
33487
|
+
obj.pagination = ListPagination.toJSON(message.pagination);
|
|
33488
|
+
}
|
|
31247
33489
|
return obj;
|
|
31248
33490
|
},
|
|
31249
33491
|
create(base) {
|
|
@@ -31252,6 +33494,7 @@ var SecretListRequest = {
|
|
|
31252
33494
|
fromPartial(object) {
|
|
31253
33495
|
const message = createBaseSecretListRequest();
|
|
31254
33496
|
message.environmentName = object.environmentName ?? "";
|
|
33497
|
+
message.pagination = object.pagination !== void 0 && object.pagination !== null ? ListPagination.fromPartial(object.pagination) : void 0;
|
|
31255
33498
|
return message;
|
|
31256
33499
|
}
|
|
31257
33500
|
};
|
|
@@ -31323,6 +33566,74 @@ var SecretListResponse = {
|
|
|
31323
33566
|
return message;
|
|
31324
33567
|
}
|
|
31325
33568
|
};
|
|
33569
|
+
function createBaseSecretMetadata() {
|
|
33570
|
+
return { name: "", creationInfo: void 0 };
|
|
33571
|
+
}
|
|
33572
|
+
var SecretMetadata = {
|
|
33573
|
+
encode(message, writer = new BinaryWriter()) {
|
|
33574
|
+
if (message.name !== "") {
|
|
33575
|
+
writer.uint32(10).string(message.name);
|
|
33576
|
+
}
|
|
33577
|
+
if (message.creationInfo !== void 0) {
|
|
33578
|
+
CreationInfo.encode(message.creationInfo, writer.uint32(18).fork()).join();
|
|
33579
|
+
}
|
|
33580
|
+
return writer;
|
|
33581
|
+
},
|
|
33582
|
+
decode(input, length) {
|
|
33583
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33584
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
33585
|
+
const message = createBaseSecretMetadata();
|
|
33586
|
+
while (reader.pos < end) {
|
|
33587
|
+
const tag = reader.uint32();
|
|
33588
|
+
switch (tag >>> 3) {
|
|
33589
|
+
case 1: {
|
|
33590
|
+
if (tag !== 10) {
|
|
33591
|
+
break;
|
|
33592
|
+
}
|
|
33593
|
+
message.name = reader.string();
|
|
33594
|
+
continue;
|
|
33595
|
+
}
|
|
33596
|
+
case 2: {
|
|
33597
|
+
if (tag !== 18) {
|
|
33598
|
+
break;
|
|
33599
|
+
}
|
|
33600
|
+
message.creationInfo = CreationInfo.decode(reader, reader.uint32());
|
|
33601
|
+
continue;
|
|
33602
|
+
}
|
|
33603
|
+
}
|
|
33604
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
33605
|
+
break;
|
|
33606
|
+
}
|
|
33607
|
+
reader.skip(tag & 7);
|
|
33608
|
+
}
|
|
33609
|
+
return message;
|
|
33610
|
+
},
|
|
33611
|
+
fromJSON(object) {
|
|
33612
|
+
return {
|
|
33613
|
+
name: isSet3(object.name) ? globalThis.String(object.name) : "",
|
|
33614
|
+
creationInfo: isSet3(object.creationInfo) ? CreationInfo.fromJSON(object.creationInfo) : void 0
|
|
33615
|
+
};
|
|
33616
|
+
},
|
|
33617
|
+
toJSON(message) {
|
|
33618
|
+
const obj = {};
|
|
33619
|
+
if (message.name !== "") {
|
|
33620
|
+
obj.name = message.name;
|
|
33621
|
+
}
|
|
33622
|
+
if (message.creationInfo !== void 0) {
|
|
33623
|
+
obj.creationInfo = CreationInfo.toJSON(message.creationInfo);
|
|
33624
|
+
}
|
|
33625
|
+
return obj;
|
|
33626
|
+
},
|
|
33627
|
+
create(base) {
|
|
33628
|
+
return SecretMetadata.fromPartial(base ?? {});
|
|
33629
|
+
},
|
|
33630
|
+
fromPartial(object) {
|
|
33631
|
+
const message = createBaseSecretMetadata();
|
|
33632
|
+
message.name = object.name ?? "";
|
|
33633
|
+
message.creationInfo = object.creationInfo !== void 0 && object.creationInfo !== null ? CreationInfo.fromPartial(object.creationInfo) : void 0;
|
|
33634
|
+
return message;
|
|
33635
|
+
}
|
|
33636
|
+
};
|
|
31326
33637
|
function createBaseSharedVolumeDeleteRequest() {
|
|
31327
33638
|
return { sharedVolumeId: "" };
|
|
31328
33639
|
}
|
|
@@ -32545,7 +34856,7 @@ var TaskClusterHelloRequest = {
|
|
|
32545
34856
|
}
|
|
32546
34857
|
};
|
|
32547
34858
|
function createBaseTaskClusterHelloResponse() {
|
|
32548
|
-
return { clusterId: "", clusterRank: 0, containerIps: [] };
|
|
34859
|
+
return { clusterId: "", clusterRank: 0, containerIps: [], containerIpv4Ips: [] };
|
|
32549
34860
|
}
|
|
32550
34861
|
var TaskClusterHelloResponse = {
|
|
32551
34862
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -32558,6 +34869,9 @@ var TaskClusterHelloResponse = {
|
|
|
32558
34869
|
for (const v of message.containerIps) {
|
|
32559
34870
|
writer.uint32(26).string(v);
|
|
32560
34871
|
}
|
|
34872
|
+
for (const v of message.containerIpv4Ips) {
|
|
34873
|
+
writer.uint32(34).string(v);
|
|
34874
|
+
}
|
|
32561
34875
|
return writer;
|
|
32562
34876
|
},
|
|
32563
34877
|
decode(input, length) {
|
|
@@ -32588,6 +34902,13 @@ var TaskClusterHelloResponse = {
|
|
|
32588
34902
|
message.containerIps.push(reader.string());
|
|
32589
34903
|
continue;
|
|
32590
34904
|
}
|
|
34905
|
+
case 4: {
|
|
34906
|
+
if (tag !== 34) {
|
|
34907
|
+
break;
|
|
34908
|
+
}
|
|
34909
|
+
message.containerIpv4Ips.push(reader.string());
|
|
34910
|
+
continue;
|
|
34911
|
+
}
|
|
32591
34912
|
}
|
|
32592
34913
|
if ((tag & 7) === 4 || tag === 0) {
|
|
32593
34914
|
break;
|
|
@@ -32600,7 +34921,8 @@ var TaskClusterHelloResponse = {
|
|
|
32600
34921
|
return {
|
|
32601
34922
|
clusterId: isSet3(object.clusterId) ? globalThis.String(object.clusterId) : "",
|
|
32602
34923
|
clusterRank: isSet3(object.clusterRank) ? globalThis.Number(object.clusterRank) : 0,
|
|
32603
|
-
containerIps: globalThis.Array.isArray(object?.containerIps) ? object.containerIps.map((e) => globalThis.String(e)) : []
|
|
34924
|
+
containerIps: globalThis.Array.isArray(object?.containerIps) ? object.containerIps.map((e) => globalThis.String(e)) : [],
|
|
34925
|
+
containerIpv4Ips: globalThis.Array.isArray(object?.containerIpv4Ips) ? object.containerIpv4Ips.map((e) => globalThis.String(e)) : []
|
|
32604
34926
|
};
|
|
32605
34927
|
},
|
|
32606
34928
|
toJSON(message) {
|
|
@@ -32614,6 +34936,9 @@ var TaskClusterHelloResponse = {
|
|
|
32614
34936
|
if (message.containerIps?.length) {
|
|
32615
34937
|
obj.containerIps = message.containerIps;
|
|
32616
34938
|
}
|
|
34939
|
+
if (message.containerIpv4Ips?.length) {
|
|
34940
|
+
obj.containerIpv4Ips = message.containerIpv4Ips;
|
|
34941
|
+
}
|
|
32617
34942
|
return obj;
|
|
32618
34943
|
},
|
|
32619
34944
|
create(base) {
|
|
@@ -32624,6 +34949,7 @@ var TaskClusterHelloResponse = {
|
|
|
32624
34949
|
message.clusterId = object.clusterId ?? "";
|
|
32625
34950
|
message.clusterRank = object.clusterRank ?? 0;
|
|
32626
34951
|
message.containerIps = object.containerIps?.map((e) => e) || [];
|
|
34952
|
+
message.containerIpv4Ips = object.containerIpv4Ips?.map((e) => e) || [];
|
|
32627
34953
|
return message;
|
|
32628
34954
|
}
|
|
32629
34955
|
};
|
|
@@ -32681,7 +35007,17 @@ var TaskCurrentInputsResponse = {
|
|
|
32681
35007
|
}
|
|
32682
35008
|
};
|
|
32683
35009
|
function createBaseTaskInfo() {
|
|
32684
|
-
return {
|
|
35010
|
+
return {
|
|
35011
|
+
id: "",
|
|
35012
|
+
startedAt: 0,
|
|
35013
|
+
finishedAt: 0,
|
|
35014
|
+
result: void 0,
|
|
35015
|
+
enqueuedAt: 0,
|
|
35016
|
+
gpuType: "",
|
|
35017
|
+
sandboxId: "",
|
|
35018
|
+
snapshotBehavior: 0,
|
|
35019
|
+
gpuConfig: void 0
|
|
35020
|
+
};
|
|
32685
35021
|
}
|
|
32686
35022
|
var TaskInfo = {
|
|
32687
35023
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -32706,6 +35042,12 @@ var TaskInfo = {
|
|
|
32706
35042
|
if (message.sandboxId !== "") {
|
|
32707
35043
|
writer.uint32(58).string(message.sandboxId);
|
|
32708
35044
|
}
|
|
35045
|
+
if (message.snapshotBehavior !== 0) {
|
|
35046
|
+
writer.uint32(64).int32(message.snapshotBehavior);
|
|
35047
|
+
}
|
|
35048
|
+
if (message.gpuConfig !== void 0) {
|
|
35049
|
+
GPUConfig.encode(message.gpuConfig, writer.uint32(74).fork()).join();
|
|
35050
|
+
}
|
|
32709
35051
|
return writer;
|
|
32710
35052
|
},
|
|
32711
35053
|
decode(input, length) {
|
|
@@ -32764,6 +35106,20 @@ var TaskInfo = {
|
|
|
32764
35106
|
message.sandboxId = reader.string();
|
|
32765
35107
|
continue;
|
|
32766
35108
|
}
|
|
35109
|
+
case 8: {
|
|
35110
|
+
if (tag !== 64) {
|
|
35111
|
+
break;
|
|
35112
|
+
}
|
|
35113
|
+
message.snapshotBehavior = reader.int32();
|
|
35114
|
+
continue;
|
|
35115
|
+
}
|
|
35116
|
+
case 9: {
|
|
35117
|
+
if (tag !== 74) {
|
|
35118
|
+
break;
|
|
35119
|
+
}
|
|
35120
|
+
message.gpuConfig = GPUConfig.decode(reader, reader.uint32());
|
|
35121
|
+
continue;
|
|
35122
|
+
}
|
|
32767
35123
|
}
|
|
32768
35124
|
if ((tag & 7) === 4 || tag === 0) {
|
|
32769
35125
|
break;
|
|
@@ -32780,7 +35136,9 @@ var TaskInfo = {
|
|
|
32780
35136
|
result: isSet3(object.result) ? GenericResult.fromJSON(object.result) : void 0,
|
|
32781
35137
|
enqueuedAt: isSet3(object.enqueuedAt) ? globalThis.Number(object.enqueuedAt) : 0,
|
|
32782
35138
|
gpuType: isSet3(object.gpuType) ? globalThis.String(object.gpuType) : "",
|
|
32783
|
-
sandboxId: isSet3(object.sandboxId) ? globalThis.String(object.sandboxId) : ""
|
|
35139
|
+
sandboxId: isSet3(object.sandboxId) ? globalThis.String(object.sandboxId) : "",
|
|
35140
|
+
snapshotBehavior: isSet3(object.snapshotBehavior) ? taskSnapshotBehaviorFromJSON(object.snapshotBehavior) : 0,
|
|
35141
|
+
gpuConfig: isSet3(object.gpuConfig) ? GPUConfig.fromJSON(object.gpuConfig) : void 0
|
|
32784
35142
|
};
|
|
32785
35143
|
},
|
|
32786
35144
|
toJSON(message) {
|
|
@@ -32806,6 +35164,12 @@ var TaskInfo = {
|
|
|
32806
35164
|
if (message.sandboxId !== "") {
|
|
32807
35165
|
obj.sandboxId = message.sandboxId;
|
|
32808
35166
|
}
|
|
35167
|
+
if (message.snapshotBehavior !== 0) {
|
|
35168
|
+
obj.snapshotBehavior = taskSnapshotBehaviorToJSON(message.snapshotBehavior);
|
|
35169
|
+
}
|
|
35170
|
+
if (message.gpuConfig !== void 0) {
|
|
35171
|
+
obj.gpuConfig = GPUConfig.toJSON(message.gpuConfig);
|
|
35172
|
+
}
|
|
32809
35173
|
return obj;
|
|
32810
35174
|
},
|
|
32811
35175
|
create(base) {
|
|
@@ -32820,6 +35184,8 @@ var TaskInfo = {
|
|
|
32820
35184
|
message.enqueuedAt = object.enqueuedAt ?? 0;
|
|
32821
35185
|
message.gpuType = object.gpuType ?? "";
|
|
32822
35186
|
message.sandboxId = object.sandboxId ?? "";
|
|
35187
|
+
message.snapshotBehavior = object.snapshotBehavior ?? 0;
|
|
35188
|
+
message.gpuConfig = object.gpuConfig !== void 0 && object.gpuConfig !== null ? GPUConfig.fromPartial(object.gpuConfig) : void 0;
|
|
32823
35189
|
return message;
|
|
32824
35190
|
}
|
|
32825
35191
|
};
|
|
@@ -33105,7 +35471,8 @@ function createBaseTaskLogsBatch() {
|
|
|
33105
35471
|
imageId: "",
|
|
33106
35472
|
eof: false,
|
|
33107
35473
|
ptyExecId: "",
|
|
33108
|
-
rootFunctionId: ""
|
|
35474
|
+
rootFunctionId: "",
|
|
35475
|
+
ttlDays: 0
|
|
33109
35476
|
};
|
|
33110
35477
|
}
|
|
33111
35478
|
var TaskLogsBatch = {
|
|
@@ -33140,6 +35507,9 @@ var TaskLogsBatch = {
|
|
|
33140
35507
|
if (message.rootFunctionId !== "") {
|
|
33141
35508
|
writer.uint32(130).string(message.rootFunctionId);
|
|
33142
35509
|
}
|
|
35510
|
+
if (message.ttlDays !== 0) {
|
|
35511
|
+
writer.uint32(136).uint32(message.ttlDays);
|
|
35512
|
+
}
|
|
33143
35513
|
return writer;
|
|
33144
35514
|
},
|
|
33145
35515
|
decode(input, length) {
|
|
@@ -33219,6 +35589,13 @@ var TaskLogsBatch = {
|
|
|
33219
35589
|
message.rootFunctionId = reader.string();
|
|
33220
35590
|
continue;
|
|
33221
35591
|
}
|
|
35592
|
+
case 17: {
|
|
35593
|
+
if (tag !== 136) {
|
|
35594
|
+
break;
|
|
35595
|
+
}
|
|
35596
|
+
message.ttlDays = reader.uint32();
|
|
35597
|
+
continue;
|
|
35598
|
+
}
|
|
33222
35599
|
}
|
|
33223
35600
|
if ((tag & 7) === 4 || tag === 0) {
|
|
33224
35601
|
break;
|
|
@@ -33238,7 +35615,8 @@ var TaskLogsBatch = {
|
|
|
33238
35615
|
imageId: isSet3(object.imageId) ? globalThis.String(object.imageId) : "",
|
|
33239
35616
|
eof: isSet3(object.eof) ? globalThis.Boolean(object.eof) : false,
|
|
33240
35617
|
ptyExecId: isSet3(object.ptyExecId) ? globalThis.String(object.ptyExecId) : "",
|
|
33241
|
-
rootFunctionId: isSet3(object.rootFunctionId) ? globalThis.String(object.rootFunctionId) : ""
|
|
35618
|
+
rootFunctionId: isSet3(object.rootFunctionId) ? globalThis.String(object.rootFunctionId) : "",
|
|
35619
|
+
ttlDays: isSet3(object.ttlDays) ? globalThis.Number(object.ttlDays) : 0
|
|
33242
35620
|
};
|
|
33243
35621
|
},
|
|
33244
35622
|
toJSON(message) {
|
|
@@ -33273,6 +35651,9 @@ var TaskLogsBatch = {
|
|
|
33273
35651
|
if (message.rootFunctionId !== "") {
|
|
33274
35652
|
obj.rootFunctionId = message.rootFunctionId;
|
|
33275
35653
|
}
|
|
35654
|
+
if (message.ttlDays !== 0) {
|
|
35655
|
+
obj.ttlDays = Math.round(message.ttlDays);
|
|
35656
|
+
}
|
|
33276
35657
|
return obj;
|
|
33277
35658
|
},
|
|
33278
35659
|
create(base) {
|
|
@@ -33290,6 +35671,7 @@ var TaskLogsBatch = {
|
|
|
33290
35671
|
message.eof = object.eof ?? false;
|
|
33291
35672
|
message.ptyExecId = object.ptyExecId ?? "";
|
|
33292
35673
|
message.rootFunctionId = object.rootFunctionId ?? "";
|
|
35674
|
+
message.ttlDays = object.ttlDays ?? 0;
|
|
33293
35675
|
return message;
|
|
33294
35676
|
}
|
|
33295
35677
|
};
|
|
@@ -35785,7 +38167,7 @@ var VolumeListFilesResponse = {
|
|
|
35785
38167
|
}
|
|
35786
38168
|
};
|
|
35787
38169
|
function createBaseVolumeListItem() {
|
|
35788
|
-
return { label: "", volumeId: "", createdAt: 0 };
|
|
38170
|
+
return { label: "", volumeId: "", createdAt: 0, metadata: void 0 };
|
|
35789
38171
|
}
|
|
35790
38172
|
var VolumeListItem = {
|
|
35791
38173
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -35798,6 +38180,9 @@ var VolumeListItem = {
|
|
|
35798
38180
|
if (message.createdAt !== 0) {
|
|
35799
38181
|
writer.uint32(25).double(message.createdAt);
|
|
35800
38182
|
}
|
|
38183
|
+
if (message.metadata !== void 0) {
|
|
38184
|
+
VolumeMetadata.encode(message.metadata, writer.uint32(34).fork()).join();
|
|
38185
|
+
}
|
|
35801
38186
|
return writer;
|
|
35802
38187
|
},
|
|
35803
38188
|
decode(input, length) {
|
|
@@ -35828,6 +38213,13 @@ var VolumeListItem = {
|
|
|
35828
38213
|
message.createdAt = reader.double();
|
|
35829
38214
|
continue;
|
|
35830
38215
|
}
|
|
38216
|
+
case 4: {
|
|
38217
|
+
if (tag !== 34) {
|
|
38218
|
+
break;
|
|
38219
|
+
}
|
|
38220
|
+
message.metadata = VolumeMetadata.decode(reader, reader.uint32());
|
|
38221
|
+
continue;
|
|
38222
|
+
}
|
|
35831
38223
|
}
|
|
35832
38224
|
if ((tag & 7) === 4 || tag === 0) {
|
|
35833
38225
|
break;
|
|
@@ -35840,7 +38232,8 @@ var VolumeListItem = {
|
|
|
35840
38232
|
return {
|
|
35841
38233
|
label: isSet3(object.label) ? globalThis.String(object.label) : "",
|
|
35842
38234
|
volumeId: isSet3(object.volumeId) ? globalThis.String(object.volumeId) : "",
|
|
35843
|
-
createdAt: isSet3(object.createdAt) ? globalThis.Number(object.createdAt) : 0
|
|
38235
|
+
createdAt: isSet3(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
38236
|
+
metadata: isSet3(object.metadata) ? VolumeMetadata.fromJSON(object.metadata) : void 0
|
|
35844
38237
|
};
|
|
35845
38238
|
},
|
|
35846
38239
|
toJSON(message) {
|
|
@@ -35854,6 +38247,9 @@ var VolumeListItem = {
|
|
|
35854
38247
|
if (message.createdAt !== 0) {
|
|
35855
38248
|
obj.createdAt = message.createdAt;
|
|
35856
38249
|
}
|
|
38250
|
+
if (message.metadata !== void 0) {
|
|
38251
|
+
obj.metadata = VolumeMetadata.toJSON(message.metadata);
|
|
38252
|
+
}
|
|
35857
38253
|
return obj;
|
|
35858
38254
|
},
|
|
35859
38255
|
create(base) {
|
|
@@ -35864,17 +38260,21 @@ var VolumeListItem = {
|
|
|
35864
38260
|
message.label = object.label ?? "";
|
|
35865
38261
|
message.volumeId = object.volumeId ?? "";
|
|
35866
38262
|
message.createdAt = object.createdAt ?? 0;
|
|
38263
|
+
message.metadata = object.metadata !== void 0 && object.metadata !== null ? VolumeMetadata.fromPartial(object.metadata) : void 0;
|
|
35867
38264
|
return message;
|
|
35868
38265
|
}
|
|
35869
38266
|
};
|
|
35870
38267
|
function createBaseVolumeListRequest() {
|
|
35871
|
-
return { environmentName: "" };
|
|
38268
|
+
return { environmentName: "", pagination: void 0 };
|
|
35872
38269
|
}
|
|
35873
38270
|
var VolumeListRequest = {
|
|
35874
38271
|
encode(message, writer = new BinaryWriter()) {
|
|
35875
38272
|
if (message.environmentName !== "") {
|
|
35876
38273
|
writer.uint32(10).string(message.environmentName);
|
|
35877
38274
|
}
|
|
38275
|
+
if (message.pagination !== void 0) {
|
|
38276
|
+
ListPagination.encode(message.pagination, writer.uint32(18).fork()).join();
|
|
38277
|
+
}
|
|
35878
38278
|
return writer;
|
|
35879
38279
|
},
|
|
35880
38280
|
decode(input, length) {
|
|
@@ -35891,6 +38291,13 @@ var VolumeListRequest = {
|
|
|
35891
38291
|
message.environmentName = reader.string();
|
|
35892
38292
|
continue;
|
|
35893
38293
|
}
|
|
38294
|
+
case 2: {
|
|
38295
|
+
if (tag !== 18) {
|
|
38296
|
+
break;
|
|
38297
|
+
}
|
|
38298
|
+
message.pagination = ListPagination.decode(reader, reader.uint32());
|
|
38299
|
+
continue;
|
|
38300
|
+
}
|
|
35894
38301
|
}
|
|
35895
38302
|
if ((tag & 7) === 4 || tag === 0) {
|
|
35896
38303
|
break;
|
|
@@ -35900,13 +38307,19 @@ var VolumeListRequest = {
|
|
|
35900
38307
|
return message;
|
|
35901
38308
|
},
|
|
35902
38309
|
fromJSON(object) {
|
|
35903
|
-
return {
|
|
38310
|
+
return {
|
|
38311
|
+
environmentName: isSet3(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
38312
|
+
pagination: isSet3(object.pagination) ? ListPagination.fromJSON(object.pagination) : void 0
|
|
38313
|
+
};
|
|
35904
38314
|
},
|
|
35905
38315
|
toJSON(message) {
|
|
35906
38316
|
const obj = {};
|
|
35907
38317
|
if (message.environmentName !== "") {
|
|
35908
38318
|
obj.environmentName = message.environmentName;
|
|
35909
38319
|
}
|
|
38320
|
+
if (message.pagination !== void 0) {
|
|
38321
|
+
obj.pagination = ListPagination.toJSON(message.pagination);
|
|
38322
|
+
}
|
|
35910
38323
|
return obj;
|
|
35911
38324
|
},
|
|
35912
38325
|
create(base) {
|
|
@@ -35915,6 +38328,7 @@ var VolumeListRequest = {
|
|
|
35915
38328
|
fromPartial(object) {
|
|
35916
38329
|
const message = createBaseVolumeListRequest();
|
|
35917
38330
|
message.environmentName = object.environmentName ?? "";
|
|
38331
|
+
message.pagination = object.pagination !== void 0 && object.pagination !== null ? ListPagination.fromPartial(object.pagination) : void 0;
|
|
35918
38332
|
return message;
|
|
35919
38333
|
}
|
|
35920
38334
|
};
|
|
@@ -35987,13 +38401,19 @@ var VolumeListResponse = {
|
|
|
35987
38401
|
}
|
|
35988
38402
|
};
|
|
35989
38403
|
function createBaseVolumeMetadata() {
|
|
35990
|
-
return { version: 0 };
|
|
38404
|
+
return { version: 0, name: "", creationInfo: void 0 };
|
|
35991
38405
|
}
|
|
35992
38406
|
var VolumeMetadata = {
|
|
35993
38407
|
encode(message, writer = new BinaryWriter()) {
|
|
35994
38408
|
if (message.version !== 0) {
|
|
35995
38409
|
writer.uint32(8).int32(message.version);
|
|
35996
38410
|
}
|
|
38411
|
+
if (message.name !== "") {
|
|
38412
|
+
writer.uint32(18).string(message.name);
|
|
38413
|
+
}
|
|
38414
|
+
if (message.creationInfo !== void 0) {
|
|
38415
|
+
CreationInfo.encode(message.creationInfo, writer.uint32(26).fork()).join();
|
|
38416
|
+
}
|
|
35997
38417
|
return writer;
|
|
35998
38418
|
},
|
|
35999
38419
|
decode(input, length) {
|
|
@@ -36010,6 +38430,20 @@ var VolumeMetadata = {
|
|
|
36010
38430
|
message.version = reader.int32();
|
|
36011
38431
|
continue;
|
|
36012
38432
|
}
|
|
38433
|
+
case 2: {
|
|
38434
|
+
if (tag !== 18) {
|
|
38435
|
+
break;
|
|
38436
|
+
}
|
|
38437
|
+
message.name = reader.string();
|
|
38438
|
+
continue;
|
|
38439
|
+
}
|
|
38440
|
+
case 3: {
|
|
38441
|
+
if (tag !== 26) {
|
|
38442
|
+
break;
|
|
38443
|
+
}
|
|
38444
|
+
message.creationInfo = CreationInfo.decode(reader, reader.uint32());
|
|
38445
|
+
continue;
|
|
38446
|
+
}
|
|
36013
38447
|
}
|
|
36014
38448
|
if ((tag & 7) === 4 || tag === 0) {
|
|
36015
38449
|
break;
|
|
@@ -36019,13 +38453,23 @@ var VolumeMetadata = {
|
|
|
36019
38453
|
return message;
|
|
36020
38454
|
},
|
|
36021
38455
|
fromJSON(object) {
|
|
36022
|
-
return {
|
|
38456
|
+
return {
|
|
38457
|
+
version: isSet3(object.version) ? volumeFsVersionFromJSON(object.version) : 0,
|
|
38458
|
+
name: isSet3(object.name) ? globalThis.String(object.name) : "",
|
|
38459
|
+
creationInfo: isSet3(object.creationInfo) ? CreationInfo.fromJSON(object.creationInfo) : void 0
|
|
38460
|
+
};
|
|
36023
38461
|
},
|
|
36024
38462
|
toJSON(message) {
|
|
36025
38463
|
const obj = {};
|
|
36026
38464
|
if (message.version !== 0) {
|
|
36027
38465
|
obj.version = volumeFsVersionToJSON(message.version);
|
|
36028
38466
|
}
|
|
38467
|
+
if (message.name !== "") {
|
|
38468
|
+
obj.name = message.name;
|
|
38469
|
+
}
|
|
38470
|
+
if (message.creationInfo !== void 0) {
|
|
38471
|
+
obj.creationInfo = CreationInfo.toJSON(message.creationInfo);
|
|
38472
|
+
}
|
|
36029
38473
|
return obj;
|
|
36030
38474
|
},
|
|
36031
38475
|
create(base) {
|
|
@@ -36034,6 +38478,8 @@ var VolumeMetadata = {
|
|
|
36034
38478
|
fromPartial(object) {
|
|
36035
38479
|
const message = createBaseVolumeMetadata();
|
|
36036
38480
|
message.version = object.version ?? 0;
|
|
38481
|
+
message.name = object.name ?? "";
|
|
38482
|
+
message.creationInfo = object.creationInfo !== void 0 && object.creationInfo !== null ? CreationInfo.fromPartial(object.creationInfo) : void 0;
|
|
36037
38483
|
return message;
|
|
36038
38484
|
}
|
|
36039
38485
|
};
|
|
@@ -37423,11 +39869,7 @@ var ModalClientDefinition = {
|
|
|
37423
39869
|
responseStream: false,
|
|
37424
39870
|
options: {}
|
|
37425
39871
|
},
|
|
37426
|
-
/**
|
|
37427
|
-
* Input Plane
|
|
37428
|
-
* These RPCs are experimental, not deployed to production, and can be changed / removed
|
|
37429
|
-
* without needing to worry about backwards compatibility.
|
|
37430
|
-
*/
|
|
39872
|
+
/** Input Plane */
|
|
37431
39873
|
attemptAwait: {
|
|
37432
39874
|
name: "AttemptAwait",
|
|
37433
39875
|
requestType: AttemptAwaitRequest,
|
|
@@ -37452,6 +39894,15 @@ var ModalClientDefinition = {
|
|
|
37452
39894
|
responseStream: false,
|
|
37453
39895
|
options: {}
|
|
37454
39896
|
},
|
|
39897
|
+
/** Auth Token */
|
|
39898
|
+
authTokenGet: {
|
|
39899
|
+
name: "AuthTokenGet",
|
|
39900
|
+
requestType: AuthTokenGetRequest,
|
|
39901
|
+
requestStream: false,
|
|
39902
|
+
responseType: AuthTokenGetResponse,
|
|
39903
|
+
responseStream: false,
|
|
39904
|
+
options: {}
|
|
39905
|
+
},
|
|
37455
39906
|
/** Blobs */
|
|
37456
39907
|
blobCreate: {
|
|
37457
39908
|
name: "BlobCreate",
|
|
@@ -37814,6 +40265,14 @@ var ModalClientDefinition = {
|
|
|
37814
40265
|
responseStream: false,
|
|
37815
40266
|
options: {}
|
|
37816
40267
|
},
|
|
40268
|
+
functionCallFromId: {
|
|
40269
|
+
name: "FunctionCallFromId",
|
|
40270
|
+
requestType: FunctionCallFromIdRequest,
|
|
40271
|
+
requestStream: false,
|
|
40272
|
+
responseType: FunctionCallFromIdResponse,
|
|
40273
|
+
responseStream: false,
|
|
40274
|
+
options: {}
|
|
40275
|
+
},
|
|
37817
40276
|
functionCallGetDataIn: {
|
|
37818
40277
|
name: "FunctionCallGetDataIn",
|
|
37819
40278
|
requestType: FunctionCallGetDataRequest,
|
|
@@ -37854,6 +40313,15 @@ var ModalClientDefinition = {
|
|
|
37854
40313
|
responseStream: false,
|
|
37855
40314
|
options: {}
|
|
37856
40315
|
},
|
|
40316
|
+
/** For map RPCs, to signal that all inputs have been sent */
|
|
40317
|
+
functionFinishInputs: {
|
|
40318
|
+
name: "FunctionFinishInputs",
|
|
40319
|
+
requestType: FunctionFinishInputsRequest,
|
|
40320
|
+
requestStream: false,
|
|
40321
|
+
responseType: Empty,
|
|
40322
|
+
responseStream: false,
|
|
40323
|
+
options: {}
|
|
40324
|
+
},
|
|
37857
40325
|
functionGet: {
|
|
37858
40326
|
name: "FunctionGet",
|
|
37859
40327
|
requestType: FunctionGetRequest,
|
|
@@ -37994,6 +40462,31 @@ var ModalClientDefinition = {
|
|
|
37994
40462
|
responseStream: true,
|
|
37995
40463
|
options: {}
|
|
37996
40464
|
},
|
|
40465
|
+
/** Input Plane Map */
|
|
40466
|
+
mapAwait: {
|
|
40467
|
+
name: "MapAwait",
|
|
40468
|
+
requestType: MapAwaitRequest,
|
|
40469
|
+
requestStream: false,
|
|
40470
|
+
responseType: MapAwaitResponse,
|
|
40471
|
+
responseStream: false,
|
|
40472
|
+
options: {}
|
|
40473
|
+
},
|
|
40474
|
+
mapCheckInputs: {
|
|
40475
|
+
name: "MapCheckInputs",
|
|
40476
|
+
requestType: MapCheckInputsRequest,
|
|
40477
|
+
requestStream: false,
|
|
40478
|
+
responseType: MapCheckInputsResponse,
|
|
40479
|
+
responseStream: false,
|
|
40480
|
+
options: {}
|
|
40481
|
+
},
|
|
40482
|
+
mapStartOrContinue: {
|
|
40483
|
+
name: "MapStartOrContinue",
|
|
40484
|
+
requestType: MapStartOrContinueRequest,
|
|
40485
|
+
requestStream: false,
|
|
40486
|
+
responseType: MapStartOrContinueResponse,
|
|
40487
|
+
responseStream: false,
|
|
40488
|
+
options: {}
|
|
40489
|
+
},
|
|
37997
40490
|
/** Mounts */
|
|
37998
40491
|
mountGetOrCreate: {
|
|
37999
40492
|
name: "MountGetOrCreate",
|
|
@@ -38159,6 +40652,14 @@ var ModalClientDefinition = {
|
|
|
38159
40652
|
responseStream: false,
|
|
38160
40653
|
options: {}
|
|
38161
40654
|
},
|
|
40655
|
+
sandboxGetFromName: {
|
|
40656
|
+
name: "SandboxGetFromName",
|
|
40657
|
+
requestType: SandboxGetFromNameRequest,
|
|
40658
|
+
requestStream: false,
|
|
40659
|
+
responseType: SandboxGetFromNameResponse,
|
|
40660
|
+
responseStream: false,
|
|
40661
|
+
options: {}
|
|
40662
|
+
},
|
|
38162
40663
|
sandboxGetLogs: {
|
|
38163
40664
|
name: "SandboxGetLogs",
|
|
38164
40665
|
requestType: SandboxGetLogsRequest,
|
|
@@ -38224,6 +40725,22 @@ var ModalClientDefinition = {
|
|
|
38224
40725
|
responseStream: false,
|
|
38225
40726
|
options: {}
|
|
38226
40727
|
},
|
|
40728
|
+
sandboxSnapshotFsAsync: {
|
|
40729
|
+
name: "SandboxSnapshotFsAsync",
|
|
40730
|
+
requestType: SandboxSnapshotFsAsyncRequest,
|
|
40731
|
+
requestStream: false,
|
|
40732
|
+
responseType: SandboxSnapshotFsAsyncResponse,
|
|
40733
|
+
responseStream: false,
|
|
40734
|
+
options: {}
|
|
40735
|
+
},
|
|
40736
|
+
sandboxSnapshotFsAsyncGet: {
|
|
40737
|
+
name: "SandboxSnapshotFsAsyncGet",
|
|
40738
|
+
requestType: SandboxSnapshotFsAsyncGetRequest,
|
|
40739
|
+
requestStream: false,
|
|
40740
|
+
responseType: SandboxSnapshotFsResponse,
|
|
40741
|
+
responseStream: false,
|
|
40742
|
+
options: {}
|
|
40743
|
+
},
|
|
38227
40744
|
sandboxSnapshotGet: {
|
|
38228
40745
|
name: "SandboxSnapshotGet",
|
|
38229
40746
|
requestType: SandboxSnapshotGetRequest,
|
|
@@ -38877,6 +41394,12 @@ var NotFoundError = class extends Error {
|
|
|
38877
41394
|
this.name = "NotFoundError";
|
|
38878
41395
|
}
|
|
38879
41396
|
};
|
|
41397
|
+
var AlreadyExistsError = class extends Error {
|
|
41398
|
+
constructor(message) {
|
|
41399
|
+
super(message);
|
|
41400
|
+
this.name = "AlreadyExistsError";
|
|
41401
|
+
}
|
|
41402
|
+
};
|
|
38880
41403
|
var InvalidError = class extends Error {
|
|
38881
41404
|
constructor(message) {
|
|
38882
41405
|
super(message);
|
|
@@ -38972,6 +41495,14 @@ var Image2 = class _Image {
|
|
|
38972
41495
|
get imageId() {
|
|
38973
41496
|
return this.#imageId;
|
|
38974
41497
|
}
|
|
41498
|
+
/**
|
|
41499
|
+
* Creates an `Image` instance from an image id
|
|
41500
|
+
*
|
|
41501
|
+
* @param imageId - Image id.
|
|
41502
|
+
*/
|
|
41503
|
+
static fromId(imageId) {
|
|
41504
|
+
return new _Image(imageId, "");
|
|
41505
|
+
}
|
|
38975
41506
|
/**
|
|
38976
41507
|
* Creates an `Image` instance from a raw registry tag, optionally using a secret for authentication.
|
|
38977
41508
|
*
|
|
@@ -39036,15 +41567,16 @@ var Image2 = class _Image {
|
|
|
39036
41567
|
return new _Image("", tag, imageRegistryConfig);
|
|
39037
41568
|
}
|
|
39038
41569
|
/**
|
|
39039
|
-
*
|
|
39040
|
-
*
|
|
41570
|
+
* Eagerly builds an `Image` on Modal.
|
|
41571
|
+
*
|
|
41572
|
+
* @param app - App to use to build image.
|
|
39041
41573
|
*/
|
|
39042
|
-
async
|
|
41574
|
+
async build(app) {
|
|
39043
41575
|
if (this.imageId !== "") {
|
|
39044
41576
|
return this;
|
|
39045
41577
|
}
|
|
39046
41578
|
const resp = await client.imageGetOrCreate({
|
|
39047
|
-
appId,
|
|
41579
|
+
appId: app.appId,
|
|
39048
41580
|
image: {
|
|
39049
41581
|
dockerfileCommands: [`FROM ${this.#tag}`],
|
|
39050
41582
|
imageRegistryConfig: this.#imageRegistryConfig
|
|
@@ -39401,6 +41933,32 @@ var Sandbox2 = class _Sandbox {
|
|
|
39401
41933
|
}
|
|
39402
41934
|
return new _Sandbox(sandboxId);
|
|
39403
41935
|
}
|
|
41936
|
+
/** Get a running Sandbox by name from a deployed App.
|
|
41937
|
+
*
|
|
41938
|
+
* Raises a NotFoundError if no running Sandbox is found with the given name.
|
|
41939
|
+
* A Sandbox's name is the `name` argument passed to `App.createSandbox`.
|
|
41940
|
+
*
|
|
41941
|
+
* @param appName - Name of the deployed app
|
|
41942
|
+
* @param name - Name of the sandbox
|
|
41943
|
+
* @param environment - Optional override for the environment
|
|
41944
|
+
* @returns Promise that resolves to a Sandbox
|
|
41945
|
+
*/
|
|
41946
|
+
static async fromName(appName, name, environment) {
|
|
41947
|
+
try {
|
|
41948
|
+
const resp = await client.sandboxGetFromName({
|
|
41949
|
+
sandboxName: name,
|
|
41950
|
+
appName,
|
|
41951
|
+
environmentName: environmentName(environment)
|
|
41952
|
+
});
|
|
41953
|
+
return new _Sandbox(resp.sandboxId);
|
|
41954
|
+
} catch (err) {
|
|
41955
|
+
if (err instanceof import_nice_grpc3.ClientError && err.code === import_nice_grpc3.Status.NOT_FOUND)
|
|
41956
|
+
throw new NotFoundError(
|
|
41957
|
+
`Sandbox with name '${name}' not found in app '${appName}'`
|
|
41958
|
+
);
|
|
41959
|
+
throw err;
|
|
41960
|
+
}
|
|
41961
|
+
}
|
|
39404
41962
|
/**
|
|
39405
41963
|
* Open a file in the sandbox filesystem.
|
|
39406
41964
|
* @param path - Path to the file to open
|
|
@@ -39845,7 +42403,7 @@ var App = class _App {
|
|
|
39845
42403
|
`Timeout must be a multiple of 1000ms, got ${options.timeout}`
|
|
39846
42404
|
);
|
|
39847
42405
|
}
|
|
39848
|
-
await image.
|
|
42406
|
+
await image.build(this);
|
|
39849
42407
|
if (options.workdir && !options.workdir.startsWith("/")) {
|
|
39850
42408
|
throw new Error(
|
|
39851
42409
|
`workdir must be an absolute path, got: ${options.workdir}`
|
|
@@ -39912,50 +42470,59 @@ var App = class _App {
|
|
|
39912
42470
|
const schedulerPlacement = SchedulerPlacement.create({
|
|
39913
42471
|
regions: options.regions ?? []
|
|
39914
42472
|
});
|
|
39915
|
-
|
|
39916
|
-
|
|
39917
|
-
|
|
39918
|
-
|
|
39919
|
-
|
|
39920
|
-
|
|
39921
|
-
|
|
39922
|
-
|
|
39923
|
-
|
|
39924
|
-
|
|
39925
|
-
|
|
39926
|
-
|
|
39927
|
-
|
|
39928
|
-
|
|
39929
|
-
|
|
39930
|
-
|
|
39931
|
-
|
|
39932
|
-
|
|
39933
|
-
|
|
39934
|
-
|
|
39935
|
-
|
|
39936
|
-
|
|
39937
|
-
|
|
42473
|
+
let createResp;
|
|
42474
|
+
try {
|
|
42475
|
+
createResp = await client.sandboxCreate({
|
|
42476
|
+
appId: this.appId,
|
|
42477
|
+
definition: {
|
|
42478
|
+
// Sleep default is implicit in image builder version <=2024.10
|
|
42479
|
+
entrypointArgs: options.command ?? ["sleep", "48h"],
|
|
42480
|
+
imageId: image.imageId,
|
|
42481
|
+
timeoutSecs: options.timeout != void 0 ? options.timeout / 1e3 : 600,
|
|
42482
|
+
workdir: options.workdir ?? void 0,
|
|
42483
|
+
networkAccess,
|
|
42484
|
+
resources: {
|
|
42485
|
+
// https://modal.com/docs/guide/resources
|
|
42486
|
+
milliCpu: Math.round(1e3 * (options.cpu ?? 0.125)),
|
|
42487
|
+
memoryMb: options.memory ?? 128,
|
|
42488
|
+
gpuConfig
|
|
42489
|
+
},
|
|
42490
|
+
volumeMounts,
|
|
42491
|
+
cloudBucketMounts,
|
|
42492
|
+
secretIds,
|
|
42493
|
+
openPorts: openPorts.length > 0 ? { ports: openPorts } : void 0,
|
|
42494
|
+
cloudProviderStr: options.cloud ?? "",
|
|
42495
|
+
schedulerPlacement,
|
|
42496
|
+
verbose: options.verbose ?? false,
|
|
42497
|
+
proxyId: options.proxy?.proxyId,
|
|
42498
|
+
name: options.name
|
|
42499
|
+
}
|
|
42500
|
+
});
|
|
42501
|
+
} catch (err) {
|
|
42502
|
+
if (err instanceof import_nice_grpc4.ClientError && err.code === import_nice_grpc4.Status.ALREADY_EXISTS) {
|
|
42503
|
+
throw new AlreadyExistsError(err.details || err.message);
|
|
39938
42504
|
}
|
|
39939
|
-
|
|
42505
|
+
throw err;
|
|
42506
|
+
}
|
|
39940
42507
|
return new Sandbox2(createResp.sandboxId);
|
|
39941
42508
|
}
|
|
39942
42509
|
/**
|
|
39943
42510
|
* @deprecated Use `Image.fromRegistry` instead.
|
|
39944
42511
|
*/
|
|
39945
42512
|
async imageFromRegistry(tag, secret) {
|
|
39946
|
-
return await Image2.fromRegistry(tag, secret).
|
|
42513
|
+
return await Image2.fromRegistry(tag, secret).build(this);
|
|
39947
42514
|
}
|
|
39948
42515
|
/**
|
|
39949
42516
|
* @deprecated Use `Image.fromAwsEcr` instead.
|
|
39950
42517
|
*/
|
|
39951
42518
|
async imageFromAwsEcr(tag, secret) {
|
|
39952
|
-
return await Image2.fromAwsEcr(tag, secret).
|
|
42519
|
+
return await Image2.fromAwsEcr(tag, secret).build(this);
|
|
39953
42520
|
}
|
|
39954
42521
|
/**
|
|
39955
42522
|
* @deprecated Use `Image.fromGcpArtifactRegistry` instead.
|
|
39956
42523
|
*/
|
|
39957
42524
|
async imageFromGcpArtifactRegistry(tag, secret) {
|
|
39958
|
-
return await Image2.fromGcpArtifactRegistry(tag, secret).
|
|
42525
|
+
return await Image2.fromGcpArtifactRegistry(tag, secret).build(this);
|
|
39959
42526
|
}
|
|
39960
42527
|
};
|
|
39961
42528
|
|
|
@@ -40326,10 +42893,10 @@ var ControlPlaneInvocation = class _ControlPlaneInvocation {
|
|
|
40326
42893
|
this.inputJwt = inputJwt;
|
|
40327
42894
|
}
|
|
40328
42895
|
static async create(functionId, input, invocationType) {
|
|
40329
|
-
const functionPutInputsItem = {
|
|
42896
|
+
const functionPutInputsItem = FunctionPutInputsItem.create({
|
|
40330
42897
|
idx: 0,
|
|
40331
42898
|
input
|
|
40332
|
-
};
|
|
42899
|
+
});
|
|
40333
42900
|
const functionMapResponse = await client.functionMap({
|
|
40334
42901
|
functionId,
|
|
40335
42902
|
functionCallType: 1 /* FUNCTION_CALL_TYPE_UNARY */,
|
|
@@ -40392,12 +42959,10 @@ var InputPlaneInvocation = class _InputPlaneInvocation {
|
|
|
40392
42959
|
this.attemptToken = attemptToken;
|
|
40393
42960
|
}
|
|
40394
42961
|
static async create(inputPlaneUrl, functionId, input) {
|
|
40395
|
-
const functionPutInputsItem = {
|
|
42962
|
+
const functionPutInputsItem = FunctionPutInputsItem.create({
|
|
40396
42963
|
idx: 0,
|
|
40397
|
-
input
|
|
40398
|
-
|
|
40399
|
-
r2LatencyMs: 0
|
|
40400
|
-
};
|
|
42964
|
+
input
|
|
42965
|
+
});
|
|
40401
42966
|
const client2 = getOrCreateInputPlaneClient(inputPlaneUrl);
|
|
40402
42967
|
const attemptStartResponse = await client2.attemptStart({
|
|
40403
42968
|
functionId,
|
|
@@ -40687,18 +43252,79 @@ async function blobUpload(data) {
|
|
|
40687
43252
|
}
|
|
40688
43253
|
}
|
|
40689
43254
|
|
|
43255
|
+
// src/retries.ts
|
|
43256
|
+
var Retries = class {
|
|
43257
|
+
maxRetries;
|
|
43258
|
+
backoffCoefficient;
|
|
43259
|
+
initialDelayMs;
|
|
43260
|
+
maxDelayMs;
|
|
43261
|
+
constructor(options) {
|
|
43262
|
+
const {
|
|
43263
|
+
maxRetries,
|
|
43264
|
+
backoffCoefficient = 2,
|
|
43265
|
+
initialDelayMs = 1e3,
|
|
43266
|
+
maxDelayMs = 6e4
|
|
43267
|
+
} = options;
|
|
43268
|
+
if (maxRetries < 0 || maxRetries > 10) {
|
|
43269
|
+
throw new Error(
|
|
43270
|
+
`Invalid maxRetries: ${maxRetries}. Must be between 0 and 10.`
|
|
43271
|
+
);
|
|
43272
|
+
}
|
|
43273
|
+
if (backoffCoefficient < 1 || backoffCoefficient > 10) {
|
|
43274
|
+
throw new Error(
|
|
43275
|
+
`Invalid backoffCoefficient: ${backoffCoefficient}. Must be between 1.0 and 10.0`
|
|
43276
|
+
);
|
|
43277
|
+
}
|
|
43278
|
+
if (initialDelayMs < 0 || initialDelayMs > 6e4) {
|
|
43279
|
+
throw new Error(
|
|
43280
|
+
`Invalid initialDelayMs: ${initialDelayMs}. Must be between 0 and 60000 ms.`
|
|
43281
|
+
);
|
|
43282
|
+
}
|
|
43283
|
+
if (maxDelayMs < 1e3 || maxDelayMs > 6e4) {
|
|
43284
|
+
throw new Error(
|
|
43285
|
+
`Invalid maxDelayMs: ${maxDelayMs}. Must be between 1000 and 60000 ms.`
|
|
43286
|
+
);
|
|
43287
|
+
}
|
|
43288
|
+
this.maxRetries = maxRetries;
|
|
43289
|
+
this.backoffCoefficient = backoffCoefficient;
|
|
43290
|
+
this.initialDelayMs = initialDelayMs;
|
|
43291
|
+
this.maxDelayMs = maxDelayMs;
|
|
43292
|
+
}
|
|
43293
|
+
};
|
|
43294
|
+
function parseRetries(retries) {
|
|
43295
|
+
if (retries === void 0) return void 0;
|
|
43296
|
+
if (typeof retries === "number") {
|
|
43297
|
+
if (!Number.isInteger(retries) || retries < 0 || retries > 10) {
|
|
43298
|
+
throw new Error(
|
|
43299
|
+
`Retries parameter must be an integer between 0 and 10. Found: ${retries}`
|
|
43300
|
+
);
|
|
43301
|
+
}
|
|
43302
|
+
return new Retries({
|
|
43303
|
+
maxRetries: retries,
|
|
43304
|
+
backoffCoefficient: 1,
|
|
43305
|
+
initialDelayMs: 1e3
|
|
43306
|
+
});
|
|
43307
|
+
}
|
|
43308
|
+
if (retries instanceof Retries) return retries;
|
|
43309
|
+
throw new Error(
|
|
43310
|
+
`Retries parameter must be an integer or instance of Retries. Found: ${typeof retries}.`
|
|
43311
|
+
);
|
|
43312
|
+
}
|
|
43313
|
+
|
|
40690
43314
|
// src/cls.ts
|
|
40691
43315
|
var Cls = class _Cls {
|
|
40692
43316
|
#serviceFunctionId;
|
|
40693
43317
|
#schema;
|
|
40694
43318
|
#methodNames;
|
|
40695
43319
|
#inputPlaneUrl;
|
|
43320
|
+
#options;
|
|
40696
43321
|
/** @ignore */
|
|
40697
|
-
constructor(serviceFunctionId, schema, methodNames, inputPlaneUrl) {
|
|
43322
|
+
constructor(serviceFunctionId, schema, methodNames, inputPlaneUrl, options) {
|
|
40698
43323
|
this.#serviceFunctionId = serviceFunctionId;
|
|
40699
43324
|
this.#schema = schema;
|
|
40700
43325
|
this.#methodNames = methodNames;
|
|
40701
43326
|
this.#inputPlaneUrl = inputPlaneUrl;
|
|
43327
|
+
this.#options = options;
|
|
40702
43328
|
}
|
|
40703
43329
|
static async lookup(appName, name, options = {}) {
|
|
40704
43330
|
try {
|
|
@@ -40729,7 +43355,8 @@ var Cls = class _Cls {
|
|
|
40729
43355
|
serviceFunction.functionId,
|
|
40730
43356
|
schema,
|
|
40731
43357
|
methodNames,
|
|
40732
|
-
serviceFunction.handleMetadata?.inputPlaneUrl
|
|
43358
|
+
serviceFunction.handleMetadata?.inputPlaneUrl,
|
|
43359
|
+
void 0
|
|
40733
43360
|
);
|
|
40734
43361
|
} catch (err) {
|
|
40735
43362
|
if (err instanceof import_nice_grpc6.ClientError && err.code === import_nice_grpc6.Status.NOT_FOUND)
|
|
@@ -40737,10 +43364,10 @@ var Cls = class _Cls {
|
|
|
40737
43364
|
throw err;
|
|
40738
43365
|
}
|
|
40739
43366
|
}
|
|
40740
|
-
/** Create a new instance of the Cls with parameters. */
|
|
43367
|
+
/** Create a new instance of the Cls with parameters and/or runtime options. */
|
|
40741
43368
|
async instance(params = {}) {
|
|
40742
43369
|
let functionId;
|
|
40743
|
-
if (this.#schema.length === 0) {
|
|
43370
|
+
if (this.#schema.length === 0 && this.#options === void 0) {
|
|
40744
43371
|
functionId = this.#serviceFunctionId;
|
|
40745
43372
|
} else {
|
|
40746
43373
|
functionId = await this.#bindParameters(params);
|
|
@@ -40751,12 +43378,53 @@ var Cls = class _Cls {
|
|
|
40751
43378
|
}
|
|
40752
43379
|
return new ClsInstance(methods);
|
|
40753
43380
|
}
|
|
43381
|
+
/** Override the static Function configuration at runtime. */
|
|
43382
|
+
withOptions(options) {
|
|
43383
|
+
const merged = mergeServiceOptions(this.#options, options);
|
|
43384
|
+
return new _Cls(
|
|
43385
|
+
this.#serviceFunctionId,
|
|
43386
|
+
this.#schema,
|
|
43387
|
+
this.#methodNames,
|
|
43388
|
+
this.#inputPlaneUrl,
|
|
43389
|
+
merged
|
|
43390
|
+
);
|
|
43391
|
+
}
|
|
43392
|
+
/** Create an instance of the Cls with input concurrency enabled or overridden with new values. */
|
|
43393
|
+
withConcurrency(options) {
|
|
43394
|
+
const merged = mergeServiceOptions(this.#options, {
|
|
43395
|
+
maxConcurrentInputs: options.maxInputs,
|
|
43396
|
+
targetConcurrentInputs: options.targetInputs
|
|
43397
|
+
});
|
|
43398
|
+
return new _Cls(
|
|
43399
|
+
this.#serviceFunctionId,
|
|
43400
|
+
this.#schema,
|
|
43401
|
+
this.#methodNames,
|
|
43402
|
+
this.#inputPlaneUrl,
|
|
43403
|
+
merged
|
|
43404
|
+
);
|
|
43405
|
+
}
|
|
43406
|
+
/** Create an instance of the Cls with dynamic batching enabled or overridden with new values. */
|
|
43407
|
+
withBatching(options) {
|
|
43408
|
+
const merged = mergeServiceOptions(this.#options, {
|
|
43409
|
+
batchMaxSize: options.maxBatchSize,
|
|
43410
|
+
batchWaitMs: options.waitMs
|
|
43411
|
+
});
|
|
43412
|
+
return new _Cls(
|
|
43413
|
+
this.#serviceFunctionId,
|
|
43414
|
+
this.#schema,
|
|
43415
|
+
this.#methodNames,
|
|
43416
|
+
this.#inputPlaneUrl,
|
|
43417
|
+
merged
|
|
43418
|
+
);
|
|
43419
|
+
}
|
|
40754
43420
|
/** Bind parameters to the Cls function. */
|
|
40755
43421
|
async #bindParameters(params) {
|
|
40756
43422
|
const serializedParams = encodeParameterSet(this.#schema, params);
|
|
43423
|
+
const functionOptions = buildFunctionOptionsProto(this.#options);
|
|
40757
43424
|
const bindResp = await client.functionBindParams({
|
|
40758
43425
|
functionId: this.#serviceFunctionId,
|
|
40759
|
-
serializedParams
|
|
43426
|
+
serializedParams,
|
|
43427
|
+
functionOptions
|
|
40760
43428
|
});
|
|
40761
43429
|
return bindResp.boundFunctionId;
|
|
40762
43430
|
}
|
|
@@ -40770,6 +43438,62 @@ function encodeParameterSet(schema, params) {
|
|
|
40770
43438
|
encoded.sort((a, b) => a.name.localeCompare(b.name));
|
|
40771
43439
|
return ClassParameterSet.encode({ parameters: encoded }).finish();
|
|
40772
43440
|
}
|
|
43441
|
+
function mergeServiceOptions(base, diff) {
|
|
43442
|
+
const filteredDiff = Object.fromEntries(
|
|
43443
|
+
Object.entries(diff).filter(([, value]) => value !== void 0)
|
|
43444
|
+
);
|
|
43445
|
+
const merged = { ...base ?? {}, ...filteredDiff };
|
|
43446
|
+
return Object.keys(merged).length === 0 ? void 0 : merged;
|
|
43447
|
+
}
|
|
43448
|
+
function buildFunctionOptionsProto(options) {
|
|
43449
|
+
if (!options) return void 0;
|
|
43450
|
+
const o = options ?? {};
|
|
43451
|
+
const gpuConfig = parseGpuConfig(o.gpu);
|
|
43452
|
+
const resources = o.cpu !== void 0 || o.memory !== void 0 || gpuConfig ? {
|
|
43453
|
+
milliCpu: o.cpu !== void 0 ? Math.round(1e3 * o.cpu) : void 0,
|
|
43454
|
+
memoryMb: o.memory,
|
|
43455
|
+
gpuConfig
|
|
43456
|
+
} : void 0;
|
|
43457
|
+
const secretIds = o.secrets ? o.secrets.map((s) => s.secretId) : [];
|
|
43458
|
+
const volumeMounts = o.volumes ? Object.entries(o.volumes).map(([mountPath, volume]) => ({
|
|
43459
|
+
volumeId: volume.volumeId,
|
|
43460
|
+
mountPath,
|
|
43461
|
+
allowBackgroundCommits: true,
|
|
43462
|
+
readOnly: volume.isReadOnly
|
|
43463
|
+
})) : [];
|
|
43464
|
+
const parsedRetries = parseRetries(o.retries);
|
|
43465
|
+
const retryPolicy = parsedRetries ? {
|
|
43466
|
+
retries: parsedRetries.maxRetries,
|
|
43467
|
+
backoffCoefficient: parsedRetries.backoffCoefficient,
|
|
43468
|
+
initialDelayMs: parsedRetries.initialDelayMs,
|
|
43469
|
+
maxDelayMs: parsedRetries.maxDelayMs
|
|
43470
|
+
} : void 0;
|
|
43471
|
+
if (o.scaledownWindow !== void 0 && o.scaledownWindow % 1e3 !== 0) {
|
|
43472
|
+
throw new Error(
|
|
43473
|
+
`scaledownWindow must be a multiple of 1000ms, got ${o.scaledownWindow}`
|
|
43474
|
+
);
|
|
43475
|
+
}
|
|
43476
|
+
if (o.timeout !== void 0 && o.timeout % 1e3 !== 0) {
|
|
43477
|
+
throw new Error(`timeout must be a multiple of 1000ms, got ${o.timeout}`);
|
|
43478
|
+
}
|
|
43479
|
+
const functionOptions = FunctionOptions.create({
|
|
43480
|
+
secretIds,
|
|
43481
|
+
replaceSecretIds: secretIds.length > 0,
|
|
43482
|
+
replaceVolumeMounts: volumeMounts.length > 0,
|
|
43483
|
+
volumeMounts,
|
|
43484
|
+
resources,
|
|
43485
|
+
retryPolicy,
|
|
43486
|
+
concurrencyLimit: o.maxContainers,
|
|
43487
|
+
bufferContainers: o.bufferContainers,
|
|
43488
|
+
taskIdleTimeoutSecs: o.scaledownWindow !== void 0 ? o.scaledownWindow / 1e3 : void 0,
|
|
43489
|
+
timeoutSecs: o.timeout !== void 0 ? o.timeout / 1e3 : void 0,
|
|
43490
|
+
maxConcurrentInputs: o.maxConcurrentInputs,
|
|
43491
|
+
targetConcurrentInputs: o.targetConcurrentInputs,
|
|
43492
|
+
batchMaxSize: o.batchMaxSize,
|
|
43493
|
+
batchLingerMs: o.batchWaitMs
|
|
43494
|
+
});
|
|
43495
|
+
return functionOptions;
|
|
43496
|
+
}
|
|
40773
43497
|
function encodeParameter(paramSpec, value) {
|
|
40774
43498
|
const name = paramSpec.name;
|
|
40775
43499
|
const paramType = paramSpec.type;
|
|
@@ -40832,20 +43556,50 @@ var ClsInstance = class {
|
|
|
40832
43556
|
|
|
40833
43557
|
// src/queue.ts
|
|
40834
43558
|
var import_nice_grpc7 = require("nice-grpc");
|
|
43559
|
+
|
|
43560
|
+
// src/ephemeral.ts
|
|
40835
43561
|
var ephemeralObjectHeartbeatSleep = 3e5;
|
|
43562
|
+
var EphemeralHeartbeatManager = class {
|
|
43563
|
+
heartbeatFn;
|
|
43564
|
+
abortController;
|
|
43565
|
+
constructor(heartbeatFn) {
|
|
43566
|
+
this.heartbeatFn = heartbeatFn;
|
|
43567
|
+
this.abortController = new AbortController();
|
|
43568
|
+
this.start();
|
|
43569
|
+
}
|
|
43570
|
+
start() {
|
|
43571
|
+
const signal = this.abortController.signal;
|
|
43572
|
+
(async () => {
|
|
43573
|
+
while (!signal.aborted) {
|
|
43574
|
+
await this.heartbeatFn();
|
|
43575
|
+
await Promise.race([
|
|
43576
|
+
new Promise((resolve) => {
|
|
43577
|
+
setTimeout(resolve, ephemeralObjectHeartbeatSleep).unref();
|
|
43578
|
+
}),
|
|
43579
|
+
new Promise((resolve) => {
|
|
43580
|
+
signal.addEventListener("abort", resolve, { once: true });
|
|
43581
|
+
})
|
|
43582
|
+
]);
|
|
43583
|
+
}
|
|
43584
|
+
})();
|
|
43585
|
+
}
|
|
43586
|
+
stop() {
|
|
43587
|
+
this.abortController.abort();
|
|
43588
|
+
}
|
|
43589
|
+
};
|
|
43590
|
+
|
|
43591
|
+
// src/queue.ts
|
|
40836
43592
|
var queueInitialPutBackoff = 100;
|
|
40837
43593
|
var queueDefaultPartitionTtl = 24 * 3600 * 1e3;
|
|
40838
43594
|
var Queue = class _Queue {
|
|
40839
43595
|
queueId;
|
|
40840
43596
|
name;
|
|
40841
|
-
#
|
|
40842
|
-
#abortController;
|
|
43597
|
+
#ephemeralHbManager;
|
|
40843
43598
|
/** @ignore */
|
|
40844
|
-
constructor(queueId, name,
|
|
43599
|
+
constructor(queueId, name, ephemeralHbManager) {
|
|
40845
43600
|
this.queueId = queueId;
|
|
40846
43601
|
this.name = name;
|
|
40847
|
-
this.#
|
|
40848
|
-
this.#abortController = ephemeral ? new AbortController() : void 0;
|
|
43602
|
+
this.#ephemeralHbManager = ephemeralHbManager;
|
|
40849
43603
|
}
|
|
40850
43604
|
static #validatePartitionKey(partition) {
|
|
40851
43605
|
if (partition) {
|
|
@@ -40868,27 +43622,15 @@ var Queue = class _Queue {
|
|
|
40868
43622
|
objectCreationType: 5 /* OBJECT_CREATION_TYPE_EPHEMERAL */,
|
|
40869
43623
|
environmentName: environmentName(options.environment)
|
|
40870
43624
|
});
|
|
40871
|
-
const
|
|
40872
|
-
|
|
40873
|
-
|
|
40874
|
-
|
|
40875
|
-
await client.queueHeartbeat({ queueId: resp.queueId });
|
|
40876
|
-
await Promise.race([
|
|
40877
|
-
new Promise(
|
|
40878
|
-
(resolve) => setTimeout(resolve, ephemeralObjectHeartbeatSleep)
|
|
40879
|
-
),
|
|
40880
|
-
new Promise((resolve) => {
|
|
40881
|
-
signal.addEventListener("abort", resolve, { once: true });
|
|
40882
|
-
})
|
|
40883
|
-
]);
|
|
40884
|
-
}
|
|
40885
|
-
})();
|
|
40886
|
-
return queue;
|
|
43625
|
+
const ephemeralHbManager = new EphemeralHeartbeatManager(
|
|
43626
|
+
() => client.queueHeartbeat({ queueId: resp.queueId })
|
|
43627
|
+
);
|
|
43628
|
+
return new _Queue(resp.queueId, void 0, ephemeralHbManager);
|
|
40887
43629
|
}
|
|
40888
43630
|
/** Delete the ephemeral queue. Only usable with `Queue.ephemeral()`. */
|
|
40889
43631
|
closeEphemeral() {
|
|
40890
|
-
if (this.#
|
|
40891
|
-
this.#
|
|
43632
|
+
if (this.#ephemeralHbManager) {
|
|
43633
|
+
this.#ephemeralHbManager.stop();
|
|
40892
43634
|
} else {
|
|
40893
43635
|
throw new InvalidError("Queue is not ephemeral.");
|
|
40894
43636
|
}
|
|
@@ -41084,11 +43826,13 @@ var Volume = class _Volume {
|
|
|
41084
43826
|
volumeId;
|
|
41085
43827
|
name;
|
|
41086
43828
|
_readOnly = false;
|
|
43829
|
+
#ephemeralHbManager;
|
|
41087
43830
|
/** @ignore */
|
|
41088
|
-
constructor(volumeId, name, readOnly = false) {
|
|
43831
|
+
constructor(volumeId, name, readOnly = false, ephemeralHbManager) {
|
|
41089
43832
|
this.volumeId = volumeId;
|
|
41090
43833
|
this.name = name;
|
|
41091
43834
|
this._readOnly = readOnly;
|
|
43835
|
+
this.#ephemeralHbManager = ephemeralHbManager;
|
|
41092
43836
|
}
|
|
41093
43837
|
static async fromName(name, options) {
|
|
41094
43838
|
try {
|
|
@@ -41106,11 +43850,33 @@ var Volume = class _Volume {
|
|
|
41106
43850
|
}
|
|
41107
43851
|
/** Configure Volume to mount as read-only. */
|
|
41108
43852
|
readOnly() {
|
|
41109
|
-
return new _Volume(this.volumeId, this.name, true);
|
|
43853
|
+
return new _Volume(this.volumeId, this.name, true, this.#ephemeralHbManager);
|
|
41110
43854
|
}
|
|
41111
43855
|
get isReadOnly() {
|
|
41112
43856
|
return this._readOnly;
|
|
41113
43857
|
}
|
|
43858
|
+
/**
|
|
43859
|
+
* Create a nameless, temporary volume.
|
|
43860
|
+
* You will need to call `closeEphemeral()` to delete the volume.
|
|
43861
|
+
*/
|
|
43862
|
+
static async ephemeral(options = {}) {
|
|
43863
|
+
const resp = await client.volumeGetOrCreate({
|
|
43864
|
+
objectCreationType: 5 /* OBJECT_CREATION_TYPE_EPHEMERAL */,
|
|
43865
|
+
environmentName: environmentName(options.environment)
|
|
43866
|
+
});
|
|
43867
|
+
const ephemeralHbManager = new EphemeralHeartbeatManager(
|
|
43868
|
+
() => client.volumeHeartbeat({ volumeId: resp.volumeId })
|
|
43869
|
+
);
|
|
43870
|
+
return new _Volume(resp.volumeId, void 0, false, ephemeralHbManager);
|
|
43871
|
+
}
|
|
43872
|
+
/** Delete the ephemeral volume. Only usable with `Volume.ephemeral()`. */
|
|
43873
|
+
closeEphemeral() {
|
|
43874
|
+
if (this.#ephemeralHbManager) {
|
|
43875
|
+
this.#ephemeralHbManager.stop();
|
|
43876
|
+
} else {
|
|
43877
|
+
throw new InvalidError("Volume is not ephemeral.");
|
|
43878
|
+
}
|
|
43879
|
+
}
|
|
41114
43880
|
};
|
|
41115
43881
|
|
|
41116
43882
|
// src/proxy.ts
|
|
@@ -41141,6 +43907,7 @@ var Proxy3 = class _Proxy {
|
|
|
41141
43907
|
};
|
|
41142
43908
|
// Annotate the CommonJS export names for ESM import in node:
|
|
41143
43909
|
0 && (module.exports = {
|
|
43910
|
+
AlreadyExistsError,
|
|
41144
43911
|
App,
|
|
41145
43912
|
CloudBucketMount,
|
|
41146
43913
|
Cls,
|
|
@@ -41158,6 +43925,7 @@ var Proxy3 = class _Proxy {
|
|
|
41158
43925
|
QueueEmptyError,
|
|
41159
43926
|
QueueFullError,
|
|
41160
43927
|
RemoteError,
|
|
43928
|
+
Retries,
|
|
41161
43929
|
Sandbox,
|
|
41162
43930
|
SandboxFile,
|
|
41163
43931
|
SandboxTimeoutError,
|