@aldiokta/protocgen 1.1.57 → 1.1.58
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
|
@@ -1855,7 +1855,7 @@ proto.BasePolicy.toObject = function(includeInstance, msg) {
|
|
|
1855
1855
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1856
1856
|
names: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1857
1857
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1858
|
-
|
|
1858
|
+
policiesItemsList: jspb.Message.toObjectList(msg.getPoliciesItemsList(),
|
|
1859
1859
|
proto.PolicyAction.toObject, includeInstance)
|
|
1860
1860
|
};
|
|
1861
1861
|
|
|
@@ -1908,7 +1908,7 @@ proto.BasePolicy.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1908
1908
|
case 4:
|
|
1909
1909
|
var value = new proto.PolicyAction;
|
|
1910
1910
|
reader.readMessage(value,proto.PolicyAction.deserializeBinaryFromReader);
|
|
1911
|
-
msg.
|
|
1911
|
+
msg.addPoliciesItems(value);
|
|
1912
1912
|
break;
|
|
1913
1913
|
default:
|
|
1914
1914
|
reader.skipField();
|
|
@@ -1960,7 +1960,7 @@ proto.BasePolicy.serializeBinaryToWriter = function(message, writer) {
|
|
|
1960
1960
|
f
|
|
1961
1961
|
);
|
|
1962
1962
|
}
|
|
1963
|
-
f = message.
|
|
1963
|
+
f = message.getPoliciesItemsList();
|
|
1964
1964
|
if (f.length > 0) {
|
|
1965
1965
|
writer.writeRepeatedMessage(
|
|
1966
1966
|
4,
|
|
@@ -2026,10 +2026,10 @@ proto.BasePolicy.prototype.setDescription = function(value) {
|
|
|
2026
2026
|
|
|
2027
2027
|
|
|
2028
2028
|
/**
|
|
2029
|
-
* repeated PolicyAction
|
|
2029
|
+
* repeated PolicyAction policies_items = 4;
|
|
2030
2030
|
* @return {!Array<!proto.PolicyAction>}
|
|
2031
2031
|
*/
|
|
2032
|
-
proto.BasePolicy.prototype.
|
|
2032
|
+
proto.BasePolicy.prototype.getPoliciesItemsList = function() {
|
|
2033
2033
|
return /** @type{!Array<!proto.PolicyAction>} */ (
|
|
2034
2034
|
jspb.Message.getRepeatedWrapperField(this, proto.PolicyAction, 4));
|
|
2035
2035
|
};
|
|
@@ -2039,7 +2039,7 @@ proto.BasePolicy.prototype.getPoliciesActionList = function() {
|
|
|
2039
2039
|
* @param {!Array<!proto.PolicyAction>} value
|
|
2040
2040
|
* @return {!proto.BasePolicy} returns this
|
|
2041
2041
|
*/
|
|
2042
|
-
proto.BasePolicy.prototype.
|
|
2042
|
+
proto.BasePolicy.prototype.setPoliciesItemsList = function(value) {
|
|
2043
2043
|
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
2044
2044
|
};
|
|
2045
2045
|
|
|
@@ -2049,7 +2049,7 @@ proto.BasePolicy.prototype.setPoliciesActionList = function(value) {
|
|
|
2049
2049
|
* @param {number=} opt_index
|
|
2050
2050
|
* @return {!proto.PolicyAction}
|
|
2051
2051
|
*/
|
|
2052
|
-
proto.BasePolicy.prototype.
|
|
2052
|
+
proto.BasePolicy.prototype.addPoliciesItems = function(opt_value, opt_index) {
|
|
2053
2053
|
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.PolicyAction, opt_index);
|
|
2054
2054
|
};
|
|
2055
2055
|
|
|
@@ -2058,8 +2058,8 @@ proto.BasePolicy.prototype.addPoliciesAction = function(opt_value, opt_index) {
|
|
|
2058
2058
|
* Clears the list making it empty but non-null.
|
|
2059
2059
|
* @return {!proto.BasePolicy} returns this
|
|
2060
2060
|
*/
|
|
2061
|
-
proto.BasePolicy.prototype.
|
|
2062
|
-
return this.
|
|
2061
|
+
proto.BasePolicy.prototype.clearPoliciesItemsList = function() {
|
|
2062
|
+
return this.setPoliciesItemsList([]);
|
|
2063
2063
|
};
|
|
2064
2064
|
|
|
2065
2065
|
|
|
@@ -2301,7 +2301,7 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
|
2301
2301
|
createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2302
2302
|
updatedBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2303
2303
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2304
|
-
|
|
2304
|
+
policiesItemsList: jspb.Message.toObjectList(msg.getPoliciesItemsList(),
|
|
2305
2305
|
proto.PolicyAction.toObject, includeInstance)
|
|
2306
2306
|
};
|
|
2307
2307
|
|
|
@@ -2378,7 +2378,7 @@ proto.Policy.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2378
2378
|
case 10:
|
|
2379
2379
|
var value = new proto.PolicyAction;
|
|
2380
2380
|
reader.readMessage(value,proto.PolicyAction.deserializeBinaryFromReader);
|
|
2381
|
-
msg.
|
|
2381
|
+
msg.addPoliciesItems(value);
|
|
2382
2382
|
break;
|
|
2383
2383
|
default:
|
|
2384
2384
|
reader.skipField();
|
|
@@ -2472,7 +2472,7 @@ proto.Policy.serializeBinaryToWriter = function(message, writer) {
|
|
|
2472
2472
|
f
|
|
2473
2473
|
);
|
|
2474
2474
|
}
|
|
2475
|
-
f = message.
|
|
2475
|
+
f = message.getPoliciesItemsList();
|
|
2476
2476
|
if (f.length > 0) {
|
|
2477
2477
|
writer.writeRepeatedMessage(
|
|
2478
2478
|
10,
|
|
@@ -2646,10 +2646,10 @@ proto.Policy.prototype.setCompaniesReferencesId = function(value) {
|
|
|
2646
2646
|
|
|
2647
2647
|
|
|
2648
2648
|
/**
|
|
2649
|
-
* repeated PolicyAction
|
|
2649
|
+
* repeated PolicyAction policies_items = 10;
|
|
2650
2650
|
* @return {!Array<!proto.PolicyAction>}
|
|
2651
2651
|
*/
|
|
2652
|
-
proto.Policy.prototype.
|
|
2652
|
+
proto.Policy.prototype.getPoliciesItemsList = function() {
|
|
2653
2653
|
return /** @type{!Array<!proto.PolicyAction>} */ (
|
|
2654
2654
|
jspb.Message.getRepeatedWrapperField(this, proto.PolicyAction, 10));
|
|
2655
2655
|
};
|
|
@@ -2659,7 +2659,7 @@ proto.Policy.prototype.getPoliciesActionsList = function() {
|
|
|
2659
2659
|
* @param {!Array<!proto.PolicyAction>} value
|
|
2660
2660
|
* @return {!proto.Policy} returns this
|
|
2661
2661
|
*/
|
|
2662
|
-
proto.Policy.prototype.
|
|
2662
|
+
proto.Policy.prototype.setPoliciesItemsList = function(value) {
|
|
2663
2663
|
return jspb.Message.setRepeatedWrapperField(this, 10, value);
|
|
2664
2664
|
};
|
|
2665
2665
|
|
|
@@ -2669,7 +2669,7 @@ proto.Policy.prototype.setPoliciesActionsList = function(value) {
|
|
|
2669
2669
|
* @param {number=} opt_index
|
|
2670
2670
|
* @return {!proto.PolicyAction}
|
|
2671
2671
|
*/
|
|
2672
|
-
proto.Policy.prototype.
|
|
2672
|
+
proto.Policy.prototype.addPoliciesItems = function(opt_value, opt_index) {
|
|
2673
2673
|
return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.PolicyAction, opt_index);
|
|
2674
2674
|
};
|
|
2675
2675
|
|
|
@@ -2678,8 +2678,8 @@ proto.Policy.prototype.addPoliciesActions = function(opt_value, opt_index) {
|
|
|
2678
2678
|
* Clears the list making it empty but non-null.
|
|
2679
2679
|
* @return {!proto.Policy} returns this
|
|
2680
2680
|
*/
|
|
2681
|
-
proto.Policy.prototype.
|
|
2682
|
-
return this.
|
|
2681
|
+
proto.Policy.prototype.clearPoliciesItemsList = function() {
|
|
2682
|
+
return this.setPoliciesItemsList([]);
|
|
2683
2683
|
};
|
|
2684
2684
|
|
|
2685
2685
|
|
|
@@ -2689,7 +2689,7 @@ proto.Policy.prototype.clearPoliciesActionsList = function() {
|
|
|
2689
2689
|
* @private {!Array<number>}
|
|
2690
2690
|
* @const
|
|
2691
2691
|
*/
|
|
2692
|
-
proto.PolicyAction.repeatedFields_ = [11];
|
|
2692
|
+
proto.PolicyAction.repeatedFields_ = [11,12];
|
|
2693
2693
|
|
|
2694
2694
|
|
|
2695
2695
|
|
|
@@ -2734,7 +2734,8 @@ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
|
2734
2734
|
resourceReferencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2735
2735
|
actionsList: jspb.Message.toObjectList(msg.getActionsList(),
|
|
2736
2736
|
proto.Action.toObject, includeInstance),
|
|
2737
|
-
|
|
2737
|
+
resourceList: jspb.Message.toObjectList(msg.getResourceList(),
|
|
2738
|
+
proto.ResourceFilter.toObject, includeInstance)
|
|
2738
2739
|
};
|
|
2739
2740
|
|
|
2740
2741
|
if (includeInstance) {
|
|
@@ -2817,9 +2818,9 @@ proto.PolicyAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2817
2818
|
msg.addActions(value);
|
|
2818
2819
|
break;
|
|
2819
2820
|
case 12:
|
|
2820
|
-
var value = new proto.
|
|
2821
|
-
reader.readMessage(value,proto.
|
|
2822
|
-
msg.
|
|
2821
|
+
var value = new proto.ResourceFilter;
|
|
2822
|
+
reader.readMessage(value,proto.ResourceFilter.deserializeBinaryFromReader);
|
|
2823
|
+
msg.addResource(value);
|
|
2823
2824
|
break;
|
|
2824
2825
|
default:
|
|
2825
2826
|
reader.skipField();
|
|
@@ -2928,12 +2929,12 @@ proto.PolicyAction.serializeBinaryToWriter = function(message, writer) {
|
|
|
2928
2929
|
proto.Action.serializeBinaryToWriter
|
|
2929
2930
|
);
|
|
2930
2931
|
}
|
|
2931
|
-
f = message.
|
|
2932
|
-
if (f
|
|
2933
|
-
writer.
|
|
2932
|
+
f = message.getResourceList();
|
|
2933
|
+
if (f.length > 0) {
|
|
2934
|
+
writer.writeRepeatedMessage(
|
|
2934
2935
|
12,
|
|
2935
2936
|
f,
|
|
2936
|
-
proto.
|
|
2937
|
+
proto.ResourceFilter.serializeBinaryToWriter
|
|
2937
2938
|
);
|
|
2938
2939
|
}
|
|
2939
2940
|
};
|
|
@@ -3158,39 +3159,40 @@ proto.PolicyAction.prototype.clearActionsList = function() {
|
|
|
3158
3159
|
|
|
3159
3160
|
|
|
3160
3161
|
/**
|
|
3161
|
-
*
|
|
3162
|
-
* @return {
|
|
3162
|
+
* repeated ResourceFilter resource = 12;
|
|
3163
|
+
* @return {!Array<!proto.ResourceFilter>}
|
|
3163
3164
|
*/
|
|
3164
|
-
proto.PolicyAction.prototype.
|
|
3165
|
-
return /** @type{
|
|
3166
|
-
jspb.Message.
|
|
3165
|
+
proto.PolicyAction.prototype.getResourceList = function() {
|
|
3166
|
+
return /** @type{!Array<!proto.ResourceFilter>} */ (
|
|
3167
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ResourceFilter, 12));
|
|
3167
3168
|
};
|
|
3168
3169
|
|
|
3169
3170
|
|
|
3170
3171
|
/**
|
|
3171
|
-
* @param {
|
|
3172
|
+
* @param {!Array<!proto.ResourceFilter>} value
|
|
3172
3173
|
* @return {!proto.PolicyAction} returns this
|
|
3173
3174
|
*/
|
|
3174
|
-
proto.PolicyAction.prototype.
|
|
3175
|
-
return jspb.Message.
|
|
3175
|
+
proto.PolicyAction.prototype.setResourceList = function(value) {
|
|
3176
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
3176
3177
|
};
|
|
3177
3178
|
|
|
3178
3179
|
|
|
3179
3180
|
/**
|
|
3180
|
-
*
|
|
3181
|
-
* @
|
|
3181
|
+
* @param {!proto.ResourceFilter=} opt_value
|
|
3182
|
+
* @param {number=} opt_index
|
|
3183
|
+
* @return {!proto.ResourceFilter}
|
|
3182
3184
|
*/
|
|
3183
|
-
proto.PolicyAction.prototype.
|
|
3184
|
-
return this.
|
|
3185
|
+
proto.PolicyAction.prototype.addResource = function(opt_value, opt_index) {
|
|
3186
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.ResourceFilter, opt_index);
|
|
3185
3187
|
};
|
|
3186
3188
|
|
|
3187
3189
|
|
|
3188
3190
|
/**
|
|
3189
|
-
*
|
|
3190
|
-
* @return {
|
|
3191
|
+
* Clears the list making it empty but non-null.
|
|
3192
|
+
* @return {!proto.PolicyAction} returns this
|
|
3191
3193
|
*/
|
|
3192
|
-
proto.PolicyAction.prototype.
|
|
3193
|
-
return
|
|
3194
|
+
proto.PolicyAction.prototype.clearResourceList = function() {
|
|
3195
|
+
return this.setResourceList([]);
|
|
3194
3196
|
};
|
|
3195
3197
|
|
|
3196
3198
|
|