@replit/protocol 0.4.29 → 0.4.31

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.
@@ -7,10 +7,12 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
7
7
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
8
8
  import { MessageType } from "@protobuf-ts/runtime";
9
9
  import { Duration } from "../../google/protobuf/duration.js";
10
+ import { Status } from "../../google/rpc/status.js";
10
11
  import { Agent } from "../chateau/resources.js";
11
12
  import { CreateAgentRequest as CreateAgentRequest$ } from "../chateau/resources.js";
12
13
  import { Repl as Repl$ } from "../jetplane/repl/repl.js";
13
14
  import { ReplMode } from "../jetplane/repl/repl.js";
15
+ import { SandboxSpec } from "../jetplane/repl/repl.js";
14
16
  /**
15
17
  * @generated from protobuf enum replit.goval.api.lore.GetReplResponse.RunningStatus
16
18
  */
@@ -47,6 +49,28 @@ export var GetReplResponse_TombstoneStatus;
47
49
  */
48
50
  GetReplResponse_TombstoneStatus[GetReplResponse_TombstoneStatus["NOT_TOMBSTONED"] = 2] = "NOT_TOMBSTONED";
49
51
  })(GetReplResponse_TombstoneStatus || (GetReplResponse_TombstoneStatus = {}));
52
+ /**
53
+ * @generated from protobuf enum replit.goval.api.lore.TransferOrgHomeCellResponse.Status
54
+ */
55
+ export var TransferOrgHomeCellResponse_Status;
56
+ (function (TransferOrgHomeCellResponse_Status) {
57
+ /**
58
+ * @generated from protobuf enum value: STATUS_UNSPECIFIED = 0;
59
+ */
60
+ TransferOrgHomeCellResponse_Status[TransferOrgHomeCellResponse_Status["UNSPECIFIED"] = 0] = "UNSPECIFIED";
61
+ /**
62
+ * @generated from protobuf enum value: STATUS_PENDING = 1;
63
+ */
64
+ TransferOrgHomeCellResponse_Status[TransferOrgHomeCellResponse_Status["PENDING"] = 1] = "PENDING";
65
+ /**
66
+ * @generated from protobuf enum value: STATUS_COMPLETED = 2;
67
+ */
68
+ TransferOrgHomeCellResponse_Status[TransferOrgHomeCellResponse_Status["COMPLETED"] = 2] = "COMPLETED";
69
+ /**
70
+ * @generated from protobuf enum value: STATUS_FAILED = 3;
71
+ */
72
+ TransferOrgHomeCellResponse_Status[TransferOrgHomeCellResponse_Status["FAILED"] = 3] = "FAILED";
73
+ })(TransferOrgHomeCellResponse_Status || (TransferOrgHomeCellResponse_Status = {}));
50
74
  // @generated message type with reflection information, may provide speed optimized methods
