@replit/protocol 0.4.28 → 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.
- package/dist/api/chateau/resources.d.ts +4 -0
- package/dist/api/chateau/resources.js +7 -0
- package/dist/api/features/features.d.ts +0 -28
- package/dist/api/features/features.js +0 -49
- package/dist/api/jetplane/repl/repl.client.d.ts +249 -0
- package/dist/api/jetplane/repl/repl.client.js +151 -0
- package/dist/api/jetplane/repl/repl.d.ts +1638 -0
- package/dist/api/jetplane/repl/repl.js +2938 -0
- package/dist/api/lore/lore.d.ts +6 -27
- package/dist/api/lore/lore.js +9 -58
- package/dist/api/lore/service.client.d.ts +220 -18
- package/dist/api/lore/service.client.js +155 -28
- package/dist/api/lore/service.d.ts +1043 -15
- package/dist/api/lore/service.js +2371 -310
- package/dist/api/oci/runtime_profile.d.ts +59 -0
- package/dist/api/oci/runtime_profile.js +105 -0
- package/dist/api/repl/repl.d.ts +13 -0
- package/dist/api/repl/repl.js +17 -1
- package/dist/api/token/token.d.ts +40 -2
- package/dist/api/token/token.js +44 -1
- package/dist/api/types.d.ts +5 -0
- package/dist/api/types.js +9 -1
- package/dist/google/protobuf/any.d.ts +180 -0
- package/dist/google/protobuf/any.js +151 -0
- package/dist/google/rpc/status.d.ts +35 -0
- package/dist/google/rpc/status.js +68 -0
- package/iotester/index.d.ts +11968 -2193
- package/iotester/index.js +29839 -5375
- package/main/index.d.ts +11968 -2193
- package/main/index.js +29839 -5375
- package/package.json +1 -1
package/dist/api/lore/service.js
CHANGED
|
@@ -6,8 +6,13 @@ 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 { Duration } from "../../google/protobuf/duration.js";
|
|
10
|
+
import { Status } from "../../google/rpc/status.js";
|
|
9
11
|
import { Agent } from "../chateau/resources.js";
|
|
10
12
|
import { CreateAgentRequest as CreateAgentRequest$ } from "../chateau/resources.js";
|
|
13
|
+
import { Repl as Repl$ } from "../jetplane/repl/repl.js";
|
|
14
|
+
import { ReplMode } from "../jetplane/repl/repl.js";
|
|
15
|
+
import { SandboxSpec } from "../jetplane/repl/repl.js";
|
|
11
16
|
/**
|
|
12
17
|
* @generated from protobuf enum replit.goval.api.lore.GetReplResponse.RunningStatus
|
|
13
18
|
*/
|
|
@@ -44,6 +49,28 @@ export var GetReplResponse_TombstoneStatus;
|
|
|
44
49
|
*/
|
|
45
50
|
GetReplResponse_TombstoneStatus[GetReplResponse_TombstoneStatus["NOT_TOMBSTONED"] = 2] = "NOT_TOMBSTONED";
|
|
46
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 = {}));
|
|
47
74
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
48
75
|
class Buckets$Type extends MessageType {
|
|
49
76
|
constructor() {
|
|
@@ -182,7 +209,15 @@ class Cluster$Type extends MessageType {
|
|
|
182
209
|
{ no: 7, name: "taskman_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
183
210
|
{ no: 8, name: "sentinel_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
184
211
|
{ no: 9, name: "chateau_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
185
|
-
{ no: 10, name: "taskman_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
212
|
+
{ no: 10, name: "taskman_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
213
|
+
{ no: 11, name: "assimilator_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
214
|
+
{ no: 12, name: "skyplane_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
215
|
+
{ no: 13, name: "loopman_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
216
|
+
{ no: 14, name: "loopman_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
217
|
+
{ no: 15, name: "rams_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
218
|
+
{ no: 16, name: "muse_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*/ }
|
|
186
221
|
]);
|
|
187
222
|
}
|
|
188
223
|
create(value) {
|
|
@@ -196,6 +231,14 @@ class Cluster$Type extends MessageType {
|
|
|
196
231
|
message.sentinelUrl = "";
|
|
197
232
|
message.chateauRpcTarget = "";
|
|
198
233
|
message.taskmanRpcTarget = "";
|
|
234
|
+
message.assimilatorRpcTarget = "";
|
|
235
|
+
message.skyplaneUrl = "";
|
|
236
|
+
message.loopmanUrl = "";
|
|
237
|
+
message.loopmanRpcTarget = "";
|
|
238
|
+
message.ramsRpcTarget = "";
|
|
239
|
+
message.museRpcTarget = "";
|
|
240
|
+
message.chronicleRpcTarget = "";
|
|
241
|
+
message.continent = "";
|
|
199
242
|
if (value !== undefined)
|
|
200
243
|
reflectionMergePartial(this, message, value);
|
|
201
244
|
return message;
|
|
@@ -232,6 +275,30 @@ class Cluster$Type extends MessageType {
|
|
|
232
275
|
case /* string taskman_rpc_target */ 10:
|
|
233
276
|
message.taskmanRpcTarget = reader.string();
|
|
234
277
|
break;
|
|
278
|
+
case /* string assimilator_rpc_target */ 11:
|
|
279
|
+
message.assimilatorRpcTarget = reader.string();
|
|
280
|
+
break;
|
|
281
|
+
case /* string skyplane_url */ 12:
|
|
282
|
+
message.skyplaneUrl = reader.string();
|
|
283
|
+
break;
|
|
284
|
+
case /* string loopman_url */ 13:
|
|
285
|
+
message.loopmanUrl = reader.string();
|
|
286
|
+
break;
|
|
287
|
+
case /* string loopman_rpc_target */ 14:
|
|
288
|
+
message.loopmanRpcTarget = reader.string();
|
|
289
|
+
break;
|
|
290
|
+
case /* string rams_rpc_target */ 15:
|
|
291
|
+
message.ramsRpcTarget = reader.string();
|
|
292
|
+
break;
|
|
293
|
+
case /* string muse_rpc_target */ 16:
|
|
294
|
+
message.museRpcTarget = reader.string();
|
|
295
|
+
break;
|
|
296
|
+
case /* string chronicle_rpc_target */ 17:
|
|
297
|
+
message.chronicleRpcTarget = reader.string();
|
|
298
|
+
break;
|
|
299
|
+
case /* string continent */ 18:
|
|
300
|
+
message.continent = reader.string();
|
|
301
|
+
break;
|
|
235
302
|
default:
|
|
236
303
|
let u = options.readUnknownField;
|
|
237
304
|
if (u === "throw")
|
|
@@ -271,6 +338,30 @@ class Cluster$Type extends MessageType {
|
|
|
271
338
|
/* string taskman_rpc_target = 10; */
|
|
272
339
|
if (message.taskmanRpcTarget !== "")
|
|
273
340
|
writer.tag(10, WireType.LengthDelimited).string(message.taskmanRpcTarget);
|
|
341
|
+
/* string assimilator_rpc_target = 11; */
|
|
342
|
+
if (message.assimilatorRpcTarget !== "")
|
|
343
|
+
writer.tag(11, WireType.LengthDelimited).string(message.assimilatorRpcTarget);
|
|
344
|
+
/* string skyplane_url = 12; */
|
|
345
|
+
if (message.skyplaneUrl !== "")
|
|
346
|
+
writer.tag(12, WireType.LengthDelimited).string(message.skyplaneUrl);
|
|
347
|
+
/* string loopman_url = 13; */
|
|
348
|
+
if (message.loopmanUrl !== "")
|
|
349
|
+
writer.tag(13, WireType.LengthDelimited).string(message.loopmanUrl);
|
|
350
|
+
/* string loopman_rpc_target = 14; */
|
|
351
|
+
if (message.loopmanRpcTarget !== "")
|
|
352
|
+
writer.tag(14, WireType.LengthDelimited).string(message.loopmanRpcTarget);
|
|
353
|
+
/* string rams_rpc_target = 15; */
|
|
354
|
+
if (message.ramsRpcTarget !== "")
|
|
355
|
+
writer.tag(15, WireType.LengthDelimited).string(message.ramsRpcTarget);
|
|
356
|
+
/* string muse_rpc_target = 16; */
|
|
357
|
+
if (message.museRpcTarget !== "")
|
|
358
|
+
writer.tag(16, WireType.LengthDelimited).string(message.museRpcTarget);
|
|
359
|
+
/* string chronicle_rpc_target = 17; */
|
|
360
|
+
if (message.chronicleRpcTarget !== "")
|
|
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);
|
|
274
365
|
let u = options.writeUnknownFields;
|
|
275
366
|
if (u !== false)
|
|
276
367
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -292,7 +383,11 @@ class CreateReplRequest$Type extends MessageType {
|
|
|
292
383
|
{ no: 3, name: "source_repl", kind: "message", T: () => CreateReplRequest_SourceRepl },
|
|
293
384
|
{ no: 8, name: "copy_helium", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
294
385
|
{ no: 9, name: "copy_gitsafe", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
295
|
-
{ no: 10, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
386
|
+
{ no: 10, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
387
|
+
{ no: 11, name: "source_image", kind: "message", T: () => CreateReplRequest_SourceImage },
|
|
388
|
+
{ no: 12, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
389
|
+
{ no: 13, name: "extra_mount", kind: "message", T: () => CreateReplRequest_ExtraMount },
|
|
390
|
+
{ no: 14, name: "creation_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
296
391
|
]);
|
|
297
392
|
}
|
|
298
393
|
create(value) {
|
|
@@ -301,6 +396,8 @@ class CreateReplRequest$Type extends MessageType {
|
|
|
301
396
|
message.copyHelium = false;
|
|
302
397
|
message.copyGitsafe = false;
|
|
303
398
|
message.orgId = "";
|
|
399
|
+
message.resourceGroupId = "";
|
|
400
|
+
message.creationSource = "";
|
|
304
401
|
if (value !== undefined)
|
|
305
402
|
reflectionMergePartial(this, message, value);
|
|
306
403
|
return message;
|
|
@@ -340,6 +437,18 @@ class CreateReplRequest$Type extends MessageType {
|
|
|
340
437
|
case /* string org_id */ 10:
|
|
341
438
|
message.orgId = reader.string();
|
|
342
439
|
break;
|
|
440
|
+
case /* replit.goval.api.lore.CreateReplRequest.SourceImage source_image */ 11:
|
|
441
|
+
message.sourceImage = CreateReplRequest_SourceImage.internalBinaryRead(reader, reader.uint32(), options, message.sourceImage);
|
|
442
|
+
break;
|
|
443
|
+
case /* string resource_group_id */ 12:
|
|
444
|
+
message.resourceGroupId = reader.string();
|
|
445
|
+
break;
|
|
446
|
+
case /* replit.goval.api.lore.CreateReplRequest.ExtraMount extra_mount */ 13:
|
|
447
|
+
message.extraMount = CreateReplRequest_ExtraMount.internalBinaryRead(reader, reader.uint32(), options, message.extraMount);
|
|
448
|
+
break;
|
|
449
|
+
case /* string creation_source */ 14:
|
|
450
|
+
message.creationSource = reader.string();
|
|
451
|
+
break;
|
|
343
452
|
default:
|
|
344
453
|
let u = options.readUnknownField;
|
|
345
454
|
if (u === "throw")
|
|
@@ -376,6 +485,18 @@ class CreateReplRequest$Type extends MessageType {
|
|
|
376
485
|
/* string org_id = 10; */
|
|
377
486
|
if (message.orgId !== "")
|
|
378
487
|
writer.tag(10, WireType.LengthDelimited).string(message.orgId);
|
|
488
|
+
/* replit.goval.api.lore.CreateReplRequest.SourceImage source_image = 11; */
|
|
489
|
+
if (message.sourceImage)
|
|
490
|
+
CreateReplRequest_SourceImage.internalBinaryWrite(message.sourceImage, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
491
|
+
/* string resource_group_id = 12; */
|
|
492
|
+
if (message.resourceGroupId !== "")
|
|
493
|
+
writer.tag(12, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
494
|
+
/* replit.goval.api.lore.CreateReplRequest.ExtraMount extra_mount = 13; */
|
|
495
|
+
if (message.extraMount)
|
|
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);
|
|
379
500
|
let u = options.writeUnknownFields;
|
|
380
501
|
if (u !== false)
|
|
381
502
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -578,10 +699,10 @@ class CreateReplRequest_SourceRepl$Type extends MessageType {
|
|
|
578
699
|
case /* string id */ 1:
|
|
579
700
|
message.id = reader.string();
|
|
580
701
|
break;
|
|
581
|
-
case /* bool require_snapshot */ 2:
|
|
702
|
+
case /* bool require_snapshot = 2 [deprecated = true] */ 2:
|
|
582
703
|
message.requireSnapshot = reader.bool();
|
|
583
704
|
break;
|
|
584
|
-
case /* replit.goval.api.lore.CreateReplRequest.Buckets buckets */ 3:
|
|
705
|
+
case /* replit.goval.api.lore.CreateReplRequest.Buckets buckets = 3 [deprecated = true] */ 3:
|
|
585
706
|
message.buckets = CreateReplRequest_Buckets.internalBinaryRead(reader, reader.uint32(), options, message.buckets);
|
|
586
707
|
break;
|
|
587
708
|
case /* string checkpoint_id */ 4:
|
|
@@ -602,10 +723,10 @@ class CreateReplRequest_SourceRepl$Type extends MessageType {
|
|
|
602
723
|
/* string id = 1; */
|
|
603
724
|
if (message.id !== "")
|
|
604
725
|
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
605
|
-
/* bool require_snapshot = 2; */
|
|
726
|
+
/* bool require_snapshot = 2 [deprecated = true]; */
|
|
606
727
|
if (message.requireSnapshot !== false)
|
|
607
728
|
writer.tag(2, WireType.Varint).bool(message.requireSnapshot);
|
|
608
|
-
/* replit.goval.api.lore.CreateReplRequest.Buckets buckets = 3; */
|
|
729
|
+
/* replit.goval.api.lore.CreateReplRequest.Buckets buckets = 3 [deprecated = true]; */
|
|
609
730
|
if (message.buckets)
|
|
610
731
|
CreateReplRequest_Buckets.internalBinaryWrite(message.buckets, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
611
732
|
/* string checkpoint_id = 4; */
|
|
@@ -622,12 +743,15 @@ class CreateReplRequest_SourceRepl$Type extends MessageType {
|
|
|
622
743
|
*/
|
|
623
744
|
export const CreateReplRequest_SourceRepl = new CreateReplRequest_SourceRepl$Type();
|
|
624
745
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
625
|
-
class
|
|
746
|
+
class CreateReplRequest_SourceImage$Type extends MessageType {
|
|
626
747
|
constructor() {
|
|
627
|
-
super("replit.goval.api.lore.
|
|
748
|
+
super("replit.goval.api.lore.CreateReplRequest.SourceImage", [
|
|
749
|
+
{ no: 1, name: "image_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
750
|
+
]);
|
|
628
751
|
}
|
|
629
752
|
create(value) {
|
|
630
753
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
754
|
+
message.imageId = "";
|
|
631
755
|
if (value !== undefined)
|
|
632
756
|
reflectionMergePartial(this, message, value);
|
|
633
757
|
return message;
|
|
@@ -637,6 +761,9 @@ class CreateReplResponse$Type extends MessageType {
|
|
|
637
761
|
while (reader.pos < end) {
|
|
638
762
|
let [fieldNo, wireType] = reader.tag();
|
|
639
763
|
switch (fieldNo) {
|
|
764
|
+
case /* string image_id */ 1:
|
|
765
|
+
message.imageId = reader.string();
|
|
766
|
+
break;
|
|
640
767
|
default:
|
|
641
768
|
let u = options.readUnknownField;
|
|
642
769
|
if (u === "throw")
|
|
@@ -649,6 +776,9 @@ class CreateReplResponse$Type extends MessageType {
|
|
|
649
776
|
return message;
|
|
650
777
|
}
|
|
651
778
|
internalBinaryWrite(message, writer, options) {
|
|
779
|
+
/* string image_id = 1; */
|
|
780
|
+
if (message.imageId !== "")
|
|
781
|
+
writer.tag(1, WireType.LengthDelimited).string(message.imageId);
|
|
652
782
|
let u = options.writeUnknownFields;
|
|
653
783
|
if (u !== false)
|
|
654
784
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -656,20 +786,21 @@ class CreateReplResponse$Type extends MessageType {
|
|
|
656
786
|
}
|
|
657
787
|
}
|
|
658
788
|
/**
|
|
659
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
789
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateReplRequest.SourceImage
|
|
660
790
|
*/
|
|
661
|
-
export const
|
|
791
|
+
export const CreateReplRequest_SourceImage = new CreateReplRequest_SourceImage$Type();
|
|
662
792
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
663
|
-
class
|
|
793
|
+
class CreateReplRequest_ExtraMount$Type extends MessageType {
|
|
664
794
|
constructor() {
|
|
665
|
-
super("replit.goval.api.lore.
|
|
666
|
-
{ no: 1, name: "
|
|
667
|
-
{ no: 2, name: "
|
|
795
|
+
super("replit.goval.api.lore.CreateReplRequest.ExtraMount", [
|
|
796
|
+
{ no: 1, name: "disk_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
797
|
+
{ no: 2, name: "mount_path", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
668
798
|
]);
|
|
669
799
|
}
|
|
670
800
|
create(value) {
|
|
671
801
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
672
|
-
message.
|
|
802
|
+
message.diskId = "";
|
|
803
|
+
message.mountPath = "";
|
|
673
804
|
if (value !== undefined)
|
|
674
805
|
reflectionMergePartial(this, message, value);
|
|
675
806
|
return message;
|
|
@@ -679,11 +810,11 @@ class CreateResourceGroupRequest$Type extends MessageType {
|
|
|
679
810
|
while (reader.pos < end) {
|
|
680
811
|
let [fieldNo, wireType] = reader.tag();
|
|
681
812
|
switch (fieldNo) {
|
|
682
|
-
case /* string
|
|
683
|
-
message.
|
|
813
|
+
case /* string disk_id */ 1:
|
|
814
|
+
message.diskId = reader.string();
|
|
684
815
|
break;
|
|
685
|
-
case /*
|
|
686
|
-
message.
|
|
816
|
+
case /* string mount_path */ 2:
|
|
817
|
+
message.mountPath = reader.string();
|
|
687
818
|
break;
|
|
688
819
|
default:
|
|
689
820
|
let u = options.readUnknownField;
|
|
@@ -697,12 +828,12 @@ class CreateResourceGroupRequest$Type extends MessageType {
|
|
|
697
828
|
return message;
|
|
698
829
|
}
|
|
699
830
|
internalBinaryWrite(message, writer, options) {
|
|
700
|
-
/* string
|
|
701
|
-
if (message.
|
|
702
|
-
writer.tag(1, WireType.LengthDelimited).string(message.
|
|
703
|
-
/*
|
|
704
|
-
if (message.
|
|
705
|
-
|
|
831
|
+
/* string disk_id = 1; */
|
|
832
|
+
if (message.diskId !== "")
|
|
833
|
+
writer.tag(1, WireType.LengthDelimited).string(message.diskId);
|
|
834
|
+
/* string mount_path = 2; */
|
|
835
|
+
if (message.mountPath !== "")
|
|
836
|
+
writer.tag(2, WireType.LengthDelimited).string(message.mountPath);
|
|
706
837
|
let u = options.writeUnknownFields;
|
|
707
838
|
if (u !== false)
|
|
708
839
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -710,15 +841,13 @@ class CreateResourceGroupRequest$Type extends MessageType {
|
|
|
710
841
|
}
|
|
711
842
|
}
|
|
712
843
|
/**
|
|
713
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
844
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateReplRequest.ExtraMount
|
|
714
845
|
*/
|
|
715
|
-
export const
|
|
846
|
+
export const CreateReplRequest_ExtraMount = new CreateReplRequest_ExtraMount$Type();
|
|
716
847
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
717
|
-
class
|
|
848
|
+
class CreateReplResponse$Type extends MessageType {
|
|
718
849
|
constructor() {
|
|
719
|
-
super("replit.goval.api.lore.
|
|
720
|
-
{ no: 1, name: "cluster", kind: "message", T: () => Cluster }
|
|
721
|
-
]);
|
|
850
|
+
super("replit.goval.api.lore.CreateReplResponse", []);
|
|
722
851
|
}
|
|
723
852
|
create(value) {
|
|
724
853
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
@@ -731,9 +860,6 @@ class CreateResourceGroupResponse$Type extends MessageType {
|
|
|
731
860
|
while (reader.pos < end) {
|
|
732
861
|
let [fieldNo, wireType] = reader.tag();
|
|
733
862
|
switch (fieldNo) {
|
|
734
|
-
case /* replit.goval.api.lore.Cluster cluster */ 1:
|
|
735
|
-
message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
|
|
736
|
-
break;
|
|
737
863
|
default:
|
|
738
864
|
let u = options.readUnknownField;
|
|
739
865
|
if (u === "throw")
|
|
@@ -746,9 +872,6 @@ class CreateResourceGroupResponse$Type extends MessageType {
|
|
|
746
872
|
return message;
|
|
747
873
|
}
|
|
748
874
|
internalBinaryWrite(message, writer, options) {
|
|
749
|
-
/* replit.goval.api.lore.Cluster cluster = 1; */
|
|
750
|
-
if (message.cluster)
|
|
751
|
-
Cluster.internalBinaryWrite(message.cluster, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
752
875
|
let u = options.writeUnknownFields;
|
|
753
876
|
if (u !== false)
|
|
754
877
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -756,14 +879,17 @@ class CreateResourceGroupResponse$Type extends MessageType {
|
|
|
756
879
|
}
|
|
757
880
|
}
|
|
758
881
|
/**
|
|
759
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
882
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateReplResponse
|
|
760
883
|
*/
|
|
761
|
-
export const
|
|
884
|
+
export const CreateReplResponse = new CreateReplResponse$Type();
|
|
762
885
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
763
|
-
class
|
|
886
|
+
class CreateSandboxRequest$Type extends MessageType {
|
|
764
887
|
constructor() {
|
|
765
|
-
super("replit.goval.api.lore.
|
|
766
|
-
{ no: 1, name: "
|
|
888
|
+
super("replit.goval.api.lore.CreateSandboxRequest", [
|
|
889
|
+
{ no: 1, name: "sandbox", kind: "message", T: () => CreateSandboxRequest_Sandbox },
|
|
890
|
+
{ no: 2, name: "source", kind: "message", T: () => CreateSandboxRequest_Source },
|
|
891
|
+
{ no: 3, name: "extra_mount", kind: "message", T: () => CreateSandboxRequest_ExtraMount },
|
|
892
|
+
{ no: 4, name: "sandbox_spec", kind: "message", T: () => SandboxSpec }
|
|
767
893
|
]);
|
|
768
894
|
}
|
|
769
895
|
create(value) {
|
|
@@ -777,8 +903,17 @@ class CreateAgentRequest$Type extends MessageType {
|
|
|
777
903
|
while (reader.pos < end) {
|
|
778
904
|
let [fieldNo, wireType] = reader.tag();
|
|
779
905
|
switch (fieldNo) {
|
|
780
|
-
case /*
|
|
781
|
-
message.
|
|
906
|
+
case /* replit.goval.api.lore.CreateSandboxRequest.Sandbox sandbox */ 1:
|
|
907
|
+
message.sandbox = CreateSandboxRequest_Sandbox.internalBinaryRead(reader, reader.uint32(), options, message.sandbox);
|
|
908
|
+
break;
|
|
909
|
+
case /* replit.goval.api.lore.CreateSandboxRequest.Source source */ 2:
|
|
910
|
+
message.source = CreateSandboxRequest_Source.internalBinaryRead(reader, reader.uint32(), options, message.source);
|
|
911
|
+
break;
|
|
912
|
+
case /* replit.goval.api.lore.CreateSandboxRequest.ExtraMount extra_mount */ 3:
|
|
913
|
+
message.extraMount = CreateSandboxRequest_ExtraMount.internalBinaryRead(reader, reader.uint32(), options, message.extraMount);
|
|
914
|
+
break;
|
|
915
|
+
case /* replit.goval.api.jetplane.repl.SandboxSpec sandbox_spec */ 4:
|
|
916
|
+
message.sandboxSpec = SandboxSpec.internalBinaryRead(reader, reader.uint32(), options, message.sandboxSpec);
|
|
782
917
|
break;
|
|
783
918
|
default:
|
|
784
919
|
let u = options.readUnknownField;
|
|
@@ -792,9 +927,18 @@ class CreateAgentRequest$Type extends MessageType {
|
|
|
792
927
|
return message;
|
|
793
928
|
}
|
|
794
929
|
internalBinaryWrite(message, writer, options) {
|
|
795
|
-
/*
|
|
796
|
-
if (message.
|
|
797
|
-
|
|
930
|
+
/* replit.goval.api.lore.CreateSandboxRequest.Sandbox sandbox = 1; */
|
|
931
|
+
if (message.sandbox)
|
|
932
|
+
CreateSandboxRequest_Sandbox.internalBinaryWrite(message.sandbox, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
933
|
+
/* replit.goval.api.lore.CreateSandboxRequest.Source source = 2; */
|
|
934
|
+
if (message.source)
|
|
935
|
+
CreateSandboxRequest_Source.internalBinaryWrite(message.source, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
936
|
+
/* replit.goval.api.lore.CreateSandboxRequest.ExtraMount extra_mount = 3; */
|
|
937
|
+
if (message.extraMount)
|
|
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();
|
|
798
942
|
let u = options.writeUnknownFields;
|
|
799
943
|
if (u !== false)
|
|
800
944
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -802,18 +946,21 @@ class CreateAgentRequest$Type extends MessageType {
|
|
|
802
946
|
}
|
|
803
947
|
}
|
|
804
948
|
/**
|
|
805
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
949
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateSandboxRequest
|
|
806
950
|
*/
|
|
807
|
-
export const
|
|
951
|
+
export const CreateSandboxRequest = new CreateSandboxRequest$Type();
|
|
808
952
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
809
|
-
class
|
|
953
|
+
class CreateSandboxRequest_Sandbox$Type extends MessageType {
|
|
810
954
|
constructor() {
|
|
811
|
-
super("replit.goval.api.lore.
|
|
812
|
-
{ no: 1, name: "
|
|
955
|
+
super("replit.goval.api.lore.CreateSandboxRequest.Sandbox", [
|
|
956
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
957
|
+
{ no: 2, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
813
958
|
]);
|
|
814
959
|
}
|
|
815
960
|
create(value) {
|
|
816
961
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
962
|
+
message.id = "";
|
|
963
|
+
message.resourceGroupId = "";
|
|
817
964
|
if (value !== undefined)
|
|
818
965
|
reflectionMergePartial(this, message, value);
|
|
819
966
|
return message;
|
|
@@ -823,8 +970,11 @@ class CreateAgentResponse$Type extends MessageType {
|
|
|
823
970
|
while (reader.pos < end) {
|
|
824
971
|
let [fieldNo, wireType] = reader.tag();
|
|
825
972
|
switch (fieldNo) {
|
|
826
|
-
case /*
|
|
827
|
-
message.
|
|
973
|
+
case /* string id */ 1:
|
|
974
|
+
message.id = reader.string();
|
|
975
|
+
break;
|
|
976
|
+
case /* string resource_group_id */ 2:
|
|
977
|
+
message.resourceGroupId = reader.string();
|
|
828
978
|
break;
|
|
829
979
|
default:
|
|
830
980
|
let u = options.readUnknownField;
|
|
@@ -838,9 +988,12 @@ class CreateAgentResponse$Type extends MessageType {
|
|
|
838
988
|
return message;
|
|
839
989
|
}
|
|
840
990
|
internalBinaryWrite(message, writer, options) {
|
|
841
|
-
/*
|
|
842
|
-
if (message.
|
|
843
|
-
|
|
991
|
+
/* string id = 1; */
|
|
992
|
+
if (message.id !== "")
|
|
993
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
994
|
+
/* string resource_group_id = 2; */
|
|
995
|
+
if (message.resourceGroupId !== "")
|
|
996
|
+
writer.tag(2, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
844
997
|
let u = options.writeUnknownFields;
|
|
845
998
|
if (u !== false)
|
|
846
999
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -848,25 +1001,20 @@ class CreateAgentResponse$Type extends MessageType {
|
|
|
848
1001
|
}
|
|
849
1002
|
}
|
|
850
1003
|
/**
|
|
851
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
1004
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateSandboxRequest.Sandbox
|
|
852
1005
|
*/
|
|
853
|
-
export const
|
|
1006
|
+
export const CreateSandboxRequest_Sandbox = new CreateSandboxRequest_Sandbox$Type();
|
|
854
1007
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
855
|
-
class
|
|
1008
|
+
class CreateSandboxRequest_Source$Type extends MessageType {
|
|
856
1009
|
constructor() {
|
|
857
|
-
super("replit.goval.api.lore.
|
|
858
|
-
{ no: 1, name: "
|
|
859
|
-
{ no: 2, name: "
|
|
860
|
-
{ no: 3, name: "include_tombstone_status", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
861
|
-
{ no: 4, name: "include_deleted", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1010
|
+
super("replit.goval.api.lore.CreateSandboxRequest.Source", [
|
|
1011
|
+
{ no: 1, name: "empty", kind: "message", oneof: "source", T: () => CreateSandboxRequest_Source_Empty },
|
|
1012
|
+
{ no: 2, name: "image", kind: "message", oneof: "source", T: () => CreateSandboxRequest_Source_SourceImage }
|
|
862
1013
|
]);
|
|
863
1014
|
}
|
|
864
1015
|
create(value) {
|
|
865
1016
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
866
|
-
message.
|
|
867
|
-
message.includeRunningStatus = false;
|
|
868
|
-
message.includeTombstoneStatus = false;
|
|
869
|
-
message.includeDeleted = false;
|
|
1017
|
+
message.source = { oneofKind: undefined };
|
|
870
1018
|
if (value !== undefined)
|
|
871
1019
|
reflectionMergePartial(this, message, value);
|
|
872
1020
|
return message;
|
|
@@ -876,17 +1024,17 @@ class GetReplRequest$Type extends MessageType {
|
|
|
876
1024
|
while (reader.pos < end) {
|
|
877
1025
|
let [fieldNo, wireType] = reader.tag();
|
|
878
1026
|
switch (fieldNo) {
|
|
879
|
-
case /*
|
|
880
|
-
message.
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
break;
|
|
885
|
-
case /* bool include_tombstone_status */ 3:
|
|
886
|
-
message.includeTombstoneStatus = reader.bool();
|
|
1027
|
+
case /* replit.goval.api.lore.CreateSandboxRequest.Source.Empty empty */ 1:
|
|
1028
|
+
message.source = {
|
|
1029
|
+
oneofKind: "empty",
|
|
1030
|
+
empty: CreateSandboxRequest_Source_Empty.internalBinaryRead(reader, reader.uint32(), options, message.source.empty)
|
|
1031
|
+
};
|
|
887
1032
|
break;
|
|
888
|
-
case /*
|
|
889
|
-
message.
|
|
1033
|
+
case /* replit.goval.api.lore.CreateSandboxRequest.Source.SourceImage image */ 2:
|
|
1034
|
+
message.source = {
|
|
1035
|
+
oneofKind: "image",
|
|
1036
|
+
image: CreateSandboxRequest_Source_SourceImage.internalBinaryRead(reader, reader.uint32(), options, message.source.image)
|
|
1037
|
+
};
|
|
890
1038
|
break;
|
|
891
1039
|
default:
|
|
892
1040
|
let u = options.readUnknownField;
|
|
@@ -900,18 +1048,12 @@ class GetReplRequest$Type extends MessageType {
|
|
|
900
1048
|
return message;
|
|
901
1049
|
}
|
|
902
1050
|
internalBinaryWrite(message, writer, options) {
|
|
903
|
-
/*
|
|
904
|
-
if (message.
|
|
905
|
-
writer.tag(1, WireType.LengthDelimited).
|
|
906
|
-
/*
|
|
907
|
-
if (message.
|
|
908
|
-
writer.tag(2, WireType.
|
|
909
|
-
/* bool include_tombstone_status = 3; */
|
|
910
|
-
if (message.includeTombstoneStatus !== false)
|
|
911
|
-
writer.tag(3, WireType.Varint).bool(message.includeTombstoneStatus);
|
|
912
|
-
/* bool include_deleted = 4; */
|
|
913
|
-
if (message.includeDeleted !== false)
|
|
914
|
-
writer.tag(4, WireType.Varint).bool(message.includeDeleted);
|
|
1051
|
+
/* replit.goval.api.lore.CreateSandboxRequest.Source.Empty empty = 1; */
|
|
1052
|
+
if (message.source.oneofKind === "empty")
|
|
1053
|
+
CreateSandboxRequest_Source_Empty.internalBinaryWrite(message.source.empty, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1054
|
+
/* replit.goval.api.lore.CreateSandboxRequest.Source.SourceImage image = 2; */
|
|
1055
|
+
if (message.source.oneofKind === "image")
|
|
1056
|
+
CreateSandboxRequest_Source_SourceImage.internalBinaryWrite(message.source.image, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
915
1057
|
let u = options.writeUnknownFields;
|
|
916
1058
|
if (u !== false)
|
|
917
1059
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -919,30 +1061,19 @@ class GetReplRequest$Type extends MessageType {
|
|
|
919
1061
|
}
|
|
920
1062
|
}
|
|
921
1063
|
/**
|
|
922
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
1064
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateSandboxRequest.Source
|
|
923
1065
|
*/
|
|
924
|
-
export const
|
|
1066
|
+
export const CreateSandboxRequest_Source = new CreateSandboxRequest_Source$Type();
|
|
925
1067
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
926
|
-
class
|
|
1068
|
+
class CreateSandboxRequest_Source_Empty$Type extends MessageType {
|
|
927
1069
|
constructor() {
|
|
928
|
-
super("replit.goval.api.lore.
|
|
929
|
-
{ no: 1, name: "
|
|
930
|
-
{ no: 2, name: "cluster", kind: "message", T: () => Cluster },
|
|
931
|
-
{ no: 3, name: "buckets", kind: "message", T: () => Buckets },
|
|
932
|
-
{ no: 4, name: "dotdev_hostname", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
933
|
-
{ no: 5, name: "running_status", kind: "enum", T: () => ["replit.goval.api.lore.GetReplResponse.RunningStatus", GetReplResponse_RunningStatus, "RUNNING_STATUS_"] },
|
|
934
|
-
{ no: 6, name: "tombstone_status", kind: "enum", T: () => ["replit.goval.api.lore.GetReplResponse.TombstoneStatus", GetReplResponse_TombstoneStatus, "TOMBSTONE_STATUS_"] },
|
|
935
|
-
{ no: 7, name: "tombstone_reason", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
936
|
-
{ no: 8, name: "deleted", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1070
|
+
super("replit.goval.api.lore.CreateSandboxRequest.Source.Empty", [
|
|
1071
|
+
{ no: 1, name: "mode", kind: "enum", T: () => ["replit.goval.api.jetplane.repl.ReplMode", ReplMode, "REPL_MODE_"] }
|
|
937
1072
|
]);
|
|
938
1073
|
}
|
|
939
1074
|
create(value) {
|
|
940
1075
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
941
|
-
message.
|
|
942
|
-
message.runningStatus = 0;
|
|
943
|
-
message.tombstoneStatus = 0;
|
|
944
|
-
message.tombstoneReason = "";
|
|
945
|
-
message.deleted = false;
|
|
1076
|
+
message.mode = 0;
|
|
946
1077
|
if (value !== undefined)
|
|
947
1078
|
reflectionMergePartial(this, message, value);
|
|
948
1079
|
return message;
|
|
@@ -952,29 +1083,8 @@ class GetReplResponse$Type extends MessageType {
|
|
|
952
1083
|
while (reader.pos < end) {
|
|
953
1084
|
let [fieldNo, wireType] = reader.tag();
|
|
954
1085
|
switch (fieldNo) {
|
|
955
|
-
case /* replit.goval.api.
|
|
956
|
-
message.
|
|
957
|
-
break;
|
|
958
|
-
case /* replit.goval.api.lore.Cluster cluster */ 2:
|
|
959
|
-
message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
|
|
960
|
-
break;
|
|
961
|
-
case /* replit.goval.api.lore.Buckets buckets */ 3:
|
|
962
|
-
message.buckets = Buckets.internalBinaryRead(reader, reader.uint32(), options, message.buckets);
|
|
963
|
-
break;
|
|
964
|
-
case /* string dotdev_hostname = 4 [deprecated = true] */ 4:
|
|
965
|
-
message.dotdevHostname = reader.string();
|
|
966
|
-
break;
|
|
967
|
-
case /* replit.goval.api.lore.GetReplResponse.RunningStatus running_status */ 5:
|
|
968
|
-
message.runningStatus = reader.int32();
|
|
969
|
-
break;
|
|
970
|
-
case /* replit.goval.api.lore.GetReplResponse.TombstoneStatus tombstone_status */ 6:
|
|
971
|
-
message.tombstoneStatus = reader.int32();
|
|
972
|
-
break;
|
|
973
|
-
case /* string tombstone_reason */ 7:
|
|
974
|
-
message.tombstoneReason = reader.string();
|
|
975
|
-
break;
|
|
976
|
-
case /* bool deleted */ 8:
|
|
977
|
-
message.deleted = reader.bool();
|
|
1086
|
+
case /* replit.goval.api.jetplane.repl.ReplMode mode */ 1:
|
|
1087
|
+
message.mode = reader.int32();
|
|
978
1088
|
break;
|
|
979
1089
|
default:
|
|
980
1090
|
let u = options.readUnknownField;
|
|
@@ -988,30 +1098,9 @@ class GetReplResponse$Type extends MessageType {
|
|
|
988
1098
|
return message;
|
|
989
1099
|
}
|
|
990
1100
|
internalBinaryWrite(message, writer, options) {
|
|
991
|
-
/* replit.goval.api.
|
|
992
|
-
if (message.
|
|
993
|
-
|
|
994
|
-
/* replit.goval.api.lore.Cluster cluster = 2; */
|
|
995
|
-
if (message.cluster)
|
|
996
|
-
Cluster.internalBinaryWrite(message.cluster, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
997
|
-
/* replit.goval.api.lore.Buckets buckets = 3; */
|
|
998
|
-
if (message.buckets)
|
|
999
|
-
Buckets.internalBinaryWrite(message.buckets, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1000
|
-
/* string dotdev_hostname = 4 [deprecated = true]; */
|
|
1001
|
-
if (message.dotdevHostname !== "")
|
|
1002
|
-
writer.tag(4, WireType.LengthDelimited).string(message.dotdevHostname);
|
|
1003
|
-
/* replit.goval.api.lore.GetReplResponse.RunningStatus running_status = 5; */
|
|
1004
|
-
if (message.runningStatus !== 0)
|
|
1005
|
-
writer.tag(5, WireType.Varint).int32(message.runningStatus);
|
|
1006
|
-
/* replit.goval.api.lore.GetReplResponse.TombstoneStatus tombstone_status = 6; */
|
|
1007
|
-
if (message.tombstoneStatus !== 0)
|
|
1008
|
-
writer.tag(6, WireType.Varint).int32(message.tombstoneStatus);
|
|
1009
|
-
/* string tombstone_reason = 7; */
|
|
1010
|
-
if (message.tombstoneReason !== "")
|
|
1011
|
-
writer.tag(7, WireType.LengthDelimited).string(message.tombstoneReason);
|
|
1012
|
-
/* bool deleted = 8; */
|
|
1013
|
-
if (message.deleted !== false)
|
|
1014
|
-
writer.tag(8, WireType.Varint).bool(message.deleted);
|
|
1101
|
+
/* replit.goval.api.jetplane.repl.ReplMode mode = 1; */
|
|
1102
|
+
if (message.mode !== 0)
|
|
1103
|
+
writer.tag(1, WireType.Varint).int32(message.mode);
|
|
1015
1104
|
let u = options.writeUnknownFields;
|
|
1016
1105
|
if (u !== false)
|
|
1017
1106
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1019,24 +1108,21 @@ class GetReplResponse$Type extends MessageType {
|
|
|
1019
1108
|
}
|
|
1020
1109
|
}
|
|
1021
1110
|
/**
|
|
1022
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
1111
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateSandboxRequest.Source.Empty
|
|
1023
1112
|
*/
|
|
1024
|
-
export const
|
|
1113
|
+
export const CreateSandboxRequest_Source_Empty = new CreateSandboxRequest_Source_Empty$Type();
|
|
1025
1114
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1026
|
-
class
|
|
1115
|
+
class CreateSandboxRequest_Source_SourceImage$Type extends MessageType {
|
|
1027
1116
|
constructor() {
|
|
1028
|
-
super("replit.goval.api.lore.
|
|
1029
|
-
{ no: 1, name: "
|
|
1030
|
-
{ no: 2, name: "
|
|
1031
|
-
{ no: 3, name: "regional_goval", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
1032
|
-
{ no: 4, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1117
|
+
super("replit.goval.api.lore.CreateSandboxRequest.Source.SourceImage", [
|
|
1118
|
+
{ no: 1, name: "image_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1119
|
+
{ no: 2, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1033
1120
|
]);
|
|
1034
1121
|
}
|
|
1035
1122
|
create(value) {
|
|
1036
1123
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
1037
|
-
message.
|
|
1038
|
-
message.
|
|
1039
|
-
message.orgId = "";
|
|
1124
|
+
message.imageId = "";
|
|
1125
|
+
message.resourceGroupId = "";
|
|
1040
1126
|
if (value !== undefined)
|
|
1041
1127
|
reflectionMergePartial(this, message, value);
|
|
1042
1128
|
return message;
|
|
@@ -1046,23 +1132,11 @@ class ReplLocation$Type extends MessageType {
|
|
|
1046
1132
|
while (reader.pos < end) {
|
|
1047
1133
|
let [fieldNo, wireType] = reader.tag();
|
|
1048
1134
|
switch (fieldNo) {
|
|
1049
|
-
case /* string
|
|
1050
|
-
message.
|
|
1051
|
-
oneofKind: "cluster",
|
|
1052
|
-
cluster: reader.string()
|
|
1053
|
-
};
|
|
1054
|
-
break;
|
|
1055
|
-
case /* string continent */ 2:
|
|
1056
|
-
message.location = {
|
|
1057
|
-
oneofKind: "continent",
|
|
1058
|
-
continent: reader.string()
|
|
1059
|
-
};
|
|
1060
|
-
break;
|
|
1061
|
-
case /* bool regional_goval = 3 [deprecated = true] */ 3:
|
|
1062
|
-
message.regionalGoval = reader.bool();
|
|
1135
|
+
case /* string image_id */ 1:
|
|
1136
|
+
message.imageId = reader.string();
|
|
1063
1137
|
break;
|
|
1064
|
-
case /* string
|
|
1065
|
-
message.
|
|
1138
|
+
case /* string resource_group_id */ 2:
|
|
1139
|
+
message.resourceGroupId = reader.string();
|
|
1066
1140
|
break;
|
|
1067
1141
|
default:
|
|
1068
1142
|
let u = options.readUnknownField;
|
|
@@ -1076,18 +1150,12 @@ class ReplLocation$Type extends MessageType {
|
|
|
1076
1150
|
return message;
|
|
1077
1151
|
}
|
|
1078
1152
|
internalBinaryWrite(message, writer, options) {
|
|
1079
|
-
/* string
|
|
1080
|
-
if (message.
|
|
1081
|
-
writer.tag(1, WireType.LengthDelimited).string(message.
|
|
1082
|
-
/* string
|
|
1083
|
-
if (message.
|
|
1084
|
-
writer.tag(2, WireType.LengthDelimited).string(message.
|
|
1085
|
-
/* bool regional_goval = 3 [deprecated = true]; */
|
|
1086
|
-
if (message.regionalGoval !== false)
|
|
1087
|
-
writer.tag(3, WireType.Varint).bool(message.regionalGoval);
|
|
1088
|
-
/* string org_id = 4; */
|
|
1089
|
-
if (message.orgId !== "")
|
|
1090
|
-
writer.tag(4, WireType.LengthDelimited).string(message.orgId);
|
|
1153
|
+
/* string image_id = 1; */
|
|
1154
|
+
if (message.imageId !== "")
|
|
1155
|
+
writer.tag(1, WireType.LengthDelimited).string(message.imageId);
|
|
1156
|
+
/* string resource_group_id = 2; */
|
|
1157
|
+
if (message.resourceGroupId !== "")
|
|
1158
|
+
writer.tag(2, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
1091
1159
|
let u = options.writeUnknownFields;
|
|
1092
1160
|
if (u !== false)
|
|
1093
1161
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1095,33 +1163,1461 @@ class ReplLocation$Type extends MessageType {
|
|
|
1095
1163
|
}
|
|
1096
1164
|
}
|
|
1097
1165
|
/**
|
|
1098
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
1166
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateSandboxRequest.Source.SourceImage
|
|
1099
1167
|
*/
|
|
1100
|
-
export const
|
|
1168
|
+
export const CreateSandboxRequest_Source_SourceImage = new CreateSandboxRequest_Source_SourceImage$Type();
|
|
1101
1169
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1102
|
-
class
|
|
1170
|
+
class CreateSandboxRequest_ExtraMount$Type extends MessageType {
|
|
1103
1171
|
constructor() {
|
|
1104
|
-
super("replit.goval.api.lore.
|
|
1105
|
-
{ no: 1, name: "
|
|
1106
|
-
{ no:
|
|
1107
|
-
{ no: 4, name: "persistent", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
1108
|
-
{ no: 5, name: "default_cluster", kind: "scalar", oneof: "defaultLocation", T: 9 /*ScalarType.STRING*/ },
|
|
1109
|
-
{ no: 8, name: "default_continent", kind: "scalar", oneof: "defaultLocation", T: 9 /*ScalarType.STRING*/ },
|
|
1110
|
-
{ no: 9, name: "replLocation", kind: "message", T: () => ReplLocation },
|
|
1111
|
-
{ no: 7, name: "source_repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1112
|
-
{ no: 11, name: "org_slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1113
|
-
{ no: 12, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1172
|
+
super("replit.goval.api.lore.CreateSandboxRequest.ExtraMount", [
|
|
1173
|
+
{ no: 1, name: "disk_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1174
|
+
{ no: 2, name: "mount_path", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1114
1175
|
]);
|
|
1115
1176
|
}
|
|
1116
1177
|
create(value) {
|
|
1117
1178
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
1118
|
-
message.
|
|
1119
|
-
message.
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
message
|
|
1123
|
-
|
|
1124
|
-
|
|
1179
|
+
message.diskId = "";
|
|
1180
|
+
message.mountPath = "";
|
|
1181
|
+
if (value !== undefined)
|
|
1182
|
+
reflectionMergePartial(this, message, value);
|
|
1183
|
+
return message;
|
|
1184
|
+
}
|
|
1185
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1186
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1187
|
+
while (reader.pos < end) {
|
|
1188
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1189
|
+
switch (fieldNo) {
|
|
1190
|
+
case /* string disk_id */ 1:
|
|
1191
|
+
message.diskId = reader.string();
|
|
1192
|
+
break;
|
|
1193
|
+
case /* string mount_path */ 2:
|
|
1194
|
+
message.mountPath = reader.string();
|
|
1195
|
+
break;
|
|
1196
|
+
default:
|
|
1197
|
+
let u = options.readUnknownField;
|
|
1198
|
+
if (u === "throw")
|
|
1199
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1200
|
+
let d = reader.skip(wireType);
|
|
1201
|
+
if (u !== false)
|
|
1202
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
return message;
|
|
1206
|
+
}
|
|
1207
|
+
internalBinaryWrite(message, writer, options) {
|
|
1208
|
+
/* string disk_id = 1; */
|
|
1209
|
+
if (message.diskId !== "")
|
|
1210
|
+
writer.tag(1, WireType.LengthDelimited).string(message.diskId);
|
|
1211
|
+
/* string mount_path = 2; */
|
|
1212
|
+
if (message.mountPath !== "")
|
|
1213
|
+
writer.tag(2, WireType.LengthDelimited).string(message.mountPath);
|
|
1214
|
+
let u = options.writeUnknownFields;
|
|
1215
|
+
if (u !== false)
|
|
1216
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1217
|
+
return writer;
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateSandboxRequest.ExtraMount
|
|
1222
|
+
*/
|
|
1223
|
+
export const CreateSandboxRequest_ExtraMount = new CreateSandboxRequest_ExtraMount$Type();
|
|
1224
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1225
|
+
class CreateSandboxResponse$Type extends MessageType {
|
|
1226
|
+
constructor() {
|
|
1227
|
+
super("replit.goval.api.lore.CreateSandboxResponse", [
|
|
1228
|
+
{ no: 1, name: "sandbox", kind: "message", T: () => Repl$ },
|
|
1229
|
+
{ no: 2, name: "cluster", kind: "message", T: () => Cluster }
|
|
1230
|
+
]);
|
|
1231
|
+
}
|
|
1232
|
+
create(value) {
|
|
1233
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1234
|
+
if (value !== undefined)
|
|
1235
|
+
reflectionMergePartial(this, message, value);
|
|
1236
|
+
return message;
|
|
1237
|
+
}
|
|
1238
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1239
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1240
|
+
while (reader.pos < end) {
|
|
1241
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1242
|
+
switch (fieldNo) {
|
|
1243
|
+
case /* replit.goval.api.jetplane.repl.Repl sandbox */ 1:
|
|
1244
|
+
message.sandbox = Repl$.internalBinaryRead(reader, reader.uint32(), options, message.sandbox);
|
|
1245
|
+
break;
|
|
1246
|
+
case /* replit.goval.api.lore.Cluster cluster */ 2:
|
|
1247
|
+
message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
|
|
1248
|
+
break;
|
|
1249
|
+
default:
|
|
1250
|
+
let u = options.readUnknownField;
|
|
1251
|
+
if (u === "throw")
|
|
1252
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1253
|
+
let d = reader.skip(wireType);
|
|
1254
|
+
if (u !== false)
|
|
1255
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
return message;
|
|
1259
|
+
}
|
|
1260
|
+
internalBinaryWrite(message, writer, options) {
|
|
1261
|
+
/* replit.goval.api.jetplane.repl.Repl sandbox = 1; */
|
|
1262
|
+
if (message.sandbox)
|
|
1263
|
+
Repl$.internalBinaryWrite(message.sandbox, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1264
|
+
/* replit.goval.api.lore.Cluster cluster = 2; */
|
|
1265
|
+
if (message.cluster)
|
|
1266
|
+
Cluster.internalBinaryWrite(message.cluster, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1267
|
+
let u = options.writeUnknownFields;
|
|
1268
|
+
if (u !== false)
|
|
1269
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1270
|
+
return writer;
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
/**
|
|
1274
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateSandboxResponse
|
|
1275
|
+
*/
|
|
1276
|
+
export const CreateSandboxResponse = new CreateSandboxResponse$Type();
|
|
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
|
|
1432
|
+
class GetSandboxConnectionInfoRequest$Type extends MessageType {
|
|
1433
|
+
constructor() {
|
|
1434
|
+
super("replit.goval.api.lore.GetSandboxConnectionInfoRequest", [
|
|
1435
|
+
{ no: 1, name: "sandbox_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1436
|
+
{ no: 2, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1437
|
+
{ no: 3, name: "org_slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1438
|
+
]);
|
|
1439
|
+
}
|
|
1440
|
+
create(value) {
|
|
1441
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1442
|
+
message.sandboxId = "";
|
|
1443
|
+
message.resourceGroupId = "";
|
|
1444
|
+
message.orgSlug = "";
|
|
1445
|
+
if (value !== undefined)
|
|
1446
|
+
reflectionMergePartial(this, message, value);
|
|
1447
|
+
return message;
|
|
1448
|
+
}
|
|
1449
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1450
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1451
|
+
while (reader.pos < end) {
|
|
1452
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1453
|
+
switch (fieldNo) {
|
|
1454
|
+
case /* string sandbox_id */ 1:
|
|
1455
|
+
message.sandboxId = reader.string();
|
|
1456
|
+
break;
|
|
1457
|
+
case /* string resource_group_id */ 2:
|
|
1458
|
+
message.resourceGroupId = reader.string();
|
|
1459
|
+
break;
|
|
1460
|
+
case /* string org_slug */ 3:
|
|
1461
|
+
message.orgSlug = reader.string();
|
|
1462
|
+
break;
|
|
1463
|
+
default:
|
|
1464
|
+
let u = options.readUnknownField;
|
|
1465
|
+
if (u === "throw")
|
|
1466
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1467
|
+
let d = reader.skip(wireType);
|
|
1468
|
+
if (u !== false)
|
|
1469
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
return message;
|
|
1473
|
+
}
|
|
1474
|
+
internalBinaryWrite(message, writer, options) {
|
|
1475
|
+
/* string sandbox_id = 1; */
|
|
1476
|
+
if (message.sandboxId !== "")
|
|
1477
|
+
writer.tag(1, WireType.LengthDelimited).string(message.sandboxId);
|
|
1478
|
+
/* string resource_group_id = 2; */
|
|
1479
|
+
if (message.resourceGroupId !== "")
|
|
1480
|
+
writer.tag(2, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
1481
|
+
/* string org_slug = 3; */
|
|
1482
|
+
if (message.orgSlug !== "")
|
|
1483
|
+
writer.tag(3, WireType.LengthDelimited).string(message.orgSlug);
|
|
1484
|
+
let u = options.writeUnknownFields;
|
|
1485
|
+
if (u !== false)
|
|
1486
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1487
|
+
return writer;
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
/**
|
|
1491
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.GetSandboxConnectionInfoRequest
|
|
1492
|
+
*/
|
|
1493
|
+
export const GetSandboxConnectionInfoRequest = new GetSandboxConnectionInfoRequest$Type();
|
|
1494
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1495
|
+
class GetSandboxConnectionInfoResponse$Type extends MessageType {
|
|
1496
|
+
constructor() {
|
|
1497
|
+
super("replit.goval.api.lore.GetSandboxConnectionInfoResponse", [
|
|
1498
|
+
{ no: 1, name: "cluster", kind: "message", T: () => Cluster },
|
|
1499
|
+
{ no: 2, name: "dotdev_hostname", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1500
|
+
{ no: 3, name: "mode", kind: "enum", T: () => ["replit.goval.api.jetplane.repl.ReplMode", ReplMode, "REPL_MODE_"] }
|
|
1501
|
+
]);
|
|
1502
|
+
}
|
|
1503
|
+
create(value) {
|
|
1504
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1505
|
+
message.dotdevHostname = "";
|
|
1506
|
+
message.mode = 0;
|
|
1507
|
+
if (value !== undefined)
|
|
1508
|
+
reflectionMergePartial(this, message, value);
|
|
1509
|
+
return message;
|
|
1510
|
+
}
|
|
1511
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1512
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1513
|
+
while (reader.pos < end) {
|
|
1514
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1515
|
+
switch (fieldNo) {
|
|
1516
|
+
case /* replit.goval.api.lore.Cluster cluster */ 1:
|
|
1517
|
+
message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
|
|
1518
|
+
break;
|
|
1519
|
+
case /* string dotdev_hostname */ 2:
|
|
1520
|
+
message.dotdevHostname = reader.string();
|
|
1521
|
+
break;
|
|
1522
|
+
case /* replit.goval.api.jetplane.repl.ReplMode mode */ 3:
|
|
1523
|
+
message.mode = reader.int32();
|
|
1524
|
+
break;
|
|
1525
|
+
default:
|
|
1526
|
+
let u = options.readUnknownField;
|
|
1527
|
+
if (u === "throw")
|
|
1528
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1529
|
+
let d = reader.skip(wireType);
|
|
1530
|
+
if (u !== false)
|
|
1531
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
return message;
|
|
1535
|
+
}
|
|
1536
|
+
internalBinaryWrite(message, writer, options) {
|
|
1537
|
+
/* replit.goval.api.lore.Cluster cluster = 1; */
|
|
1538
|
+
if (message.cluster)
|
|
1539
|
+
Cluster.internalBinaryWrite(message.cluster, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1540
|
+
/* string dotdev_hostname = 2; */
|
|
1541
|
+
if (message.dotdevHostname !== "")
|
|
1542
|
+
writer.tag(2, WireType.LengthDelimited).string(message.dotdevHostname);
|
|
1543
|
+
/* replit.goval.api.jetplane.repl.ReplMode mode = 3; */
|
|
1544
|
+
if (message.mode !== 0)
|
|
1545
|
+
writer.tag(3, WireType.Varint).int32(message.mode);
|
|
1546
|
+
let u = options.writeUnknownFields;
|
|
1547
|
+
if (u !== false)
|
|
1548
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1549
|
+
return writer;
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
/**
|
|
1553
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.GetSandboxConnectionInfoResponse
|
|
1554
|
+
*/
|
|
1555
|
+
export const GetSandboxConnectionInfoResponse = new GetSandboxConnectionInfoResponse$Type();
|
|
1556
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1557
|
+
class CreateResourceGroupRequest$Type extends MessageType {
|
|
1558
|
+
constructor() {
|
|
1559
|
+
super("replit.goval.api.lore.CreateResourceGroupRequest", [
|
|
1560
|
+
{ no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1561
|
+
{ no: 2, name: "repl_location", kind: "message", T: () => ReplLocation }
|
|
1562
|
+
]);
|
|
1563
|
+
}
|
|
1564
|
+
create(value) {
|
|
1565
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1566
|
+
message.resourceGroupId = "";
|
|
1567
|
+
if (value !== undefined)
|
|
1568
|
+
reflectionMergePartial(this, message, value);
|
|
1569
|
+
return message;
|
|
1570
|
+
}
|
|
1571
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1572
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1573
|
+
while (reader.pos < end) {
|
|
1574
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1575
|
+
switch (fieldNo) {
|
|
1576
|
+
case /* string resource_group_id */ 1:
|
|
1577
|
+
message.resourceGroupId = reader.string();
|
|
1578
|
+
break;
|
|
1579
|
+
case /* replit.goval.api.lore.ReplLocation repl_location */ 2:
|
|
1580
|
+
message.replLocation = ReplLocation.internalBinaryRead(reader, reader.uint32(), options, message.replLocation);
|
|
1581
|
+
break;
|
|
1582
|
+
default:
|
|
1583
|
+
let u = options.readUnknownField;
|
|
1584
|
+
if (u === "throw")
|
|
1585
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1586
|
+
let d = reader.skip(wireType);
|
|
1587
|
+
if (u !== false)
|
|
1588
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
return message;
|
|
1592
|
+
}
|
|
1593
|
+
internalBinaryWrite(message, writer, options) {
|
|
1594
|
+
/* string resource_group_id = 1; */
|
|
1595
|
+
if (message.resourceGroupId !== "")
|
|
1596
|
+
writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
1597
|
+
/* replit.goval.api.lore.ReplLocation repl_location = 2; */
|
|
1598
|
+
if (message.replLocation)
|
|
1599
|
+
ReplLocation.internalBinaryWrite(message.replLocation, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1600
|
+
let u = options.writeUnknownFields;
|
|
1601
|
+
if (u !== false)
|
|
1602
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1603
|
+
return writer;
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
/**
|
|
1607
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateResourceGroupRequest
|
|
1608
|
+
*/
|
|
1609
|
+
export const CreateResourceGroupRequest = new CreateResourceGroupRequest$Type();
|
|
1610
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1611
|
+
class CreateResourceGroupResponse$Type extends MessageType {
|
|
1612
|
+
constructor() {
|
|
1613
|
+
super("replit.goval.api.lore.CreateResourceGroupResponse", [
|
|
1614
|
+
{ no: 1, name: "cluster", kind: "message", T: () => Cluster }
|
|
1615
|
+
]);
|
|
1616
|
+
}
|
|
1617
|
+
create(value) {
|
|
1618
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1619
|
+
if (value !== undefined)
|
|
1620
|
+
reflectionMergePartial(this, message, value);
|
|
1621
|
+
return message;
|
|
1622
|
+
}
|
|
1623
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1624
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1625
|
+
while (reader.pos < end) {
|
|
1626
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1627
|
+
switch (fieldNo) {
|
|
1628
|
+
case /* replit.goval.api.lore.Cluster cluster */ 1:
|
|
1629
|
+
message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
|
|
1630
|
+
break;
|
|
1631
|
+
default:
|
|
1632
|
+
let u = options.readUnknownField;
|
|
1633
|
+
if (u === "throw")
|
|
1634
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1635
|
+
let d = reader.skip(wireType);
|
|
1636
|
+
if (u !== false)
|
|
1637
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
return message;
|
|
1641
|
+
}
|
|
1642
|
+
internalBinaryWrite(message, writer, options) {
|
|
1643
|
+
/* replit.goval.api.lore.Cluster cluster = 1; */
|
|
1644
|
+
if (message.cluster)
|
|
1645
|
+
Cluster.internalBinaryWrite(message.cluster, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1646
|
+
let u = options.writeUnknownFields;
|
|
1647
|
+
if (u !== false)
|
|
1648
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1649
|
+
return writer;
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateResourceGroupResponse
|
|
1654
|
+
*/
|
|
1655
|
+
export const CreateResourceGroupResponse = new CreateResourceGroupResponse$Type();
|
|
1656
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1657
|
+
class DeleteResourceGroupRequest$Type extends MessageType {
|
|
1658
|
+
constructor() {
|
|
1659
|
+
super("replit.goval.api.lore.DeleteResourceGroupRequest", [
|
|
1660
|
+
{ no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1661
|
+
]);
|
|
1662
|
+
}
|
|
1663
|
+
create(value) {
|
|
1664
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1665
|
+
message.resourceGroupId = "";
|
|
1666
|
+
if (value !== undefined)
|
|
1667
|
+
reflectionMergePartial(this, message, value);
|
|
1668
|
+
return message;
|
|
1669
|
+
}
|
|
1670
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1671
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1672
|
+
while (reader.pos < end) {
|
|
1673
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1674
|
+
switch (fieldNo) {
|
|
1675
|
+
case /* string resource_group_id */ 1:
|
|
1676
|
+
message.resourceGroupId = reader.string();
|
|
1677
|
+
break;
|
|
1678
|
+
default:
|
|
1679
|
+
let u = options.readUnknownField;
|
|
1680
|
+
if (u === "throw")
|
|
1681
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1682
|
+
let d = reader.skip(wireType);
|
|
1683
|
+
if (u !== false)
|
|
1684
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
return message;
|
|
1688
|
+
}
|
|
1689
|
+
internalBinaryWrite(message, writer, options) {
|
|
1690
|
+
/* string resource_group_id = 1; */
|
|
1691
|
+
if (message.resourceGroupId !== "")
|
|
1692
|
+
writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
1693
|
+
let u = options.writeUnknownFields;
|
|
1694
|
+
if (u !== false)
|
|
1695
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1696
|
+
return writer;
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
/**
|
|
1700
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.DeleteResourceGroupRequest
|
|
1701
|
+
*/
|
|
1702
|
+
export const DeleteResourceGroupRequest = new DeleteResourceGroupRequest$Type();
|
|
1703
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1704
|
+
class DeleteResourceGroupResponse$Type extends MessageType {
|
|
1705
|
+
constructor() {
|
|
1706
|
+
super("replit.goval.api.lore.DeleteResourceGroupResponse", []);
|
|
1707
|
+
}
|
|
1708
|
+
create(value) {
|
|
1709
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1710
|
+
if (value !== undefined)
|
|
1711
|
+
reflectionMergePartial(this, message, value);
|
|
1712
|
+
return message;
|
|
1713
|
+
}
|
|
1714
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1715
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1716
|
+
while (reader.pos < end) {
|
|
1717
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1718
|
+
switch (fieldNo) {
|
|
1719
|
+
default:
|
|
1720
|
+
let u = options.readUnknownField;
|
|
1721
|
+
if (u === "throw")
|
|
1722
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1723
|
+
let d = reader.skip(wireType);
|
|
1724
|
+
if (u !== false)
|
|
1725
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
return message;
|
|
1729
|
+
}
|
|
1730
|
+
internalBinaryWrite(message, writer, options) {
|
|
1731
|
+
let u = options.writeUnknownFields;
|
|
1732
|
+
if (u !== false)
|
|
1733
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1734
|
+
return writer;
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
/**
|
|
1738
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.DeleteResourceGroupResponse
|
|
1739
|
+
*/
|
|
1740
|
+
export const DeleteResourceGroupResponse = new DeleteResourceGroupResponse$Type();
|
|
1741
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1742
|
+
class CreateAgentRequest$Type extends MessageType {
|
|
1743
|
+
constructor() {
|
|
1744
|
+
super("replit.goval.api.lore.CreateAgentRequest", [
|
|
1745
|
+
{ no: 1, name: "request", kind: "message", T: () => CreateAgentRequest$ }
|
|
1746
|
+
]);
|
|
1747
|
+
}
|
|
1748
|
+
create(value) {
|
|
1749
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1750
|
+
if (value !== undefined)
|
|
1751
|
+
reflectionMergePartial(this, message, value);
|
|
1752
|
+
return message;
|
|
1753
|
+
}
|
|
1754
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1755
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1756
|
+
while (reader.pos < end) {
|
|
1757
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1758
|
+
switch (fieldNo) {
|
|
1759
|
+
case /* chateau.resources.v1.CreateAgentRequest request */ 1:
|
|
1760
|
+
message.request = CreateAgentRequest$.internalBinaryRead(reader, reader.uint32(), options, message.request);
|
|
1761
|
+
break;
|
|
1762
|
+
default:
|
|
1763
|
+
let u = options.readUnknownField;
|
|
1764
|
+
if (u === "throw")
|
|
1765
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1766
|
+
let d = reader.skip(wireType);
|
|
1767
|
+
if (u !== false)
|
|
1768
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
return message;
|
|
1772
|
+
}
|
|
1773
|
+
internalBinaryWrite(message, writer, options) {
|
|
1774
|
+
/* chateau.resources.v1.CreateAgentRequest request = 1; */
|
|
1775
|
+
if (message.request)
|
|
1776
|
+
CreateAgentRequest$.internalBinaryWrite(message.request, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1777
|
+
let u = options.writeUnknownFields;
|
|
1778
|
+
if (u !== false)
|
|
1779
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1780
|
+
return writer;
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
/**
|
|
1784
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateAgentRequest
|
|
1785
|
+
*/
|
|
1786
|
+
export const CreateAgentRequest = new CreateAgentRequest$Type();
|
|
1787
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1788
|
+
class CreateAgentResponse$Type extends MessageType {
|
|
1789
|
+
constructor() {
|
|
1790
|
+
super("replit.goval.api.lore.CreateAgentResponse", [
|
|
1791
|
+
{ no: 1, name: "agent", kind: "message", T: () => Agent }
|
|
1792
|
+
]);
|
|
1793
|
+
}
|
|
1794
|
+
create(value) {
|
|
1795
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1796
|
+
if (value !== undefined)
|
|
1797
|
+
reflectionMergePartial(this, message, value);
|
|
1798
|
+
return message;
|
|
1799
|
+
}
|
|
1800
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1801
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1802
|
+
while (reader.pos < end) {
|
|
1803
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1804
|
+
switch (fieldNo) {
|
|
1805
|
+
case /* chateau.resources.v1.Agent agent */ 1:
|
|
1806
|
+
message.agent = Agent.internalBinaryRead(reader, reader.uint32(), options, message.agent);
|
|
1807
|
+
break;
|
|
1808
|
+
default:
|
|
1809
|
+
let u = options.readUnknownField;
|
|
1810
|
+
if (u === "throw")
|
|
1811
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1812
|
+
let d = reader.skip(wireType);
|
|
1813
|
+
if (u !== false)
|
|
1814
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
return message;
|
|
1818
|
+
}
|
|
1819
|
+
internalBinaryWrite(message, writer, options) {
|
|
1820
|
+
/* chateau.resources.v1.Agent agent = 1; */
|
|
1821
|
+
if (message.agent)
|
|
1822
|
+
Agent.internalBinaryWrite(message.agent, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1823
|
+
let u = options.writeUnknownFields;
|
|
1824
|
+
if (u !== false)
|
|
1825
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1826
|
+
return writer;
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
/**
|
|
1830
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateAgentResponse
|
|
1831
|
+
*/
|
|
1832
|
+
export const CreateAgentResponse = new CreateAgentResponse$Type();
|
|
1833
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1834
|
+
class GetReplRequest$Type extends MessageType {
|
|
1835
|
+
constructor() {
|
|
1836
|
+
super("replit.goval.api.lore.GetReplRequest", [
|
|
1837
|
+
{ no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1838
|
+
{ no: 5, name: "resource_group_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1839
|
+
{ no: 2, name: "include_running_status", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
1840
|
+
{ no: 3, name: "include_tombstone_status", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
1841
|
+
{ no: 4, name: "include_deleted", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1842
|
+
]);
|
|
1843
|
+
}
|
|
1844
|
+
create(value) {
|
|
1845
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1846
|
+
message.replId = "";
|
|
1847
|
+
message.includeRunningStatus = false;
|
|
1848
|
+
message.includeTombstoneStatus = false;
|
|
1849
|
+
message.includeDeleted = false;
|
|
1850
|
+
if (value !== undefined)
|
|
1851
|
+
reflectionMergePartial(this, message, value);
|
|
1852
|
+
return message;
|
|
1853
|
+
}
|
|
1854
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1855
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1856
|
+
while (reader.pos < end) {
|
|
1857
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1858
|
+
switch (fieldNo) {
|
|
1859
|
+
case /* string repl_id */ 1:
|
|
1860
|
+
message.replId = reader.string();
|
|
1861
|
+
break;
|
|
1862
|
+
case /* optional string resource_group_id */ 5:
|
|
1863
|
+
message.resourceGroupId = reader.string();
|
|
1864
|
+
break;
|
|
1865
|
+
case /* bool include_running_status */ 2:
|
|
1866
|
+
message.includeRunningStatus = reader.bool();
|
|
1867
|
+
break;
|
|
1868
|
+
case /* bool include_tombstone_status */ 3:
|
|
1869
|
+
message.includeTombstoneStatus = reader.bool();
|
|
1870
|
+
break;
|
|
1871
|
+
case /* bool include_deleted */ 4:
|
|
1872
|
+
message.includeDeleted = reader.bool();
|
|
1873
|
+
break;
|
|
1874
|
+
default:
|
|
1875
|
+
let u = options.readUnknownField;
|
|
1876
|
+
if (u === "throw")
|
|
1877
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1878
|
+
let d = reader.skip(wireType);
|
|
1879
|
+
if (u !== false)
|
|
1880
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
return message;
|
|
1884
|
+
}
|
|
1885
|
+
internalBinaryWrite(message, writer, options) {
|
|
1886
|
+
/* string repl_id = 1; */
|
|
1887
|
+
if (message.replId !== "")
|
|
1888
|
+
writer.tag(1, WireType.LengthDelimited).string(message.replId);
|
|
1889
|
+
/* bool include_running_status = 2; */
|
|
1890
|
+
if (message.includeRunningStatus !== false)
|
|
1891
|
+
writer.tag(2, WireType.Varint).bool(message.includeRunningStatus);
|
|
1892
|
+
/* bool include_tombstone_status = 3; */
|
|
1893
|
+
if (message.includeTombstoneStatus !== false)
|
|
1894
|
+
writer.tag(3, WireType.Varint).bool(message.includeTombstoneStatus);
|
|
1895
|
+
/* bool include_deleted = 4; */
|
|
1896
|
+
if (message.includeDeleted !== false)
|
|
1897
|
+
writer.tag(4, WireType.Varint).bool(message.includeDeleted);
|
|
1898
|
+
/* optional string resource_group_id = 5; */
|
|
1899
|
+
if (message.resourceGroupId !== undefined)
|
|
1900
|
+
writer.tag(5, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
1901
|
+
let u = options.writeUnknownFields;
|
|
1902
|
+
if (u !== false)
|
|
1903
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1904
|
+
return writer;
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
/**
|
|
1908
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.GetReplRequest
|
|
1909
|
+
*/
|
|
1910
|
+
export const GetReplRequest = new GetReplRequest$Type();
|
|
1911
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1912
|
+
class GetReplResponse$Type extends MessageType {
|
|
1913
|
+
constructor() {
|
|
1914
|
+
super("replit.goval.api.lore.GetReplResponse", [
|
|
1915
|
+
{ no: 1, name: "repl", kind: "message", T: () => Repl },
|
|
1916
|
+
{ no: 2, name: "cluster", kind: "message", T: () => Cluster },
|
|
1917
|
+
{ no: 3, name: "buckets", kind: "message", T: () => Buckets },
|
|
1918
|
+
{ no: 4, name: "dotdev_hostname", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1919
|
+
{ no: 5, name: "running_status", kind: "enum", T: () => ["replit.goval.api.lore.GetReplResponse.RunningStatus", GetReplResponse_RunningStatus, "RUNNING_STATUS_"] },
|
|
1920
|
+
{ no: 6, name: "tombstone_status", kind: "enum", T: () => ["replit.goval.api.lore.GetReplResponse.TombstoneStatus", GetReplResponse_TombstoneStatus, "TOMBSTONE_STATUS_"] },
|
|
1921
|
+
{ no: 7, name: "tombstone_reason", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1922
|
+
{ no: 8, name: "deleted", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
1923
|
+
{ no: 9, name: "takedown_protected", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1924
|
+
]);
|
|
1925
|
+
}
|
|
1926
|
+
create(value) {
|
|
1927
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1928
|
+
message.dotdevHostname = "";
|
|
1929
|
+
message.runningStatus = 0;
|
|
1930
|
+
message.tombstoneStatus = 0;
|
|
1931
|
+
message.tombstoneReason = "";
|
|
1932
|
+
message.deleted = false;
|
|
1933
|
+
message.takedownProtected = false;
|
|
1934
|
+
if (value !== undefined)
|
|
1935
|
+
reflectionMergePartial(this, message, value);
|
|
1936
|
+
return message;
|
|
1937
|
+
}
|
|
1938
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1939
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1940
|
+
while (reader.pos < end) {
|
|
1941
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1942
|
+
switch (fieldNo) {
|
|
1943
|
+
case /* replit.goval.api.lore.Repl repl */ 1:
|
|
1944
|
+
message.repl = Repl.internalBinaryRead(reader, reader.uint32(), options, message.repl);
|
|
1945
|
+
break;
|
|
1946
|
+
case /* replit.goval.api.lore.Cluster cluster */ 2:
|
|
1947
|
+
message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
|
|
1948
|
+
break;
|
|
1949
|
+
case /* replit.goval.api.lore.Buckets buckets */ 3:
|
|
1950
|
+
message.buckets = Buckets.internalBinaryRead(reader, reader.uint32(), options, message.buckets);
|
|
1951
|
+
break;
|
|
1952
|
+
case /* string dotdev_hostname = 4 [deprecated = true] */ 4:
|
|
1953
|
+
message.dotdevHostname = reader.string();
|
|
1954
|
+
break;
|
|
1955
|
+
case /* replit.goval.api.lore.GetReplResponse.RunningStatus running_status */ 5:
|
|
1956
|
+
message.runningStatus = reader.int32();
|
|
1957
|
+
break;
|
|
1958
|
+
case /* replit.goval.api.lore.GetReplResponse.TombstoneStatus tombstone_status */ 6:
|
|
1959
|
+
message.tombstoneStatus = reader.int32();
|
|
1960
|
+
break;
|
|
1961
|
+
case /* string tombstone_reason */ 7:
|
|
1962
|
+
message.tombstoneReason = reader.string();
|
|
1963
|
+
break;
|
|
1964
|
+
case /* bool deleted */ 8:
|
|
1965
|
+
message.deleted = reader.bool();
|
|
1966
|
+
break;
|
|
1967
|
+
case /* bool takedown_protected */ 9:
|
|
1968
|
+
message.takedownProtected = reader.bool();
|
|
1969
|
+
break;
|
|
1970
|
+
default:
|
|
1971
|
+
let u = options.readUnknownField;
|
|
1972
|
+
if (u === "throw")
|
|
1973
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1974
|
+
let d = reader.skip(wireType);
|
|
1975
|
+
if (u !== false)
|
|
1976
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
return message;
|
|
1980
|
+
}
|
|
1981
|
+
internalBinaryWrite(message, writer, options) {
|
|
1982
|
+
/* replit.goval.api.lore.Repl repl = 1; */
|
|
1983
|
+
if (message.repl)
|
|
1984
|
+
Repl.internalBinaryWrite(message.repl, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1985
|
+
/* replit.goval.api.lore.Cluster cluster = 2; */
|
|
1986
|
+
if (message.cluster)
|
|
1987
|
+
Cluster.internalBinaryWrite(message.cluster, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1988
|
+
/* replit.goval.api.lore.Buckets buckets = 3; */
|
|
1989
|
+
if (message.buckets)
|
|
1990
|
+
Buckets.internalBinaryWrite(message.buckets, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1991
|
+
/* string dotdev_hostname = 4 [deprecated = true]; */
|
|
1992
|
+
if (message.dotdevHostname !== "")
|
|
1993
|
+
writer.tag(4, WireType.LengthDelimited).string(message.dotdevHostname);
|
|
1994
|
+
/* replit.goval.api.lore.GetReplResponse.RunningStatus running_status = 5; */
|
|
1995
|
+
if (message.runningStatus !== 0)
|
|
1996
|
+
writer.tag(5, WireType.Varint).int32(message.runningStatus);
|
|
1997
|
+
/* replit.goval.api.lore.GetReplResponse.TombstoneStatus tombstone_status = 6; */
|
|
1998
|
+
if (message.tombstoneStatus !== 0)
|
|
1999
|
+
writer.tag(6, WireType.Varint).int32(message.tombstoneStatus);
|
|
2000
|
+
/* string tombstone_reason = 7; */
|
|
2001
|
+
if (message.tombstoneReason !== "")
|
|
2002
|
+
writer.tag(7, WireType.LengthDelimited).string(message.tombstoneReason);
|
|
2003
|
+
/* bool deleted = 8; */
|
|
2004
|
+
if (message.deleted !== false)
|
|
2005
|
+
writer.tag(8, WireType.Varint).bool(message.deleted);
|
|
2006
|
+
/* bool takedown_protected = 9; */
|
|
2007
|
+
if (message.takedownProtected !== false)
|
|
2008
|
+
writer.tag(9, WireType.Varint).bool(message.takedownProtected);
|
|
2009
|
+
let u = options.writeUnknownFields;
|
|
2010
|
+
if (u !== false)
|
|
2011
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2012
|
+
return writer;
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
/**
|
|
2016
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.GetReplResponse
|
|
2017
|
+
*/
|
|
2018
|
+
export const GetReplResponse = new GetReplResponse$Type();
|
|
2019
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2020
|
+
class GetCellByReplRequest$Type extends MessageType {
|
|
2021
|
+
constructor() {
|
|
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*/ }
|
|
2025
|
+
]);
|
|
2026
|
+
}
|
|
2027
|
+
create(value) {
|
|
2028
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2029
|
+
message.replId = "";
|
|
2030
|
+
if (value !== undefined)
|
|
2031
|
+
reflectionMergePartial(this, message, value);
|
|
2032
|
+
return message;
|
|
2033
|
+
}
|
|
2034
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2035
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2036
|
+
while (reader.pos < end) {
|
|
2037
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2038
|
+
switch (fieldNo) {
|
|
2039
|
+
case /* string repl_id */ 1:
|
|
2040
|
+
message.replId = reader.string();
|
|
2041
|
+
break;
|
|
2042
|
+
case /* optional string resource_group_id */ 2:
|
|
2043
|
+
message.resourceGroupId = reader.string();
|
|
2044
|
+
break;
|
|
2045
|
+
default:
|
|
2046
|
+
let u = options.readUnknownField;
|
|
2047
|
+
if (u === "throw")
|
|
2048
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2049
|
+
let d = reader.skip(wireType);
|
|
2050
|
+
if (u !== false)
|
|
2051
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
return message;
|
|
2055
|
+
}
|
|
2056
|
+
internalBinaryWrite(message, writer, options) {
|
|
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);
|
|
2063
|
+
let u = options.writeUnknownFields;
|
|
2064
|
+
if (u !== false)
|
|
2065
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2066
|
+
return writer;
|
|
2067
|
+
}
|
|
2068
|
+
}
|
|
2069
|
+
/**
|
|
2070
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.GetCellByReplRequest
|
|
2071
|
+
*/
|
|
2072
|
+
export const GetCellByReplRequest = new GetCellByReplRequest$Type();
|
|
2073
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2074
|
+
class GetCellByReplResponse$Type extends MessageType {
|
|
2075
|
+
constructor() {
|
|
2076
|
+
super("replit.goval.api.lore.GetCellByReplResponse", [
|
|
2077
|
+
{ no: 1, name: "cluster", kind: "message", T: () => Cluster }
|
|
2078
|
+
]);
|
|
2079
|
+
}
|
|
2080
|
+
create(value) {
|
|
2081
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2082
|
+
if (value !== undefined)
|
|
2083
|
+
reflectionMergePartial(this, message, value);
|
|
2084
|
+
return message;
|
|
2085
|
+
}
|
|
2086
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2087
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2088
|
+
while (reader.pos < end) {
|
|
2089
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2090
|
+
switch (fieldNo) {
|
|
2091
|
+
case /* replit.goval.api.lore.Cluster cluster */ 1:
|
|
2092
|
+
message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
|
|
2093
|
+
break;
|
|
2094
|
+
default:
|
|
2095
|
+
let u = options.readUnknownField;
|
|
2096
|
+
if (u === "throw")
|
|
2097
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2098
|
+
let d = reader.skip(wireType);
|
|
2099
|
+
if (u !== false)
|
|
2100
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
return message;
|
|
2104
|
+
}
|
|
2105
|
+
internalBinaryWrite(message, writer, options) {
|
|
2106
|
+
/* replit.goval.api.lore.Cluster cluster = 1; */
|
|
2107
|
+
if (message.cluster)
|
|
2108
|
+
Cluster.internalBinaryWrite(message.cluster, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2109
|
+
let u = options.writeUnknownFields;
|
|
2110
|
+
if (u !== false)
|
|
2111
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2112
|
+
return writer;
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
/**
|
|
2116
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.GetCellByReplResponse
|
|
2117
|
+
*/
|
|
2118
|
+
export const GetCellByReplResponse = new GetCellByReplResponse$Type();
|
|
2119
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2120
|
+
class BatchGetCellByReplRequest$Type extends MessageType {
|
|
2121
|
+
constructor() {
|
|
2122
|
+
super("replit.goval.api.lore.BatchGetCellByReplRequest", [
|
|
2123
|
+
{ no: 1, name: "requests", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GetCellByReplRequest }
|
|
2124
|
+
]);
|
|
2125
|
+
}
|
|
2126
|
+
create(value) {
|
|
2127
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2128
|
+
message.requests = [];
|
|
2129
|
+
if (value !== undefined)
|
|
2130
|
+
reflectionMergePartial(this, message, value);
|
|
2131
|
+
return message;
|
|
2132
|
+
}
|
|
2133
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2134
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2135
|
+
while (reader.pos < end) {
|
|
2136
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2137
|
+
switch (fieldNo) {
|
|
2138
|
+
case /* repeated replit.goval.api.lore.GetCellByReplRequest requests */ 1:
|
|
2139
|
+
message.requests.push(GetCellByReplRequest.internalBinaryRead(reader, reader.uint32(), options));
|
|
2140
|
+
break;
|
|
2141
|
+
default:
|
|
2142
|
+
let u = options.readUnknownField;
|
|
2143
|
+
if (u === "throw")
|
|
2144
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2145
|
+
let d = reader.skip(wireType);
|
|
2146
|
+
if (u !== false)
|
|
2147
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
return message;
|
|
2151
|
+
}
|
|
2152
|
+
internalBinaryWrite(message, writer, options) {
|
|
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();
|
|
2156
|
+
let u = options.writeUnknownFields;
|
|
2157
|
+
if (u !== false)
|
|
2158
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2159
|
+
return writer;
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
/**
|
|
2163
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.BatchGetCellByReplRequest
|
|
2164
|
+
*/
|
|
2165
|
+
export const BatchGetCellByReplRequest = new BatchGetCellByReplRequest$Type();
|
|
2166
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2167
|
+
class BatchGetCellByReplResponse$Type extends MessageType {
|
|
2168
|
+
constructor() {
|
|
2169
|
+
super("replit.goval.api.lore.BatchGetCellByReplResponse", [
|
|
2170
|
+
{ no: 1, name: "results", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BatchGetCellByReplResponse_Result }
|
|
2171
|
+
]);
|
|
2172
|
+
}
|
|
2173
|
+
create(value) {
|
|
2174
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2175
|
+
message.results = [];
|
|
2176
|
+
if (value !== undefined)
|
|
2177
|
+
reflectionMergePartial(this, message, value);
|
|
2178
|
+
return message;
|
|
2179
|
+
}
|
|
2180
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2181
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2182
|
+
while (reader.pos < end) {
|
|
2183
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2184
|
+
switch (fieldNo) {
|
|
2185
|
+
case /* repeated replit.goval.api.lore.BatchGetCellByReplResponse.Result results */ 1:
|
|
2186
|
+
message.results.push(BatchGetCellByReplResponse_Result.internalBinaryRead(reader, reader.uint32(), options));
|
|
2187
|
+
break;
|
|
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 = "";
|
|
1125
2621
|
if (value !== undefined)
|
|
1126
2622
|
reflectionMergePartial(this, message, value);
|
|
1127
2623
|
return message;
|
|
@@ -1164,6 +2660,9 @@ class GetReplConnectionInfoRequest$Type extends MessageType {
|
|
|
1164
2660
|
case /* string org_id */ 12:
|
|
1165
2661
|
message.orgId = reader.string();
|
|
1166
2662
|
break;
|
|
2663
|
+
case /* optional string resource_group_id */ 13:
|
|
2664
|
+
message.resourceGroupId = reader.string();
|
|
2665
|
+
break;
|
|
1167
2666
|
default:
|
|
1168
2667
|
let u = options.readUnknownField;
|
|
1169
2668
|
if (u === "throw")
|
|
@@ -1203,6 +2702,9 @@ class GetReplConnectionInfoRequest$Type extends MessageType {
|
|
|
1203
2702
|
/* string org_id = 12; */
|
|
1204
2703
|
if (message.orgId !== "")
|
|
1205
2704
|
writer.tag(12, WireType.LengthDelimited).string(message.orgId);
|
|
2705
|
+
/* optional string resource_group_id = 13; */
|
|
2706
|
+
if (message.resourceGroupId !== undefined)
|
|
2707
|
+
writer.tag(13, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
1206
2708
|
let u = options.writeUnknownFields;
|
|
1207
2709
|
if (u !== false)
|
|
1208
2710
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1235,17 +2737,125 @@ class GetReplConnectionInfoResponse$Type extends MessageType {
|
|
|
1235
2737
|
while (reader.pos < end) {
|
|
1236
2738
|
let [fieldNo, wireType] = reader.tag();
|
|
1237
2739
|
switch (fieldNo) {
|
|
1238
|
-
case /* replit.goval.api.lore.Repl repl */ 1:
|
|
1239
|
-
message.repl = Repl.internalBinaryRead(reader, reader.uint32(), options, message.repl);
|
|
1240
|
-
break;
|
|
1241
|
-
case /* replit.goval.api.lore.Cluster cluster */ 2:
|
|
1242
|
-
message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
|
|
1243
|
-
break;
|
|
1244
|
-
case /* replit.goval.api.lore.Buckets buckets */ 3:
|
|
1245
|
-
message.buckets = Buckets.internalBinaryRead(reader, reader.uint32(), options, message.buckets);
|
|
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*/ }
|
|
2839
|
+
]);
|
|
2840
|
+
}
|
|
2841
|
+
create(value) {
|
|
2842
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2843
|
+
message.transferId = "";
|
|
2844
|
+
message.complete = false;
|
|
2845
|
+
if (value !== undefined)
|
|
2846
|
+
reflectionMergePartial(this, message, value);
|
|
2847
|
+
return message;
|
|
2848
|
+
}
|
|
2849
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2850
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2851
|
+
while (reader.pos < end) {
|
|
2852
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2853
|
+
switch (fieldNo) {
|
|
2854
|
+
case /* string transfer_id */ 1:
|
|
2855
|
+
message.transferId = reader.string();
|
|
1246
2856
|
break;
|
|
1247
|
-
case /*
|
|
1248
|
-
message.
|
|
2857
|
+
case /* bool complete */ 2:
|
|
2858
|
+
message.complete = reader.bool();
|
|
1249
2859
|
break;
|
|
1250
2860
|
default:
|
|
1251
2861
|
let u = options.readUnknownField;
|
|
@@ -1259,18 +2869,12 @@ class GetReplConnectionInfoResponse$Type extends MessageType {
|
|
|
1259
2869
|
return message;
|
|
1260
2870
|
}
|
|
1261
2871
|
internalBinaryWrite(message, writer, options) {
|
|
1262
|
-
/*
|
|
1263
|
-
if (message.
|
|
1264
|
-
|
|
1265
|
-
/*
|
|
1266
|
-
if (message.
|
|
1267
|
-
|
|
1268
|
-
/* replit.goval.api.lore.Buckets buckets = 3; */
|
|
1269
|
-
if (message.buckets)
|
|
1270
|
-
Buckets.internalBinaryWrite(message.buckets, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1271
|
-
/* string dotdev_hostname = 4; */
|
|
1272
|
-
if (message.dotdevHostname !== "")
|
|
1273
|
-
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);
|
|
1274
2878
|
let u = options.writeUnknownFields;
|
|
1275
2879
|
if (u !== false)
|
|
1276
2880
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1278,19 +2882,21 @@ class GetReplConnectionInfoResponse$Type extends MessageType {
|
|
|
1278
2882
|
}
|
|
1279
2883
|
}
|
|
1280
2884
|
/**
|
|
1281
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
2885
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.GetTransferStatusResponse
|
|
1282
2886
|
*/
|
|
1283
|
-
export const
|
|
2887
|
+
export const GetTransferStatusResponse = new GetTransferStatusResponse$Type();
|
|
1284
2888
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1285
|
-
class
|
|
2889
|
+
class TransferResourceGroupRequest$Type extends MessageType {
|
|
1286
2890
|
constructor() {
|
|
1287
|
-
super("replit.goval.api.lore.
|
|
1288
|
-
{ no: 1, name: "
|
|
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*/ }
|
|
1289
2894
|
]);
|
|
1290
2895
|
}
|
|
1291
2896
|
create(value) {
|
|
1292
2897
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
1293
|
-
message.
|
|
2898
|
+
message.resourceGroupId = "";
|
|
2899
|
+
message.orgId = "";
|
|
1294
2900
|
if (value !== undefined)
|
|
1295
2901
|
reflectionMergePartial(this, message, value);
|
|
1296
2902
|
return message;
|
|
@@ -1300,8 +2906,11 @@ class GetTransferStatusRequest$Type extends MessageType {
|
|
|
1300
2906
|
while (reader.pos < end) {
|
|
1301
2907
|
let [fieldNo, wireType] = reader.tag();
|
|
1302
2908
|
switch (fieldNo) {
|
|
1303
|
-
case /* string
|
|
1304
|
-
message.
|
|
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();
|
|
1305
2914
|
break;
|
|
1306
2915
|
default:
|
|
1307
2916
|
let u = options.readUnknownField;
|
|
@@ -1315,9 +2924,12 @@ class GetTransferStatusRequest$Type extends MessageType {
|
|
|
1315
2924
|
return message;
|
|
1316
2925
|
}
|
|
1317
2926
|
internalBinaryWrite(message, writer, options) {
|
|
1318
|
-
/* string
|
|
1319
|
-
if (message.
|
|
1320
|
-
writer.tag(1, WireType.LengthDelimited).string(message.
|
|
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);
|
|
1321
2933
|
let u = options.writeUnknownFields;
|
|
1322
2934
|
if (u !== false)
|
|
1323
2935
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1325,21 +2937,19 @@ class GetTransferStatusRequest$Type extends MessageType {
|
|
|
1325
2937
|
}
|
|
1326
2938
|
}
|
|
1327
2939
|
/**
|
|
1328
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
2940
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.TransferResourceGroupRequest
|
|
1329
2941
|
*/
|
|
1330
|
-
export const
|
|
2942
|
+
export const TransferResourceGroupRequest = new TransferResourceGroupRequest$Type();
|
|
1331
2943
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1332
|
-
class
|
|
2944
|
+
class TransferResourceGroupResponse$Type extends MessageType {
|
|
1333
2945
|
constructor() {
|
|
1334
|
-
super("replit.goval.api.lore.
|
|
1335
|
-
{ no: 1, name: "transfer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1336
|
-
{ 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*/ }
|
|
1337
2948
|
]);
|
|
1338
2949
|
}
|
|
1339
2950
|
create(value) {
|
|
1340
2951
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
1341
2952
|
message.transferId = "";
|
|
1342
|
-
message.complete = false;
|
|
1343
2953
|
if (value !== undefined)
|
|
1344
2954
|
reflectionMergePartial(this, message, value);
|
|
1345
2955
|
return message;
|
|
@@ -1352,9 +2962,6 @@ class GetTransferStatusResponse$Type extends MessageType {
|
|
|
1352
2962
|
case /* string transfer_id */ 1:
|
|
1353
2963
|
message.transferId = reader.string();
|
|
1354
2964
|
break;
|
|
1355
|
-
case /* bool complete */ 2:
|
|
1356
|
-
message.complete = reader.bool();
|
|
1357
|
-
break;
|
|
1358
2965
|
default:
|
|
1359
2966
|
let u = options.readUnknownField;
|
|
1360
2967
|
if (u === "throw")
|
|
@@ -1370,9 +2977,6 @@ class GetTransferStatusResponse$Type extends MessageType {
|
|
|
1370
2977
|
/* string transfer_id = 1; */
|
|
1371
2978
|
if (message.transferId !== "")
|
|
1372
2979
|
writer.tag(1, WireType.LengthDelimited).string(message.transferId);
|
|
1373
|
-
/* bool complete = 2; */
|
|
1374
|
-
if (message.complete !== false)
|
|
1375
|
-
writer.tag(2, WireType.Varint).bool(message.complete);
|
|
1376
2980
|
let u = options.writeUnknownFields;
|
|
1377
2981
|
if (u !== false)
|
|
1378
2982
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1380,9 +2984,9 @@ class GetTransferStatusResponse$Type extends MessageType {
|
|
|
1380
2984
|
}
|
|
1381
2985
|
}
|
|
1382
2986
|
/**
|
|
1383
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
2987
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.TransferResourceGroupResponse
|
|
1384
2988
|
*/
|
|
1385
|
-
export const
|
|
2989
|
+
export const TransferResourceGroupResponse = new TransferResourceGroupResponse$Type();
|
|
1386
2990
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1387
2991
|
class TransferReplsRequest$Type extends MessageType {
|
|
1388
2992
|
constructor() {
|
|
@@ -1734,12 +3338,198 @@ class Continent$Type extends MessageType {
|
|
|
1734
3338
|
return message;
|
|
1735
3339
|
}
|
|
1736
3340
|
internalBinaryWrite(message, writer, options) {
|
|
1737
|
-
/* string code = 1; */
|
|
1738
|
-
if (message.code !== "")
|
|
1739
|
-
writer.tag(1, WireType.LengthDelimited).string(message.code);
|
|
1740
|
-
/* string name = 2; */
|
|
1741
|
-
if (message.name !== "")
|
|
1742
|
-
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
3341
|
+
/* string code = 1; */
|
|
3342
|
+
if (message.code !== "")
|
|
3343
|
+
writer.tag(1, WireType.LengthDelimited).string(message.code);
|
|
3344
|
+
/* string name = 2; */
|
|
3345
|
+
if (message.name !== "")
|
|
3346
|
+
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
3347
|
+
let u = options.writeUnknownFields;
|
|
3348
|
+
if (u !== false)
|
|
3349
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3350
|
+
return writer;
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
/**
|
|
3354
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.Continent
|
|
3355
|
+
*/
|
|
3356
|
+
export const Continent = new Continent$Type();
|
|
3357
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3358
|
+
class TakedownReplRequest$Type extends MessageType {
|
|
3359
|
+
constructor() {
|
|
3360
|
+
super("replit.goval.api.lore.TakedownReplRequest", [
|
|
3361
|
+
{ no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3362
|
+
{ no: 2, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3363
|
+
]);
|
|
3364
|
+
}
|
|
3365
|
+
create(value) {
|
|
3366
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3367
|
+
message.replId = "";
|
|
3368
|
+
message.resourceGroupId = "";
|
|
3369
|
+
if (value !== undefined)
|
|
3370
|
+
reflectionMergePartial(this, message, value);
|
|
3371
|
+
return message;
|
|
3372
|
+
}
|
|
3373
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3374
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3375
|
+
while (reader.pos < end) {
|
|
3376
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3377
|
+
switch (fieldNo) {
|
|
3378
|
+
case /* string repl_id */ 1:
|
|
3379
|
+
message.replId = reader.string();
|
|
3380
|
+
break;
|
|
3381
|
+
case /* string resource_group_id */ 2:
|
|
3382
|
+
message.resourceGroupId = reader.string();
|
|
3383
|
+
break;
|
|
3384
|
+
default:
|
|
3385
|
+
let u = options.readUnknownField;
|
|
3386
|
+
if (u === "throw")
|
|
3387
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3388
|
+
let d = reader.skip(wireType);
|
|
3389
|
+
if (u !== false)
|
|
3390
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3393
|
+
return message;
|
|
3394
|
+
}
|
|
3395
|
+
internalBinaryWrite(message, writer, options) {
|
|
3396
|
+
/* string repl_id = 1; */
|
|
3397
|
+
if (message.replId !== "")
|
|
3398
|
+
writer.tag(1, WireType.LengthDelimited).string(message.replId);
|
|
3399
|
+
/* string resource_group_id = 2; */
|
|
3400
|
+
if (message.resourceGroupId !== "")
|
|
3401
|
+
writer.tag(2, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
3402
|
+
let u = options.writeUnknownFields;
|
|
3403
|
+
if (u !== false)
|
|
3404
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3405
|
+
return writer;
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
/**
|
|
3409
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.TakedownReplRequest
|
|
3410
|
+
*/
|
|
3411
|
+
export const TakedownReplRequest = new TakedownReplRequest$Type();
|
|
3412
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3413
|
+
class TakedownReplResponse$Type extends MessageType {
|
|
3414
|
+
constructor() {
|
|
3415
|
+
super("replit.goval.api.lore.TakedownReplResponse", []);
|
|
3416
|
+
}
|
|
3417
|
+
create(value) {
|
|
3418
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3419
|
+
if (value !== undefined)
|
|
3420
|
+
reflectionMergePartial(this, message, value);
|
|
3421
|
+
return message;
|
|
3422
|
+
}
|
|
3423
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3424
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3425
|
+
while (reader.pos < end) {
|
|
3426
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3427
|
+
switch (fieldNo) {
|
|
3428
|
+
default:
|
|
3429
|
+
let u = options.readUnknownField;
|
|
3430
|
+
if (u === "throw")
|
|
3431
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3432
|
+
let d = reader.skip(wireType);
|
|
3433
|
+
if (u !== false)
|
|
3434
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
return message;
|
|
3438
|
+
}
|
|
3439
|
+
internalBinaryWrite(message, writer, options) {
|
|
3440
|
+
let u = options.writeUnknownFields;
|
|
3441
|
+
if (u !== false)
|
|
3442
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3443
|
+
return writer;
|
|
3444
|
+
}
|
|
3445
|
+
}
|
|
3446
|
+
/**
|
|
3447
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.TakedownReplResponse
|
|
3448
|
+
*/
|
|
3449
|
+
export const TakedownReplResponse = new TakedownReplResponse$Type();
|
|
3450
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3451
|
+
class SoftTakedownReplRequest$Type extends MessageType {
|
|
3452
|
+
constructor() {
|
|
3453
|
+
super("replit.goval.api.lore.SoftTakedownReplRequest", [
|
|
3454
|
+
{ no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3455
|
+
{ no: 2, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3456
|
+
]);
|
|
3457
|
+
}
|
|
3458
|
+
create(value) {
|
|
3459
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3460
|
+
message.replId = "";
|
|
3461
|
+
message.resourceGroupId = "";
|
|
3462
|
+
if (value !== undefined)
|
|
3463
|
+
reflectionMergePartial(this, message, value);
|
|
3464
|
+
return message;
|
|
3465
|
+
}
|
|
3466
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3467
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3468
|
+
while (reader.pos < end) {
|
|
3469
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3470
|
+
switch (fieldNo) {
|
|
3471
|
+
case /* string repl_id */ 1:
|
|
3472
|
+
message.replId = reader.string();
|
|
3473
|
+
break;
|
|
3474
|
+
case /* string resource_group_id */ 2:
|
|
3475
|
+
message.resourceGroupId = reader.string();
|
|
3476
|
+
break;
|
|
3477
|
+
default:
|
|
3478
|
+
let u = options.readUnknownField;
|
|
3479
|
+
if (u === "throw")
|
|
3480
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3481
|
+
let d = reader.skip(wireType);
|
|
3482
|
+
if (u !== false)
|
|
3483
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
return message;
|
|
3487
|
+
}
|
|
3488
|
+
internalBinaryWrite(message, writer, options) {
|
|
3489
|
+
/* string repl_id = 1; */
|
|
3490
|
+
if (message.replId !== "")
|
|
3491
|
+
writer.tag(1, WireType.LengthDelimited).string(message.replId);
|
|
3492
|
+
/* string resource_group_id = 2; */
|
|
3493
|
+
if (message.resourceGroupId !== "")
|
|
3494
|
+
writer.tag(2, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
3495
|
+
let u = options.writeUnknownFields;
|
|
3496
|
+
if (u !== false)
|
|
3497
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3498
|
+
return writer;
|
|
3499
|
+
}
|
|
3500
|
+
}
|
|
3501
|
+
/**
|
|
3502
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.SoftTakedownReplRequest
|
|
3503
|
+
*/
|
|
3504
|
+
export const SoftTakedownReplRequest = new SoftTakedownReplRequest$Type();
|
|
3505
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3506
|
+
class SoftTakedownReplResponse$Type extends MessageType {
|
|
3507
|
+
constructor() {
|
|
3508
|
+
super("replit.goval.api.lore.SoftTakedownReplResponse", []);
|
|
3509
|
+
}
|
|
3510
|
+
create(value) {
|
|
3511
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3512
|
+
if (value !== undefined)
|
|
3513
|
+
reflectionMergePartial(this, message, value);
|
|
3514
|
+
return message;
|
|
3515
|
+
}
|
|
3516
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3517
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3518
|
+
while (reader.pos < end) {
|
|
3519
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3520
|
+
switch (fieldNo) {
|
|
3521
|
+
default:
|
|
3522
|
+
let u = options.readUnknownField;
|
|
3523
|
+
if (u === "throw")
|
|
3524
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3525
|
+
let d = reader.skip(wireType);
|
|
3526
|
+
if (u !== false)
|
|
3527
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3530
|
+
return message;
|
|
3531
|
+
}
|
|
3532
|
+
internalBinaryWrite(message, writer, options) {
|
|
1743
3533
|
let u = options.writeUnknownFields;
|
|
1744
3534
|
if (u !== false)
|
|
1745
3535
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1747,19 +3537,22 @@ class Continent$Type extends MessageType {
|
|
|
1747
3537
|
}
|
|
1748
3538
|
}
|
|
1749
3539
|
/**
|
|
1750
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
3540
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.SoftTakedownReplResponse
|
|
1751
3541
|
*/
|
|
1752
|
-
export const
|
|
3542
|
+
export const SoftTakedownReplResponse = new SoftTakedownReplResponse$Type();
|
|
1753
3543
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1754
|
-
class
|
|
3544
|
+
class RestoreReplRequest$Type extends MessageType {
|
|
1755
3545
|
constructor() {
|
|
1756
|
-
super("replit.goval.api.lore.
|
|
1757
|
-
{ no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3546
|
+
super("replit.goval.api.lore.RestoreReplRequest", [
|
|
3547
|
+
{ no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3548
|
+
{ no: 2, name: "protect", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3549
|
+
{ no: 3, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1758
3550
|
]);
|
|
1759
3551
|
}
|
|
1760
3552
|
create(value) {
|
|
1761
3553
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
1762
3554
|
message.replId = "";
|
|
3555
|
+
message.resourceGroupId = "";
|
|
1763
3556
|
if (value !== undefined)
|
|
1764
3557
|
reflectionMergePartial(this, message, value);
|
|
1765
3558
|
return message;
|
|
@@ -1772,6 +3565,12 @@ class TakedownReplRequest$Type extends MessageType {
|
|
|
1772
3565
|
case /* string repl_id */ 1:
|
|
1773
3566
|
message.replId = reader.string();
|
|
1774
3567
|
break;
|
|
3568
|
+
case /* optional bool protect */ 2:
|
|
3569
|
+
message.protect = reader.bool();
|
|
3570
|
+
break;
|
|
3571
|
+
case /* string resource_group_id */ 3:
|
|
3572
|
+
message.resourceGroupId = reader.string();
|
|
3573
|
+
break;
|
|
1775
3574
|
default:
|
|
1776
3575
|
let u = options.readUnknownField;
|
|
1777
3576
|
if (u === "throw")
|
|
@@ -1787,6 +3586,12 @@ class TakedownReplRequest$Type extends MessageType {
|
|
|
1787
3586
|
/* string repl_id = 1; */
|
|
1788
3587
|
if (message.replId !== "")
|
|
1789
3588
|
writer.tag(1, WireType.LengthDelimited).string(message.replId);
|
|
3589
|
+
/* optional bool protect = 2; */
|
|
3590
|
+
if (message.protect !== undefined)
|
|
3591
|
+
writer.tag(2, WireType.Varint).bool(message.protect);
|
|
3592
|
+
/* string resource_group_id = 3; */
|
|
3593
|
+
if (message.resourceGroupId !== "")
|
|
3594
|
+
writer.tag(3, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
1790
3595
|
let u = options.writeUnknownFields;
|
|
1791
3596
|
if (u !== false)
|
|
1792
3597
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1794,13 +3599,13 @@ class TakedownReplRequest$Type extends MessageType {
|
|
|
1794
3599
|
}
|
|
1795
3600
|
}
|
|
1796
3601
|
/**
|
|
1797
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
3602
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.RestoreReplRequest
|
|
1798
3603
|
*/
|
|
1799
|
-
export const
|
|
3604
|
+
export const RestoreReplRequest = new RestoreReplRequest$Type();
|
|
1800
3605
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1801
|
-
class
|
|
3606
|
+
class RestoreReplResponse$Type extends MessageType {
|
|
1802
3607
|
constructor() {
|
|
1803
|
-
super("replit.goval.api.lore.
|
|
3608
|
+
super("replit.goval.api.lore.RestoreReplResponse", []);
|
|
1804
3609
|
}
|
|
1805
3610
|
create(value) {
|
|
1806
3611
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
@@ -1832,19 +3637,22 @@ class TakedownReplResponse$Type extends MessageType {
|
|
|
1832
3637
|
}
|
|
1833
3638
|
}
|
|
1834
3639
|
/**
|
|
1835
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
3640
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.RestoreReplResponse
|
|
1836
3641
|
*/
|
|
1837
|
-
export const
|
|
3642
|
+
export const RestoreReplResponse = new RestoreReplResponse$Type();
|
|
1838
3643
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1839
|
-
class
|
|
3644
|
+
class AddTombstoneRequest$Type extends MessageType {
|
|
1840
3645
|
constructor() {
|
|
1841
|
-
super("replit.goval.api.lore.
|
|
1842
|
-
{ no: 1, name: "
|
|
3646
|
+
super("replit.goval.api.lore.AddTombstoneRequest", [
|
|
3647
|
+
{ no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3648
|
+
{ no: 2, name: "reason", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3649
|
+
{ no: 3, name: "ttl", kind: "message", T: () => Duration }
|
|
1843
3650
|
]);
|
|
1844
3651
|
}
|
|
1845
3652
|
create(value) {
|
|
1846
3653
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
1847
|
-
message.
|
|
3654
|
+
message.resourceGroupId = "";
|
|
3655
|
+
message.reason = "";
|
|
1848
3656
|
if (value !== undefined)
|
|
1849
3657
|
reflectionMergePartial(this, message, value);
|
|
1850
3658
|
return message;
|
|
@@ -1854,8 +3662,14 @@ class SoftTakedownReplRequest$Type extends MessageType {
|
|
|
1854
3662
|
while (reader.pos < end) {
|
|
1855
3663
|
let [fieldNo, wireType] = reader.tag();
|
|
1856
3664
|
switch (fieldNo) {
|
|
1857
|
-
case /* string
|
|
1858
|
-
message.
|
|
3665
|
+
case /* string resource_group_id */ 1:
|
|
3666
|
+
message.resourceGroupId = reader.string();
|
|
3667
|
+
break;
|
|
3668
|
+
case /* string reason */ 2:
|
|
3669
|
+
message.reason = reader.string();
|
|
3670
|
+
break;
|
|
3671
|
+
case /* google.protobuf.Duration ttl */ 3:
|
|
3672
|
+
message.ttl = Duration.internalBinaryRead(reader, reader.uint32(), options, message.ttl);
|
|
1859
3673
|
break;
|
|
1860
3674
|
default:
|
|
1861
3675
|
let u = options.readUnknownField;
|
|
@@ -1869,9 +3683,15 @@ class SoftTakedownReplRequest$Type extends MessageType {
|
|
|
1869
3683
|
return message;
|
|
1870
3684
|
}
|
|
1871
3685
|
internalBinaryWrite(message, writer, options) {
|
|
1872
|
-
/* string
|
|
1873
|
-
if (message.
|
|
1874
|
-
writer.tag(1, WireType.LengthDelimited).string(message.
|
|
3686
|
+
/* string resource_group_id = 1; */
|
|
3687
|
+
if (message.resourceGroupId !== "")
|
|
3688
|
+
writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
3689
|
+
/* string reason = 2; */
|
|
3690
|
+
if (message.reason !== "")
|
|
3691
|
+
writer.tag(2, WireType.LengthDelimited).string(message.reason);
|
|
3692
|
+
/* google.protobuf.Duration ttl = 3; */
|
|
3693
|
+
if (message.ttl)
|
|
3694
|
+
Duration.internalBinaryWrite(message.ttl, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1875
3695
|
let u = options.writeUnknownFields;
|
|
1876
3696
|
if (u !== false)
|
|
1877
3697
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1879,13 +3699,13 @@ class SoftTakedownReplRequest$Type extends MessageType {
|
|
|
1879
3699
|
}
|
|
1880
3700
|
}
|
|
1881
3701
|
/**
|
|
1882
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
3702
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.AddTombstoneRequest
|
|
1883
3703
|
*/
|
|
1884
|
-
export const
|
|
3704
|
+
export const AddTombstoneRequest = new AddTombstoneRequest$Type();
|
|
1885
3705
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1886
|
-
class
|
|
3706
|
+
class AddTombstoneResponse$Type extends MessageType {
|
|
1887
3707
|
constructor() {
|
|
1888
|
-
super("replit.goval.api.lore.
|
|
3708
|
+
super("replit.goval.api.lore.AddTombstoneResponse", []);
|
|
1889
3709
|
}
|
|
1890
3710
|
create(value) {
|
|
1891
3711
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
@@ -1917,19 +3737,19 @@ class SoftTakedownReplResponse$Type extends MessageType {
|
|
|
1917
3737
|
}
|
|
1918
3738
|
}
|
|
1919
3739
|
/**
|
|
1920
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
3740
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.AddTombstoneResponse
|
|
1921
3741
|
*/
|
|
1922
|
-
export const
|
|
3742
|
+
export const AddTombstoneResponse = new AddTombstoneResponse$Type();
|
|
1923
3743
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1924
|
-
class
|
|
3744
|
+
class RemoveTombstoneRequest$Type extends MessageType {
|
|
1925
3745
|
constructor() {
|
|
1926
|
-
super("replit.goval.api.lore.
|
|
1927
|
-
{ no: 1, name: "
|
|
3746
|
+
super("replit.goval.api.lore.RemoveTombstoneRequest", [
|
|
3747
|
+
{ no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1928
3748
|
]);
|
|
1929
3749
|
}
|
|
1930
3750
|
create(value) {
|
|
1931
3751
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
1932
|
-
message.
|
|
3752
|
+
message.resourceGroupId = "";
|
|
1933
3753
|
if (value !== undefined)
|
|
1934
3754
|
reflectionMergePartial(this, message, value);
|
|
1935
3755
|
return message;
|
|
@@ -1939,8 +3759,8 @@ class RestoreReplRequest$Type extends MessageType {
|
|
|
1939
3759
|
while (reader.pos < end) {
|
|
1940
3760
|
let [fieldNo, wireType] = reader.tag();
|
|
1941
3761
|
switch (fieldNo) {
|
|
1942
|
-
case /* string
|
|
1943
|
-
message.
|
|
3762
|
+
case /* string resource_group_id */ 1:
|
|
3763
|
+
message.resourceGroupId = reader.string();
|
|
1944
3764
|
break;
|
|
1945
3765
|
default:
|
|
1946
3766
|
let u = options.readUnknownField;
|
|
@@ -1954,9 +3774,9 @@ class RestoreReplRequest$Type extends MessageType {
|
|
|
1954
3774
|
return message;
|
|
1955
3775
|
}
|
|
1956
3776
|
internalBinaryWrite(message, writer, options) {
|
|
1957
|
-
/* string
|
|
1958
|
-
if (message.
|
|
1959
|
-
writer.tag(1, WireType.LengthDelimited).string(message.
|
|
3777
|
+
/* string resource_group_id = 1; */
|
|
3778
|
+
if (message.resourceGroupId !== "")
|
|
3779
|
+
writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
1960
3780
|
let u = options.writeUnknownFields;
|
|
1961
3781
|
if (u !== false)
|
|
1962
3782
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1964,13 +3784,13 @@ class RestoreReplRequest$Type extends MessageType {
|
|
|
1964
3784
|
}
|
|
1965
3785
|
}
|
|
1966
3786
|
/**
|
|
1967
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
3787
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.RemoveTombstoneRequest
|
|
1968
3788
|
*/
|
|
1969
|
-
export const
|
|
3789
|
+
export const RemoveTombstoneRequest = new RemoveTombstoneRequest$Type();
|
|
1970
3790
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1971
|
-
class
|
|
3791
|
+
class RemoveTombstoneResponse$Type extends MessageType {
|
|
1972
3792
|
constructor() {
|
|
1973
|
-
super("replit.goval.api.lore.
|
|
3793
|
+
super("replit.goval.api.lore.RemoveTombstoneResponse", []);
|
|
1974
3794
|
}
|
|
1975
3795
|
create(value) {
|
|
1976
3796
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
@@ -2002,9 +3822,9 @@ class RestoreReplResponse$Type extends MessageType {
|
|
|
2002
3822
|
}
|
|
2003
3823
|
}
|
|
2004
3824
|
/**
|
|
2005
|
-
* @generated MessageType for protobuf message replit.goval.api.lore.
|
|
3825
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.RemoveTombstoneResponse
|
|
2006
3826
|
*/
|
|
2007
|
-
export const
|
|
3827
|
+
export const RemoveTombstoneResponse = new RemoveTombstoneResponse$Type();
|
|
2008
3828
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2009
3829
|
class BulkRemoveRequest$Type extends MessageType {
|
|
2010
3830
|
constructor() {
|
|
@@ -2094,12 +3914,14 @@ export const BulkRemoveResponse = new BulkRemoveResponse$Type();
|
|
|
2094
3914
|
class DeleteReplRequest$Type extends MessageType {
|
|
2095
3915
|
constructor() {
|
|
2096
3916
|
super("replit.goval.api.lore.DeleteReplRequest", [
|
|
2097
|
-
{ no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3917
|
+
{ no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3918
|
+
{ no: 2, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2098
3919
|
]);
|
|
2099
3920
|
}
|
|
2100
3921
|
create(value) {
|
|
2101
3922
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
2102
3923
|
message.replId = "";
|
|
3924
|
+
message.resourceGroupId = "";
|
|
2103
3925
|
if (value !== undefined)
|
|
2104
3926
|
reflectionMergePartial(this, message, value);
|
|
2105
3927
|
return message;
|
|
@@ -2112,6 +3934,9 @@ class DeleteReplRequest$Type extends MessageType {
|
|
|
2112
3934
|
case /* string repl_id */ 1:
|
|
2113
3935
|
message.replId = reader.string();
|
|
2114
3936
|
break;
|
|
3937
|
+
case /* string resource_group_id */ 2:
|
|
3938
|
+
message.resourceGroupId = reader.string();
|
|
3939
|
+
break;
|
|
2115
3940
|
default:
|
|
2116
3941
|
let u = options.readUnknownField;
|
|
2117
3942
|
if (u === "throw")
|
|
@@ -2127,6 +3952,9 @@ class DeleteReplRequest$Type extends MessageType {
|
|
|
2127
3952
|
/* string repl_id = 1; */
|
|
2128
3953
|
if (message.replId !== "")
|
|
2129
3954
|
writer.tag(1, WireType.LengthDelimited).string(message.replId);
|
|
3955
|
+
/* string resource_group_id = 2; */
|
|
3956
|
+
if (message.resourceGroupId !== "")
|
|
3957
|
+
writer.tag(2, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
2130
3958
|
let u = options.writeUnknownFields;
|
|
2131
3959
|
if (u !== false)
|
|
2132
3960
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2454,6 +4282,124 @@ class SetOrgHomeCellResponse$Type extends MessageType {
|
|
|
2454
4282
|
*/
|
|
2455
4283
|
export const SetOrgHomeCellResponse = new SetOrgHomeCellResponse$Type();
|
|
2456
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
|
|
2457
4403
|
class ExportReplRequest$Type extends MessageType {
|
|
2458
4404
|
constructor() {
|
|
2459
4405
|
super("replit.goval.api.lore.ExportReplRequest", [
|
|
@@ -2902,26 +4848,141 @@ class ImportReplResponse$Type extends MessageType {
|
|
|
2902
4848
|
* @generated MessageType for protobuf message replit.goval.api.lore.ImportReplResponse
|
|
2903
4849
|
*/
|
|
2904
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();
|
|
2905
4953
|
/**
|
|
2906
4954
|
* @generated ServiceType for protobuf service replit.goval.api.lore.Lore
|
|
2907
4955
|
*/
|
|
2908
4956
|
export const Lore = new ServiceType("replit.goval.api.lore.Lore", [
|
|
4957
|
+
{ name: "CreateSandbox", options: {}, I: CreateSandboxRequest, O: CreateSandboxResponse },
|
|
4958
|
+
{ name: "UpdateSandbox", options: {}, I: UpdateSandboxRequest, O: UpdateSandboxResponse },
|
|
4959
|
+
{ name: "GetSandboxConnectionInfo", options: {}, I: GetSandboxConnectionInfoRequest, O: GetSandboxConnectionInfoResponse },
|
|
2909
4960
|
{ name: "CreateResourceGroup", options: {}, I: CreateResourceGroupRequest, O: CreateResourceGroupResponse },
|
|
4961
|
+
{ name: "DeleteResourceGroup", options: {}, I: DeleteResourceGroupRequest, O: DeleteResourceGroupResponse },
|
|
2910
4962
|
{ name: "CreateAgent", options: {}, I: CreateAgentRequest, O: CreateAgentResponse },
|
|
2911
4963
|
{ name: "CreateRepl", options: {}, I: CreateReplRequest, O: CreateReplResponse },
|
|
2912
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 },
|
|
4968
|
+
{ name: "GetClusterByResourceGroup", options: {}, I: GetClusterByResourceGroupRequest, O: GetClusterByResourceGroupResponse },
|
|
4969
|
+
{ name: "BatchGetCellByResourceGroup", options: {}, I: BatchGetCellByResourceGroupRequest, O: BatchGetCellByResourceGroupResponse },
|
|
2913
4970
|
{ name: "GetReplConnectionInfo", options: {}, I: GetReplConnectionInfoRequest, O: GetReplConnectionInfoResponse },
|
|
2914
4971
|
{ name: "GetTransferStatus", options: {}, I: GetTransferStatusRequest, O: GetTransferStatusResponse },
|
|
4972
|
+
{ name: "TransferResourceGroup", options: {}, I: TransferResourceGroupRequest, O: TransferResourceGroupResponse },
|
|
2915
4973
|
{ name: "TransferRepls", options: {}, I: TransferReplsRequest, O: TransferReplsResponse },
|
|
2916
4974
|
{ name: "TransferUser", options: {}, I: TransferUserRequest, O: TransferUserResponse },
|
|
2917
4975
|
{ name: "TakedownRepl", options: {}, I: TakedownReplRequest, O: TakedownReplResponse },
|
|
2918
4976
|
{ name: "SoftTakedownRepl", options: {}, I: SoftTakedownReplRequest, O: SoftTakedownReplResponse },
|
|
2919
4977
|
{ name: "RestoreRepl", options: {}, I: RestoreReplRequest, O: RestoreReplResponse },
|
|
4978
|
+
{ name: "AddTombstone", options: {}, I: AddTombstoneRequest, O: AddTombstoneResponse },
|
|
4979
|
+
{ name: "RemoveTombstone", options: {}, I: RemoveTombstoneRequest, O: RemoveTombstoneResponse },
|
|
2920
4980
|
{ name: "BulkRemove", options: {}, I: BulkRemoveRequest, O: BulkRemoveResponse },
|
|
2921
4981
|
{ name: "DeleteRepl", options: {}, I: DeleteReplRequest, O: DeleteReplResponse },
|
|
2922
4982
|
{ name: "GetClusters", options: {}, I: GetClustersRequest, O: GetClustersResponse },
|
|
2923
4983
|
{ name: "GetOrgHomeCell", options: {}, I: GetOrgHomeCellRequest, O: GetOrgHomeCellResponse },
|
|
2924
4984
|
{ name: "SetOrgHomeCell", options: {}, I: SetOrgHomeCellRequest, O: SetOrgHomeCellResponse },
|
|
4985
|
+
{ name: "TransferOrgHomeCell", options: {}, I: TransferOrgHomeCellRequest, O: TransferOrgHomeCellResponse },
|
|
2925
4986
|
{ name: "TransferReplFromOfflineCluster", options: {}, I: TransferReplFromOfflineClusterRequest, O: TransferReplFromOfflineClusterResponse },
|
|
2926
4987
|
{ name: "ExportRepl", options: {}, I: ExportReplRequest, O: ExportReplResponse },
|
|
2927
4988
|
{ name: "ImportRepl", options: {}, I: ImportReplRequest, O: ImportReplResponse }
|