@replit/protocol 0.4.29 → 0.4.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/api/jetplane/repl/repl.client.d.ts +54 -8
  2. package/dist/api/jetplane/repl/repl.client.js +41 -12
  3. package/dist/api/jetplane/repl/repl.d.ts +345 -14
  4. package/dist/api/jetplane/repl/repl.js +663 -13
  5. package/dist/api/lore/lore.d.ts +6 -0
  6. package/dist/api/lore/lore.js +9 -1
  7. package/dist/api/lore/service.client.d.ts +134 -0
  8. package/dist/api/lore/service.client.js +107 -24
  9. package/dist/api/lore/service.d.ts +517 -0
  10. package/dist/api/lore/service.js +1155 -107
  11. package/dist/api/lore/transfer/org_transfer.client.d.ts +135 -0
  12. package/dist/api/lore/transfer/org_transfer.client.js +92 -0
  13. package/dist/api/lore/transfer/org_transfer.d.ts +636 -0
  14. package/dist/api/lore/transfer/org_transfer.js +1398 -0
  15. package/dist/api/oci/runtime_profile.d.ts +59 -0
  16. package/dist/api/oci/runtime_profile.js +105 -0
  17. package/dist/api/repl/repl.d.ts +7 -0
  18. package/dist/api/repl/repl.js +9 -1
  19. package/dist/api/signing.d.ts +21 -1
  20. package/dist/api/signing.js +25 -2
  21. package/dist/api/token/token.d.ts +13 -0
  22. package/dist/api/token/token.js +16 -1
  23. package/dist/api/types.d.ts +5 -0
  24. package/dist/api/types.js +9 -1
  25. package/dist/google/protobuf/any.d.ts +124 -0
  26. package/dist/google/protobuf/any.js +151 -0
  27. package/dist/google/protobuf/struct.d.ts +3 -3
  28. package/dist/google/protobuf/struct.js +3 -3
  29. package/dist/google/rpc/status.d.ts +35 -0
  30. package/dist/google/rpc/status.js +68 -0
  31. package/iotester/index.d.ts +8600 -2059
  32. package/iotester/index.js +22193 -5953
  33. package/main/index.d.ts +8600 -2059
  34. package/main/index.js +22193 -5953
  35. package/package.json +1 -1
@@ -6,11 +6,14 @@ import { WireType } from "@protobuf-ts/runtime";
6
6
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
7
7
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
8
8
  import { MessageType } from "@protobuf-ts/runtime";
9
+ import { OrgTransferPrincipal } from "./transfer/org_transfer.js";
9
10
  import { Duration } from "../../google/protobuf/duration.js";
11
+ import { Status } from "../../google/rpc/status.js";
10
12
  import { Agent } from "../chateau/resources.js";
11
13
  import { CreateAgentRequest as CreateAgentRequest$ } from "../chateau/resources.js";
12
14
  import { Repl as Repl$ } from "../jetplane/repl/repl.js";
13
15
  import { ReplMode } from "../jetplane/repl/repl.js";
16
+ import { SandboxSpec } from "../jetplane/repl/repl.js";
14
17
  /**
15
18
  * @generated from protobuf enum replit.goval.api.lore.GetReplResponse.RunningStatus
16
19
  */
@@ -47,6 +50,28 @@ export var GetReplResponse_TombstoneStatus;
47
50
  */
48
51
  GetReplResponse_TombstoneStatus[GetReplResponse_TombstoneStatus["NOT_TOMBSTONED"] = 2] = "NOT_TOMBSTONED";
49
52
  })(GetReplResponse_TombstoneStatus || (GetReplResponse_TombstoneStatus = {}));
53
+ /**
54
+ * @generated from protobuf enum replit.goval.api.lore.TransferOrgHomeCellResponse.Status
55
+ */
56
+ export var TransferOrgHomeCellResponse_Status;
57
+ (function (TransferOrgHomeCellResponse_Status) {
58
+ /**
59
+ * @generated from protobuf enum value: STATUS_UNSPECIFIED = 0;
60
+ */
61
+ TransferOrgHomeCellResponse_Status[TransferOrgHomeCellResponse_Status["UNSPECIFIED"] = 0] = "UNSPECIFIED";
62
+ /**
63
+ * @generated from protobuf enum value: STATUS_PENDING = 1;
64
+ */
65
+ TransferOrgHomeCellResponse_Status[TransferOrgHomeCellResponse_Status["PENDING"] = 1] = "PENDING";
66
+ /**
67
+ * @generated from protobuf enum value: STATUS_COMPLETED = 2;
68
+ */
69
+ TransferOrgHomeCellResponse_Status[TransferOrgHomeCellResponse_Status["COMPLETED"] = 2] = "COMPLETED";
70
+ /**
71
+ * @generated from protobuf enum value: STATUS_FAILED = 3;
72
+ */
73
+ TransferOrgHomeCellResponse_Status[TransferOrgHomeCellResponse_Status["FAILED"] = 3] = "FAILED";
74
+ })(TransferOrgHomeCellResponse_Status || (TransferOrgHomeCellResponse_Status = {}));
50
75
  // @generated message type with reflection information, may provide speed optimized methods