51
75
  class Buckets$Type extends MessageType {
52
76
  constructor() {
@@ -192,7 +216,8 @@ class Cluster$Type extends MessageType {
192
216
  { no: 14, name: "loopman_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
193
217
  { no: 15, name: "rams_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
194
218
  { 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*/ }
219
+ { no: 17, name: "chronicle_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
220
+ { no: 18, name: "continent", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
196
221
  ]);
197
222
  }
198
223
  create(value) {
@@ -213,6 +238,7 @@ class Cluster$Type extends MessageType {
213
238
  message.ramsRpcTarget = "";
214
239
  message.museRpcTarget = "";
215
240
  message.chronicleRpcTarget = "";
241
+ message.continent = "";
216
242
  if (value !== undefined)
217
243
  reflectionMergePartial(this, message, value);
218
244
  return message;
@@ -270,6 +296,9 @@ class Cluster$Type extends MessageType {
270
296
  case /* string chronicle_rpc_target */ 17:
271
297
  message.chronicleRpcTarget = reader.string();
272
298
  break;
299
+ case /* string continent */ 18:
300
+ message.continent = reader.string();
301
+ break;
273
302
  default:
274
303
  let u = options.readUnknownField;
275
304
  if (u === "throw")
@@ -330,6 +359,9 @@ class Cluster$Type extends MessageType {
330
359
  /* string chronicle_rpc_target = 17; */
331
360
  if (message.chronicleRpcTarget !== "")
332
361
  writer.tag(17, WireType.LengthDelimited).string(message.chronicleRpcTarget);
362
+ /* string continent = 18; */
363
+ if (message.continent !== "")
364
+ writer.tag(18, WireType.LengthDelimited).string(message.continent);
333
365
  let u = options.writeUnknownFields;
334
366
  if (u !== false)
335
367
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -354,7 +386,8 @@ class CreateReplRequest$Type extends MessageType {
354
386
  { no: 10, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
355
387
  { no: 11, name: "source_image", kind: "message", T: () => CreateReplRequest_SourceImage },
356
388
  { no: 12, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
357
- { no: 13, name: "extra_mount", kind: "message", T: () => CreateReplRequest_ExtraMount }
389
+ { no: 13, name: "extra_mount", kind: "message", T: () => CreateReplRequest_ExtraMount },
390
+ { no: 14, name: "creation_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
358
391
  ]);
359
392
  }
360
393
  create(value) {
@@ -364,6 +397,7 @@ class CreateReplRequest$Type extends MessageType {
364
397
  message.copyGitsafe = false;
365
398
  message.orgId = "";
366
399
  message.resourceGroupId = "";
400
+ message.creationSource = "";
367
401
  if (value !== undefined)
368
402
  reflectionMergePartial(this, message, value);
369
403
  return message;
@@ -412,6 +446,9 @@ class CreateReplRequest$Type extends MessageType {
412
446
  case /* replit.goval.api.lore.CreateReplRequest.ExtraMount extra_mount */ 13:
413
447
  message.extraMount = CreateReplRequest_ExtraMount.internalBinaryRead(reader, reader.uint32(), options, message.extraMount);
414
448
  break;
449
+ case /* string creation_source */ 14:
450
+ message.creationSource = reader.string();
451
+ break;
415
452
  default:
416
453
  let u = options.readUnknownField;
417
454
  if (u === "throw")
@@ -457,6 +494,9 @@ class CreateReplRequest$Type extends MessageType {
457
494
  /* replit.goval.api.lore.CreateReplRequest.ExtraMount extra_mount = 13; */
458
495
  if (message.extraMount)
459
496
  CreateReplRequest_ExtraMount.internalBinaryWrite(message.extraMount, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
497
+ /* string creation_source = 14; */
498
+ if (message.creationSource !== "")
499
+ writer.tag(14, WireType.LengthDelimited).string(message.creationSource);
460
500
  let u = options.writeUnknownFields;
461
501
  if (u !== false)
462
502
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -848,7 +888,8 @@ class CreateSandboxRequest$Type extends MessageType {
848
888
  super("replit.goval.api.lore.CreateSandboxRequest", [
849
889
  { no: 1, name: "sandbox", kind: "message", T: () => CreateSandboxRequest_Sandbox },
850
890
  { no: 2, name: "source", kind: "message", T: () => CreateSandboxRequest_Source },
851
- { no: 3, name: "extra_mount", kind: "message", T: () => CreateSandboxRequest_ExtraMount }
891
+ { no: 3, name: "extra_mount", kind: "message", T: () => CreateSandboxRequest_ExtraMount },
892
+ { no: 4, name: "sandbox_spec", kind: "message", T: () => SandboxSpec }
852
893
  ]);
853
894
  }
854
895
  create(value) {
@@ -871,6 +912,9 @@ class CreateSandboxRequest$Type extends MessageType {
871
912
  case /* replit.goval.api.lore.CreateSandboxRequest.ExtraMount extra_mount */ 3:
872
913
  message.extraMount = CreateSandboxRequest_ExtraMount.internalBinaryRead(reader, reader.uint32(), options, message.extraMount);
873
914
  break;
915
+ case /* replit.goval.api.jetplane.repl.SandboxSpec sandbox_spec */ 4:
916
+ message.sandboxSpec = SandboxSpec.internalBinaryRead(reader, reader.uint32(), options, message.sandboxSpec);
917
+ break;
874
918
  default:
875
919
  let u = options.readUnknownField;
876
920
  if (u === "throw")
@@ -892,6 +936,9 @@ class CreateSandboxRequest$Type extends MessageType {
892
936
  /* replit.goval.api.lore.CreateSandboxRequest.ExtraMount extra_mount = 3; */
893
937
  if (message.extraMount)
894
938
  CreateSandboxRequest_ExtraMount.internalBinaryWrite(message.extraMount, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
939
+ /* replit.goval.api.jetplane.repl.SandboxSpec sandbox_spec = 4; */
940
+ if (message.sandboxSpec)
941
+ SandboxSpec.internalBinaryWrite(message.sandboxSpec, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
895
942
  let u = options.writeUnknownFields;
896
943
  if (u !== false)
897
944
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1228,6 +1275,160 @@ class CreateSandboxResponse$Type extends MessageType {
1228
1275
  */
1229
1276
  export const CreateSandboxResponse = new CreateSandboxResponse$Type();
1230
1277
  // @generated message type with reflection information, may provide speed optimized methods
1278
+ class UpdateSandboxRequest$Type extends MessageType {
1279
+ constructor() {
1280
+ super("replit.goval.api.lore.UpdateSandboxRequest", [
1281
+ { no: 1, name: "sandbox", kind: "message", T: () => UpdateSandboxRequest_Sandbox },
1282
+ { no: 2, name: "extra_mount", kind: "message", T: () => CreateSandboxRequest_ExtraMount }
1283
+ ]);
1284
+ }
1285
+ create(value) {
1286
+ const message = globalThis.Object.create((this.messagePrototype));
1287
+ if (value !== undefined)
1288
+ reflectionMergePartial(this, message, value);
1289
+ return message;
1290
+ }
1291
+ internalBinaryRead(reader, length, options, target) {
1292
+ let message = target ?? this.create(), end = reader.pos + length;
1293
+ while (reader.pos < end) {
1294
+ let [fieldNo, wireType] = reader.tag();
1295
+ switch (fieldNo) {
1296
+ case /* replit.goval.api.lore.UpdateSandboxRequest.Sandbox sandbox */ 1:
1297
+ message.sandbox = UpdateSandboxRequest_Sandbox.internalBinaryRead(reader, reader.uint32(), options, message.sandbox);
1298
+ break;
1299
+ case /* replit.goval.api.lore.CreateSandboxRequest.ExtraMount extra_mount */ 2:
1300
+ message.extraMount = CreateSandboxRequest_ExtraMount.internalBinaryRead(reader, reader.uint32(), options, message.extraMount);
1301
+ break;
1302
+ default:
1303
+ let u = options.readUnknownField;
1304
+ if (u === "throw")
1305
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1306
+ let d = reader.skip(wireType);
1307
+ if (u !== false)
1308
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1309
+ }
1310
+ }
1311
+ return message;
1312
+ }
1313
+ internalBinaryWrite(message, writer, options) {
1314
+ /* replit.goval.api.lore.UpdateSandboxRequest.Sandbox sandbox = 1; */
1315
+ if (message.sandbox)
1316
+ UpdateSandboxRequest_Sandbox.internalBinaryWrite(message.sandbox, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1317
+ /* replit.goval.api.lore.CreateSandboxRequest.ExtraMount extra_mount = 2; */
1318
+ if (message.extraMount)
1319
+ CreateSandboxRequest_ExtraMount.internalBinaryWrite(message.extraMount, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1320
+ let u = options.writeUnknownFields;
1321
+ if (u !== false)
1322
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1323
+ return writer;
1324
+ }
1325
+ }
1326
+ /**
1327
+ * @generated MessageType for protobuf message replit.goval.api.lore.UpdateSandboxRequest
1328
+ */
1329
+ export const UpdateSandboxRequest = new UpdateSandboxRequest$Type();
1330
+ // @generated message type with reflection information, may provide speed optimized methods
1331
+ class UpdateSandboxRequest_Sandbox$Type extends MessageType {
1332
+ constructor() {
1333
+ super("replit.goval.api.lore.UpdateSandboxRequest.Sandbox", [
1334
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1335
+ { no: 2, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1336
+ ]);
1337
+ }
1338
+ create(value) {
1339
+ const message = globalThis.Object.create((this.messagePrototype));
1340
+ message.id = "";
1341
+ message.resourceGroupId = "";
1342
+ if (value !== undefined)
1343
+ reflectionMergePartial(this, message, value);
1344
+ return message;
1345
+ }
1346
+ internalBinaryRead(reader, length, options, target) {
1347
+ let message = target ?? this.create(), end = reader.pos + length;
1348
+ while (reader.pos < end) {
1349
+ let [fieldNo, wireType] = reader.tag();
1350
+ switch (fieldNo) {
1351
+ case /* string id */ 1:
1352
+ message.id = reader.string();
1353
+ break;
1354
+ case /* string resource_group_id */ 2:
1355
+ message.resourceGroupId = reader.string();
1356
+ break;
1357
+ default:
1358
+ let u = options.readUnknownField;
1359
+ if (u === "throw")
1360
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1361
+ let d = reader.skip(wireType);
1362
+ if (u !== false)
1363
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1364
+ }
1365
+ }
1366
+ return message;
1367
+ }
1368
+ internalBinaryWrite(message, writer, options) {
1369
+ /* string id = 1; */
1370
+ if (message.id !== "")
1371
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1372
+ /* string resource_group_id = 2; */
1373
+ if (message.resourceGroupId !== "")
1374
+ writer.tag(2, WireType.LengthDelimited).string(message.resourceGroupId);
1375
+ let u = options.writeUnknownFields;
1376
+ if (u !== false)
1377
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1378
+ return writer;
1379
+ }
1380
+ }
1381
+ /**
1382
+ * @generated MessageType for protobuf message replit.goval.api.lore.UpdateSandboxRequest.Sandbox
1383
+ */
1384
+ export const UpdateSandboxRequest_Sandbox = new UpdateSandboxRequest_Sandbox$Type();
1385
+ // @generated message type with reflection information, may provide speed optimized methods
1386
+ class UpdateSandboxResponse$Type extends MessageType {
1387
+ constructor() {
1388
+ super("replit.goval.api.lore.UpdateSandboxResponse", [
1389
+ { no: 1, name: "sandbox", kind: "message", T: () => Repl$ }
1390
+ ]);
1391
+ }
1392
+ create(value) {
1393
+ const message = globalThis.Object.create((this.messagePrototype));
1394
+ if (value !== undefined)
1395
+ reflectionMergePartial(this, message, value);
1396
+ return message;
1397
+ }
1398
+ internalBinaryRead(reader, length, options, target) {
1399
+ let message = target ?? this.create(), end = reader.pos + length;
1400
+ while (reader.pos < end) {
1401
+ let [fieldNo, wireType] = reader.tag();
1402
+ switch (fieldNo) {
1403
+ case /* replit.goval.api.jetplane.repl.Repl sandbox */ 1:
1404
+ message.sandbox = Repl$.internalBinaryRead(reader, reader.uint32(), options, message.sandbox);
1405
+ break;
1406
+ default:
1407
+ let u = options.readUnknownField;
1408
+ if (u === "throw")
1409
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1410
+ let d = reader.skip(wireType);
1411
+ if (u !== false)
1412
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1413
+ }
1414
+ }
1415
+ return message;
1416
+ }
1417
+ internalBinaryWrite(message, writer, options) {
1418
+ /* replit.goval.api.jetplane.repl.Repl sandbox = 1; */
1419
+ if (message.sandbox)
1420
+ Repl$.internalBinaryWrite(message.sandbox, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1421
+ let u = options.writeUnknownFields;
1422
+ if (u !== false)
1423
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1424
+ return writer;
1425
+ }
1426
+ }
1427
+ /**
1428
+ * @generated MessageType for protobuf message replit.goval.api.lore.UpdateSandboxResponse
1429
+ */
1430
+ export const UpdateSandboxResponse = new UpdateSandboxResponse$Type();
1431
+ // @generated message type with reflection information, may provide speed optimized methods
1231
1432
  class GetSandboxConnectionInfoRequest$Type extends MessageType {
1232
1433
  constructor() {
1233
1434
  super("replit.goval.api.lore.GetSandboxConnectionInfoRequest", [
@@ -1816,15 +2017,16 @@ class GetReplResponse$Type extends MessageType {
1816
2017
  */
1817
2018
  export const GetReplResponse = new GetReplResponse$Type();
1818
2019
  // @generated message type with reflection information, may provide speed optimized methods
1819
- class GetClusterByResourceGroupRequest$Type extends MessageType {
2020
+ class GetCellByReplRequest$Type extends MessageType {
1820
2021
  constructor() {
1821
- super("replit.goval.api.lore.GetClusterByResourceGroupRequest", [
1822
- { no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2022
+ super("replit.goval.api.lore.GetCellByReplRequest", [
2023
+ { no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2024
+ { no: 2, name: "resource_group_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
1823
2025
  ]);
1824
2026
  }
1825
2027
  create(value) {
1826
2028
  const message = globalThis.Object.create((this.messagePrototype));
1827
- message.resourceGroupId = "";
2029
+ message.replId = "";
1828
2030
  if (value !== undefined)
1829
2031
  reflectionMergePartial(this, message, value);
1830
2032
  return message;
@@ -1834,7 +2036,10 @@ class GetClusterByResourceGroupRequest$Type extends MessageType {
1834
2036
  while (reader.pos < end) {
1835
2037
  let [fieldNo, wireType] = reader.tag();
1836
2038
  switch (fieldNo) {
1837
- case /* string resource_group_id */ 1:
2039
+ case /* string repl_id */ 1:
2040
+ message.replId = reader.string();
2041
+ break;
2042
+ case /* optional string resource_group_id */ 2:
1838
2043
  message.resourceGroupId = reader.string();
1839
2044
  break;
1840
2045
  default:
@@ -1849,9 +2054,12 @@ class GetClusterByResourceGroupRequest$Type extends MessageType {
1849
2054
  return message;
1850
2055
  }
1851
2056
  internalBinaryWrite(message, writer, options) {
1852
- /* string resource_group_id = 1; */
1853
- if (message.resourceGroupId !== "")
1854
- writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
2057
+ /* string repl_id = 1; */
2058
+ if (message.replId !== "")
2059
+ writer.tag(1, WireType.LengthDelimited).string(message.replId);
2060
+ /* optional string resource_group_id = 2; */
2061
+ if (message.resourceGroupId !== undefined)
2062
+ writer.tag(2, WireType.LengthDelimited).string(message.resourceGroupId);
1855
2063
  let u = options.writeUnknownFields;
1856
2064
  if (u !== false)
1857
2065
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1859,13 +2067,13 @@ class GetClusterByResourceGroupRequest$Type extends MessageType {
1859
2067
  }
1860
2068
  }
1861
2069
  /**
1862
- * @generated MessageType for protobuf message replit.goval.api.lore.GetClusterByResourceGroupRequest
2070
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetCellByReplRequest
1863
2071
  */
1864
- export const GetClusterByResourceGroupRequest = new GetClusterByResourceGroupRequest$Type();
2072
+ export const GetCellByReplRequest = new GetCellByReplRequest$Type();
1865
2073
  // @generated message type with reflection information, may provide speed optimized methods
1866
- class GetClusterByResourceGroupResponse$Type extends MessageType {
2074
+ class GetCellByReplResponse$Type extends MessageType {
1867
2075
  constructor() {
1868
- super("replit.goval.api.lore.GetClusterByResourceGroupResponse", [
2076
+ super("replit.goval.api.lore.GetCellByReplResponse", [
1869
2077
  { no: 1, name: "cluster", kind: "message", T: () => Cluster }
1870
2078
  ]);
1871
2079
  }
@@ -1905,24 +2113,19 @@ class GetClusterByResourceGroupResponse$Type extends MessageType {
1905
2113
  }
1906
2114
  }
1907
2115
  /**
1908
- * @generated MessageType for protobuf message replit.goval.api.lore.GetClusterByResourceGroupResponse
2116
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetCellByReplResponse
1909
2117
  */
1910
- export const GetClusterByResourceGroupResponse = new GetClusterByResourceGroupResponse$Type();
2118
+ export const GetCellByReplResponse = new GetCellByReplResponse$Type();
1911
2119
  // @generated message type with reflection information, may provide speed optimized methods
1912
- class ReplLocation$Type extends MessageType {
2120
+ class BatchGetCellByReplRequest$Type extends MessageType {
1913
2121
  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*/ }
2122
+ super("replit.goval.api.lore.BatchGetCellByReplRequest", [
2123
+ { no: 1, name: "requests", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GetCellByReplRequest }
1919
2124
  ]);
1920
2125
  }
1921
2126
  create(value) {
1922
2127
  const message = globalThis.Object.create((this.messagePrototype));
1923
- message.location = { oneofKind: undefined };
1924
- message.regionalGoval = false;
1925
- message.orgId = "";
2128
+ message.requests = [];
1926
2129
  if (value !== undefined)
1927
2130
  reflectionMergePartial(this, message, value);
1928
2131
  return message;
@@ -1932,23 +2135,8 @@ class ReplLocation$Type extends MessageType {
1932
2135
  while (reader.pos < end) {
1933
2136
  let [fieldNo, wireType] = reader.tag();
1934
2137
  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();
2138
+ case /* repeated replit.goval.api.lore.GetCellByReplRequest requests */ 1:
2139
+ message.requests.push(GetCellByReplRequest.internalBinaryRead(reader, reader.uint32(), options));
1952
2140
  break;
1953
2141
  default:
1954
2142
  let u = options.readUnknownField;
@@ -1962,18 +2150,9 @@ class ReplLocation$Type extends MessageType {
1962
2150
  return message;
1963
2151
  }
1964
2152
  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);
2153
+ /* repeated replit.goval.api.lore.GetCellByReplRequest requests = 1; */
2154
+ for (let i = 0; i < message.requests.length; i++)
2155
+ GetCellByReplRequest.internalBinaryWrite(message.requests[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1977
2156
  let u = options.writeUnknownFields;
1978
2157
  if (u !== false)
1979
2158
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1981,34 +2160,19 @@ class ReplLocation$Type extends MessageType {
1981
2160
  }
1982
2161
  }
1983
2162
  /**
1984
- * @generated MessageType for protobuf message replit.goval.api.lore.ReplLocation
2163
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByReplRequest
1985
2164
  */
1986
- export const ReplLocation = new ReplLocation$Type();
2165
+ export const BatchGetCellByReplRequest = new BatchGetCellByReplRequest$Type();
1987
2166
  // @generated message type with reflection information, may provide speed optimized methods
1988
- class GetReplConnectionInfoRequest$Type extends MessageType {
2167
+ class BatchGetCellByReplResponse$Type extends MessageType {
1989
2168
  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*/ }
2169
+ super("replit.goval.api.lore.BatchGetCellByReplResponse", [
2170
+ { no: 1, name: "results", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BatchGetCellByReplResponse_Result }
2001
2171
  ]);
2002
2172
  }
2003
2173
  create(value) {
2004
2174
  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 = "";
2175
+ message.results = [];
2012
2176
  if (value !== undefined)
2013
2177
  reflectionMergePartial(this, message, value);
2014
2178
  return message;
@@ -2018,35 +2182,480 @@ class GetReplConnectionInfoRequest$Type extends MessageType {
2018
2182
  while (reader.pos < end) {
2019
2183
  let [fieldNo, wireType] = reader.tag();
2020
2184
  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
- };
2185
+ case /* repeated replit.goval.api.lore.BatchGetCellByReplResponse.Result results */ 1:
2186
+ message.results.push(BatchGetCellByReplResponse_Result.internalBinaryRead(reader, reader.uint32(), options));
2041
2187
  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();
2047
- break;
2048
- case /* string org_slug */ 11:
2049
- message.orgSlug = reader.string();
2188
+ default:
2189
+ let u = options.readUnknownField;
2190
+ if (u === "throw")
2191
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2192
+ let d = reader.skip(wireType);
2193
+ if (u !== false)
2194
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2195
+ }
2196
+ }
2197
+ return message;
2198
+ }
2199
+ internalBinaryWrite(message, writer, options) {
2200
+ /* repeated replit.goval.api.lore.BatchGetCellByReplResponse.Result results = 1; */
2201
+ for (let i = 0; i < message.results.length; i++)
2202
+ BatchGetCellByReplResponse_Result.internalBinaryWrite(message.results[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2203
+ let u = options.writeUnknownFields;
2204
+ if (u !== false)
2205
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2206
+ return writer;
2207
+ }
2208
+ }
2209
+ /**
2210
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByReplResponse
2211
+ */
2212
+ export const BatchGetCellByReplResponse = new BatchGetCellByReplResponse$Type();
2213
+ // @generated message type with reflection information, may provide speed optimized methods
2214
+ class BatchGetCellByReplResponse_Result$Type extends MessageType {
2215
+ constructor() {
2216
+ super("replit.goval.api.lore.BatchGetCellByReplResponse.Result", [
2217
+ { no: 1, name: "response", kind: "message", oneof: "outcome", T: () => GetCellByReplResponse },
2218
+ { no: 2, name: "error", kind: "message", oneof: "outcome", T: () => Status }
2219
+ ]);
2220
+ }
2221
+ create(value) {
2222
+ const message = globalThis.Object.create((this.messagePrototype));
2223
+ message.outcome = { oneofKind: undefined };
2224
+ if (value !== undefined)
2225
+ reflectionMergePartial(this, message, value);
2226
+ return message;
2227
+ }
2228
+ internalBinaryRead(reader, length, options, target) {
2229
+ let message = target ?? this.create(), end = reader.pos + length;
2230
+ while (reader.pos < end) {
2231
+ let [fieldNo, wireType] = reader.tag();
2232
+ switch (fieldNo) {
2233
+ case /* replit.goval.api.lore.GetCellByReplResponse response */ 1:
2234
+ message.outcome = {
2235
+ oneofKind: "response",
2236
+ response: GetCellByReplResponse.internalBinaryRead(reader, reader.uint32(), options, message.outcome.response)
2237
+ };
2238
+ break;
2239
+ case /* google.rpc.Status error */ 2:
2240
+ message.outcome = {
2241
+ oneofKind: "error",
2242
+ error: Status.internalBinaryRead(reader, reader.uint32(), options, message.outcome.error)
2243
+ };
2244
+ break;
2245
+ default:
2246
+ let u = options.readUnknownField;
2247
+ if (u === "throw")
2248
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2249
+ let d = reader.skip(wireType);
2250
+ if (u !== false)
2251
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2252
+ }
2253
+ }
2254
+ return message;
2255
+ }
2256
+ internalBinaryWrite(message, writer, options) {
2257
+ /* replit.goval.api.lore.GetCellByReplResponse response = 1; */
2258
+ if (message.outcome.oneofKind === "response")
2259
+ GetCellByReplResponse.internalBinaryWrite(message.outcome.response, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2260
+ /* google.rpc.Status error = 2; */
2261
+ if (message.outcome.oneofKind === "error")
2262
+ Status.internalBinaryWrite(message.outcome.error, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2263
+ let u = options.writeUnknownFields;
2264
+ if (u !== false)
2265
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2266
+ return writer;
2267
+ }
2268
+ }
2269
+ /**
2270
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByReplResponse.Result
2271
+ */
2272
+ export const BatchGetCellByReplResponse_Result = new BatchGetCellByReplResponse_Result$Type();
2273
+ // @generated message type with reflection information, may provide speed optimized methods
2274
+ class GetClusterByResourceGroupRequest$Type extends MessageType {
2275
+ constructor() {
2276
+ super("replit.goval.api.lore.GetClusterByResourceGroupRequest", [
2277
+ { no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2278
+ ]);
2279
+ }
2280
+ create(value) {
2281
+ const message = globalThis.Object.create((this.messagePrototype));
2282
+ message.resourceGroupId = "";
2283
+ if (value !== undefined)
2284
+ reflectionMergePartial(this, message, value);
2285
+ return message;
2286
+ }
2287
+ internalBinaryRead(reader, length, options, target) {
2288
+ let message = target ?? this.create(), end = reader.pos + length;
2289
+ while (reader.pos < end) {
2290
+ let [fieldNo, wireType] = reader.tag();
2291
+ switch (fieldNo) {
2292
+ case /* string resource_group_id */ 1:
2293
+ message.resourceGroupId = reader.string();
2294
+ break;
2295
+ default:
2296
+ let u = options.readUnknownField;
2297
+ if (u === "throw")
2298
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2299
+ let d = reader.skip(wireType);
2300
+ if (u !== false)
2301
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2302
+ }
2303
+ }
2304
+ return message;
2305
+ }
2306
+ internalBinaryWrite(message, writer, options) {
2307
+ /* string resource_group_id = 1; */
2308
+ if (message.resourceGroupId !== "")
2309
+ writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
2310
+ let u = options.writeUnknownFields;
2311
+ if (u !== false)
2312
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2313
+ return writer;
2314
+ }
2315
+ }
2316
+ /**
2317
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetClusterByResourceGroupRequest
2318
+ */
2319
+ export const GetClusterByResourceGroupRequest = new GetClusterByResourceGroupRequest$Type();
2320
+ // @generated message type with reflection information, may provide speed optimized methods
2321
+ class GetClusterByResourceGroupResponse$Type extends MessageType {
2322
+ constructor() {
2323
+ super("replit.goval.api.lore.GetClusterByResourceGroupResponse", [
2324
+ { no: 1, name: "cluster", kind: "message", T: () => Cluster }
2325
+ ]);
2326
+ }
2327
+ create(value) {
2328
+ const message = globalThis.Object.create((this.messagePrototype));
2329
+ if (value !== undefined)
2330
+ reflectionMergePartial(this, message, value);
2331
+ return message;
2332
+ }
2333
+ internalBinaryRead(reader, length, options, target) {
2334
+ let message = target ?? this.create(), end = reader.pos + length;
2335
+ while (reader.pos < end) {
2336
+ let [fieldNo, wireType] = reader.tag();
2337
+ switch (fieldNo) {
2338
+ case /* replit.goval.api.lore.Cluster cluster */ 1:
2339
+ message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
2340
+ break;
2341
+ default:
2342
+ let u = options.readUnknownField;
2343
+ if (u === "throw")
2344
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2345
+ let d = reader.skip(wireType);
2346
+ if (u !== false)
2347
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2348
+ }
2349
+ }
2350
+ return message;
2351
+ }
2352
+ internalBinaryWrite(message, writer, options) {
2353
+ /* replit.goval.api.lore.Cluster cluster = 1; */
2354
+ if (message.cluster)
2355
+ Cluster.internalBinaryWrite(message.cluster, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2356
+ let u = options.writeUnknownFields;
2357
+ if (u !== false)
2358
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2359
+ return writer;
2360
+ }
2361
+ }
2362
+ /**
2363
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetClusterByResourceGroupResponse
2364
+ */
2365
+ export const GetClusterByResourceGroupResponse = new GetClusterByResourceGroupResponse$Type();
2366
+ // @generated message type with reflection information, may provide speed optimized methods
2367
+ class BatchGetCellByResourceGroupRequest$Type extends MessageType {
2368
+ constructor() {
2369
+ super("replit.goval.api.lore.BatchGetCellByResourceGroupRequest", [
2370
+ { no: 1, name: "requests", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GetClusterByResourceGroupRequest }
2371
+ ]);
2372
+ }
2373
+ create(value) {
2374
+ const message = globalThis.Object.create((this.messagePrototype));
2375
+ message.requests = [];
2376
+ if (value !== undefined)
2377
+ reflectionMergePartial(this, message, value);
2378
+ return message;
2379
+ }
2380
+ internalBinaryRead(reader, length, options, target) {
2381
+ let message = target ?? this.create(), end = reader.pos + length;
2382
+ while (reader.pos < end) {
2383
+ let [fieldNo, wireType] = reader.tag();
2384
+ switch (fieldNo) {
2385
+ case /* repeated replit.goval.api.lore.GetClusterByResourceGroupRequest requests */ 1:
2386
+ message.requests.push(GetClusterByResourceGroupRequest.internalBinaryRead(reader, reader.uint32(), options));
2387
+ break;
2388
+ default:
2389
+ let u = options.readUnknownField;
2390
+ if (u === "throw")
2391
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2392
+ let d = reader.skip(wireType);
2393
+ if (u !== false)
2394
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2395
+ }
2396
+ }
2397
+ return message;
2398
+ }
2399
+ internalBinaryWrite(message, writer, options) {
2400
+ /* repeated replit.goval.api.lore.GetClusterByResourceGroupRequest requests = 1; */
2401
+ for (let i = 0; i < message.requests.length; i++)
2402
+ GetClusterByResourceGroupRequest.internalBinaryWrite(message.requests[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2403
+ let u = options.writeUnknownFields;
2404
+ if (u !== false)
2405
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2406
+ return writer;
2407
+ }
2408
+ }
2409
+ /**
2410
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByResourceGroupRequest
2411
+ */
2412
+ export const BatchGetCellByResourceGroupRequest = new BatchGetCellByResourceGroupRequest$Type();
2413
+ // @generated message type with reflection information, may provide speed optimized methods
2414
+ class BatchGetCellByResourceGroupResponse$Type extends MessageType {
2415
+ constructor() {
2416
+ super("replit.goval.api.lore.BatchGetCellByResourceGroupResponse", [
2417
+ { no: 1, name: "results", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BatchGetCellByResourceGroupResponse_Result }
2418
+ ]);
2419
+ }
2420
+ create(value) {
2421
+ const message = globalThis.Object.create((this.messagePrototype));
2422
+ message.results = [];
2423
+ if (value !== undefined)
2424
+ reflectionMergePartial(this, message, value);
2425
+ return message;
2426
+ }
2427
+ internalBinaryRead(reader, length, options, target) {
2428
+ let message = target ?? this.create(), end = reader.pos + length;
2429
+ while (reader.pos < end) {
2430
+ let [fieldNo, wireType] = reader.tag();
2431
+ switch (fieldNo) {
2432
+ case /* repeated replit.goval.api.lore.BatchGetCellByResourceGroupResponse.Result results */ 1:
2433
+ message.results.push(BatchGetCellByResourceGroupResponse_Result.internalBinaryRead(reader, reader.uint32(), options));
2434
+ break;
2435
+ default:
2436
+ let u = options.readUnknownField;
2437
+ if (u === "throw")
2438
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2439
+ let d = reader.skip(wireType);
2440
+ if (u !== false)
2441
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2442
+ }
2443
+ }
2444
+ return message;
2445
+ }
2446
+ internalBinaryWrite(message, writer, options) {
2447
+ /* repeated replit.goval.api.lore.BatchGetCellByResourceGroupResponse.Result results = 1; */
2448
+ for (let i = 0; i < message.results.length; i++)
2449
+ BatchGetCellByResourceGroupResponse_Result.internalBinaryWrite(message.results[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2450
+ let u = options.writeUnknownFields;
2451
+ if (u !== false)
2452
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2453
+ return writer;
2454
+ }
2455
+ }
2456
+ /**
2457
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByResourceGroupResponse
2458
+ */
2459
+ export const BatchGetCellByResourceGroupResponse = new BatchGetCellByResourceGroupResponse$Type();
2460
+ // @generated message type with reflection information, may provide speed optimized methods
2461
+ class BatchGetCellByResourceGroupResponse_Result$Type extends MessageType {
2462
+ constructor() {
2463
+ super("replit.goval.api.lore.BatchGetCellByResourceGroupResponse.Result", [
2464
+ { no: 1, name: "response", kind: "message", oneof: "outcome", T: () => GetClusterByResourceGroupResponse },
2465
+ { no: 2, name: "error", kind: "message", oneof: "outcome", T: () => Status }
2466
+ ]);
2467
+ }
2468
+ create(value) {
2469
+ const message = globalThis.Object.create((this.messagePrototype));
2470
+ message.outcome = { oneofKind: undefined };
2471
+ if (value !== undefined)
2472
+ reflectionMergePartial(this, message, value);
2473
+ return message;
2474
+ }
2475
+ internalBinaryRead(reader, length, options, target) {
2476
+ let message = target ?? this.create(), end = reader.pos + length;
2477
+ while (reader.pos < end) {
2478
+ let [fieldNo, wireType] = reader.tag();
2479
+ switch (fieldNo) {
2480
+ case /* replit.goval.api.lore.GetClusterByResourceGroupResponse response */ 1:
2481
+ message.outcome = {
2482
+ oneofKind: "response",
2483
+ response: GetClusterByResourceGroupResponse.internalBinaryRead(reader, reader.uint32(), options, message.outcome.response)
2484
+ };
2485
+ break;
2486
+ case /* google.rpc.Status error */ 2:
2487
+ message.outcome = {
2488
+ oneofKind: "error",
2489
+ error: Status.internalBinaryRead(reader, reader.uint32(), options, message.outcome.error)
2490
+ };
2491
+ break;
2492
+ default:
2493
+ let u = options.readUnknownField;
2494
+ if (u === "throw")
2495
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2496
+ let d = reader.skip(wireType);
2497
+ if (u !== false)
2498
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2499
+ }
2500
+ }
2501
+ return message;
2502
+ }
2503
+ internalBinaryWrite(message, writer, options) {
2504
+ /* replit.goval.api.lore.GetClusterByResourceGroupResponse response = 1; */
2505
+ if (message.outcome.oneofKind === "response")
2506
+ GetClusterByResourceGroupResponse.internalBinaryWrite(message.outcome.response, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2507
+ /* google.rpc.Status error = 2; */
2508
+ if (message.outcome.oneofKind === "error")
2509
+ Status.internalBinaryWrite(message.outcome.error, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2510
+ let u = options.writeUnknownFields;
2511
+ if (u !== false)
2512
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2513
+ return writer;
2514
+ }
2515
+ }
2516
+ /**
2517
+ * @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByResourceGroupResponse.Result
2518
+ */
2519
+ export const BatchGetCellByResourceGroupResponse_Result = new BatchGetCellByResourceGroupResponse_Result$Type();
2520
+ // @generated message type with reflection information, may provide speed optimized methods
2521
+ class ReplLocation$Type extends MessageType {
2522
+ constructor() {
2523
+ super("replit.goval.api.lore.ReplLocation", [
2524
+ { no: 1, name: "cluster", kind: "scalar", oneof: "location", T: 9 /*ScalarType.STRING*/ },
2525
+ { no: 2, name: "continent", kind: "scalar", oneof: "location", T: 9 /*ScalarType.STRING*/ },
2526
+ { no: 3, name: "regional_goval", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
2527
+ { no: 4, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2528
+ ]);
2529
+ }
2530
+ create(value) {
2531
+ const message = globalThis.Object.create((this.messagePrototype));
2532
+ message.location = { oneofKind: undefined };
2533
+ message.regionalGoval = false;
2534
+ message.orgId = "";
2535
+ if (value !== undefined)
2536
+ reflectionMergePartial(this, message, value);
2537
+ return message;
2538
+ }
2539
+ internalBinaryRead(reader, length, options, target) {
2540
+ let message = target ?? this.create(), end = reader.pos + length;
2541
+ while (reader.pos < end) {
2542
+ let [fieldNo, wireType] = reader.tag();
2543
+ switch (fieldNo) {
2544
+ case /* string cluster */ 1:
2545
+ message.location = {
2546
+ oneofKind: "cluster",
2547
+ cluster: reader.string()
2548
+ };
2549
+ break;
2550
+ case /* string continent */ 2:
2551
+ message.location = {
2552
+ oneofKind: "continent",
2553
+ continent: reader.string()
2554
+ };
2555
+ break;
2556
+ case /* bool regional_goval = 3 [deprecated = true] */ 3:
2557
+ message.regionalGoval = reader.bool();
2558
+ break;
2559
+ case /* string org_id */ 4:
2560
+ message.orgId = reader.string();
2561
+ break;
2562
+ default:
2563
+ let u = options.readUnknownField;
2564
+ if (u === "throw")
2565
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2566
+ let d = reader.skip(wireType);
2567
+ if (u !== false)
2568
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2569
+ }
2570
+ }
2571
+ return message;
2572
+ }
2573
+ internalBinaryWrite(message, writer, options) {
2574
+ /* string cluster = 1; */
2575
+ if (message.location.oneofKind === "cluster")
2576
+ writer.tag(1, WireType.LengthDelimited).string(message.location.cluster);
2577
+ /* string continent = 2; */
2578
+ if (message.location.oneofKind === "continent")
2579
+ writer.tag(2, WireType.LengthDelimited).string(message.location.continent);
2580
+ /* bool regional_goval = 3 [deprecated = true]; */
2581
+ if (message.regionalGoval !== false)
2582
+ writer.tag(3, WireType.Varint).bool(message.regionalGoval);
2583
+ /* string org_id = 4; */
2584
+ if (message.orgId !== "")
2585
+ writer.tag(4, WireType.LengthDelimited).string(message.orgId);
2586
+ let u = options.writeUnknownFields;
2587
+ if (u !== false)
2588
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2589
+ return writer;
2590
+ }
2591
+ }
2592
+ /**
2593
+ * @generated MessageType for protobuf message replit.goval.api.lore.ReplLocation
2594
+ */
2595
+ export const ReplLocation = new ReplLocation$Type();
2596
+ // @generated message type with reflection information, may provide speed optimized methods
2597
+ class GetReplConnectionInfoRequest$Type extends MessageType {
2598
+ constructor() {
2599
+ super("replit.goval.api.lore.GetReplConnectionInfoRequest", [
2600
+ { no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2601
+ { no: 3, name: "user", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2602
+ { no: 4, name: "persistent", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
2603
+ { no: 5, name: "default_cluster", kind: "scalar", oneof: "defaultLocation", T: 9 /*ScalarType.STRING*/ },
2604
+ { no: 8, name: "default_continent", kind: "scalar", oneof: "defaultLocation", T: 9 /*ScalarType.STRING*/ },
2605
+ { no: 9, name: "replLocation", kind: "message", T: () => ReplLocation },
2606
+ { no: 7, name: "source_repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2607
+ { no: 11, name: "org_slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2608
+ { no: 12, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2609
+ { no: 13, name: "resource_group_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
2610
+ ]);
2611
+ }
2612
+ create(value) {
2613
+ const message = globalThis.Object.create((this.messagePrototype));
2614
+ message.replId = "";
2615
+ message.user = "";
2616
+ message.persistent = false;
2617
+ message.defaultLocation = { oneofKind: undefined };
2618
+ message.sourceReplId = "";
2619
+ message.orgSlug = "";
2620
+ message.orgId = "";
2621
+ if (value !== undefined)
2622
+ reflectionMergePartial(this, message, value);
2623
+ return message;
2624
+ }
2625
+ internalBinaryRead(reader, length, options, target) {
2626
+ let message = target ?? this.create(), end = reader.pos + length;
2627
+ while (reader.pos < end) {
2628
+ let [fieldNo, wireType] = reader.tag();
2629
+ switch (fieldNo) {
2630
+ case /* string repl_id */ 1:
2631
+ message.replId = reader.string();
2632
+ break;
2633
+ case /* string user */ 3:
2634
+ message.user = reader.string();
2635
+ break;
2636
+ case /* bool persistent */ 4:
2637
+ message.persistent = reader.bool();
2638
+ break;
2639
+ case /* string default_cluster = 5 [deprecated = true] */ 5:
2640
+ message.defaultLocation = {
2641
+ oneofKind: "defaultCluster",
2642
+ defaultCluster: reader.string()
2643
+ };
2644
+ break;
2645
+ case /* string default_continent = 8 [deprecated = true] */ 8:
2646
+ message.defaultLocation = {
2647
+ oneofKind: "defaultContinent",
2648
+ defaultContinent: reader.string()
2649
+ };
2650
+ break;
2651
+ case /* replit.goval.api.lore.ReplLocation replLocation */ 9:
2652
+ message.replLocation = ReplLocation.internalBinaryRead(reader, reader.uint32(), options, message.replLocation);
2653
+ break;
2654
+ case /* string source_repl_id */ 7:
2655
+ message.sourceReplId = reader.string();
2656
+ break;
2657
+ case /* string org_slug */ 11:
2658
+ message.orgSlug = reader.string();
2050
2659
  break;
2051
2660
  case /* string org_id */ 12:
2052
2661
  message.orgId = reader.string();
@@ -2109,16 +2718,130 @@ export const GetReplConnectionInfoRequest = new GetReplConnectionInfoRequest$Typ
2109
2718
  // @generated message type with reflection information, may provide speed optimized methods
2110
2719
  class GetReplConnectionInfoResponse$Type extends MessageType {
2111
2720
  constructor() {
2112
- super("replit.goval.api.lore.GetReplConnectionInfoResponse", [
2113
- { no: 1, name: "repl", kind: "message", T: () => Repl },
2114
- { no: 2, name: "cluster", kind: "message", T: () => Cluster },
2115
- { no: 3, name: "buckets", kind: "message", T: () => Buckets },
2116
- { no: 4, name: "dotdev_hostname", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2721
+ super("replit.goval.api.lore.GetReplConnectionInfoResponse", [
2722
+ { no: 1, name: "repl", kind: "message", T: () => Repl },
2723
+ { no: 2, name: "cluster", kind: "message", T: () => Cluster },
2724
+ { no: 3, name: "buckets", kind: "message", T: () => Buckets },
2725
+ { no: 4, name: "dotdev_hostname", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2726
+ ]);
2727
+ }
2728
+ create(value) {
2729
+ const message = globalThis.Object.create((this.messagePrototype));
2730
+ message.dotdevHostname = "";
2731
+ if (value !== undefined)
2732
+ reflectionMergePartial(this, message, value);
2733
+ return message;
2734
+ }
2735
+ internalBinaryRead(reader, length, options, target) {
2736
+ let message = target ?? this.create(), end = reader.pos + length;
2737
+ while (reader.pos < end) {
2738
+ let [fieldNo, wireType] = reader.tag();
2739
+ switch (fieldNo) {
2740
+ case /* replit.goval.api.lore.Repl repl */ 1:
2741
+ message.repl = Repl.internalBinaryRead(reader, reader.uint32(), options, message.repl);
2742
+ break;
2743
+ case /* replit.goval.api.lore.Cluster cluster */ 2:
2744
+ message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
2745
+ break;
2746
+ case /* replit.goval.api.lore.Buckets buckets */ 3:
2747
+ message.buckets = Buckets.internalBinaryRead(reader, reader.uint32(), options, message.buckets);
2748
+ break;
2749
+ case /* string dotdev_hostname */ 4:
2750
+ message.dotdevHostname = reader.string();
2751
+ break;
2752
+ default:
2753
+ let u = options.readUnknownField;
2754
+ if (u === "throw")
2755
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2756
+ let d = reader.skip(wireType);
2757
+ if (u !== false)
2758
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2759
+ }
2760
+ }
2761
+ return message;
2762
+ }
2763
+ internalBinaryWrite(message, writer, options) {
2764
+ /* replit.goval.api.lore.Repl repl = 1; */
2765
+ if (message.repl)
2766
+ Repl.internalBinaryWrite(message.repl, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2767
+ /* replit.goval.api.lore.Cluster cluster = 2; */
2768
+ if (message.cluster)
2769
+ Cluster.internalBinaryWrite(message.cluster, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2770
+ /* replit.goval.api.lore.Buckets buckets = 3; */
2771
+ if (message.buckets)
2772
+ Buckets.internalBinaryWrite(message.buckets, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
2773
+ /* string dotdev_hostname = 4; */
2774
+ if (message.dotdevHostname !== "")
2775
+ writer.tag(4, WireType.LengthDelimited).string(message.dotdevHostname);
2776
+ let u = options.writeUnknownFields;
2777
+ if (u !== false)
2778
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2779
+ return writer;
2780
+ }
2781
+ }
2782
+ /**
2783
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetReplConnectionInfoResponse
2784
+ */
2785
+ export const GetReplConnectionInfoResponse = new GetReplConnectionInfoResponse$Type();
2786
+ // @generated message type with reflection information, may provide speed optimized methods
2787
+ class GetTransferStatusRequest$Type extends MessageType {
2788
+ constructor() {
2789
+ super("replit.goval.api.lore.GetTransferStatusRequest", [
2790
+ { no: 1, name: "transfer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2791
+ ]);
2792
+ }
2793
+ create(value) {
2794
+ const message = globalThis.Object.create((this.messagePrototype));
2795
+ message.transferId = "";
2796
+ if (value !== undefined)
2797
+ reflectionMergePartial(this, message, value);
2798
+ return message;
2799
+ }
2800
+ internalBinaryRead(reader, length, options, target) {
2801
+ let message = target ?? this.create(), end = reader.pos + length;
2802
+ while (reader.pos < end) {
2803
+ let [fieldNo, wireType] = reader.tag();
2804
+ switch (fieldNo) {
2805
+ case /* string transfer_id */ 1:
2806
+ message.transferId = reader.string();
2807
+ break;
2808
+ default:
2809
+ let u = options.readUnknownField;
2810
+ if (u === "throw")
2811
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2812
+ let d = reader.skip(wireType);
2813
+ if (u !== false)
2814
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2815
+ }
2816
+ }
2817
+ return message;
2818
+ }
2819
+ internalBinaryWrite(message, writer, options) {
2820
+ /* string transfer_id = 1; */
2821
+ if (message.transferId !== "")
2822
+ writer.tag(1, WireType.LengthDelimited).string(message.transferId);
2823
+ let u = options.writeUnknownFields;
2824
+ if (u !== false)
2825
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2826
+ return writer;
2827
+ }
2828
+ }
2829
+ /**
2830
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetTransferStatusRequest
2831
+ */
2832
+ export const GetTransferStatusRequest = new GetTransferStatusRequest$Type();
2833
+ // @generated message type with reflection information, may provide speed optimized methods
2834
+ class GetTransferStatusResponse$Type extends MessageType {
2835
+ constructor() {
2836
+ super("replit.goval.api.lore.GetTransferStatusResponse", [
2837
+ { no: 1, name: "transfer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2838
+ { no: 2, name: "complete", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
2117
2839
  ]);
2118
2840
  }
2119
2841
  create(value) {
2120
2842
  const message = globalThis.Object.create((this.messagePrototype));
2121
- message.dotdevHostname = "";
2843
+ message.transferId = "";
2844
+ message.complete = false;
2122
2845
  if (value !== undefined)
2123
2846
  reflectionMergePartial(this, message, value);
2124
2847
  return message;
@@ -2128,17 +2851,11 @@ class GetReplConnectionInfoResponse$Type extends MessageType {
2128
2851
  while (reader.pos < end) {
2129
2852
  let [fieldNo, wireType] = reader.tag();
2130
2853
  switch (fieldNo) {
2131
- case /* replit.goval.api.lore.Repl repl */ 1:
2132
- message.repl = Repl.internalBinaryRead(reader, reader.uint32(), options, message.repl);
2133
- break;
2134
- case /* replit.goval.api.lore.Cluster cluster */ 2:
2135
- message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
2136
- break;
2137
- case /* replit.goval.api.lore.Buckets buckets */ 3:
2138
- message.buckets = Buckets.internalBinaryRead(reader, reader.uint32(), options, message.buckets);
2854
+ case /* string transfer_id */ 1:
2855
+ message.transferId = reader.string();
2139
2856
  break;
2140
- case /* string dotdev_hostname */ 4:
2141
- message.dotdevHostname = reader.string();
2857
+ case /* bool complete */ 2:
2858
+ message.complete = reader.bool();
2142
2859
  break;
2143
2860
  default:
2144
2861
  let u = options.readUnknownField;
@@ -2152,18 +2869,12 @@ class GetReplConnectionInfoResponse$Type extends MessageType {
2152
2869
  return message;
2153
2870
  }
2154
2871
  internalBinaryWrite(message, writer, options) {
2155
- /* replit.goval.api.lore.Repl repl = 1; */
2156
- if (message.repl)
2157
- Repl.internalBinaryWrite(message.repl, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2158
- /* replit.goval.api.lore.Cluster cluster = 2; */
2159
- if (message.cluster)
2160
- Cluster.internalBinaryWrite(message.cluster, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2161
- /* replit.goval.api.lore.Buckets buckets = 3; */
2162
- if (message.buckets)
2163
- Buckets.internalBinaryWrite(message.buckets, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
2164
- /* string dotdev_hostname = 4; */
2165
- if (message.dotdevHostname !== "")
2166
- writer.tag(4, WireType.LengthDelimited).string(message.dotdevHostname);
2872
+ /* string transfer_id = 1; */
2873
+ if (message.transferId !== "")
2874
+ writer.tag(1, WireType.LengthDelimited).string(message.transferId);
2875
+ /* bool complete = 2; */
2876
+ if (message.complete !== false)
2877
+ writer.tag(2, WireType.Varint).bool(message.complete);
2167
2878
  let u = options.writeUnknownFields;
2168
2879
  if (u !== false)
2169
2880
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2171,19 +2882,21 @@ class GetReplConnectionInfoResponse$Type extends MessageType {
2171
2882
  }
2172
2883
  }
2173
2884
  /**
2174
- * @generated MessageType for protobuf message replit.goval.api.lore.GetReplConnectionInfoResponse
2885
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetTransferStatusResponse
2175
2886
  */
2176
- export const GetReplConnectionInfoResponse = new GetReplConnectionInfoResponse$Type();
2887
+ export const GetTransferStatusResponse = new GetTransferStatusResponse$Type();
2177
2888
  // @generated message type with reflection information, may provide speed optimized methods
2178
- class GetTransferStatusRequest$Type extends MessageType {
2889
+ class TransferResourceGroupRequest$Type extends MessageType {
2179
2890
  constructor() {
2180
- super("replit.goval.api.lore.GetTransferStatusRequest", [
2181
- { no: 1, name: "transfer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2891
+ super("replit.goval.api.lore.TransferResourceGroupRequest", [
2892
+ { no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2893
+ { no: 2, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2182
2894
  ]);
2183
2895
  }
2184
2896
  create(value) {
2185
2897
  const message = globalThis.Object.create((this.messagePrototype));
2186
- message.transferId = "";
2898
+ message.resourceGroupId = "";
2899
+ message.orgId = "";
2187
2900
  if (value !== undefined)
2188
2901
  reflectionMergePartial(this, message, value);
2189
2902
  return message;
@@ -2193,8 +2906,11 @@ class GetTransferStatusRequest$Type extends MessageType {
2193
2906
  while (reader.pos < end) {
2194
2907
  let [fieldNo, wireType] = reader.tag();
2195
2908
  switch (fieldNo) {
2196
- case /* string transfer_id */ 1:
2197
- message.transferId = reader.string();
2909
+ case /* string resource_group_id */ 1:
2910
+ message.resourceGroupId = reader.string();
2911
+ break;
2912
+ case /* string org_id */ 2:
2913
+ message.orgId = reader.string();
2198
2914
  break;
2199
2915
  default:
2200
2916
  let u = options.readUnknownField;
@@ -2208,9 +2924,12 @@ class GetTransferStatusRequest$Type extends MessageType {
2208
2924
  return message;
2209
2925
  }
2210
2926
  internalBinaryWrite(message, writer, options) {
2211
- /* string transfer_id = 1; */
2212
- if (message.transferId !== "")
2213
- writer.tag(1, WireType.LengthDelimited).string(message.transferId);
2927
+ /* string resource_group_id = 1; */
2928
+ if (message.resourceGroupId !== "")
2929
+ writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
2930
+ /* string org_id = 2; */
2931
+ if (message.orgId !== "")
2932
+ writer.tag(2, WireType.LengthDelimited).string(message.orgId);
2214
2933
  let u = options.writeUnknownFields;
2215
2934
  if (u !== false)
2216
2935
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2218,21 +2937,19 @@ class GetTransferStatusRequest$Type extends MessageType {
2218
2937
  }
2219
2938
  }
2220
2939
  /**
2221
- * @generated MessageType for protobuf message replit.goval.api.lore.GetTransferStatusRequest
2940
+ * @generated MessageType for protobuf message replit.goval.api.lore.TransferResourceGroupRequest
2222
2941
  */
2223
- export const GetTransferStatusRequest = new GetTransferStatusRequest$Type();
2942
+ export const TransferResourceGroupRequest = new TransferResourceGroupRequest$Type();
2224
2943
  // @generated message type with reflection information, may provide speed optimized methods
2225
- class GetTransferStatusResponse$Type extends MessageType {
2944
+ class TransferResourceGroupResponse$Type extends MessageType {
2226
2945
  constructor() {
2227
- super("replit.goval.api.lore.GetTransferStatusResponse", [
2228
- { no: 1, name: "transfer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2229
- { no: 2, name: "complete", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
2946
+ super("replit.goval.api.lore.TransferResourceGroupResponse", [
2947
+ { no: 1, name: "transfer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2230
2948
  ]);
2231
2949
  }
2232
2950
  create(value) {
2233
2951
  const message = globalThis.Object.create((this.messagePrototype));
2234
2952
  message.transferId = "";
2235
- message.complete = false;
2236
2953
  if (value !== undefined)
2237
2954
  reflectionMergePartial(this, message, value);
2238
2955
  return message;
@@ -2245,9 +2962,6 @@ class GetTransferStatusResponse$Type extends MessageType {
2245
2962
  case /* string transfer_id */ 1:
2246
2963
  message.transferId = reader.string();
2247
2964
  break;
2248
- case /* bool complete */ 2:
2249
- message.complete = reader.bool();
2250
- break;
2251
2965
  default:
2252
2966
  let u = options.readUnknownField;
2253
2967
  if (u === "throw")
@@ -2263,9 +2977,6 @@ class GetTransferStatusResponse$Type extends MessageType {
2263
2977
  /* string transfer_id = 1; */
2264
2978
  if (message.transferId !== "")
2265
2979
  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);
2269
2980
  let u = options.writeUnknownFields;
2270
2981
  if (u !== false)
2271
2982
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2273,9 +2984,9 @@ class GetTransferStatusResponse$Type extends MessageType {
2273
2984
  }
2274
2985
  }
2275
2986
  /**
2276
- * @generated MessageType for protobuf message replit.goval.api.lore.GetTransferStatusResponse
2987
+ * @generated MessageType for protobuf message replit.goval.api.lore.TransferResourceGroupResponse
2277
2988
  */
2278
- export const GetTransferStatusResponse = new GetTransferStatusResponse$Type();
2989
+ export const TransferResourceGroupResponse = new TransferResourceGroupResponse$Type();
2279
2990
  // @generated message type with reflection information, may provide speed optimized methods
2280
2991
  class TransferReplsRequest$Type extends MessageType {
2281
2992
  constructor() {
@@ -3571,6 +4282,124 @@ class SetOrgHomeCellResponse$Type extends MessageType {
3571
4282
  */
3572
4283
  export const SetOrgHomeCellResponse = new SetOrgHomeCellResponse$Type();
3573
4284
  // @generated message type with reflection information, may provide speed optimized methods
4285
+ class TransferOrgHomeCellRequest$Type extends MessageType {
4286
+ constructor() {
4287
+ super("replit.goval.api.lore.TransferOrgHomeCellRequest", [
4288
+ { no: 1, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4289
+ { no: 2, name: "target_cell_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4290
+ { no: 3, name: "force_retry", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
4291
+ ]);
4292
+ }
4293
+ create(value) {
4294
+ const message = globalThis.Object.create((this.messagePrototype));
4295
+ message.orgId = "";
4296
+ message.targetCellName = "";
4297
+ message.forceRetry = false;
4298
+ if (value !== undefined)
4299
+ reflectionMergePartial(this, message, value);
4300
+ return message;
4301
+ }
4302
+ internalBinaryRead(reader, length, options, target) {
4303
+ let message = target ?? this.create(), end = reader.pos + length;
4304
+ while (reader.pos < end) {
4305
+ let [fieldNo, wireType] = reader.tag();
4306
+ switch (fieldNo) {
4307
+ case /* string org_id */ 1:
4308
+ message.orgId = reader.string();
4309
+ break;
4310
+ case /* string target_cell_name */ 2:
4311
+ message.targetCellName = reader.string();
4312
+ break;
4313
+ case /* bool force_retry */ 3:
4314
+ message.forceRetry = reader.bool();
4315
+ break;
4316
+ default:
4317
+ let u = options.readUnknownField;
4318
+ if (u === "throw")
4319
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4320
+ let d = reader.skip(wireType);
4321
+ if (u !== false)
4322
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4323
+ }
4324
+ }
4325
+ return message;
4326
+ }
4327
+ internalBinaryWrite(message, writer, options) {
4328
+ /* string org_id = 1; */
4329
+ if (message.orgId !== "")
4330
+ writer.tag(1, WireType.LengthDelimited).string(message.orgId);
4331
+ /* string target_cell_name = 2; */
4332
+ if (message.targetCellName !== "")
4333
+ writer.tag(2, WireType.LengthDelimited).string(message.targetCellName);
4334
+ /* bool force_retry = 3; */
4335
+ if (message.forceRetry !== false)
4336
+ writer.tag(3, WireType.Varint).bool(message.forceRetry);
4337
+ let u = options.writeUnknownFields;
4338
+ if (u !== false)
4339
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4340
+ return writer;
4341
+ }
4342
+ }
4343
+ /**
4344
+ * @generated MessageType for protobuf message replit.goval.api.lore.TransferOrgHomeCellRequest
4345
+ */
4346
+ export const TransferOrgHomeCellRequest = new TransferOrgHomeCellRequest$Type();
4347
+ // @generated message type with reflection information, may provide speed optimized methods
4348
+ class TransferOrgHomeCellResponse$Type extends MessageType {
4349
+ constructor() {
4350
+ super("replit.goval.api.lore.TransferOrgHomeCellResponse", [
4351
+ { no: 1, name: "transfer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4352
+ { no: 2, name: "status", kind: "enum", T: () => ["replit.goval.api.lore.TransferOrgHomeCellResponse.Status", TransferOrgHomeCellResponse_Status, "STATUS_"] }
4353
+ ]);
4354
+ }
4355
+ create(value) {
4356
+ const message = globalThis.Object.create((this.messagePrototype));
4357
+ message.transferId = "";
4358
+ message.status = 0;
4359
+ if (value !== undefined)
4360
+ reflectionMergePartial(this, message, value);
4361
+ return message;
4362
+ }
4363
+ internalBinaryRead(reader, length, options, target) {
4364
+ let message = target ?? this.create(), end = reader.pos + length;
4365
+ while (reader.pos < end) {
4366
+ let [fieldNo, wireType] = reader.tag();
4367
+ switch (fieldNo) {
4368
+ case /* string transfer_id */ 1:
4369
+ message.transferId = reader.string();
4370
+ break;
4371
+ case /* replit.goval.api.lore.TransferOrgHomeCellResponse.Status status */ 2:
4372
+ message.status = reader.int32();
4373
+ break;
4374
+ default:
4375
+ let u = options.readUnknownField;
4376
+ if (u === "throw")
4377
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4378
+ let d = reader.skip(wireType);
4379
+ if (u !== false)
4380
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4381
+ }
4382
+ }
4383
+ return message;
4384
+ }
4385
+ internalBinaryWrite(message, writer, options) {
4386
+ /* string transfer_id = 1; */
4387
+ if (message.transferId !== "")
4388
+ writer.tag(1, WireType.LengthDelimited).string(message.transferId);
4389
+ /* replit.goval.api.lore.TransferOrgHomeCellResponse.Status status = 2; */
4390
+ if (message.status !== 0)
4391
+ writer.tag(2, WireType.Varint).int32(message.status);
4392
+ let u = options.writeUnknownFields;
4393
+ if (u !== false)
4394
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4395
+ return writer;
4396
+ }
4397
+ }
4398
+ /**
4399
+ * @generated MessageType for protobuf message replit.goval.api.lore.TransferOrgHomeCellResponse
4400
+ */
4401
+ export const TransferOrgHomeCellResponse = new TransferOrgHomeCellResponse$Type();
4402
+ // @generated message type with reflection information, may provide speed optimized methods
3574
4403
  class ExportReplRequest$Type extends MessageType {
3575
4404
  constructor() {
3576
4405
  super("replit.goval.api.lore.ExportReplRequest", [
@@ -4019,20 +4848,128 @@ class ImportReplResponse$Type extends MessageType {
4019
4848
  * @generated MessageType for protobuf message replit.goval.api.lore.ImportReplResponse
4020
4849
  */
4021
4850
  export const ImportReplResponse = new ImportReplResponse$Type();
4851
+ // @generated message type with reflection information, may provide speed optimized methods
4852
+ class GetCheckpointPreviewCapabilityRequest$Type extends MessageType {
4853
+ constructor() {
4854
+ super("replit.goval.api.lore.GetCheckpointPreviewCapabilityRequest", [
4855
+ { no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4856
+ { no: 2, name: "checkpoint_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4857
+ ]);
4858
+ }
4859
+ create(value) {
4860
+ const message = globalThis.Object.create((this.messagePrototype));
4861
+ message.replId = "";
4862
+ message.checkpointId = "";
4863
+ if (value !== undefined)
4864
+ reflectionMergePartial(this, message, value);
4865
+ return message;
4866
+ }
4867
+ internalBinaryRead(reader, length, options, target) {
4868
+ let message = target ?? this.create(), end = reader.pos + length;
4869
+ while (reader.pos < end) {
4870
+ let [fieldNo, wireType] = reader.tag();
4871
+ switch (fieldNo) {
4872
+ case /* string repl_id */ 1:
4873
+ message.replId = reader.string();
4874
+ break;
4875
+ case /* string checkpoint_id */ 2:
4876
+ message.checkpointId = reader.string();
4877
+ break;
4878
+ default:
4879
+ let u = options.readUnknownField;
4880
+ if (u === "throw")
4881
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4882
+ let d = reader.skip(wireType);
4883
+ if (u !== false)
4884
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4885
+ }
4886
+ }
4887
+ return message;
4888
+ }
4889
+ internalBinaryWrite(message, writer, options) {
4890
+ /* string repl_id = 1; */
4891
+ if (message.replId !== "")
4892
+ writer.tag(1, WireType.LengthDelimited).string(message.replId);
4893
+ /* string checkpoint_id = 2; */
4894
+ if (message.checkpointId !== "")
4895
+ writer.tag(2, WireType.LengthDelimited).string(message.checkpointId);
4896
+ let u = options.writeUnknownFields;
4897
+ if (u !== false)
4898
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4899
+ return writer;
4900
+ }
4901
+ }
4902
+ /**
4903
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetCheckpointPreviewCapabilityRequest
4904
+ */
4905
+ export const GetCheckpointPreviewCapabilityRequest = new GetCheckpointPreviewCapabilityRequest$Type();
4906
+ // @generated message type with reflection information, may provide speed optimized methods
4907
+ class GetCheckpointPreviewCapabilityResponse$Type extends MessageType {
4908
+ constructor() {
4909
+ super("replit.goval.api.lore.GetCheckpointPreviewCapabilityResponse", [
4910
+ { no: 1, name: "can_create", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
4911
+ ]);
4912
+ }
4913
+ create(value) {
4914
+ const message = globalThis.Object.create((this.messagePrototype));
4915
+ message.canCreate = false;
4916
+ if (value !== undefined)
4917
+ reflectionMergePartial(this, message, value);
4918
+ return message;
4919
+ }
4920
+ internalBinaryRead(reader, length, options, target) {
4921
+ let message = target ?? this.create(), end = reader.pos + length;
4922
+ while (reader.pos < end) {
4923
+ let [fieldNo, wireType] = reader.tag();
4924
+ switch (fieldNo) {
4925
+ case /* bool can_create */ 1:
4926
+ message.canCreate = reader.bool();
4927
+ break;
4928
+ default:
4929
+ let u = options.readUnknownField;
4930
+ if (u === "throw")
4931
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4932
+ let d = reader.skip(wireType);
4933
+ if (u !== false)
4934
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4935
+ }
4936
+ }
4937
+ return message;
4938
+ }
4939
+ internalBinaryWrite(message, writer, options) {
4940
+ /* bool can_create = 1; */
4941
+ if (message.canCreate !== false)
4942
+ writer.tag(1, WireType.Varint).bool(message.canCreate);
4943
+ let u = options.writeUnknownFields;
4944
+ if (u !== false)
4945
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4946
+ return writer;
4947
+ }
4948
+ }
4949
+ /**
4950
+ * @generated MessageType for protobuf message replit.goval.api.lore.GetCheckpointPreviewCapabilityResponse
4951
+ */
4952
+ export const GetCheckpointPreviewCapabilityResponse = new GetCheckpointPreviewCapabilityResponse$Type();
4022
4953
  /**
4023
4954
  * @generated ServiceType for protobuf service replit.goval.api.lore.Lore
4024
4955
  */
4025
4956
  export const Lore = new ServiceType("replit.goval.api.lore.Lore", [
4026
4957
  { name: "CreateSandbox", options: {}, I: CreateSandboxRequest, O: CreateSandboxResponse },
4958
+ { name: "UpdateSandbox", options: {}, I: UpdateSandboxRequest, O: UpdateSandboxResponse },
4027
4959
  { name: "GetSandboxConnectionInfo", options: {}, I: GetSandboxConnectionInfoRequest, O: GetSandboxConnectionInfoResponse },
4028
4960
  { name: "CreateResourceGroup", options: {}, I: CreateResourceGroupRequest, O: CreateResourceGroupResponse },
4029
4961
  { name: "DeleteResourceGroup", options: {}, I: DeleteResourceGroupRequest, O: DeleteResourceGroupResponse },
4030
4962
  { name: "CreateAgent", options: {}, I: CreateAgentRequest, O: CreateAgentResponse },
4031
4963
  { name: "CreateRepl", options: {}, I: CreateReplRequest, O: CreateReplResponse },
4032
4964
  { name: "GetRepl", options: {}, I: GetReplRequest, O: GetReplResponse },
4965
+ { name: "GetCellByRepl", options: {}, I: GetCellByReplRequest, O: GetCellByReplResponse },
4966
+ { name: "BatchGetCellByRepl", options: {}, I: BatchGetCellByReplRequest, O: BatchGetCellByReplResponse },
4967
+ { name: "GetCheckpointPreviewCapability", options: {}, I: GetCheckpointPreviewCapabilityRequest, O: GetCheckpointPreviewCapabilityResponse },
4033
4968
  { name: "GetClusterByResourceGroup", options: {}, I: GetClusterByResourceGroupRequest, O: GetClusterByResourceGroupResponse },
4969
+ { name: "BatchGetCellByResourceGroup", options: {}, I: BatchGetCellByResourceGroupRequest, O: BatchGetCellByResourceGroupResponse },
4034
4970
  { name: "GetReplConnectionInfo", options: {}, I: GetReplConnectionInfoRequest, O: GetReplConnectionInfoResponse },
4035
4971
  { name: "GetTransferStatus", options: {}, I: GetTransferStatusRequest, O: GetTransferStatusResponse },
4972
+ { name: "TransferResourceGroup", options: {}, I: TransferResourceGroupRequest, O: TransferResourceGroupResponse },
4036
4973
  { name: "TransferRepls", options: {}, I: TransferReplsRequest, O: TransferReplsResponse },
4037
4974
  { name: "TransferUser", options: {}, I: TransferUserRequest, O: TransferUserResponse },
4038
4975
  { name: "TakedownRepl", options: {}, I: TakedownReplRequest, O: TakedownReplResponse },
@@ -4045,6 +4982,7 @@ export const Lore = new ServiceType("replit.goval.api.lore.Lore", [
4045
4982
  { name: "GetClusters", options: {}, I: GetClustersRequest, O: GetClustersResponse },
4046
4983
  { name: "GetOrgHomeCell", options: {}, I: GetOrgHomeCellRequest, O: GetOrgHomeCellResponse },
4047
4984
  { name: "SetOrgHomeCell", options: {}, I: SetOrgHomeCellRequest, O: SetOrgHomeCellResponse },
4985
+ { name: "TransferOrgHomeCell", options: {}, I: TransferOrgHomeCellRequest, O: TransferOrgHomeCellResponse },
4048
4986
  { name: "TransferReplFromOfflineCluster", options: {}, I: TransferReplFromOfflineClusterRequest, O: TransferReplFromOfflineClusterResponse },
4049
4987
  { name: "ExportRepl", options: {}, I: ExportReplRequest, O: ExportReplResponse },
4050
4988
  { name: "ImportRepl", options: {}, I: ImportReplRequest, O: ImportReplResponse }