@aldiokta/protocgen 1.0.85 → 1.0.86
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/package.json
CHANGED
|
@@ -2269,7 +2269,7 @@ proto.Resource.prototype.setReferencesId = function(value) {
|
|
|
2269
2269
|
* @private {!Array<number>}
|
|
2270
2270
|
* @const
|
|
2271
2271
|
*/
|
|
2272
|
-
proto.Action.repeatedFields_ = [
|
|
2272
|
+
proto.Action.repeatedFields_ = [5];
|
|
2273
2273
|
|
|
2274
2274
|
|
|
2275
2275
|
|
|
@@ -2304,7 +2304,9 @@ proto.Action.toObject = function(includeInstance, msg) {
|
|
|
2304
2304
|
var f, obj = {
|
|
2305
2305
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2306
2306
|
referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2307
|
-
|
|
2307
|
+
catalogReferencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2308
|
+
actionCatalog: (f = msg.getActionCatalog()) && proto.ActionCatalog.toObject(includeInstance, f),
|
|
2309
|
+
resourcesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
2308
2310
|
};
|
|
2309
2311
|
|
|
2310
2312
|
if (includeInstance) {
|
|
@@ -2350,6 +2352,15 @@ proto.Action.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2350
2352
|
msg.setReferencesId(value);
|
|
2351
2353
|
break;
|
|
2352
2354
|
case 3:
|
|
2355
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2356
|
+
msg.setCatalogReferencesId(value);
|
|
2357
|
+
break;
|
|
2358
|
+
case 4:
|
|
2359
|
+
var value = new proto.ActionCatalog;
|
|
2360
|
+
reader.readMessage(value,proto.ActionCatalog.deserializeBinaryFromReader);
|
|
2361
|
+
msg.setActionCatalog(value);
|
|
2362
|
+
break;
|
|
2363
|
+
case 5:
|
|
2353
2364
|
var value = /** @type {string} */ (reader.readString());
|
|
2354
2365
|
msg.addResources(value);
|
|
2355
2366
|
break;
|
|
@@ -2396,10 +2407,25 @@ proto.Action.serializeBinaryToWriter = function(message, writer) {
|
|
|
2396
2407
|
f
|
|
2397
2408
|
);
|
|
2398
2409
|
}
|
|
2410
|
+
f = message.getCatalogReferencesId();
|
|
2411
|
+
if (f.length > 0) {
|
|
2412
|
+
writer.writeString(
|
|
2413
|
+
3,
|
|
2414
|
+
f
|
|
2415
|
+
);
|
|
2416
|
+
}
|
|
2417
|
+
f = message.getActionCatalog();
|
|
2418
|
+
if (f != null) {
|
|
2419
|
+
writer.writeMessage(
|
|
2420
|
+
4,
|
|
2421
|
+
f,
|
|
2422
|
+
proto.ActionCatalog.serializeBinaryToWriter
|
|
2423
|
+
);
|
|
2424
|
+
}
|
|
2399
2425
|
f = message.getResourcesList();
|
|
2400
2426
|
if (f.length > 0) {
|
|
2401
2427
|
writer.writeRepeatedString(
|
|
2402
|
-
|
|
2428
|
+
5,
|
|
2403
2429
|
f
|
|
2404
2430
|
);
|
|
2405
2431
|
}
|
|
@@ -2443,11 +2469,66 @@ proto.Action.prototype.setReferencesId = function(value) {
|
|
|
2443
2469
|
|
|
2444
2470
|
|
|
2445
2471
|
/**
|
|
2446
|
-
*
|
|
2472
|
+
* optional string catalog_references_id = 3;
|
|
2473
|
+
* @return {string}
|
|
2474
|
+
*/
|
|
2475
|
+
proto.Action.prototype.getCatalogReferencesId = function() {
|
|
2476
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2477
|
+
};
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* @param {string} value
|
|
2482
|
+
* @return {!proto.Action} returns this
|
|
2483
|
+
*/
|
|
2484
|
+
proto.Action.prototype.setCatalogReferencesId = function(value) {
|
|
2485
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2486
|
+
};
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* optional ActionCatalog action_catalog = 4;
|
|
2491
|
+
* @return {?proto.ActionCatalog}
|
|
2492
|
+
*/
|
|
2493
|
+
proto.Action.prototype.getActionCatalog = function() {
|
|
2494
|
+
return /** @type{?proto.ActionCatalog} */ (
|
|
2495
|
+
jspb.Message.getWrapperField(this, proto.ActionCatalog, 4));
|
|
2496
|
+
};
|
|
2497
|
+
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* @param {?proto.ActionCatalog|undefined} value
|
|
2501
|
+
* @return {!proto.Action} returns this
|
|
2502
|
+
*/
|
|
2503
|
+
proto.Action.prototype.setActionCatalog = function(value) {
|
|
2504
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2505
|
+
};
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* Clears the message field making it undefined.
|
|
2510
|
+
* @return {!proto.Action} returns this
|
|
2511
|
+
*/
|
|
2512
|
+
proto.Action.prototype.clearActionCatalog = function() {
|
|
2513
|
+
return this.setActionCatalog(undefined);
|
|
2514
|
+
};
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
/**
|
|
2518
|
+
* Returns whether this field is set.
|
|
2519
|
+
* @return {boolean}
|
|
2520
|
+
*/
|
|
2521
|
+
proto.Action.prototype.hasActionCatalog = function() {
|
|
2522
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2523
|
+
};
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* repeated string resources = 5;
|
|
2447
2528
|
* @return {!Array<string>}
|
|
2448
2529
|
*/
|
|
2449
2530
|
proto.Action.prototype.getResourcesList = function() {
|
|
2450
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
2531
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
2451
2532
|
};
|
|
2452
2533
|
|
|
2453
2534
|
|
|
@@ -2456,7 +2537,7 @@ proto.Action.prototype.getResourcesList = function() {
|
|
|
2456
2537
|
* @return {!proto.Action} returns this
|
|
2457
2538
|
*/
|
|
2458
2539
|
proto.Action.prototype.setResourcesList = function(value) {
|
|
2459
|
-
return jspb.Message.setField(this,
|
|
2540
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
2460
2541
|
};
|
|
2461
2542
|
|
|
2462
2543
|
|
|
@@ -2466,7 +2547,7 @@ proto.Action.prototype.setResourcesList = function(value) {
|
|
|
2466
2547
|
* @return {!proto.Action} returns this
|
|
2467
2548
|
*/
|
|
2468
2549
|
proto.Action.prototype.addResources = function(value, opt_index) {
|
|
2469
|
-
return jspb.Message.addToRepeatedField(this,
|
|
2550
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
2470
2551
|
};
|
|
2471
2552
|
|
|
2472
2553
|
|
|
@@ -2512,7 +2593,8 @@ proto.ActionCatalog.prototype.toObject = function(opt_includeInstance) {
|
|
|
2512
2593
|
proto.ActionCatalog.toObject = function(includeInstance, msg) {
|
|
2513
2594
|
var f, obj = {
|
|
2514
2595
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2515
|
-
|
|
2596
|
+
alias: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2597
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2516
2598
|
};
|
|
2517
2599
|
|
|
2518
2600
|
if (includeInstance) {
|
|
@@ -2554,6 +2636,10 @@ proto.ActionCatalog.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2554
2636
|
msg.setName(value);
|
|
2555
2637
|
break;
|
|
2556
2638
|
case 2:
|
|
2639
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2640
|
+
msg.setAlias(value);
|
|
2641
|
+
break;
|
|
2642
|
+
case 3:
|
|
2557
2643
|
var value = /** @type {string} */ (reader.readString());
|
|
2558
2644
|
msg.setReferencesId(value);
|
|
2559
2645
|
break;
|
|
@@ -2593,13 +2679,20 @@ proto.ActionCatalog.serializeBinaryToWriter = function(message, writer) {
|
|
|
2593
2679
|
f
|
|
2594
2680
|
);
|
|
2595
2681
|
}
|
|
2596
|
-
f = message.
|
|
2682
|
+
f = message.getAlias();
|
|
2597
2683
|
if (f.length > 0) {
|
|
2598
2684
|
writer.writeString(
|
|
2599
2685
|
2,
|
|
2600
2686
|
f
|
|
2601
2687
|
);
|
|
2602
2688
|
}
|
|
2689
|
+
f = message.getReferencesId();
|
|
2690
|
+
if (f.length > 0) {
|
|
2691
|
+
writer.writeString(
|
|
2692
|
+
3,
|
|
2693
|
+
f
|
|
2694
|
+
);
|
|
2695
|
+
}
|
|
2603
2696
|
};
|
|
2604
2697
|
|
|
2605
2698
|
|
|
@@ -2622,10 +2715,10 @@ proto.ActionCatalog.prototype.setName = function(value) {
|
|
|
2622
2715
|
|
|
2623
2716
|
|
|
2624
2717
|
/**
|
|
2625
|
-
* optional string
|
|
2718
|
+
* optional string alias = 2;
|
|
2626
2719
|
* @return {string}
|
|
2627
2720
|
*/
|
|
2628
|
-
proto.ActionCatalog.prototype.
|
|
2721
|
+
proto.ActionCatalog.prototype.getAlias = function() {
|
|
2629
2722
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2630
2723
|
};
|
|
2631
2724
|
|
|
@@ -2634,11 +2727,29 @@ proto.ActionCatalog.prototype.getReferencesId = function() {
|
|
|
2634
2727
|
* @param {string} value
|
|
2635
2728
|
* @return {!proto.ActionCatalog} returns this
|
|
2636
2729
|
*/
|
|
2637
|
-
proto.ActionCatalog.prototype.
|
|
2730
|
+
proto.ActionCatalog.prototype.setAlias = function(value) {
|
|
2638
2731
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2639
2732
|
};
|
|
2640
2733
|
|
|
2641
2734
|
|
|
2735
|
+
/**
|
|
2736
|
+
* optional string references_id = 3;
|
|
2737
|
+
* @return {string}
|
|
2738
|
+
*/
|
|
2739
|
+
proto.ActionCatalog.prototype.getReferencesId = function() {
|
|
2740
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* @param {string} value
|
|
2746
|
+
* @return {!proto.ActionCatalog} returns this
|
|
2747
|
+
*/
|
|
2748
|
+
proto.ActionCatalog.prototype.setReferencesId = function(value) {
|
|
2749
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2750
|
+
};
|
|
2751
|
+
|
|
2752
|
+
|
|
2642
2753
|
|
|
2643
2754
|
|
|
2644
2755
|
|