51
76
  class Buckets$Type extends MessageType {
52
77
  constructor() {
@@ -192,7 +217,10 @@ class Cluster$Type extends MessageType {
192
217
  { no: 14, name: "loopman_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
193
218
  { no: 15, name: "rams_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
194
219
  { no: 16, name: "muse_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
195
- { no: 17, name: "chronicle_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
220
+ { no: 17, name: "chronicle_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
221
+ { no: 18, name: "continent", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
222
+ { no: 19, name: "openint_public_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
223
+ { no: 20, name: "openint_server_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
196
224
  ]);
197
225
  }
198
226
  create(value) {
@@ -213,6 +241,9 @@ class Cluster$Type extends MessageType {
213
241
  message.ramsRpcTarget = "";
214
242
  message.museRpcTarget = "";
215
243
  message.chronicleRpcTarget = "";
244
+ message.continent = "";
245
+ message.openintPublicUrl = "";
246
+ message.openintServerUrl = "";
216
247
  if (value !== undefined)
217
248
  reflectionMergePartial(this, message, value);
218
249
  return message;
@@ -270,6 +301,15 @@ class Cluster$Type extends MessageType {
270
301
  case /* string chronicle_rpc_target */ 17:
271
302
  message.chronicleRpcTarget = reader.string();
272
303
  break;
304
+ case /* string continent */ 18:
305
+ message.continent = reader.string();
306
+ break;
307
+ case /* string openint_public_url */ 19:
308
+ message.openintPublicUrl = reader.string();
309
+ break;
310
+ case /* string openint_server_url */ 20:
311
+ message.openintServerUrl = reader.string();
312
+ break;
273
313
  default:
274
314
  let u = options.readUnknownField;
275
315
  if (u === "throw")
@@ -330,6 +370,15 @@ class Cluster$Type extends MessageType {
330
370
  /* string chronicle_rpc_target = 17; */
331
371
  if (message.chronicleRpcTarget !== "")
332
372
  writer.tag(17, WireType.LengthDelimited).string(message.chronicleRpcTarget);
373
+ /* string continent = 18; */
374
+ if (message.continent !== "")
375
+ writer.tag(18, WireType.LengthDelimited).string(message.continent);
376
+ /* string openint_public_url = 19; */
377
+ if (message.openintPublicUrl !== "")
378
+ writer.tag(19, WireType.LengthDelimited).string(message.openintPublicUrl);
379
+ /* string openint_server_url = 20; */
380
+ if (message.openintServerUrl !== "")
381
+ writer.tag(20, WireType.LengthDelimited).string(message.openintServerUrl);
333
382
  let u = options.writeUnknownFields;
334
383
  if (u !== false)
335
384
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -354,7 +403,8 @@ class CreateReplRequest$Type extends MessageType {
354
403
  { no: 10, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
355
404
  { no: 11, name: "source_image", kind: "message", T: () => CreateReplRequest_SourceImage },
356
405
  { no: 12, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
357
- { no: 13, name: "extra_mount", kind: "message", T: () => CreateReplRequest_ExtraMount }
406
+ { no: 13, name: "extra_mount", kind: "message", T: () => CreateReplRequest_ExtraMount },
407
+ { no: 14, name: "creation_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
358
408
  ]);
359
409
  }
360
410
  create(value) {
@@ -364,6 +414,7 @@ class CreateReplRequest$Type extends MessageType {
364
414
  message.copyGitsafe = false;
365
415
  message.orgId = "";
366
416
  message.resourceGroupId = "";
417
+ message.creationSource = "";
367
418
  if (value !== undefined)
368
419
  reflectionMergePartial(this, message, value);
369
420
  return message;
@@ -412,6 +463,9 @@ class CreateReplRequest$Type extends MessageType {
412
463
  case /* replit.goval.api.lore.CreateReplRequest.ExtraMount extra_mount */ 13:
413
464
  message.extraMount = CreateReplRequest_ExtraMount.internalBinaryRead(reader, reader.uint32(), options, message.extraMount);
414
465
  break;
466
+ case /* string creation_source */ 14:
467
+ message.creationSource = reader.string();
468
+ break;
415
469
  default:
416
470
  let u = options.readUnknownField;
417
471
  if (u === "throw")
@@ -457,6 +511,9 @@ class CreateReplRequest$Type extends MessageType {
457
511
  /* replit.goval.api.lore.CreateReplRequest.ExtraMount extra_mount = 13; */
458
512
  if (message.extraMount)
459
513
  CreateReplRequest_ExtraMount.internalBinaryWrite(message.extraMount, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
514
+ /* string creation_source = 14; */
515
+ if (message.creationSource !== "")
516
+ writer.tag(14, WireType.LengthDelimited).string(message.creationSource);
460
517
  let u = options.writeUnknownFields;
461
518
  if (u !== false)
462
519
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -848,7 +905,8 @@ class CreateSandboxRequest$Type extends MessageType {
848
905
  super("replit.goval.api.lore.CreateSandboxRequest", [
849
906
  { no: 1, name: "sandbox", kind: "message", T: () => CreateSandboxRequest_Sandbox },
850
907
  { no: 2, name: "source", kind: "message", T: () => CreateSandboxRequest_Source },
851
- { no: 3, name: "extra_mount", kind: "message", T: () => CreateSandboxRequest_ExtraMount }
908
+ { no: 3, name: "extra_mount", kind: "message", T: () => CreateSandboxRequest_ExtraMount },
909
+ { no: 4, name: "sandbox_spec", kind: "message", T: () => SandboxSpec }
852
910
  ]);
853
911
  }
854
912
  create(value) {
@@ -871,6 +929,9 @@ class CreateSandboxRequest$Type extends MessageType {
871
929
  case /* replit.goval.api.lore.CreateSandboxRequest.ExtraMount extra_mount */ 3:
872
930
  message.extraMount = CreateSandboxRequest_ExtraMount.internalBinaryRead(reader, reader.uint32(), options, message.extraMount);
873
931
  break;
932
+ case /* replit.goval.api.jetplane.repl.SandboxSpec sandbox_spec */ 4:
933
+ message.sandboxSpec = SandboxSpec.internalBinaryRead(reader, reader.uint32(), options, message.sandboxSpec);
934
+ break;
874
935
  default:
875
936
  let u = options.readUnknownField;
876
937
  if (u === "throw")
@@ -892,6 +953,9 @@ class CreateSandboxRequest$Type extends MessageType {
892
953
  /* replit.goval.api.lore.CreateSandboxRequest.ExtraMount extra_mount = 3; */
893
954
  if (message.extraMount)
894
955
  CreateSandboxRequest_ExtraMount.internalBinaryWrite(message.extraMount, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
956
+ /* replit.goval.api.jetplane.repl.SandboxSpec sandbox_spec = 4; */
957
+ if (message.sandboxSpec)
958
+ SandboxSpec.internalBinaryWrite(message.sandboxSpec, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
895
959
  let u = options.writeUnknownFields;
896
960
  if (u !== false)
897
961
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1228,6 +1292,160 @@ class CreateSandboxResponse$Type extends MessageType {
1228
1292
  */
1229
1293
  export const CreateSandboxResponse = new CreateSandboxResponse$Type();
1230
1294
  // @generated message type with reflection information, may provide speed optimized methods
1295
+ class UpdateSandboxRequest$Type extends MessageType {
1296
+ constructor() {
1297
+ super("replit.goval.api.lore.UpdateSandboxRequest", [
1298
+ { no: 1, name: "sandbox", kind: "message", T: () => UpdateSandboxRequest_Sandbox },
1299
+ { no: 2, name: "extra_mount", kind: "message", T: () => CreateSandboxRequest_ExtraMount }
1300
+ ]);
1301
+ }
1302
+ create(value) {
1303
+ const message = globalThis.Object.create((this.messagePrototype));
1304
+ if (value !== undefined)
1305
+ reflectionMergePartial(this, message, value);
1306
+ return message;
1307
+ }
1308
+ internalBinaryRead(reader, length, options, target) {
1309
+ let message = target ?? this.create(), end = reader.pos + length;
1310
+ while (reader.pos < end) {
1311
+ let [fieldNo, wireType] = reader.tag();
1312
+ switch (fieldNo) {
1313
+ case /* replit.goval.api.lore.UpdateSandboxRequest.Sandbox sandbox */ 1:
1314
+ message.sandbox = UpdateSandboxRequest_Sandbox.internalBinaryRead(reader, reader.uint32(), options, message.sandbox);
1315
+ break;
1316
+ case /* replit.goval.api.lore.CreateSandboxRequest.ExtraMount extra_mount */ 2:
1317
+ message.extraMount = CreateSandboxRequest_ExtraMount.internalBinaryRead(reader, reader.uint32(), options, message.extraMount);
1318
+ break;
1319
+ default:
1320
+ let u = options.readUnknownField;
1321
+ if (u === "throw")
1322
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1323
+ let d = reader.skip(wireType);
1324
+ if (u !== false)
1325
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1326
+ }
1327
+ }
1328
+ return message;
1329
+ }
1330
+ internalBinaryWrite(message, writer, options) {
1331
+ /* replit.goval.api.lore.UpdateSandboxRequest.Sandbox sandbox = 1; */
1332
+ if (message.sandbox)
1333
+ UpdateSandboxRequest_Sandbox.internalBinaryWrite(message.sandbox, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1334
+ /* replit.goval.api.lore.CreateSandboxRequest.ExtraMount extra_mount = 2; */
1335
+ if (message.extraMount)
1336
+ CreateSandboxRequest_ExtraMount.internalBinaryWrite(message.extraMount, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1337
+ let u = options.writeUnknownFields;
1338
+ if (u !== false)
1339
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1340
+ return writer;
1341
+ }
1342
+ }
1343
+ /**
1344
+ * @generated MessageType for protobuf message replit.goval.api.lore.UpdateSandboxRequest
1345
+ */
1346
+ export const UpdateSandboxRequest = new UpdateSandboxRequest$Type();
1347
+ // @generated message type with reflection information, may provide speed optimized methods
1348
+ class UpdateSandboxRequest_Sandbox$Type extends MessageType {
1349
+ constructor() {
1350
+ super("replit.goval.api.lore.UpdateSandboxRequest.Sandbox", [
1351
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1352
+ { no: 2, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1353
+ ]);
1354
+ }
1355
+ create(value) {
1356
+ const message = globalThis.Object.create((this.messagePrototype));
1357
+ message.id = "";
1358
+ message.resourceGroupId = "";
1359
+ if (value !== undefined)
1360
+ reflectionMergePartial(this, message, value);
1361
+ return message;
1362
+ }
1363
+ internalBinaryRead(reader, length, options, target) {
1364
+ let message = target ?? this.create(), end = reader.pos + length;
1365
+ while (reader.pos < end) {
1366
+ let [fieldNo, wireType] = reader.tag();
1367
+ switch (fieldNo) {
1368
+ case /* string id */ 1:
1369
+ message.id = reader.string();
1370
+ break;
1371
+ case /* string resource_group_id */ 2:
1372
+ message.resourceGroupId = reader.string();
1373
+ break;
1374
+ default:
1375
+ let u = options.readUnknownField;
1376
+ if (u === "throw")
1377
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1378
+ let d = reader.skip(wireType);
1379
+ if (u !== false)
1380
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1381
+ }
1382
+ }
1383
+ return message;
1384
+ }
1385
+ internalBinaryWrite(message, writer, options) {
1386
+ /* string id = 1; */
1387
+ if (message.id !== "")
1388
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1389
+ /* string resource_group_id = 2; */
1390
+ if (message.resourceGroupId !== "")
1391
+ writer.tag(2, WireType.LengthDelimited).string(message.resourceGroupId);
1392
+ let u = options.writeUnknownFields;
1393
+ if (u !== false)
1394
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1395
+ return writer;
1396
+ }
1397
+ }
1398
+ /**
1399
+ * @generated MessageType for protobuf message replit.goval.api.lore.UpdateSandboxRequest.Sandbox
1400
+ */
1401
+ export const UpdateSandboxRequest_Sandbox = new UpdateSandboxRequest_Sandbox$Type();
1402
+ // @generated message type with reflection information, may provide speed optimized methods
1403
+ class UpdateSandboxResponse$Type extends MessageType {
1404
+ constructor() {
1405
+ super("replit.goval.api.lore.UpdateSandboxResponse", [
1406
+ { no: 1, name: "sandbox", kind: "message", T: () => Repl$ }
1407
+ ]);
1408
+ }
1409
+ create(value) {
1410
+ const message = globalThis.Object.create((this.messagePrototype));
1411
+ if (value !== undefined)
1412
+ reflectionMergePartial(this, message, value);
1413
+ return message;
1414
+ }
1415
+ internalBinaryRead(reader, length, options, target) {
1416
+ let message = target ?? this.create(), end = reader.pos + length;
1417
+ while (reader.pos < end) {
1418
+ let [fieldNo, wireType] = reader.tag();
1419
+ switch (fieldNo) {
1420
+ case /* replit.goval.api.jetplane.repl.Repl sandbox */ 1:
1421
+ message.sandbox = Repl$.internalBinaryRead(reader, reader.uint32(), options, message.sandbox);
1422
+ break;
1423
+ default:
1424
+ let u = options.readUnknownField;
1425
+ if (u === "throw")
1426
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1427
+ let d = reader.skip(wireType);
1428
+ if (u !== false)
1429
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1430
+ }
1431
+ }
1432
+ return message;
1433
+ }
1434
+ internalBinaryWrite(message, writer, options) {
1435
+ /* replit.goval.api.jetplane.repl.Repl sandbox = 1; */
1436
+ if (message.sandbox)
1437
+ Repl$.internalBinaryWrite(message.sandbox, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1438
+ let u = options.writeUnknownFields;
1439
+ if (u !== false)
1440
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1441
+ return writer;
1442
+ }
1443
+ }
1444
+ /**
1445
+ * @generated MessageType for protobuf message replit.goval.api.lore.UpdateSandboxResponse
1446
+ */
1447
+ export const UpdateSandboxResponse = new UpdateSandboxResponse$Type();
1448
+ // @generated message type with reflection information, may provide speed optimized methods
1231
1449
  class GetSandboxConnectionInfoRequest$Type extends MessageType {
1232
1450
  constructor() {
1233
1451
  super("replit.goval.api.lore.GetSandboxConnectionInfoRequest", [
@@ -1816,15 +2034,16 @@ class GetReplResponse$Type extends MessageType {
1816
2034
  */
1817
2035
  export const GetReplResponse = new GetReplResponse$Type();
1818
2036
  // @generated message type with reflection information, may provide speed optimized methods
1819
- class GetClusterByResourceGroupRequest$Type extends MessageType {
2037
+ class GetCellByReplRequest$Type extends MessageType {
1820
2038
  constructor() {
1821
- super("replit.goval.api.lore.GetClusterByResourceGroupRequest", [
1822
- { no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2039
+ super("replit.goval.api.lore.GetCellByReplRequest", [
2040
+ { no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2041
+ { no: 2, name: "resource_group_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
1823
2042
  ]);
1824
2043
  }
1825
2044
  create(value) {
1826
2045
  const message = globalThis.Object.create((this.messagePrototype));
1827
- message.resourceGroupId = "";
2046
+ message.replId = "";
1828
2047
  if (value !== undefined)
1829
2048
  reflectionMergePartial(this, message, value);
1830
2049
  return message;
@@ -1834,7 +2053,10 @@ class GetClusterByResourceGroupRequest$Type extends MessageType {
1834
2053
  while (reader.pos < end) {
1835
2054
  let [fieldNo, wireType] = reader.tag();
1836
2055
  switch (fieldNo) {
1837
- case /* string resource_group_id */ 1:
2056
+ case /* string repl_id */ 1:
2057
+ message.replId = reader.string();
2058
+ break;
2059
+ case /* optional string resource_group_id */ 2:
1838
2060
  message.resourceGroupId = reader.string();
1839
2061
  break;
1840
2062
  default:
@@ -1849,9 +2071,12 @@ class GetClusterByResourceGroupRequest$Type extends MessageType {
1849
2071
  return message;
1850
2072
  }
1851
2073
  internalBinaryWrite(message, writer, options) {
1852
- /* string resource_group_id = 1; */
1853
- if (message.resourceGroupId !== "")
1854
- writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
2074
+ /* string repl_id = 1; */
2075
+ if (message.replId !== "")
2076
+ writer.tag(1, WireType.LengthDelimited).string(message.replId);
2077
+ /* optional string resource_group_id = 2; */
2078
+ if (message.resourceGroupId !== undefined)
2079
+ writer.tag(2, WireType.LengthDelimited).string(message.resourceGroupId);
1855
2080
  let u = options.writeUnknownFields;
1856
2081
  if (u !== false)
1857
2082
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1859,13 +2084,13 @@ class GetClusterByResourceGroupRequest$Type extends MessageType {
1859
2084
  }
1860
2085
  }
1861
2086
  /**
1862
- * @generated MessageType for protobuf message replit.goval.api.lore.GetClusterByResourceGroupRequest
2087
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetCellByReplRequest
1863
2088
  */
1864
- export const GetClusterByResourceGroupRequest = new GetClusterByResourceGroupRequest$Type();
2089
+ export const GetCellByReplRequest = new GetCellByReplRequest$Type();
1865
2090
  // @generated message type with reflection information, may provide speed optimized methods
1866
- class GetClusterByResourceGroupResponse$Type extends MessageType {
2091
+ class GetCellByReplResponse$Type extends MessageType {
1867
2092
  constructor() {
1868
- super("replit.goval.api.lore.GetClusterByResourceGroupResponse", [
2093
+ super("replit.goval.api.lore.GetCellByReplResponse", [
1869
2094
  { no: 1, name: "cluster", kind: "message", T: () => Cluster }
1870
2095
  ]);
1871
2096
  }
@@ -1905,24 +2130,19 @@ class GetClusterByResourceGroupResponse$Type extends MessageType {
1905
2130
  }
1906
2131
  }
1907
2132
  /**
1908
- * @generated MessageType for protobuf message replit.goval.api.lore.GetClusterByResourceGroupResponse
2133
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetCellByReplResponse
1909
2134
  */
1910
- export const GetClusterByResourceGroupResponse = new GetClusterByResourceGroupResponse$Type();
2135
+ export const GetCellByReplResponse = new GetCellByReplResponse$Type();
1911
2136
  // @generated message type with reflection information, may provide speed optimized methods
1912
- class ReplLocation$Type extends MessageType {
2137
+ class BatchGetCellByReplRequest$Type extends MessageType {
1913
2138
  constructor() {
1914
- super("replit.goval.api.lore.ReplLocation", [
1915
- { no: 1, name: "cluster", kind: "scalar", oneof: "location", T: 9 /*ScalarType.STRING*/ },
1916
- { no: 2, name: "continent", kind: "scalar", oneof: "location", T: 9 /*ScalarType.STRING*/ },
1917
- { no: 3, name: "regional_goval", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1918
- { no: 4, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2139
+ super("replit.goval.api.lore.BatchGetCellByReplRequest", [
2140
+ { no: 1, name: "requests", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GetCellByReplRequest }
1919
2141
  ]);
1920
2142
  }
1921
2143
  create(value) {
1922
2144
  const message = globalThis.Object.create((this.messagePrototype));
1923
- message.location = { oneofKind: undefined };
1924
- message.regionalGoval = false;
1925
- message.orgId = "";
2145
+ message.requests = [];
1926
2146
  if (value !== undefined)
1927
2147
  reflectionMergePartial(this, message, value);
1928
2148
  return message;
@@ -1932,23 +2152,8 @@ class ReplLocation$Type extends MessageType {
1932
2152
  while (reader.pos < end) {
1933
2153
  let [fieldNo, wireType] = reader.tag();
1934
2154
  switch (fieldNo) {
1935
- case /* string cluster */ 1:
1936
- message.location = {
1937
- oneofKind: "cluster",
1938
- cluster: reader.string()
1939
- };
1940
- break;
1941
- case /* string continent */ 2:
1942
- message.location = {
1943
- oneofKind: "continent",
1944
- continent: reader.string()
1945
- };
1946
- break;
1947
- case /* bool regional_goval = 3 [deprecated = true] */ 3:
1948
- message.regionalGoval = reader.bool();
1949
- break;
1950
- case /* string org_id */ 4:
1951
- message.orgId = reader.string();
2155
+ case /* repeated replit.goval.api.lore.GetCellByReplRequest requests */ 1:
2156
+ message.requests.push(GetCellByReplRequest.internalBinaryRead(reader, reader.uint32(), options));
1952
2157
  break;
1953
2158
  default:
1954
2159
  let u = options.readUnknownField;
@@ -1962,18 +2167,9 @@ class ReplLocation$Type extends MessageType {
1962
2167
  return message;
1963
2168
  }
1964
2169
  internalBinaryWrite(message, writer, options) {
1965
- /* string cluster = 1; */
1966
- if (message.location.oneofKind === "cluster")
1967
- writer.tag(1, WireType.LengthDelimited).string(message.location.cluster);
1968
- /* string continent = 2; */
1969
- if (message.location.oneofKind === "continent")
1970
- writer.tag(2, WireType.LengthDelimited).string(message.location.continent);
1971
- /* bool regional_goval = 3 [deprecated = true]; */
1972
- if (message.regionalGoval !== false)
1973
- writer.tag(3, WireType.Varint).bool(message.regionalGoval);
1974
- /* string org_id = 4; */
1975
- if (message.orgId !== "")
1976
- writer.tag(4, WireType.LengthDelimited).string(message.orgId);
2170
+ /* repeated replit.goval.api.lore.GetCellByReplRequest requests = 1; */
2171
+ for (let i = 0; i < message.requests.length; i++)
2172
+ GetCellByReplRequest.internalBinaryWrite(message.requests[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1977
2173
  let u = options.writeUnknownFields;
1978
2174
  if (u !== false)
1979
2175
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1981,34 +2177,19 @@ class ReplLocation$Type extends MessageType {
1981
2177
  }
1982
2178
  }
1983
2179
  /**
1984
- * @generated MessageType for protobuf message replit.goval.api.lore.ReplLocation
2180
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByReplRequest
1985
2181
  */
1986
- export const ReplLocation = new ReplLocation$Type();
2182
+ export const BatchGetCellByReplRequest = new BatchGetCellByReplRequest$Type();
1987
2183
  // @generated message type with reflection information, may provide speed optimized methods
1988
- class GetReplConnectionInfoRequest$Type extends MessageType {
2184
+ class BatchGetCellByReplResponse$Type extends MessageType {
1989
2185
  constructor() {
1990
- super("replit.goval.api.lore.GetReplConnectionInfoRequest", [
1991
- { no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1992
- { no: 3, name: "user", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1993
- { no: 4, name: "persistent", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1994
- { no: 5, name: "default_cluster", kind: "scalar", oneof: "defaultLocation", T: 9 /*ScalarType.STRING*/ },
1995
- { no: 8, name: "default_continent", kind: "scalar", oneof: "defaultLocation", T: 9 /*ScalarType.STRING*/ },
1996
- { no: 9, name: "replLocation", kind: "message", T: () => ReplLocation },
1997
- { no: 7, name: "source_repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1998
- { no: 11, name: "org_slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1999
- { no: 12, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2000
- { no: 13, name: "resource_group_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
2186
+ super("replit.goval.api.lore.BatchGetCellByReplResponse", [
2187
+ { no: 1, name: "results", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BatchGetCellByReplResponse_Result }
2001
2188
  ]);
2002
2189
  }
2003
2190
  create(value) {
2004
2191
  const message = globalThis.Object.create((this.messagePrototype));
2005
- message.replId = "";
2006
- message.user = "";
2007
- message.persistent = false;
2008
- message.defaultLocation = { oneofKind: undefined };
2009
- message.sourceReplId = "";
2010
- message.orgSlug = "";
2011
- message.orgId = "";
2192
+ message.results = [];
2012
2193
  if (value !== undefined)
2013
2194
  reflectionMergePartial(this, message, value);
2014
2195
  return message;
@@ -2018,32 +2199,477 @@ class GetReplConnectionInfoRequest$Type extends MessageType {
2018
2199
  while (reader.pos < end) {
2019
2200
  let [fieldNo, wireType] = reader.tag();
2020
2201
  switch (fieldNo) {
2021
- case /* string repl_id */ 1:
2022
- message.replId = reader.string();
2023
- break;
2024
- case /* string user */ 3:
2025
- message.user = reader.string();
2026
- break;
2027
- case /* bool persistent */ 4:
2028
- message.persistent = reader.bool();
2029
- break;
2030
- case /* string default_cluster = 5 [deprecated = true] */ 5:
2031
- message.defaultLocation = {
2032
- oneofKind: "defaultCluster",
2033
- defaultCluster: reader.string()
2034
- };
2035
- break;
2036
- case /* string default_continent = 8 [deprecated = true] */ 8:
2037
- message.defaultLocation = {
2038
- oneofKind: "defaultContinent",
2039
- defaultContinent: reader.string()
2040
- };
2041
- break;
2042
- case /* replit.goval.api.lore.ReplLocation replLocation */ 9:
2043
- message.replLocation = ReplLocation.internalBinaryRead(reader, reader.uint32(), options, message.replLocation);
2044
- break;
2045
- case /* string source_repl_id */ 7:
2046
- message.sourceReplId = reader.string();
2202
+ case /* repeated replit.goval.api.lore.BatchGetCellByReplResponse.Result results */ 1:
2203
+ message.results.push(BatchGetCellByReplResponse_Result.internalBinaryRead(reader, reader.uint32(), options));
2204
+ break;
2205
+ default:
2206
+ let u = options.readUnknownField;
2207
+ if (u === "throw")
2208
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2209
+ let d = reader.skip(wireType);
2210
+ if (u !== false)
2211
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2212
+ }
2213
+ }
2214
+ return message;
2215
+ }
2216
+ internalBinaryWrite(message, writer, options) {
2217
+ /* repeated replit.goval.api.lore.BatchGetCellByReplResponse.Result results = 1; */
2218
+ for (let i = 0; i < message.results.length; i++)
2219
+ BatchGetCellByReplResponse_Result.internalBinaryWrite(message.results[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2220
+ let u = options.writeUnknownFields;
2221
+ if (u !== false)
2222
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2223
+ return writer;
2224
+ }
2225
+ }
2226
+ /**
2227
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByReplResponse
2228
+ */
2229
+ export const BatchGetCellByReplResponse = new BatchGetCellByReplResponse$Type();
2230
+ // @generated message type with reflection information, may provide speed optimized methods
2231
+ class BatchGetCellByReplResponse_Result$Type extends MessageType {
2232
+ constructor() {
2233
+ super("replit.goval.api.lore.BatchGetCellByReplResponse.Result", [
2234
+ { no: 1, name: "response", kind: "message", oneof: "outcome", T: () => GetCellByReplResponse },
2235
+ { no: 2, name: "error", kind: "message", oneof: "outcome", T: () => Status }
2236
+ ]);
2237
+ }
2238
+ create(value) {
2239
+ const message = globalThis.Object.create((this.messagePrototype));
2240
+ message.outcome = { oneofKind: undefined };
2241
+ if (value !== undefined)
2242
+ reflectionMergePartial(this, message, value);
2243
+ return message;
2244
+ }
2245
+ internalBinaryRead(reader, length, options, target) {
2246
+ let message = target ?? this.create(), end = reader.pos + length;
2247
+ while (reader.pos < end) {
2248
+ let [fieldNo, wireType] = reader.tag();
2249
+ switch (fieldNo) {
2250
+ case /* replit.goval.api.lore.GetCellByReplResponse response */ 1:
2251
+ message.outcome = {
2252
+ oneofKind: "response",
2253
+ response: GetCellByReplResponse.internalBinaryRead(reader, reader.uint32(), options, message.outcome.response)
2254
+ };
2255
+ break;
2256
+ case /* google.rpc.Status error */ 2:
2257
+ message.outcome = {
2258
+ oneofKind: "error",
2259
+ error: Status.internalBinaryRead(reader, reader.uint32(), options, message.outcome.error)
2260
+ };
2261
+ break;
2262
+ default:
2263
+ let u = options.readUnknownField;
2264
+ if (u === "throw")
2265
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2266
+ let d = reader.skip(wireType);
2267
+ if (u !== false)
2268
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2269
+ }
2270
+ }
2271
+ return message;
2272
+ }
2273
+ internalBinaryWrite(message, writer, options) {
2274
+ /* replit.goval.api.lore.GetCellByReplResponse response = 1; */
2275
+ if (message.outcome.oneofKind === "response")
2276
+ GetCellByReplResponse.internalBinaryWrite(message.outcome.response, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2277
+ /* google.rpc.Status error = 2; */
2278
+ if (message.outcome.oneofKind === "error")
2279
+ Status.internalBinaryWrite(message.outcome.error, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2280
+ let u = options.writeUnknownFields;
2281
+ if (u !== false)
2282
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2283
+ return writer;
2284
+ }
2285
+ }
2286
+ /**
2287
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByReplResponse.Result
2288
+ */
2289
+ export const BatchGetCellByReplResponse_Result = new BatchGetCellByReplResponse_Result$Type();
2290
+ // @generated message type with reflection information, may provide speed optimized methods
2291
+ class GetClusterByResourceGroupRequest$Type extends MessageType {
2292
+ constructor() {
2293
+ super("replit.goval.api.lore.GetClusterByResourceGroupRequest", [
2294
+ { no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2295
+ ]);
2296
+ }
2297
+ create(value) {
2298
+ const message = globalThis.Object.create((this.messagePrototype));
2299
+ message.resourceGroupId = "";
2300
+ if (value !== undefined)
2301
+ reflectionMergePartial(this, message, value);
2302
+ return message;
2303
+ }
2304
+ internalBinaryRead(reader, length, options, target) {
2305
+ let message = target ?? this.create(), end = reader.pos + length;
2306
+ while (reader.pos < end) {
2307
+ let [fieldNo, wireType] = reader.tag();
2308
+ switch (fieldNo) {
2309
+ case /* string resource_group_id */ 1:
2310
+ message.resourceGroupId = reader.string();
2311
+ break;
2312
+ default:
2313
+ let u = options.readUnknownField;
2314
+ if (u === "throw")
2315
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2316
+ let d = reader.skip(wireType);
2317
+ if (u !== false)
2318
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2319
+ }
2320
+ }
2321
+ return message;
2322
+ }
2323
+ internalBinaryWrite(message, writer, options) {
2324
+ /* string resource_group_id = 1; */
2325
+ if (message.resourceGroupId !== "")
2326
+ writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
2327
+ let u = options.writeUnknownFields;
2328
+ if (u !== false)
2329
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2330
+ return writer;
2331
+ }
2332
+ }
2333
+ /**
2334
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetClusterByResourceGroupRequest
2335
+ */
2336
+ export const GetClusterByResourceGroupRequest = new GetClusterByResourceGroupRequest$Type();
2337
+ // @generated message type with reflection information, may provide speed optimized methods
2338
+ class GetClusterByResourceGroupResponse$Type extends MessageType {
2339
+ constructor() {
2340
+ super("replit.goval.api.lore.GetClusterByResourceGroupResponse", [
2341
+ { no: 1, name: "cluster", kind: "message", T: () => Cluster }
2342
+ ]);
2343
+ }
2344
+ create(value) {
2345
+ const message = globalThis.Object.create((this.messagePrototype));
2346
+ if (value !== undefined)
2347
+ reflectionMergePartial(this, message, value);
2348
+ return message;
2349
+ }
2350
+ internalBinaryRead(reader, length, options, target) {
2351
+ let message = target ?? this.create(), end = reader.pos + length;
2352
+ while (reader.pos < end) {
2353
+ let [fieldNo, wireType] = reader.tag();
2354
+ switch (fieldNo) {
2355
+ case /* replit.goval.api.lore.Cluster cluster */ 1:
2356
+ message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
2357
+ break;
2358
+ default:
2359
+ let u = options.readUnknownField;
2360
+ if (u === "throw")
2361
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2362
+ let d = reader.skip(wireType);
2363
+ if (u !== false)
2364
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2365
+ }
2366
+ }
2367
+ return message;
2368
+ }
2369
+ internalBinaryWrite(message, writer, options) {
2370
+ /* replit.goval.api.lore.Cluster cluster = 1; */
2371
+ if (message.cluster)
2372
+ Cluster.internalBinaryWrite(message.cluster, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2373
+ let u = options.writeUnknownFields;
2374
+ if (u !== false)
2375
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2376
+ return writer;
2377
+ }
2378
+ }
2379
+ /**
2380
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetClusterByResourceGroupResponse
2381
+ */
2382
+ export const GetClusterByResourceGroupResponse = new GetClusterByResourceGroupResponse$Type();
2383
+ // @generated message type with reflection information, may provide speed optimized methods
2384
+ class BatchGetCellByResourceGroupRequest$Type extends MessageType {
2385
+ constructor() {
2386
+ super("replit.goval.api.lore.BatchGetCellByResourceGroupRequest", [
2387
+ { no: 1, name: "requests", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GetClusterByResourceGroupRequest }
2388
+ ]);
2389
+ }
2390
+ create(value) {
2391
+ const message = globalThis.Object.create((this.messagePrototype));
2392
+ message.requests = [];
2393
+ if (value !== undefined)
2394
+ reflectionMergePartial(this, message, value);
2395
+ return message;
2396
+ }
2397
+ internalBinaryRead(reader, length, options, target) {
2398
+ let message = target ?? this.create(), end = reader.pos + length;
2399
+ while (reader.pos < end) {
2400
+ let [fieldNo, wireType] = reader.tag();
2401
+ switch (fieldNo) {
2402
+ case /* repeated replit.goval.api.lore.GetClusterByResourceGroupRequest requests */ 1:
2403
+ message.requests.push(GetClusterByResourceGroupRequest.internalBinaryRead(reader, reader.uint32(), options));
2404
+ break;
2405
+ default:
2406
+ let u = options.readUnknownField;
2407
+ if (u === "throw")
2408
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2409
+ let d = reader.skip(wireType);
2410
+ if (u !== false)
2411
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2412
+ }
2413
+ }
2414
+ return message;
2415
+ }
2416
+ internalBinaryWrite(message, writer, options) {
2417
+ /* repeated replit.goval.api.lore.GetClusterByResourceGroupRequest requests = 1; */
2418
+ for (let i = 0; i < message.requests.length; i++)
2419
+ GetClusterByResourceGroupRequest.internalBinaryWrite(message.requests[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2420
+ let u = options.writeUnknownFields;
2421
+ if (u !== false)
2422
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2423
+ return writer;
2424
+ }
2425
+ }
2426
+ /**
2427
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByResourceGroupRequest
2428
+ */
2429
+ export const BatchGetCellByResourceGroupRequest = new BatchGetCellByResourceGroupRequest$Type();
2430
+ // @generated message type with reflection information, may provide speed optimized methods
2431
+ class BatchGetCellByResourceGroupResponse$Type extends MessageType {
2432
+ constructor() {
2433
+ super("replit.goval.api.lore.BatchGetCellByResourceGroupResponse", [
2434
+ { no: 1, name: "results", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BatchGetCellByResourceGroupResponse_Result }
2435
+ ]);
2436
+ }
2437
+ create(value) {
2438
+ const message = globalThis.Object.create((this.messagePrototype));
2439
+ message.results = [];
2440
+ if (value !== undefined)
2441
+ reflectionMergePartial(this, message, value);
2442
+ return message;
2443
+ }
2444
+ internalBinaryRead(reader, length, options, target) {
2445
+ let message = target ?? this.create(), end = reader.pos + length;
2446
+ while (reader.pos < end) {
2447
+ let [fieldNo, wireType] = reader.tag();
2448
+ switch (fieldNo) {
2449
+ case /* repeated replit.goval.api.lore.BatchGetCellByResourceGroupResponse.Result results */ 1:
2450
+ message.results.push(BatchGetCellByResourceGroupResponse_Result.internalBinaryRead(reader, reader.uint32(), options));
2451
+ break;
2452
+ default:
2453
+ let u = options.readUnknownField;
2454
+ if (u === "throw")
2455
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2456
+ let d = reader.skip(wireType);
2457
+ if (u !== false)
2458
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2459
+ }
2460
+ }
2461
+ return message;
2462
+ }
2463
+ internalBinaryWrite(message, writer, options) {
2464
+ /* repeated replit.goval.api.lore.BatchGetCellByResourceGroupResponse.Result results = 1; */
2465
+ for (let i = 0; i < message.results.length; i++)
2466
+ BatchGetCellByResourceGroupResponse_Result.internalBinaryWrite(message.results[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2467
+ let u = options.writeUnknownFields;
2468
+ if (u !== false)
2469
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2470
+ return writer;
2471
+ }
2472
+ }
2473
+ /**
2474
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByResourceGroupResponse
2475
+ */
2476
+ export const BatchGetCellByResourceGroupResponse = new BatchGetCellByResourceGroupResponse$Type();
2477
+ // @generated message type with reflection information, may provide speed optimized methods
2478
+ class BatchGetCellByResourceGroupResponse_Result$Type extends MessageType {
2479
+ constructor() {
2480
+ super("replit.goval.api.lore.BatchGetCellByResourceGroupResponse.Result", [
2481
+ { no: 1, name: "response", kind: "message", oneof: "outcome", T: () => GetClusterByResourceGroupResponse },
2482
+ { no: 2, name: "error", kind: "message", oneof: "outcome", T: () => Status }
2483
+ ]);
2484
+ }
2485
+ create(value) {
2486
+ const message = globalThis.Object.create((this.messagePrototype));
2487
+ message.outcome = { oneofKind: undefined };
2488
+ if (value !== undefined)
2489
+ reflectionMergePartial(this, message, value);
2490
+ return message;
2491
+ }
2492
+ internalBinaryRead(reader, length, options, target) {
2493
+ let message = target ?? this.create(), end = reader.pos + length;
2494
+ while (reader.pos < end) {
2495
+ let [fieldNo, wireType] = reader.tag();
2496
+ switch (fieldNo) {
2497
+ case /* replit.goval.api.lore.GetClusterByResourceGroupResponse response */ 1:
2498
+ message.outcome = {
2499
+ oneofKind: "response",
2500
+ response: GetClusterByResourceGroupResponse.internalBinaryRead(reader, reader.uint32(), options, message.outcome.response)
2501
+ };
2502
+ break;
2503
+ case /* google.rpc.Status error */ 2:
2504
+ message.outcome = {
2505
+ oneofKind: "error",
2506
+ error: Status.internalBinaryRead(reader, reader.uint32(), options, message.outcome.error)
2507
+ };
2508
+ break;
2509
+ default:
2510
+ let u = options.readUnknownField;
2511
+ if (u === "throw")
2512
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2513
+ let d = reader.skip(wireType);
2514
+ if (u !== false)
2515
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2516
+ }
2517
+ }
2518
+ return message;
2519
+ }
2520
+ internalBinaryWrite(message, writer, options) {
2521
+ /* replit.goval.api.lore.GetClusterByResourceGroupResponse response = 1; */
2522
+ if (message.outcome.oneofKind === "response")
2523
+ GetClusterByResourceGroupResponse.internalBinaryWrite(message.outcome.response, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2524
+ /* google.rpc.Status error = 2; */
2525
+ if (message.outcome.oneofKind === "error")
2526
+ Status.internalBinaryWrite(message.outcome.error, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2527
+ let u = options.writeUnknownFields;
2528
+ if (u !== false)
2529
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2530
+ return writer;
2531
+ }
2532
+ }
2533
+ /**
2534
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByResourceGroupResponse.Result
2535
+ */
2536
+ export const BatchGetCellByResourceGroupResponse_Result = new BatchGetCellByResourceGroupResponse_Result$Type();
2537
+ // @generated message type with reflection information, may provide speed optimized methods
2538
+ class ReplLocation$Type extends MessageType {
2539
+ constructor() {
2540
+ super("replit.goval.api.lore.ReplLocation", [
2541
+ { no: 1, name: "cluster", kind: "scalar", oneof: "location", T: 9 /*ScalarType.STRING*/ },
2542
+ { no: 2, name: "continent", kind: "scalar", oneof: "location", T: 9 /*ScalarType.STRING*/ },
2543
+ { no: 3, name: "regional_goval", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
2544
+ { no: 4, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2545
+ ]);
2546
+ }
2547
+ create(value) {
2548
+ const message = globalThis.Object.create((this.messagePrototype));
2549
+ message.location = { oneofKind: undefined };
2550
+ message.regionalGoval = false;
2551
+ message.orgId = "";
2552
+ if (value !== undefined)
2553
+ reflectionMergePartial(this, message, value);
2554
+ return message;
2555
+ }
2556
+ internalBinaryRead(reader, length, options, target) {
2557
+ let message = target ?? this.create(), end = reader.pos + length;
2558
+ while (reader.pos < end) {
2559
+ let [fieldNo, wireType] = reader.tag();
2560
+ switch (fieldNo) {
2561
+ case /* string cluster */ 1:
2562
+ message.location = {
2563
+ oneofKind: "cluster",
2564
+ cluster: reader.string()
2565
+ };
2566
+ break;
2567
+ case /* string continent */ 2:
2568
+ message.location = {
2569
+ oneofKind: "continent",
2570
+ continent: reader.string()
2571
+ };
2572
+ break;
2573
+ case /* bool regional_goval = 3 [deprecated = true] */ 3:
2574
+ message.regionalGoval = reader.bool();
2575
+ break;
2576
+ case /* string org_id */ 4:
2577
+ message.orgId = reader.string();
2578
+ break;
2579
+ default:
2580
+ let u = options.readUnknownField;
2581
+ if (u === "throw")
2582
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2583
+ let d = reader.skip(wireType);
2584
+ if (u !== false)
2585
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2586
+ }
2587
+ }
2588
+ return message;
2589
+ }
2590
+ internalBinaryWrite(message, writer, options) {
2591
+ /* string cluster = 1; */
2592
+ if (message.location.oneofKind === "cluster")
2593
+ writer.tag(1, WireType.LengthDelimited).string(message.location.cluster);
2594
+ /* string continent = 2; */
2595
+ if (message.location.oneofKind === "continent")
2596
+ writer.tag(2, WireType.LengthDelimited).string(message.location.continent);
2597
+ /* bool regional_goval = 3 [deprecated = true]; */
2598
+ if (message.regionalGoval !== false)
2599
+ writer.tag(3, WireType.Varint).bool(message.regionalGoval);
2600
+ /* string org_id = 4; */
2601
+ if (message.orgId !== "")
2602
+ writer.tag(4, WireType.LengthDelimited).string(message.orgId);
2603
+ let u = options.writeUnknownFields;
2604
+ if (u !== false)
2605
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2606
+ return writer;
2607
+ }
2608
+ }
2609
+ /**
2610
+ * @generated MessageType for protobuf message replit.goval.api.lore.ReplLocation
2611
+ */
2612
+ export const ReplLocation = new ReplLocation$Type();
2613
+ // @generated message type with reflection information, may provide speed optimized methods
2614
+ class GetReplConnectionInfoRequest$Type extends MessageType {
2615
+ constructor() {
2616
+ super("replit.goval.api.lore.GetReplConnectionInfoRequest", [
2617
+ { no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2618
+ { no: 3, name: "user", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2619
+ { no: 4, name: "persistent", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
2620
+ { no: 5, name: "default_cluster", kind: "scalar", oneof: "defaultLocation", T: 9 /*ScalarType.STRING*/ },
2621
+ { no: 8, name: "default_continent", kind: "scalar", oneof: "defaultLocation", T: 9 /*ScalarType.STRING*/ },
2622
+ { no: 9, name: "replLocation", kind: "message", T: () => ReplLocation },
2623
+ { no: 7, name: "source_repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2624
+ { no: 11, name: "org_slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2625
+ { no: 12, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2626
+ { no: 13, name: "resource_group_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
2627
+ ]);
2628
+ }
2629
+ create(value) {
2630
+ const message = globalThis.Object.create((this.messagePrototype));
2631
+ message.replId = "";
2632
+ message.user = "";
2633
+ message.persistent = false;
2634
+ message.defaultLocation = { oneofKind: undefined };
2635
+ message.sourceReplId = "";
2636
+ message.orgSlug = "";
2637
+ message.orgId = "";
2638
+ if (value !== undefined)
2639
+ reflectionMergePartial(this, message, value);
2640
+ return message;
2641
+ }
2642
+ internalBinaryRead(reader, length, options, target) {
2643
+ let message = target ?? this.create(), end = reader.pos + length;
2644
+ while (reader.pos < end) {
2645
+ let [fieldNo, wireType] = reader.tag();
2646
+ switch (fieldNo) {
2647
+ case /* string repl_id */ 1:
2648
+ message.replId = reader.string();
2649
+ break;
2650
+ case /* string user */ 3:
2651
+ message.user = reader.string();
2652
+ break;
2653
+ case /* bool persistent */ 4:
2654
+ message.persistent = reader.bool();
2655
+ break;
2656
+ case /* string default_cluster = 5 [deprecated = true] */ 5:
2657
+ message.defaultLocation = {
2658
+ oneofKind: "defaultCluster",
2659
+ defaultCluster: reader.string()
2660
+ };
2661
+ break;
2662
+ case /* string default_continent = 8 [deprecated = true] */ 8:
2663
+ message.defaultLocation = {
2664
+ oneofKind: "defaultContinent",
2665
+ defaultContinent: reader.string()
2666
+ };
2667
+ break;
2668
+ case /* replit.goval.api.lore.ReplLocation replLocation */ 9:
2669
+ message.replLocation = ReplLocation.internalBinaryRead(reader, reader.uint32(), options, message.replLocation);
2670
+ break;
2671
+ case /* string source_repl_id */ 7:
2672
+ message.sourceReplId = reader.string();
2047
2673
  break;
2048
2674
  case /* string org_slug */ 11:
2049
2675
  message.orgSlug = reader.string();
@@ -2263,9 +2889,111 @@ class GetTransferStatusResponse$Type extends MessageType {
2263
2889
  /* string transfer_id = 1; */
2264
2890
  if (message.transferId !== "")
2265
2891
  writer.tag(1, WireType.LengthDelimited).string(message.transferId);
2266
- /* bool complete = 2; */
2267
- if (message.complete !== false)
2268
- writer.tag(2, WireType.Varint).bool(message.complete);
2892
+ /* bool complete = 2; */
2893
+ if (message.complete !== false)
2894
+ writer.tag(2, WireType.Varint).bool(message.complete);
2895
+ let u = options.writeUnknownFields;
2896
+ if (u !== false)
2897
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2898
+ return writer;
2899
+ }
2900
+ }
2901
+ /**
2902
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetTransferStatusResponse
2903
+ */
2904
+ export const GetTransferStatusResponse = new GetTransferStatusResponse$Type();
2905
+ // @generated message type with reflection information, may provide speed optimized methods
2906
+ class TransferResourceGroupRequest$Type extends MessageType {
2907
+ constructor() {
2908
+ super("replit.goval.api.lore.TransferResourceGroupRequest", [
2909
+ { no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2910
+ { no: 2, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2911
+ ]);
2912
+ }
2913
+ create(value) {
2914
+ const message = globalThis.Object.create((this.messagePrototype));
2915
+ message.resourceGroupId = "";
2916
+ message.orgId = "";
2917
+ if (value !== undefined)
2918
+ reflectionMergePartial(this, message, value);
2919
+ return message;
2920
+ }
2921
+ internalBinaryRead(reader, length, options, target) {
2922
+ let message = target ?? this.create(), end = reader.pos + length;
2923
+ while (reader.pos < end) {
2924
+ let [fieldNo, wireType] = reader.tag();
2925
+ switch (fieldNo) {
2926
+ case /* string resource_group_id */ 1:
2927
+ message.resourceGroupId = reader.string();
2928
+ break;
2929
+ case /* string org_id */ 2:
2930
+ message.orgId = reader.string();
2931
+ break;
2932
+ default:
2933
+ let u = options.readUnknownField;
2934
+ if (u === "throw")
2935
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2936
+ let d = reader.skip(wireType);
2937
+ if (u !== false)
2938
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2939
+ }
2940
+ }
2941
+ return message;
2942
+ }
2943
+ internalBinaryWrite(message, writer, options) {
2944
+ /* string resource_group_id = 1; */
2945
+ if (message.resourceGroupId !== "")
2946
+ writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
2947
+ /* string org_id = 2; */
2948
+ if (message.orgId !== "")
2949
+ writer.tag(2, WireType.LengthDelimited).string(message.orgId);
2950
+ let u = options.writeUnknownFields;
2951
+ if (u !== false)
2952
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2953
+ return writer;
2954
+ }
2955
+ }
2956
+ /**
2957
+ * @generated MessageType for protobuf message replit.goval.api.lore.TransferResourceGroupRequest
2958
+ */
2959
+ export const TransferResourceGroupRequest = new TransferResourceGroupRequest$Type();
2960
+ // @generated message type with reflection information, may provide speed optimized methods
2961
+ class TransferResourceGroupResponse$Type extends MessageType {
2962
+ constructor() {
2963
+ super("replit.goval.api.lore.TransferResourceGroupResponse", [
2964
+ { no: 1, name: "transfer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2965
+ ]);
2966
+ }
2967
+ create(value) {
2968
+ const message = globalThis.Object.create((this.messagePrototype));
2969
+ message.transferId = "";
2970
+ if (value !== undefined)
2971
+ reflectionMergePartial(this, message, value);
2972
+ return message;
2973
+ }
2974
+ internalBinaryRead(reader, length, options, target) {
2975
+ let message = target ?? this.create(), end = reader.pos + length;
2976
+ while (reader.pos < end) {
2977
+ let [fieldNo, wireType] = reader.tag();
2978
+ switch (fieldNo) {
2979
+ case /* string transfer_id */ 1:
2980
+ message.transferId = reader.string();
2981
+ break;
2982
+ default:
2983
+ let u = options.readUnknownField;
2984
+ if (u === "throw")
2985
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2986
+ let d = reader.skip(wireType);
2987
+ if (u !== false)
2988
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2989
+ }
2990
+ }
2991
+ return message;
2992
+ }
2993
+ internalBinaryWrite(message, writer, options) {
2994
+ /* string transfer_id = 1; */
2995
+ if (message.transferId !== "")
2996
+ writer.tag(1, WireType.LengthDelimited).string(message.transferId);
2269
2997
  let u = options.writeUnknownFields;
2270
2998
  if (u !== false)
2271
2999
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2273,9 +3001,9 @@ class GetTransferStatusResponse$Type extends MessageType {
2273
3001
  }
2274
3002
  }
2275
3003
  /**
2276
- * @generated MessageType for protobuf message replit.goval.api.lore.GetTransferStatusResponse
3004
+ * @generated MessageType for protobuf message replit.goval.api.lore.TransferResourceGroupResponse
2277
3005
  */
2278
- export const GetTransferStatusResponse = new GetTransferStatusResponse$Type();
3006
+ export const TransferResourceGroupResponse = new TransferResourceGroupResponse$Type();
2279
3007
  // @generated message type with reflection information, may provide speed optimized methods
2280
3008
  class TransferReplsRequest$Type extends MessageType {
2281
3009
  constructor() {
@@ -3571,6 +4299,216 @@ class SetOrgHomeCellResponse$Type extends MessageType {
3571
4299
  */
3572
4300
  export const SetOrgHomeCellResponse = new SetOrgHomeCellResponse$Type();
3573
4301
  // @generated message type with reflection information, may provide speed optimized methods
4302
+ class DeleteOrgHomeCellRequest$Type extends MessageType {
4303
+ constructor() {
4304
+ super("replit.goval.api.lore.DeleteOrgHomeCellRequest", [
4305
+ { no: 1, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4306
+ ]);
4307
+ }
4308
+ create(value) {
4309
+ const message = globalThis.Object.create((this.messagePrototype));
4310
+ message.orgId = "";
4311
+ if (value !== undefined)
4312
+ reflectionMergePartial(this, message, value);
4313
+ return message;
4314
+ }
4315
+ internalBinaryRead(reader, length, options, target) {
4316
+ let message = target ?? this.create(), end = reader.pos + length;
4317
+ while (reader.pos < end) {
4318
+ let [fieldNo, wireType] = reader.tag();
4319
+ switch (fieldNo) {
4320
+ case /* string org_id */ 1:
4321
+ message.orgId = reader.string();
4322
+ break;
4323
+ default:
4324
+ let u = options.readUnknownField;
4325
+ if (u === "throw")
4326
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4327
+ let d = reader.skip(wireType);
4328
+ if (u !== false)
4329
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4330
+ }
4331
+ }
4332
+ return message;
4333
+ }
4334
+ internalBinaryWrite(message, writer, options) {
4335
+ /* string org_id = 1; */
4336
+ if (message.orgId !== "")
4337
+ writer.tag(1, WireType.LengthDelimited).string(message.orgId);
4338
+ let u = options.writeUnknownFields;
4339
+ if (u !== false)
4340
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4341
+ return writer;
4342
+ }
4343
+ }
4344
+ /**
4345
+ * @generated MessageType for protobuf message replit.goval.api.lore.DeleteOrgHomeCellRequest
4346
+ */
4347
+ export const DeleteOrgHomeCellRequest = new DeleteOrgHomeCellRequest$Type();
4348
+ // @generated message type with reflection information, may provide speed optimized methods
4349
+ class DeleteOrgHomeCellResponse$Type extends MessageType {
4350
+ constructor() {
4351
+ super("replit.goval.api.lore.DeleteOrgHomeCellResponse", []);
4352
+ }
4353
+ create(value) {
4354
+ const message = globalThis.Object.create((this.messagePrototype));
4355
+ if (value !== undefined)
4356
+ reflectionMergePartial(this, message, value);
4357
+ return message;
4358
+ }
4359
+ internalBinaryRead(reader, length, options, target) {
4360
+ let message = target ?? this.create(), end = reader.pos + length;
4361
+ while (reader.pos < end) {
4362
+ let [fieldNo, wireType] = reader.tag();
4363
+ switch (fieldNo) {
4364
+ default:
4365
+ let u = options.readUnknownField;
4366
+ if (u === "throw")
4367
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4368
+ let d = reader.skip(wireType);
4369
+ if (u !== false)
4370
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4371
+ }
4372
+ }
4373
+ return message;
4374
+ }
4375
+ internalBinaryWrite(message, writer, options) {
4376
+ let u = options.writeUnknownFields;
4377
+ if (u !== false)
4378
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4379
+ return writer;
4380
+ }
4381
+ }
4382
+ /**
4383
+ * @generated MessageType for protobuf message replit.goval.api.lore.DeleteOrgHomeCellResponse
4384
+ */
4385
+ export const DeleteOrgHomeCellResponse = new DeleteOrgHomeCellResponse$Type();
4386
+ // @generated message type with reflection information, may provide speed optimized methods
4387
+ class TransferOrgHomeCellRequest$Type extends MessageType {
4388
+ constructor() {
4389
+ super("replit.goval.api.lore.TransferOrgHomeCellRequest", [
4390
+ { no: 1, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4391
+ { no: 2, name: "target_cell_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4392
+ { no: 3, name: "force_retry", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
4393
+ { no: 4, name: "principal", kind: "message", T: () => OrgTransferPrincipal }
4394
+ ]);
4395
+ }
4396
+ create(value) {
4397
+ const message = globalThis.Object.create((this.messagePrototype));
4398
+ message.orgId = "";
4399
+ message.targetCellName = "";
4400
+ message.forceRetry = false;
4401
+ if (value !== undefined)
4402
+ reflectionMergePartial(this, message, value);
4403
+ return message;
4404
+ }
4405
+ internalBinaryRead(reader, length, options, target) {
4406
+ let message = target ?? this.create(), end = reader.pos + length;
4407
+ while (reader.pos < end) {
4408
+ let [fieldNo, wireType] = reader.tag();
4409
+ switch (fieldNo) {
4410
+ case /* string org_id */ 1:
4411
+ message.orgId = reader.string();
4412
+ break;
4413
+ case /* string target_cell_name */ 2:
4414
+ message.targetCellName = reader.string();
4415
+ break;
4416
+ case /* bool force_retry */ 3:
4417
+ message.forceRetry = reader.bool();
4418
+ break;
4419
+ case /* replit.goval.api.lore.transfer.OrgTransferPrincipal principal */ 4:
4420
+ message.principal = OrgTransferPrincipal.internalBinaryRead(reader, reader.uint32(), options, message.principal);
4421
+ break;
4422
+ default:
4423
+ let u = options.readUnknownField;
4424
+ if (u === "throw")
4425
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4426
+ let d = reader.skip(wireType);
4427
+ if (u !== false)
4428
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4429
+ }
4430
+ }
4431
+ return message;
4432
+ }
4433
+ internalBinaryWrite(message, writer, options) {
4434
+ /* string org_id = 1; */
4435
+ if (message.orgId !== "")
4436
+ writer.tag(1, WireType.LengthDelimited).string(message.orgId);
4437
+ /* string target_cell_name = 2; */
4438
+ if (message.targetCellName !== "")
4439
+ writer.tag(2, WireType.LengthDelimited).string(message.targetCellName);
4440
+ /* bool force_retry = 3; */
4441
+ if (message.forceRetry !== false)
4442
+ writer.tag(3, WireType.Varint).bool(message.forceRetry);
4443
+ /* replit.goval.api.lore.transfer.OrgTransferPrincipal principal = 4; */
4444
+ if (message.principal)
4445
+ OrgTransferPrincipal.internalBinaryWrite(message.principal, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
4446
+ let u = options.writeUnknownFields;
4447
+ if (u !== false)
4448
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4449
+ return writer;
4450
+ }
4451
+ }
4452
+ /**
4453
+ * @generated MessageType for protobuf message replit.goval.api.lore.TransferOrgHomeCellRequest
4454
+ */
4455
+ export const TransferOrgHomeCellRequest = new TransferOrgHomeCellRequest$Type();
4456
+ // @generated message type with reflection information, may provide speed optimized methods
4457
+ class TransferOrgHomeCellResponse$Type extends MessageType {
4458
+ constructor() {
4459
+ super("replit.goval.api.lore.TransferOrgHomeCellResponse", [
4460
+ { no: 1, name: "transfer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4461
+ { no: 2, name: "status", kind: "enum", T: () => ["replit.goval.api.lore.TransferOrgHomeCellResponse.Status", TransferOrgHomeCellResponse_Status, "STATUS_"] }
4462
+ ]);
4463
+ }
4464
+ create(value) {
4465
+ const message = globalThis.Object.create((this.messagePrototype));
4466
+ message.transferId = "";
4467
+ message.status = 0;
4468
+ if (value !== undefined)
4469
+ reflectionMergePartial(this, message, value);
4470
+ return message;
4471
+ }
4472
+ internalBinaryRead(reader, length, options, target) {
4473
+ let message = target ?? this.create(), end = reader.pos + length;
4474
+ while (reader.pos < end) {
4475
+ let [fieldNo, wireType] = reader.tag();
4476
+ switch (fieldNo) {
4477
+ case /* string transfer_id */ 1:
4478
+ message.transferId = reader.string();
4479
+ break;
4480
+ case /* replit.goval.api.lore.TransferOrgHomeCellResponse.Status status */ 2:
4481
+ message.status = reader.int32();
4482
+ break;
4483
+ default:
4484
+ let u = options.readUnknownField;
4485
+ if (u === "throw")
4486
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4487
+ let d = reader.skip(wireType);
4488
+ if (u !== false)
4489
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4490
+ }
4491
+ }
4492
+ return message;
4493
+ }
4494
+ internalBinaryWrite(message, writer, options) {
4495
+ /* string transfer_id = 1; */
4496
+ if (message.transferId !== "")
4497
+ writer.tag(1, WireType.LengthDelimited).string(message.transferId);
4498
+ /* replit.goval.api.lore.TransferOrgHomeCellResponse.Status status = 2; */
4499
+ if (message.status !== 0)
4500
+ writer.tag(2, WireType.Varint).int32(message.status);
4501
+ let u = options.writeUnknownFields;
4502
+ if (u !== false)
4503
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4504
+ return writer;
4505
+ }
4506
+ }
4507
+ /**
4508
+ * @generated MessageType for protobuf message replit.goval.api.lore.TransferOrgHomeCellResponse
4509
+ */
4510
+ export const TransferOrgHomeCellResponse = new TransferOrgHomeCellResponse$Type();
4511
+ // @generated message type with reflection information, may provide speed optimized methods
3574
4512
  class ExportReplRequest$Type extends MessageType {
3575
4513
  constructor() {
3576
4514
  super("replit.goval.api.lore.ExportReplRequest", [
@@ -4019,20 +4957,128 @@ class ImportReplResponse$Type extends MessageType {
4019
4957
  * @generated MessageType for protobuf message replit.goval.api.lore.ImportReplResponse
4020
4958
  */
4021
4959
  export const ImportReplResponse = new ImportReplResponse$Type();
4960
+ // @generated message type with reflection information, may provide speed optimized methods
4961
+ class GetCheckpointPreviewCapabilityRequest$Type extends MessageType {
4962
+ constructor() {
4963
+ super("replit.goval.api.lore.GetCheckpointPreviewCapabilityRequest", [
4964
+ { no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4965
+ { no: 2, name: "checkpoint_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4966
+ ]);
4967
+ }
4968
+ create(value) {
4969
+ const message = globalThis.Object.create((this.messagePrototype));
4970
+ message.replId = "";
4971
+ message.checkpointId = "";
4972
+ if (value !== undefined)
4973
+ reflectionMergePartial(this, message, value);
4974
+ return message;
4975
+ }
4976
+ internalBinaryRead(reader, length, options, target) {
4977
+ let message = target ?? this.create(), end = reader.pos + length;
4978
+ while (reader.pos < end) {
4979
+ let [fieldNo, wireType] = reader.tag();
4980
+ switch (fieldNo) {
4981
+ case /* string repl_id */ 1:
4982
+ message.replId = reader.string();
4983
+ break;
4984
+ case /* string checkpoint_id */ 2:
4985
+ message.checkpointId = reader.string();
4986
+ break;
4987
+ default:
4988
+ let u = options.readUnknownField;
4989
+ if (u === "throw")
4990
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4991
+ let d = reader.skip(wireType);
4992
+ if (u !== false)
4993
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4994
+ }
4995
+ }
4996
+ return message;
4997
+ }
4998
+ internalBinaryWrite(message, writer, options) {
4999
+ /* string repl_id = 1; */
5000
+ if (message.replId !== "")
5001
+ writer.tag(1, WireType.LengthDelimited).string(message.replId);
5002
+ /* string checkpoint_id = 2; */
5003
+ if (message.checkpointId !== "")
5004
+ writer.tag(2, WireType.LengthDelimited).string(message.checkpointId);
5005
+ let u = options.writeUnknownFields;
5006
+ if (u !== false)
5007
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5008
+ return writer;
5009
+ }
5010
+ }
5011
+ /**
5012
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetCheckpointPreviewCapabilityRequest
5013
+ */
5014
+ export const GetCheckpointPreviewCapabilityRequest = new GetCheckpointPreviewCapabilityRequest$Type();
5015
+ // @generated message type with reflection information, may provide speed optimized methods
5016
+ class GetCheckpointPreviewCapabilityResponse$Type extends MessageType {
5017
+ constructor() {
5018
+ super("replit.goval.api.lore.GetCheckpointPreviewCapabilityResponse", [
5019
+ { no: 1, name: "can_create", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
5020
+ ]);
5021
+ }
5022
+ create(value) {
5023
+ const message = globalThis.Object.create((this.messagePrototype));
5024
+ message.canCreate = false;
5025
+ if (value !== undefined)
5026
+ reflectionMergePartial(this, message, value);
5027
+ return message;
5028
+ }
5029
+ internalBinaryRead(reader, length, options, target) {
5030
+ let message = target ?? this.create(), end = reader.pos + length;
5031
+ while (reader.pos < end) {
5032
+ let [fieldNo, wireType] = reader.tag();
5033
+ switch (fieldNo) {
5034
+ case /* bool can_create */ 1:
5035
+ message.canCreate = reader.bool();
5036
+ break;
5037
+ default:
5038
+ let u = options.readUnknownField;
5039
+ if (u === "throw")
5040
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
5041
+ let d = reader.skip(wireType);
5042
+ if (u !== false)
5043
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
5044
+ }
5045
+ }
5046
+ return message;
5047
+ }
5048
+ internalBinaryWrite(message, writer, options) {
5049
+ /* bool can_create = 1; */
5050
+ if (message.canCreate !== false)
5051
+ writer.tag(1, WireType.Varint).bool(message.canCreate);
5052
+ let u = options.writeUnknownFields;
5053
+ if (u !== false)
5054
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5055
+ return writer;
5056
+ }
5057
+ }
5058
+ /**
5059
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetCheckpointPreviewCapabilityResponse
5060
+ */
5061
+ export const GetCheckpointPreviewCapabilityResponse = new GetCheckpointPreviewCapabilityResponse$Type();
4022
5062
  /**
4023
5063
  * @generated ServiceType for protobuf service replit.goval.api.lore.Lore
4024
5064
  */
4025
5065
  export const Lore = new ServiceType("replit.goval.api.lore.Lore", [
4026
5066
  { name: "CreateSandbox", options: {}, I: CreateSandboxRequest, O: CreateSandboxResponse },
5067
+ { name: "UpdateSandbox", options: {}, I: UpdateSandboxRequest, O: UpdateSandboxResponse },
4027
5068
  { name: "GetSandboxConnectionInfo", options: {}, I: GetSandboxConnectionInfoRequest, O: GetSandboxConnectionInfoResponse },
4028
5069
  { name: "CreateResourceGroup", options: {}, I: CreateResourceGroupRequest, O: CreateResourceGroupResponse },
4029
5070
  { name: "DeleteResourceGroup", options: {}, I: DeleteResourceGroupRequest, O: DeleteResourceGroupResponse },
4030
5071
  { name: "CreateAgent", options: {}, I: CreateAgentRequest, O: CreateAgentResponse },
4031
5072
  { name: "CreateRepl", options: {}, I: CreateReplRequest, O: CreateReplResponse },
4032
5073
  { name: "GetRepl", options: {}, I: GetReplRequest, O: GetReplResponse },
5074
+ { name: "GetCellByRepl", options: {}, I: GetCellByReplRequest, O: GetCellByReplResponse },
5075
+ { name: "BatchGetCellByRepl", options: {}, I: BatchGetCellByReplRequest, O: BatchGetCellByReplResponse },
5076
+ { name: "GetCheckpointPreviewCapability", options: {}, I: GetCheckpointPreviewCapabilityRequest, O: GetCheckpointPreviewCapabilityResponse },
4033
5077
  { name: "GetClusterByResourceGroup", options: {}, I: GetClusterByResourceGroupRequest, O: GetClusterByResourceGroupResponse },
5078
+ { name: "BatchGetCellByResourceGroup", options: {}, I: BatchGetCellByResourceGroupRequest, O: BatchGetCellByResourceGroupResponse },
4034
5079
  { name: "GetReplConnectionInfo", options: {}, I: GetReplConnectionInfoRequest, O: GetReplConnectionInfoResponse },
4035
5080
  { name: "GetTransferStatus", options: {}, I: GetTransferStatusRequest, O: GetTransferStatusResponse },
5081
+ { name: "TransferResourceGroup", options: {}, I: TransferResourceGroupRequest, O: TransferResourceGroupResponse },
4036
5082
  { name: "TransferRepls", options: {}, I: TransferReplsRequest, O: TransferReplsResponse },
4037
5083
  { name: "TransferUser", options: {}, I: TransferUserRequest, O: TransferUserResponse },
4038
5084
  { name: "TakedownRepl", options: {}, I: TakedownReplRequest, O: TakedownReplResponse },
@@ -4045,6 +5091,8 @@ export const Lore = new ServiceType("replit.goval.api.lore.Lore", [
4045
5091
  { name: "GetClusters", options: {}, I: GetClustersRequest, O: GetClustersResponse },
4046
5092
  { name: "GetOrgHomeCell", options: {}, I: GetOrgHomeCellRequest, O: GetOrgHomeCellResponse },
4047
5093
  { name: "SetOrgHomeCell", options: {}, I: SetOrgHomeCellRequest, O: SetOrgHomeCellResponse },
5094
+ { name: "DeleteOrgHomeCell", options: {}, I: DeleteOrgHomeCellRequest, O: DeleteOrgHomeCellResponse },
5095
+ { name: "TransferOrgHomeCell", options: {}, I: TransferOrgHomeCellRequest, O: TransferOrgHomeCellResponse },
4048
5096
  { name: "TransferReplFromOfflineCluster", options: {}, I: TransferReplFromOfflineClusterRequest, O: TransferReplFromOfflineClusterResponse },
4049
5097
  { name: "ExportRepl", options: {}, I: ExportReplRequest, O: ExportReplResponse },
4050
5098
  { name: "ImportRepl", options: {}, I: ImportReplRequest, O: ImportReplResponse }