protobuf-platform 1.0.46 → 1.0.47
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 +1 -1
- package/user/user.proto +1 -0
- package/user/user_pb.js +31 -1
package/package.json
CHANGED
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
@@ -1993,7 +1993,8 @@ proto.user.RolePermissionRequest.toObject = function(includeInstance, msg) {
|
|
1993
1993
|
sectionOne: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1994
1994
|
sectionTwo: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1995
1995
|
sectionThree: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
1996
|
-
actionName: jspb.Message.getFieldWithDefault(msg, 5, "")
|
1996
|
+
actionName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
1997
|
+
actionValue: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
1997
1998
|
};
|
1998
1999
|
|
1999
2000
|
if (includeInstance) {
|
@@ -2050,6 +2051,10 @@ proto.user.RolePermissionRequest.deserializeBinaryFromReader = function(msg, rea
|
|
2050
2051
|
var value = /** @type {string} */ (reader.readString());
|
2051
2052
|
msg.setActionName(value);
|
2052
2053
|
break;
|
2054
|
+
case 6:
|
2055
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2056
|
+
msg.setActionValue(value);
|
2057
|
+
break;
|
2053
2058
|
default:
|
2054
2059
|
reader.skipField();
|
2055
2060
|
break;
|
@@ -2114,6 +2119,13 @@ proto.user.RolePermissionRequest.serializeBinaryToWriter = function(message, wri
|
|
2114
2119
|
f
|
2115
2120
|
);
|
2116
2121
|
}
|
2122
|
+
f = message.getActionValue();
|
2123
|
+
if (f !== 0) {
|
2124
|
+
writer.writeInt32(
|
2125
|
+
6,
|
2126
|
+
f
|
2127
|
+
);
|
2128
|
+
}
|
2117
2129
|
};
|
2118
2130
|
|
2119
2131
|
|
@@ -2243,6 +2255,24 @@ proto.user.RolePermissionRequest.prototype.setActionName = function(value) {
|
|
2243
2255
|
};
|
2244
2256
|
|
2245
2257
|
|
2258
|
+
/**
|
2259
|
+
* optional int32 action_value = 6;
|
2260
|
+
* @return {number}
|
2261
|
+
*/
|
2262
|
+
proto.user.RolePermissionRequest.prototype.getActionValue = function() {
|
2263
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
2264
|
+
};
|
2265
|
+
|
2266
|
+
|
2267
|
+
/**
|
2268
|
+
* @param {number} value
|
2269
|
+
* @return {!proto.user.RolePermissionRequest} returns this
|
2270
|
+
*/
|
2271
|
+
proto.user.RolePermissionRequest.prototype.setActionValue = function(value) {
|
2272
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
2273
|
+
};
|
2274
|
+
|
2275
|
+
|
2246
2276
|
|
2247
2277
|
|
2248
2278
|
|