@aldiokta/protocgen 1.1.51 → 1.1.53
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/prisca/v1/bidding/bidding_grpc_pb.js +23 -0
- package/prisca/v1/bidding/bidding_pb.js +463 -2
- package/prisca/v1/budget/budget_grpc_pb.js +213 -0
- package/prisca/v1/budget/budget_pb.js +3008 -0
- package/prisca/v1/budget_activity/budget_activity_grpc_pb.js +212 -0
- package/prisca/v1/budget_activity/budget_activity_pb.js +2886 -0
- package/prisca/v1/budget_categories/budget_categories_grpc_pb.js +212 -0
- package/prisca/v1/budget_categories/budget_categories_pb.js +2916 -0
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +214 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +3682 -0
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
- package/prisca/v1/business_fields/business_fields_pb.js +356 -0
- package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
- package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +1758 -19
- package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
- package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
- package/prisca/v1/core/auth/auth_pb.js +152 -0
- package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
- package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +14 -3
- package/prisca/v1/core/employee/employee_pb.js +203 -0
- package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
- package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +102 -12
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
- package/prisca/v1/core/material/material_grpc_pb.js +2 -0
- package/prisca/v1/core/material/material_pb.js +420 -2
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
- package/prisca/v1/core/messaging/email_template_pb.js +385 -0
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
- package/prisca/v1/core/number_range/number_range_pb.js +385 -0
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/core/tax_code/tax_code_pb.js +14 -14
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
- package/prisca/v1/core/users/users_grpc_pb.js +1 -0
- package/prisca/v1/core/users/users_pb.js +2 -0
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +36 -6
- package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +717 -29
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +112 -57
- package/prisca/v1/quotation/quotation_pb.js +55 -2
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +1365 -0
|
@@ -21,6 +21,9 @@ var prisca_v1_core_users_users_pb = require('../../../../prisca/v1/core/users/us
|
|
|
21
21
|
goog.object.extend(proto, prisca_v1_core_users_users_pb);
|
|
22
22
|
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
23
23
|
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
24
|
+
goog.exportSymbol('proto.AccessIdentityProvider', null, global);
|
|
25
|
+
goog.exportSymbol('proto.AccessIdentityProviderReq', null, global);
|
|
26
|
+
goog.exportSymbol('proto.AccessIdentityProviderResponse', null, global);
|
|
24
27
|
goog.exportSymbol('proto.Action', null, global);
|
|
25
28
|
goog.exportSymbol('proto.ActionCatalog', null, global);
|
|
26
29
|
goog.exportSymbol('proto.ActionList', null, global);
|
|
@@ -31,12 +34,15 @@ goog.exportSymbol('proto.AssignRoleToUserRequest', null, global);
|
|
|
31
34
|
goog.exportSymbol('proto.AssignRoleToUserResponse', null, global);
|
|
32
35
|
goog.exportSymbol('proto.AuthorizeUserReq', null, global);
|
|
33
36
|
goog.exportSymbol('proto.AuthorizeUserRes', null, global);
|
|
37
|
+
goog.exportSymbol('proto.BaseAccessIdentityProvider', null, global);
|
|
34
38
|
goog.exportSymbol('proto.BasePolicy', null, global);
|
|
35
39
|
goog.exportSymbol('proto.BaseRole', null, global);
|
|
36
40
|
goog.exportSymbol('proto.CreatePolicyRequest', null, global);
|
|
37
41
|
goog.exportSymbol('proto.CreatePolicyResponse', null, global);
|
|
38
42
|
goog.exportSymbol('proto.CreateRoleRequest', null, global);
|
|
43
|
+
goog.exportSymbol('proto.CreateRoleRequestDefault', null, global);
|
|
39
44
|
goog.exportSymbol('proto.CreateRoleResponse', null, global);
|
|
45
|
+
goog.exportSymbol('proto.CreateRoleResponseDefault', null, global);
|
|
40
46
|
goog.exportSymbol('proto.DeletePolicyRequest', null, global);
|
|
41
47
|
goog.exportSymbol('proto.DeletePolicyResponse', null, global);
|
|
42
48
|
goog.exportSymbol('proto.DeleteRoleRequest', null, global);
|
|
@@ -62,6 +68,7 @@ goog.exportSymbol('proto.PoliciesResponse', null, global);
|
|
|
62
68
|
goog.exportSymbol('proto.Policy', null, global);
|
|
63
69
|
goog.exportSymbol('proto.PolicyAction', null, global);
|
|
64
70
|
goog.exportSymbol('proto.Resource', null, global);
|
|
71
|
+
goog.exportSymbol('proto.ResourceFilter', null, global);
|
|
65
72
|
goog.exportSymbol('proto.Role', null, global);
|
|
66
73
|
goog.exportSymbol('proto.RolePolicy', null, global);
|
|
67
74
|
goog.exportSymbol('proto.Statement', null, global);
|
|
@@ -270,7 +277,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
270
277
|
* @constructor
|
|
271
278
|
*/
|
|
272
279
|
proto.Resource = function(opt_data) {
|
|
273
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
280
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Resource.repeatedFields_, null);
|
|
274
281
|
};
|
|
275
282
|
goog.inherits(proto.Resource, jspb.Message);
|
|
276
283
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -280,6 +287,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
280
287
|
*/
|
|
281
288
|
proto.Resource.displayName = 'proto.Resource';
|
|
282
289
|
}
|
|
290
|
+
/**
|
|
291
|
+
* Generated by JsPbCodeGenerator.
|
|
292
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
293
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
294
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
295
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
296
|
+
* valid.
|
|
297
|
+
* @extends {jspb.Message}
|
|
298
|
+
* @constructor
|
|
299
|
+
*/
|
|
300
|
+
proto.ResourceFilter = function(opt_data) {
|
|
301
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
302
|
+
};
|
|
303
|
+
goog.inherits(proto.ResourceFilter, jspb.Message);
|
|
304
|
+
if (goog.DEBUG && !COMPILED) {
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
* @override
|
|
308
|
+
*/
|
|
309
|
+
proto.ResourceFilter.displayName = 'proto.ResourceFilter';
|
|
310
|
+
}
|
|
283
311
|
/**
|
|
284
312
|
* Generated by JsPbCodeGenerator.
|
|
285
313
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1078,6 +1106,132 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1078
1106
|
*/
|
|
1079
1107
|
proto.AssignRoleToUserResponse.displayName = 'proto.AssignRoleToUserResponse';
|
|
1080
1108
|
}
|
|
1109
|
+
/**
|
|
1110
|
+
* Generated by JsPbCodeGenerator.
|
|
1111
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1112
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1113
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1114
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1115
|
+
* valid.
|
|
1116
|
+
* @extends {jspb.Message}
|
|
1117
|
+
* @constructor
|
|
1118
|
+
*/
|
|
1119
|
+
proto.CreateRoleRequestDefault = function(opt_data) {
|
|
1120
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1121
|
+
};
|
|
1122
|
+
goog.inherits(proto.CreateRoleRequestDefault, jspb.Message);
|
|
1123
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1124
|
+
/**
|
|
1125
|
+
* @public
|
|
1126
|
+
* @override
|
|
1127
|
+
*/
|
|
1128
|
+
proto.CreateRoleRequestDefault.displayName = 'proto.CreateRoleRequestDefault';
|
|
1129
|
+
}
|
|
1130
|
+
/**
|
|
1131
|
+
* Generated by JsPbCodeGenerator.
|
|
1132
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1133
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1134
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1135
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1136
|
+
* valid.
|
|
1137
|
+
* @extends {jspb.Message}
|
|
1138
|
+
* @constructor
|
|
1139
|
+
*/
|
|
1140
|
+
proto.CreateRoleResponseDefault = function(opt_data) {
|
|
1141
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.CreateRoleResponseDefault.repeatedFields_, null);
|
|
1142
|
+
};
|
|
1143
|
+
goog.inherits(proto.CreateRoleResponseDefault, jspb.Message);
|
|
1144
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1145
|
+
/**
|
|
1146
|
+
* @public
|
|
1147
|
+
* @override
|
|
1148
|
+
*/
|
|
1149
|
+
proto.CreateRoleResponseDefault.displayName = 'proto.CreateRoleResponseDefault';
|
|
1150
|
+
}
|
|
1151
|
+
/**
|
|
1152
|
+
* Generated by JsPbCodeGenerator.
|
|
1153
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1154
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1155
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1156
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1157
|
+
* valid.
|
|
1158
|
+
* @extends {jspb.Message}
|
|
1159
|
+
* @constructor
|
|
1160
|
+
*/
|
|
1161
|
+
proto.AccessIdentityProvider = function(opt_data) {
|
|
1162
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1163
|
+
};
|
|
1164
|
+
goog.inherits(proto.AccessIdentityProvider, jspb.Message);
|
|
1165
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1166
|
+
/**
|
|
1167
|
+
* @public
|
|
1168
|
+
* @override
|
|
1169
|
+
*/
|
|
1170
|
+
proto.AccessIdentityProvider.displayName = 'proto.AccessIdentityProvider';
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* Generated by JsPbCodeGenerator.
|
|
1174
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1175
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1176
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1177
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1178
|
+
* valid.
|
|
1179
|
+
* @extends {jspb.Message}
|
|
1180
|
+
* @constructor
|
|
1181
|
+
*/
|
|
1182
|
+
proto.BaseAccessIdentityProvider = function(opt_data) {
|
|
1183
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1184
|
+
};
|
|
1185
|
+
goog.inherits(proto.BaseAccessIdentityProvider, jspb.Message);
|
|
1186
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1187
|
+
/**
|
|
1188
|
+
* @public
|
|
1189
|
+
* @override
|
|
1190
|
+
*/
|
|
1191
|
+
proto.BaseAccessIdentityProvider.displayName = 'proto.BaseAccessIdentityProvider';
|
|
1192
|
+
}
|
|
1193
|
+
/**
|
|
1194
|
+
* Generated by JsPbCodeGenerator.
|
|
1195
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1196
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1197
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1198
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1199
|
+
* valid.
|
|
1200
|
+
* @extends {jspb.Message}
|
|
1201
|
+
* @constructor
|
|
1202
|
+
*/
|
|
1203
|
+
proto.AccessIdentityProviderReq = function(opt_data) {
|
|
1204
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.AccessIdentityProviderReq.repeatedFields_, null);
|
|
1205
|
+
};
|
|
1206
|
+
goog.inherits(proto.AccessIdentityProviderReq, jspb.Message);
|
|
1207
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1208
|
+
/**
|
|
1209
|
+
* @public
|
|
1210
|
+
* @override
|
|
1211
|
+
*/
|
|
1212
|
+
proto.AccessIdentityProviderReq.displayName = 'proto.AccessIdentityProviderReq';
|
|
1213
|
+
}
|
|
1214
|
+
/**
|
|
1215
|
+
* Generated by JsPbCodeGenerator.
|
|
1216
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1217
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1218
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1219
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1220
|
+
* valid.
|
|
1221
|
+
* @extends {jspb.Message}
|
|
1222
|
+
* @constructor
|
|
1223
|
+
*/
|
|
1224
|
+
proto.AccessIdentityProviderResponse = function(opt_data) {
|
|
1225
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.AccessIdentityProviderResponse.repeatedFields_, null);
|
|
1226
|
+
};
|
|
1227
|
+
goog.inherits(proto.AccessIdentityProviderResponse, jspb.Message);
|
|
1228
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1229
|
+
/**
|
|
1230
|
+
* @public
|
|
1231
|
+
* @override
|
|
1232
|
+
*/
|
|
1233
|
+
proto.AccessIdentityProviderResponse.displayName = 'proto.AccessIdentityProviderResponse';
|
|
1234
|
+
}
|
|
1081
1235
|
|
|
1082
1236
|
/**
|
|
1083
1237
|
* List of repeated fields within this message type.
|
|
@@ -1459,7 +1613,8 @@ proto.Statement.toObject = function(includeInstance, msg) {
|
|
|
1459
1613
|
var f, obj = {
|
|
1460
1614
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1461
1615
|
actionsList: jspb.Message.toObjectList(msg.getActionsList(),
|
|
1462
|
-
proto.Action.toObject, includeInstance)
|
|
1616
|
+
proto.Action.toObject, includeInstance),
|
|
1617
|
+
resources: (f = msg.getResources()) && proto.Resource.toObject(includeInstance, f)
|
|
1463
1618
|
};
|
|
1464
1619
|
|
|
1465
1620
|
if (includeInstance) {
|
|
@@ -1505,6 +1660,11 @@ proto.Statement.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1505
1660
|
reader.readMessage(value,proto.Action.deserializeBinaryFromReader);
|
|
1506
1661
|
msg.addActions(value);
|
|
1507
1662
|
break;
|
|
1663
|
+
case 3:
|
|
1664
|
+
var value = new proto.Resource;
|
|
1665
|
+
reader.readMessage(value,proto.Resource.deserializeBinaryFromReader);
|
|
1666
|
+
msg.setResources(value);
|
|
1667
|
+
break;
|
|
1508
1668
|
default:
|
|
1509
1669
|
reader.skipField();
|
|
1510
1670
|
break;
|
|
@@ -1549,6 +1709,14 @@ proto.Statement.serializeBinaryToWriter = function(message, writer) {
|
|
|
1549
1709
|
proto.Action.serializeBinaryToWriter
|
|
1550
1710
|
);
|
|
1551
1711
|
}
|
|
1712
|
+
f = message.getResources();
|
|
1713
|
+
if (f != null) {
|
|
1714
|
+
writer.writeMessage(
|
|
1715
|
+
3,
|
|
1716
|
+
f,
|
|
1717
|
+
proto.Resource.serializeBinaryToWriter
|
|
1718
|
+
);
|
|
1719
|
+
}
|
|
1552
1720
|
};
|
|
1553
1721
|
|
|
1554
1722
|
|
|
@@ -1608,6 +1776,43 @@ proto.Statement.prototype.clearActionsList = function() {
|
|
|
1608
1776
|
};
|
|
1609
1777
|
|
|
1610
1778
|
|
|
1779
|
+
/**
|
|
1780
|
+
* optional Resource resources = 3;
|
|
1781
|
+
* @return {?proto.Resource}
|
|
1782
|
+
*/
|
|
1783
|
+
proto.Statement.prototype.getResources = function() {
|
|
1784
|
+
return /** @type{?proto.Resource} */ (
|
|
1785
|
+
jspb.Message.getWrapperField(this, proto.Resource, 3));
|
|
1786
|
+
};
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* @param {?proto.Resource|undefined} value
|
|
1791
|
+
* @return {!proto.Statement} returns this
|
|
1792
|
+
*/
|
|
1793
|
+
proto.Statement.prototype.setResources = function(value) {
|
|
1794
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1795
|
+
};
|
|
1796
|
+
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
* Clears the message field making it undefined.
|
|
1800
|
+
* @return {!proto.Statement} returns this
|
|
1801
|
+
*/
|
|
1802
|
+
proto.Statement.prototype.clearResources = function() {
|
|
1803
|
+
return this.setResources(undefined);
|
|
1804
|
+
};
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* Returns whether this field is set.
|
|
1809
|
+
* @return {boolean}
|
|
1810
|
+
*/
|
|
1811
|
+
proto.Statement.prototype.hasResources = function() {
|
|
1812
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1813
|
+
};
|
|
1814
|
+
|
|
1815
|
+
|
|
1611
1816
|
|
|
1612
1817
|
/**
|
|
1613
1818
|
* List of repeated fields within this message type.
|
|
@@ -1651,7 +1856,8 @@ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
|
1651
1856
|
names: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1652
1857
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1653
1858
|
policiesActionList: jspb.Message.toObjectList(msg.getPoliciesActionList(),
|
|
1654
|
-
proto.PolicyAction.toObject, includeInstance)
|
|
1859
|
+
proto.PolicyAction.toObject, includeInstance),
|
|
1860
|
+
resources: (f = msg.getResources()) && proto.Resource.toObject(includeInstance, f)
|
|
1655
1861
|
};
|
|
1656
1862
|
|
|
1657
1863
|
if (includeInstance) {
|
|
@@ -1705,6 +1911,11 @@ proto.BasePolicy.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1705
1911
|
reader.readMessage(value,proto.PolicyAction.deserializeBinaryFromReader);
|
|
1706
1912
|
msg.addPoliciesAction(value);
|
|
1707
1913
|
break;
|
|
1914
|
+
case 5:
|
|
1915
|
+
var value = new proto.Resource;
|
|
1916
|
+
reader.readMessage(value,proto.Resource.deserializeBinaryFromReader);
|
|
1917
|
+
msg.setResources(value);
|
|
1918
|
+
break;
|
|
1708
1919
|
default:
|
|
1709
1920
|
reader.skipField();
|
|
1710
1921
|
break;
|
|
@@ -1763,6 +1974,14 @@ proto.BasePolicy.serializeBinaryToWriter = function(message, writer) {
|
|
|
1763
1974
|
proto.PolicyAction.serializeBinaryToWriter
|
|
1764
1975
|
);
|
|
1765
1976
|
}
|
|
1977
|
+
f = message.getResources();
|
|
1978
|
+
if (f != null) {
|
|
1979
|
+
writer.writeMessage(
|
|
1980
|
+
5,
|
|
1981
|
+
f,
|
|
1982
|
+
proto.Resource.serializeBinaryToWriter
|
|
1983
|
+
);
|
|
1984
|
+
}
|
|
1766
1985
|
};
|
|
1767
1986
|
|
|
1768
1987
|
|
|
@@ -1858,6 +2077,43 @@ proto.BasePolicy.prototype.clearPoliciesActionList = function() {
|
|
|
1858
2077
|
};
|
|
1859
2078
|
|
|
1860
2079
|
|
|
2080
|
+
/**
|
|
2081
|
+
* optional Resource resources = 5;
|
|
2082
|
+
* @return {?proto.Resource}
|
|
2083
|
+
*/
|
|
2084
|
+
proto.BasePolicy.prototype.getResources = function() {
|
|
2085
|
+
return /** @type{?proto.Resource} */ (
|
|
2086
|
+
jspb.Message.getWrapperField(this, proto.Resource, 5));
|
|
2087
|
+
};
|
|
2088
|
+
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* @param {?proto.Resource|undefined} value
|
|
2092
|
+
* @return {!proto.BasePolicy} returns this
|
|
2093
|
+
*/
|
|
2094
|
+
proto.BasePolicy.prototype.setResources = function(value) {
|
|
2095
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
2096
|
+
};
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
/**
|
|
2100
|
+
* Clears the message field making it undefined.
|
|
2101
|
+
* @return {!proto.BasePolicy} returns this
|
|
2102
|
+
*/
|
|
2103
|
+
proto.BasePolicy.prototype.clearResources = function() {
|
|
2104
|
+
return this.setResources(undefined);
|
|
2105
|
+
};
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* Returns whether this field is set.
|
|
2110
|
+
* @return {boolean}
|
|
2111
|
+
*/
|
|
2112
|
+
proto.BasePolicy.prototype.hasResources = function() {
|
|
2113
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2114
|
+
};
|
|
2115
|
+
|
|
2116
|
+
|
|
1861
2117
|
|
|
1862
2118
|
/**
|
|
1863
2119
|
* List of repeated fields within this message type.
|
|
@@ -2097,7 +2353,8 @@ createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
|
2097
2353
|
updatedBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2098
2354
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2099
2355
|
policiesActionsList: jspb.Message.toObjectList(msg.getPoliciesActionsList(),
|
|
2100
|
-
proto.PolicyAction.toObject, includeInstance)
|
|
2356
|
+
proto.PolicyAction.toObject, includeInstance),
|
|
2357
|
+
resources: (f = msg.getResources()) && proto.Resource.toObject(includeInstance, f)
|
|
2101
2358
|
};
|
|
2102
2359
|
|
|
2103
2360
|
if (includeInstance) {
|
|
@@ -2175,6 +2432,11 @@ proto.Policy.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2175
2432
|
reader.readMessage(value,proto.PolicyAction.deserializeBinaryFromReader);
|
|
2176
2433
|
msg.addPoliciesActions(value);
|
|
2177
2434
|
break;
|
|
2435
|
+
case 11:
|
|
2436
|
+
var value = new proto.Resource;
|
|
2437
|
+
reader.readMessage(value,proto.Resource.deserializeBinaryFromReader);
|
|
2438
|
+
msg.setResources(value);
|
|
2439
|
+
break;
|
|
2178
2440
|
default:
|
|
2179
2441
|
reader.skipField();
|
|
2180
2442
|
break;
|
|
@@ -2275,6 +2537,14 @@ proto.Policy.serializeBinaryToWriter = function(message, writer) {
|
|
|
2275
2537
|
proto.PolicyAction.serializeBinaryToWriter
|
|
2276
2538
|
);
|
|
2277
2539
|
}
|
|
2540
|
+
f = message.getResources();
|
|
2541
|
+
if (f != null) {
|
|
2542
|
+
writer.writeMessage(
|
|
2543
|
+
11,
|
|
2544
|
+
f,
|
|
2545
|
+
proto.Resource.serializeBinaryToWriter
|
|
2546
|
+
);
|
|
2547
|
+
}
|
|
2278
2548
|
};
|
|
2279
2549
|
|
|
2280
2550
|
|
|
@@ -2478,6 +2748,43 @@ proto.Policy.prototype.clearPoliciesActionsList = function() {
|
|
|
2478
2748
|
};
|
|
2479
2749
|
|
|
2480
2750
|
|
|
2751
|
+
/**
|
|
2752
|
+
* optional Resource resources = 11;
|
|
2753
|
+
* @return {?proto.Resource}
|
|
2754
|
+
*/
|
|
2755
|
+
proto.Policy.prototype.getResources = function() {
|
|
2756
|
+
return /** @type{?proto.Resource} */ (
|
|
2757
|
+
jspb.Message.getWrapperField(this, proto.Resource, 11));
|
|
2758
|
+
};
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
/**
|
|
2762
|
+
* @param {?proto.Resource|undefined} value
|
|
2763
|
+
* @return {!proto.Policy} returns this
|
|
2764
|
+
*/
|
|
2765
|
+
proto.Policy.prototype.setResources = function(value) {
|
|
2766
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
2767
|
+
};
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
/**
|
|
2771
|
+
* Clears the message field making it undefined.
|
|
2772
|
+
* @return {!proto.Policy} returns this
|
|
2773
|
+
*/
|
|
2774
|
+
proto.Policy.prototype.clearResources = function() {
|
|
2775
|
+
return this.setResources(undefined);
|
|
2776
|
+
};
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
/**
|
|
2780
|
+
* Returns whether this field is set.
|
|
2781
|
+
* @return {boolean}
|
|
2782
|
+
*/
|
|
2783
|
+
proto.Policy.prototype.hasResources = function() {
|
|
2784
|
+
return jspb.Message.getField(this, 11) != null;
|
|
2785
|
+
};
|
|
2786
|
+
|
|
2787
|
+
|
|
2481
2788
|
|
|
2482
2789
|
|
|
2483
2790
|
|
|
@@ -3213,7 +3520,8 @@ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
3213
3520
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3214
3521
|
referencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3215
3522
|
rolePoliciesList: jspb.Message.toObjectList(msg.getRolePoliciesList(),
|
|
3216
|
-
proto.RolePolicy.toObject, includeInstance)
|
|
3523
|
+
proto.RolePolicy.toObject, includeInstance),
|
|
3524
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
3217
3525
|
};
|
|
3218
3526
|
|
|
3219
3527
|
if (includeInstance) {
|
|
@@ -3267,6 +3575,10 @@ proto.Role.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3267
3575
|
reader.readMessage(value,proto.RolePolicy.deserializeBinaryFromReader);
|
|
3268
3576
|
msg.addRolePolicies(value);
|
|
3269
3577
|
break;
|
|
3578
|
+
case 5:
|
|
3579
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3580
|
+
msg.setCompaniesReferencesId(value);
|
|
3581
|
+
break;
|
|
3270
3582
|
default:
|
|
3271
3583
|
reader.skipField();
|
|
3272
3584
|
break;
|
|
@@ -3325,6 +3637,13 @@ proto.Role.serializeBinaryToWriter = function(message, writer) {
|
|
|
3325
3637
|
proto.RolePolicy.serializeBinaryToWriter
|
|
3326
3638
|
);
|
|
3327
3639
|
}
|
|
3640
|
+
f = message.getCompaniesReferencesId();
|
|
3641
|
+
if (f.length > 0) {
|
|
3642
|
+
writer.writeString(
|
|
3643
|
+
5,
|
|
3644
|
+
f
|
|
3645
|
+
);
|
|
3646
|
+
}
|
|
3328
3647
|
};
|
|
3329
3648
|
|
|
3330
3649
|
|
|
@@ -3420,9 +3739,27 @@ proto.Role.prototype.clearRolePoliciesList = function() {
|
|
|
3420
3739
|
};
|
|
3421
3740
|
|
|
3422
3741
|
|
|
3742
|
+
/**
|
|
3743
|
+
* optional string companies_references_id = 5;
|
|
3744
|
+
* @return {string}
|
|
3745
|
+
*/
|
|
3746
|
+
proto.Role.prototype.getCompaniesReferencesId = function() {
|
|
3747
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3748
|
+
};
|
|
3749
|
+
|
|
3750
|
+
|
|
3751
|
+
/**
|
|
3752
|
+
* @param {string} value
|
|
3753
|
+
* @return {!proto.Role} returns this
|
|
3754
|
+
*/
|
|
3755
|
+
proto.Role.prototype.setCompaniesReferencesId = function(value) {
|
|
3756
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3757
|
+
};
|
|
3758
|
+
|
|
3759
|
+
|
|
3760
|
+
|
|
3423
3761
|
|
|
3424
3762
|
|
|
3425
|
-
|
|
3426
3763
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3427
3764
|
/**
|
|
3428
3765
|
* Creates an object representation of this proto.
|
|
@@ -3611,6 +3948,13 @@ proto.BaseRole.prototype.setReferencesId = function(value) {
|
|
|
3611
3948
|
|
|
3612
3949
|
|
|
3613
3950
|
|
|
3951
|
+
/**
|
|
3952
|
+
* List of repeated fields within this message type.
|
|
3953
|
+
* @private {!Array<number>}
|
|
3954
|
+
* @const
|
|
3955
|
+
*/
|
|
3956
|
+
proto.Resource.repeatedFields_ = [5];
|
|
3957
|
+
|
|
3614
3958
|
|
|
3615
3959
|
|
|
3616
3960
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3646,7 +3990,8 @@ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
3646
3990
|
parameter: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3647
3991
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3648
3992
|
referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3649
|
-
|
|
3993
|
+
resourceFilterList: jspb.Message.toObjectList(msg.getResourceFilterList(),
|
|
3994
|
+
proto.ResourceFilter.toObject, includeInstance)
|
|
3650
3995
|
};
|
|
3651
3996
|
|
|
3652
3997
|
if (includeInstance) {
|
|
@@ -3700,8 +4045,9 @@ proto.Resource.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3700
4045
|
msg.setReferencesId(value);
|
|
3701
4046
|
break;
|
|
3702
4047
|
case 5:
|
|
3703
|
-
var value =
|
|
3704
|
-
|
|
4048
|
+
var value = new proto.ResourceFilter;
|
|
4049
|
+
reader.readMessage(value,proto.ResourceFilter.deserializeBinaryFromReader);
|
|
4050
|
+
msg.addResourceFilter(value);
|
|
3705
4051
|
break;
|
|
3706
4052
|
default:
|
|
3707
4053
|
reader.skipField();
|
|
@@ -3760,11 +4106,12 @@ proto.Resource.serializeBinaryToWriter = function(message, writer) {
|
|
|
3760
4106
|
f
|
|
3761
4107
|
);
|
|
3762
4108
|
}
|
|
3763
|
-
f = message.
|
|
4109
|
+
f = message.getResourceFilterList();
|
|
3764
4110
|
if (f.length > 0) {
|
|
3765
|
-
writer.
|
|
4111
|
+
writer.writeRepeatedMessage(
|
|
3766
4112
|
5,
|
|
3767
|
-
f
|
|
4113
|
+
f,
|
|
4114
|
+
proto.ResourceFilter.serializeBinaryToWriter
|
|
3768
4115
|
);
|
|
3769
4116
|
}
|
|
3770
4117
|
};
|
|
@@ -3843,20 +4190,230 @@ proto.Resource.prototype.setReferencesId = function(value) {
|
|
|
3843
4190
|
|
|
3844
4191
|
|
|
3845
4192
|
/**
|
|
3846
|
-
*
|
|
4193
|
+
* repeated ResourceFilter resource_filter = 5;
|
|
4194
|
+
* @return {!Array<!proto.ResourceFilter>}
|
|
4195
|
+
*/
|
|
4196
|
+
proto.Resource.prototype.getResourceFilterList = function() {
|
|
4197
|
+
return /** @type{!Array<!proto.ResourceFilter>} */ (
|
|
4198
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ResourceFilter, 5));
|
|
4199
|
+
};
|
|
4200
|
+
|
|
4201
|
+
|
|
4202
|
+
/**
|
|
4203
|
+
* @param {!Array<!proto.ResourceFilter>} value
|
|
4204
|
+
* @return {!proto.Resource} returns this
|
|
4205
|
+
*/
|
|
4206
|
+
proto.Resource.prototype.setResourceFilterList = function(value) {
|
|
4207
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
4208
|
+
};
|
|
4209
|
+
|
|
4210
|
+
|
|
4211
|
+
/**
|
|
4212
|
+
* @param {!proto.ResourceFilter=} opt_value
|
|
4213
|
+
* @param {number=} opt_index
|
|
4214
|
+
* @return {!proto.ResourceFilter}
|
|
4215
|
+
*/
|
|
4216
|
+
proto.Resource.prototype.addResourceFilter = function(opt_value, opt_index) {
|
|
4217
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.ResourceFilter, opt_index);
|
|
4218
|
+
};
|
|
4219
|
+
|
|
4220
|
+
|
|
4221
|
+
/**
|
|
4222
|
+
* Clears the list making it empty but non-null.
|
|
4223
|
+
* @return {!proto.Resource} returns this
|
|
4224
|
+
*/
|
|
4225
|
+
proto.Resource.prototype.clearResourceFilterList = function() {
|
|
4226
|
+
return this.setResourceFilterList([]);
|
|
4227
|
+
};
|
|
4228
|
+
|
|
4229
|
+
|
|
4230
|
+
|
|
4231
|
+
|
|
4232
|
+
|
|
4233
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4234
|
+
/**
|
|
4235
|
+
* Creates an object representation of this proto.
|
|
4236
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4237
|
+
* Optional fields that are not set will be set to undefined.
|
|
4238
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4239
|
+
* For the list of reserved names please see:
|
|
4240
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4241
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4242
|
+
* JSPB instance for transitional soy proto support:
|
|
4243
|
+
* http://goto/soy-param-migration
|
|
4244
|
+
* @return {!Object}
|
|
4245
|
+
*/
|
|
4246
|
+
proto.ResourceFilter.prototype.toObject = function(opt_includeInstance) {
|
|
4247
|
+
return proto.ResourceFilter.toObject(opt_includeInstance, this);
|
|
4248
|
+
};
|
|
4249
|
+
|
|
4250
|
+
|
|
4251
|
+
/**
|
|
4252
|
+
* Static version of the {@see toObject} method.
|
|
4253
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4254
|
+
* the JSPB instance for transitional soy proto support:
|
|
4255
|
+
* http://goto/soy-param-migration
|
|
4256
|
+
* @param {!proto.ResourceFilter} msg The msg instance to transform.
|
|
4257
|
+
* @return {!Object}
|
|
4258
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4259
|
+
*/
|
|
4260
|
+
proto.ResourceFilter.toObject = function(includeInstance, msg) {
|
|
4261
|
+
var f, obj = {
|
|
4262
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4263
|
+
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4264
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4265
|
+
};
|
|
4266
|
+
|
|
4267
|
+
if (includeInstance) {
|
|
4268
|
+
obj.$jspbMessageInstance = msg;
|
|
4269
|
+
}
|
|
4270
|
+
return obj;
|
|
4271
|
+
};
|
|
4272
|
+
}
|
|
4273
|
+
|
|
4274
|
+
|
|
4275
|
+
/**
|
|
4276
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4277
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4278
|
+
* @return {!proto.ResourceFilter}
|
|
4279
|
+
*/
|
|
4280
|
+
proto.ResourceFilter.deserializeBinary = function(bytes) {
|
|
4281
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4282
|
+
var msg = new proto.ResourceFilter;
|
|
4283
|
+
return proto.ResourceFilter.deserializeBinaryFromReader(msg, reader);
|
|
4284
|
+
};
|
|
4285
|
+
|
|
4286
|
+
|
|
4287
|
+
/**
|
|
4288
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4289
|
+
* given reader into the given message object.
|
|
4290
|
+
* @param {!proto.ResourceFilter} msg The message object to deserialize into.
|
|
4291
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4292
|
+
* @return {!proto.ResourceFilter}
|
|
4293
|
+
*/
|
|
4294
|
+
proto.ResourceFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
4295
|
+
while (reader.nextField()) {
|
|
4296
|
+
if (reader.isEndGroup()) {
|
|
4297
|
+
break;
|
|
4298
|
+
}
|
|
4299
|
+
var field = reader.getFieldNumber();
|
|
4300
|
+
switch (field) {
|
|
4301
|
+
case 1:
|
|
4302
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4303
|
+
msg.setKey(value);
|
|
4304
|
+
break;
|
|
4305
|
+
case 2:
|
|
4306
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4307
|
+
msg.setOperator(value);
|
|
4308
|
+
break;
|
|
4309
|
+
case 4:
|
|
4310
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4311
|
+
msg.setValue(value);
|
|
4312
|
+
break;
|
|
4313
|
+
default:
|
|
4314
|
+
reader.skipField();
|
|
4315
|
+
break;
|
|
4316
|
+
}
|
|
4317
|
+
}
|
|
4318
|
+
return msg;
|
|
4319
|
+
};
|
|
4320
|
+
|
|
4321
|
+
|
|
4322
|
+
/**
|
|
4323
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4324
|
+
* @return {!Uint8Array}
|
|
4325
|
+
*/
|
|
4326
|
+
proto.ResourceFilter.prototype.serializeBinary = function() {
|
|
4327
|
+
var writer = new jspb.BinaryWriter();
|
|
4328
|
+
proto.ResourceFilter.serializeBinaryToWriter(this, writer);
|
|
4329
|
+
return writer.getResultBuffer();
|
|
4330
|
+
};
|
|
4331
|
+
|
|
4332
|
+
|
|
4333
|
+
/**
|
|
4334
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4335
|
+
* format), writing to the given BinaryWriter.
|
|
4336
|
+
* @param {!proto.ResourceFilter} message
|
|
4337
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4338
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4339
|
+
*/
|
|
4340
|
+
proto.ResourceFilter.serializeBinaryToWriter = function(message, writer) {
|
|
4341
|
+
var f = undefined;
|
|
4342
|
+
f = message.getKey();
|
|
4343
|
+
if (f.length > 0) {
|
|
4344
|
+
writer.writeString(
|
|
4345
|
+
1,
|
|
4346
|
+
f
|
|
4347
|
+
);
|
|
4348
|
+
}
|
|
4349
|
+
f = message.getOperator();
|
|
4350
|
+
if (f.length > 0) {
|
|
4351
|
+
writer.writeString(
|
|
4352
|
+
2,
|
|
4353
|
+
f
|
|
4354
|
+
);
|
|
4355
|
+
}
|
|
4356
|
+
f = message.getValue();
|
|
4357
|
+
if (f.length > 0) {
|
|
4358
|
+
writer.writeString(
|
|
4359
|
+
4,
|
|
4360
|
+
f
|
|
4361
|
+
);
|
|
4362
|
+
}
|
|
4363
|
+
};
|
|
4364
|
+
|
|
4365
|
+
|
|
4366
|
+
/**
|
|
4367
|
+
* optional string key = 1;
|
|
3847
4368
|
* @return {string}
|
|
3848
4369
|
*/
|
|
3849
|
-
proto.
|
|
3850
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
4370
|
+
proto.ResourceFilter.prototype.getKey = function() {
|
|
4371
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3851
4372
|
};
|
|
3852
4373
|
|
|
3853
4374
|
|
|
3854
4375
|
/**
|
|
3855
4376
|
* @param {string} value
|
|
3856
|
-
* @return {!proto.
|
|
4377
|
+
* @return {!proto.ResourceFilter} returns this
|
|
3857
4378
|
*/
|
|
3858
|
-
proto.
|
|
3859
|
-
return jspb.Message.setProto3StringField(this,
|
|
4379
|
+
proto.ResourceFilter.prototype.setKey = function(value) {
|
|
4380
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4381
|
+
};
|
|
4382
|
+
|
|
4383
|
+
|
|
4384
|
+
/**
|
|
4385
|
+
* optional string operator = 2;
|
|
4386
|
+
* @return {string}
|
|
4387
|
+
*/
|
|
4388
|
+
proto.ResourceFilter.prototype.getOperator = function() {
|
|
4389
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4390
|
+
};
|
|
4391
|
+
|
|
4392
|
+
|
|
4393
|
+
/**
|
|
4394
|
+
* @param {string} value
|
|
4395
|
+
* @return {!proto.ResourceFilter} returns this
|
|
4396
|
+
*/
|
|
4397
|
+
proto.ResourceFilter.prototype.setOperator = function(value) {
|
|
4398
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4399
|
+
};
|
|
4400
|
+
|
|
4401
|
+
|
|
4402
|
+
/**
|
|
4403
|
+
* optional string value = 4;
|
|
4404
|
+
* @return {string}
|
|
4405
|
+
*/
|
|
4406
|
+
proto.ResourceFilter.prototype.getValue = function() {
|
|
4407
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4408
|
+
};
|
|
4409
|
+
|
|
4410
|
+
|
|
4411
|
+
/**
|
|
4412
|
+
* @param {string} value
|
|
4413
|
+
* @return {!proto.ResourceFilter} returns this
|
|
4414
|
+
*/
|
|
4415
|
+
proto.ResourceFilter.prototype.setValue = function(value) {
|
|
4416
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3860
4417
|
};
|
|
3861
4418
|
|
|
3862
4419
|
|
|
@@ -4175,7 +4732,8 @@ proto.ActionCatalog.toObject = function(includeInstance, msg) {
|
|
|
4175
4732
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4176
4733
|
alias: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4177
4734
|
referencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4178
|
-
actionList: (f = msg.getActionList()) && proto.ActionList.toObject(includeInstance, f)
|
|
4735
|
+
actionList: (f = msg.getActionList()) && proto.ActionList.toObject(includeInstance, f),
|
|
4736
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
4179
4737
|
};
|
|
4180
4738
|
|
|
4181
4739
|
if (includeInstance) {
|
|
@@ -4229,6 +4787,10 @@ proto.ActionCatalog.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
4229
4787
|
reader.readMessage(value,proto.ActionList.deserializeBinaryFromReader);
|
|
4230
4788
|
msg.setActionList(value);
|
|
4231
4789
|
break;
|
|
4790
|
+
case 5:
|
|
4791
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4792
|
+
msg.setCompaniesReferencesId(value);
|
|
4793
|
+
break;
|
|
4232
4794
|
default:
|
|
4233
4795
|
reader.skipField();
|
|
4234
4796
|
break;
|
|
@@ -4287,6 +4849,13 @@ proto.ActionCatalog.serializeBinaryToWriter = function(message, writer) {
|
|
|
4287
4849
|
proto.ActionList.serializeBinaryToWriter
|
|
4288
4850
|
);
|
|
4289
4851
|
}
|
|
4852
|
+
f = message.getCompaniesReferencesId();
|
|
4853
|
+
if (f.length > 0) {
|
|
4854
|
+
writer.writeString(
|
|
4855
|
+
5,
|
|
4856
|
+
f
|
|
4857
|
+
);
|
|
4858
|
+
}
|
|
4290
4859
|
};
|
|
4291
4860
|
|
|
4292
4861
|
|
|
@@ -4381,6 +4950,24 @@ proto.ActionCatalog.prototype.hasActionList = function() {
|
|
|
4381
4950
|
};
|
|
4382
4951
|
|
|
4383
4952
|
|
|
4953
|
+
/**
|
|
4954
|
+
* optional string companies_references_id = 5;
|
|
4955
|
+
* @return {string}
|
|
4956
|
+
*/
|
|
4957
|
+
proto.ActionCatalog.prototype.getCompaniesReferencesId = function() {
|
|
4958
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4959
|
+
};
|
|
4960
|
+
|
|
4961
|
+
|
|
4962
|
+
/**
|
|
4963
|
+
* @param {string} value
|
|
4964
|
+
* @return {!proto.ActionCatalog} returns this
|
|
4965
|
+
*/
|
|
4966
|
+
proto.ActionCatalog.prototype.setCompaniesReferencesId = function(value) {
|
|
4967
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4968
|
+
};
|
|
4969
|
+
|
|
4970
|
+
|
|
4384
4971
|
|
|
4385
4972
|
|
|
4386
4973
|
|
|
@@ -11391,6 +11978,1158 @@ proto.AssignRoleToUserResponse.prototype.hasMeta = function() {
|
|
|
11391
11978
|
};
|
|
11392
11979
|
|
|
11393
11980
|
|
|
11981
|
+
|
|
11982
|
+
|
|
11983
|
+
|
|
11984
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11985
|
+
/**
|
|
11986
|
+
* Creates an object representation of this proto.
|
|
11987
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11988
|
+
* Optional fields that are not set will be set to undefined.
|
|
11989
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11990
|
+
* For the list of reserved names please see:
|
|
11991
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11992
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11993
|
+
* JSPB instance for transitional soy proto support:
|
|
11994
|
+
* http://goto/soy-param-migration
|
|
11995
|
+
* @return {!Object}
|
|
11996
|
+
*/
|
|
11997
|
+
proto.CreateRoleRequestDefault.prototype.toObject = function(opt_includeInstance) {
|
|
11998
|
+
return proto.CreateRoleRequestDefault.toObject(opt_includeInstance, this);
|
|
11999
|
+
};
|
|
12000
|
+
|
|
12001
|
+
|
|
12002
|
+
/**
|
|
12003
|
+
* Static version of the {@see toObject} method.
|
|
12004
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12005
|
+
* the JSPB instance for transitional soy proto support:
|
|
12006
|
+
* http://goto/soy-param-migration
|
|
12007
|
+
* @param {!proto.CreateRoleRequestDefault} msg The msg instance to transform.
|
|
12008
|
+
* @return {!Object}
|
|
12009
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12010
|
+
*/
|
|
12011
|
+
proto.CreateRoleRequestDefault.toObject = function(includeInstance, msg) {
|
|
12012
|
+
var f, obj = {
|
|
12013
|
+
userReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12014
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
12015
|
+
};
|
|
12016
|
+
|
|
12017
|
+
if (includeInstance) {
|
|
12018
|
+
obj.$jspbMessageInstance = msg;
|
|
12019
|
+
}
|
|
12020
|
+
return obj;
|
|
12021
|
+
};
|
|
12022
|
+
}
|
|
12023
|
+
|
|
12024
|
+
|
|
12025
|
+
/**
|
|
12026
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12027
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12028
|
+
* @return {!proto.CreateRoleRequestDefault}
|
|
12029
|
+
*/
|
|
12030
|
+
proto.CreateRoleRequestDefault.deserializeBinary = function(bytes) {
|
|
12031
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12032
|
+
var msg = new proto.CreateRoleRequestDefault;
|
|
12033
|
+
return proto.CreateRoleRequestDefault.deserializeBinaryFromReader(msg, reader);
|
|
12034
|
+
};
|
|
12035
|
+
|
|
12036
|
+
|
|
12037
|
+
/**
|
|
12038
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12039
|
+
* given reader into the given message object.
|
|
12040
|
+
* @param {!proto.CreateRoleRequestDefault} msg The message object to deserialize into.
|
|
12041
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12042
|
+
* @return {!proto.CreateRoleRequestDefault}
|
|
12043
|
+
*/
|
|
12044
|
+
proto.CreateRoleRequestDefault.deserializeBinaryFromReader = function(msg, reader) {
|
|
12045
|
+
while (reader.nextField()) {
|
|
12046
|
+
if (reader.isEndGroup()) {
|
|
12047
|
+
break;
|
|
12048
|
+
}
|
|
12049
|
+
var field = reader.getFieldNumber();
|
|
12050
|
+
switch (field) {
|
|
12051
|
+
case 1:
|
|
12052
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12053
|
+
msg.setUserReferencesId(value);
|
|
12054
|
+
break;
|
|
12055
|
+
case 2:
|
|
12056
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12057
|
+
msg.setCompaniesReferencesId(value);
|
|
12058
|
+
break;
|
|
12059
|
+
default:
|
|
12060
|
+
reader.skipField();
|
|
12061
|
+
break;
|
|
12062
|
+
}
|
|
12063
|
+
}
|
|
12064
|
+
return msg;
|
|
12065
|
+
};
|
|
12066
|
+
|
|
12067
|
+
|
|
12068
|
+
/**
|
|
12069
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12070
|
+
* @return {!Uint8Array}
|
|
12071
|
+
*/
|
|
12072
|
+
proto.CreateRoleRequestDefault.prototype.serializeBinary = function() {
|
|
12073
|
+
var writer = new jspb.BinaryWriter();
|
|
12074
|
+
proto.CreateRoleRequestDefault.serializeBinaryToWriter(this, writer);
|
|
12075
|
+
return writer.getResultBuffer();
|
|
12076
|
+
};
|
|
12077
|
+
|
|
12078
|
+
|
|
12079
|
+
/**
|
|
12080
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12081
|
+
* format), writing to the given BinaryWriter.
|
|
12082
|
+
* @param {!proto.CreateRoleRequestDefault} message
|
|
12083
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12084
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12085
|
+
*/
|
|
12086
|
+
proto.CreateRoleRequestDefault.serializeBinaryToWriter = function(message, writer) {
|
|
12087
|
+
var f = undefined;
|
|
12088
|
+
f = message.getUserReferencesId();
|
|
12089
|
+
if (f.length > 0) {
|
|
12090
|
+
writer.writeString(
|
|
12091
|
+
1,
|
|
12092
|
+
f
|
|
12093
|
+
);
|
|
12094
|
+
}
|
|
12095
|
+
f = message.getCompaniesReferencesId();
|
|
12096
|
+
if (f.length > 0) {
|
|
12097
|
+
writer.writeString(
|
|
12098
|
+
2,
|
|
12099
|
+
f
|
|
12100
|
+
);
|
|
12101
|
+
}
|
|
12102
|
+
};
|
|
12103
|
+
|
|
12104
|
+
|
|
12105
|
+
/**
|
|
12106
|
+
* optional string user_references_id = 1;
|
|
12107
|
+
* @return {string}
|
|
12108
|
+
*/
|
|
12109
|
+
proto.CreateRoleRequestDefault.prototype.getUserReferencesId = function() {
|
|
12110
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
12111
|
+
};
|
|
12112
|
+
|
|
12113
|
+
|
|
12114
|
+
/**
|
|
12115
|
+
* @param {string} value
|
|
12116
|
+
* @return {!proto.CreateRoleRequestDefault} returns this
|
|
12117
|
+
*/
|
|
12118
|
+
proto.CreateRoleRequestDefault.prototype.setUserReferencesId = function(value) {
|
|
12119
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
12120
|
+
};
|
|
12121
|
+
|
|
12122
|
+
|
|
12123
|
+
/**
|
|
12124
|
+
* optional string companies_references_id = 2;
|
|
12125
|
+
* @return {string}
|
|
12126
|
+
*/
|
|
12127
|
+
proto.CreateRoleRequestDefault.prototype.getCompaniesReferencesId = function() {
|
|
12128
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12129
|
+
};
|
|
12130
|
+
|
|
12131
|
+
|
|
12132
|
+
/**
|
|
12133
|
+
* @param {string} value
|
|
12134
|
+
* @return {!proto.CreateRoleRequestDefault} returns this
|
|
12135
|
+
*/
|
|
12136
|
+
proto.CreateRoleRequestDefault.prototype.setCompaniesReferencesId = function(value) {
|
|
12137
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12138
|
+
};
|
|
12139
|
+
|
|
12140
|
+
|
|
12141
|
+
|
|
12142
|
+
/**
|
|
12143
|
+
* List of repeated fields within this message type.
|
|
12144
|
+
* @private {!Array<number>}
|
|
12145
|
+
* @const
|
|
12146
|
+
*/
|
|
12147
|
+
proto.CreateRoleResponseDefault.repeatedFields_ = [1];
|
|
12148
|
+
|
|
12149
|
+
|
|
12150
|
+
|
|
12151
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12152
|
+
/**
|
|
12153
|
+
* Creates an object representation of this proto.
|
|
12154
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12155
|
+
* Optional fields that are not set will be set to undefined.
|
|
12156
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12157
|
+
* For the list of reserved names please see:
|
|
12158
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12159
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12160
|
+
* JSPB instance for transitional soy proto support:
|
|
12161
|
+
* http://goto/soy-param-migration
|
|
12162
|
+
* @return {!Object}
|
|
12163
|
+
*/
|
|
12164
|
+
proto.CreateRoleResponseDefault.prototype.toObject = function(opt_includeInstance) {
|
|
12165
|
+
return proto.CreateRoleResponseDefault.toObject(opt_includeInstance, this);
|
|
12166
|
+
};
|
|
12167
|
+
|
|
12168
|
+
|
|
12169
|
+
/**
|
|
12170
|
+
* Static version of the {@see toObject} method.
|
|
12171
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12172
|
+
* the JSPB instance for transitional soy proto support:
|
|
12173
|
+
* http://goto/soy-param-migration
|
|
12174
|
+
* @param {!proto.CreateRoleResponseDefault} msg The msg instance to transform.
|
|
12175
|
+
* @return {!Object}
|
|
12176
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12177
|
+
*/
|
|
12178
|
+
proto.CreateRoleResponseDefault.toObject = function(includeInstance, msg) {
|
|
12179
|
+
var f, obj = {
|
|
12180
|
+
roleList: jspb.Message.toObjectList(msg.getRoleList(),
|
|
12181
|
+
proto.Role.toObject, includeInstance),
|
|
12182
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
12183
|
+
};
|
|
12184
|
+
|
|
12185
|
+
if (includeInstance) {
|
|
12186
|
+
obj.$jspbMessageInstance = msg;
|
|
12187
|
+
}
|
|
12188
|
+
return obj;
|
|
12189
|
+
};
|
|
12190
|
+
}
|
|
12191
|
+
|
|
12192
|
+
|
|
12193
|
+
/**
|
|
12194
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12195
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12196
|
+
* @return {!proto.CreateRoleResponseDefault}
|
|
12197
|
+
*/
|
|
12198
|
+
proto.CreateRoleResponseDefault.deserializeBinary = function(bytes) {
|
|
12199
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12200
|
+
var msg = new proto.CreateRoleResponseDefault;
|
|
12201
|
+
return proto.CreateRoleResponseDefault.deserializeBinaryFromReader(msg, reader);
|
|
12202
|
+
};
|
|
12203
|
+
|
|
12204
|
+
|
|
12205
|
+
/**
|
|
12206
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12207
|
+
* given reader into the given message object.
|
|
12208
|
+
* @param {!proto.CreateRoleResponseDefault} msg The message object to deserialize into.
|
|
12209
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12210
|
+
* @return {!proto.CreateRoleResponseDefault}
|
|
12211
|
+
*/
|
|
12212
|
+
proto.CreateRoleResponseDefault.deserializeBinaryFromReader = function(msg, reader) {
|
|
12213
|
+
while (reader.nextField()) {
|
|
12214
|
+
if (reader.isEndGroup()) {
|
|
12215
|
+
break;
|
|
12216
|
+
}
|
|
12217
|
+
var field = reader.getFieldNumber();
|
|
12218
|
+
switch (field) {
|
|
12219
|
+
case 1:
|
|
12220
|
+
var value = new proto.Role;
|
|
12221
|
+
reader.readMessage(value,proto.Role.deserializeBinaryFromReader);
|
|
12222
|
+
msg.addRole(value);
|
|
12223
|
+
break;
|
|
12224
|
+
case 2:
|
|
12225
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
12226
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
12227
|
+
msg.setMeta(value);
|
|
12228
|
+
break;
|
|
12229
|
+
default:
|
|
12230
|
+
reader.skipField();
|
|
12231
|
+
break;
|
|
12232
|
+
}
|
|
12233
|
+
}
|
|
12234
|
+
return msg;
|
|
12235
|
+
};
|
|
12236
|
+
|
|
12237
|
+
|
|
12238
|
+
/**
|
|
12239
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12240
|
+
* @return {!Uint8Array}
|
|
12241
|
+
*/
|
|
12242
|
+
proto.CreateRoleResponseDefault.prototype.serializeBinary = function() {
|
|
12243
|
+
var writer = new jspb.BinaryWriter();
|
|
12244
|
+
proto.CreateRoleResponseDefault.serializeBinaryToWriter(this, writer);
|
|
12245
|
+
return writer.getResultBuffer();
|
|
12246
|
+
};
|
|
12247
|
+
|
|
12248
|
+
|
|
12249
|
+
/**
|
|
12250
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12251
|
+
* format), writing to the given BinaryWriter.
|
|
12252
|
+
* @param {!proto.CreateRoleResponseDefault} message
|
|
12253
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12254
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12255
|
+
*/
|
|
12256
|
+
proto.CreateRoleResponseDefault.serializeBinaryToWriter = function(message, writer) {
|
|
12257
|
+
var f = undefined;
|
|
12258
|
+
f = message.getRoleList();
|
|
12259
|
+
if (f.length > 0) {
|
|
12260
|
+
writer.writeRepeatedMessage(
|
|
12261
|
+
1,
|
|
12262
|
+
f,
|
|
12263
|
+
proto.Role.serializeBinaryToWriter
|
|
12264
|
+
);
|
|
12265
|
+
}
|
|
12266
|
+
f = message.getMeta();
|
|
12267
|
+
if (f != null) {
|
|
12268
|
+
writer.writeMessage(
|
|
12269
|
+
2,
|
|
12270
|
+
f,
|
|
12271
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
12272
|
+
);
|
|
12273
|
+
}
|
|
12274
|
+
};
|
|
12275
|
+
|
|
12276
|
+
|
|
12277
|
+
/**
|
|
12278
|
+
* repeated Role role = 1;
|
|
12279
|
+
* @return {!Array<!proto.Role>}
|
|
12280
|
+
*/
|
|
12281
|
+
proto.CreateRoleResponseDefault.prototype.getRoleList = function() {
|
|
12282
|
+
return /** @type{!Array<!proto.Role>} */ (
|
|
12283
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Role, 1));
|
|
12284
|
+
};
|
|
12285
|
+
|
|
12286
|
+
|
|
12287
|
+
/**
|
|
12288
|
+
* @param {!Array<!proto.Role>} value
|
|
12289
|
+
* @return {!proto.CreateRoleResponseDefault} returns this
|
|
12290
|
+
*/
|
|
12291
|
+
proto.CreateRoleResponseDefault.prototype.setRoleList = function(value) {
|
|
12292
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
12293
|
+
};
|
|
12294
|
+
|
|
12295
|
+
|
|
12296
|
+
/**
|
|
12297
|
+
* @param {!proto.Role=} opt_value
|
|
12298
|
+
* @param {number=} opt_index
|
|
12299
|
+
* @return {!proto.Role}
|
|
12300
|
+
*/
|
|
12301
|
+
proto.CreateRoleResponseDefault.prototype.addRole = function(opt_value, opt_index) {
|
|
12302
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Role, opt_index);
|
|
12303
|
+
};
|
|
12304
|
+
|
|
12305
|
+
|
|
12306
|
+
/**
|
|
12307
|
+
* Clears the list making it empty but non-null.
|
|
12308
|
+
* @return {!proto.CreateRoleResponseDefault} returns this
|
|
12309
|
+
*/
|
|
12310
|
+
proto.CreateRoleResponseDefault.prototype.clearRoleList = function() {
|
|
12311
|
+
return this.setRoleList([]);
|
|
12312
|
+
};
|
|
12313
|
+
|
|
12314
|
+
|
|
12315
|
+
/**
|
|
12316
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
12317
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
12318
|
+
*/
|
|
12319
|
+
proto.CreateRoleResponseDefault.prototype.getMeta = function() {
|
|
12320
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
12321
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
12322
|
+
};
|
|
12323
|
+
|
|
12324
|
+
|
|
12325
|
+
/**
|
|
12326
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
12327
|
+
* @return {!proto.CreateRoleResponseDefault} returns this
|
|
12328
|
+
*/
|
|
12329
|
+
proto.CreateRoleResponseDefault.prototype.setMeta = function(value) {
|
|
12330
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
12331
|
+
};
|
|
12332
|
+
|
|
12333
|
+
|
|
12334
|
+
/**
|
|
12335
|
+
* Clears the message field making it undefined.
|
|
12336
|
+
* @return {!proto.CreateRoleResponseDefault} returns this
|
|
12337
|
+
*/
|
|
12338
|
+
proto.CreateRoleResponseDefault.prototype.clearMeta = function() {
|
|
12339
|
+
return this.setMeta(undefined);
|
|
12340
|
+
};
|
|
12341
|
+
|
|
12342
|
+
|
|
12343
|
+
/**
|
|
12344
|
+
* Returns whether this field is set.
|
|
12345
|
+
* @return {boolean}
|
|
12346
|
+
*/
|
|
12347
|
+
proto.CreateRoleResponseDefault.prototype.hasMeta = function() {
|
|
12348
|
+
return jspb.Message.getField(this, 2) != null;
|
|
12349
|
+
};
|
|
12350
|
+
|
|
12351
|
+
|
|
12352
|
+
|
|
12353
|
+
|
|
12354
|
+
|
|
12355
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12356
|
+
/**
|
|
12357
|
+
* Creates an object representation of this proto.
|
|
12358
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12359
|
+
* Optional fields that are not set will be set to undefined.
|
|
12360
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12361
|
+
* For the list of reserved names please see:
|
|
12362
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12363
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12364
|
+
* JSPB instance for transitional soy proto support:
|
|
12365
|
+
* http://goto/soy-param-migration
|
|
12366
|
+
* @return {!Object}
|
|
12367
|
+
*/
|
|
12368
|
+
proto.AccessIdentityProvider.prototype.toObject = function(opt_includeInstance) {
|
|
12369
|
+
return proto.AccessIdentityProvider.toObject(opt_includeInstance, this);
|
|
12370
|
+
};
|
|
12371
|
+
|
|
12372
|
+
|
|
12373
|
+
/**
|
|
12374
|
+
* Static version of the {@see toObject} method.
|
|
12375
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12376
|
+
* the JSPB instance for transitional soy proto support:
|
|
12377
|
+
* http://goto/soy-param-migration
|
|
12378
|
+
* @param {!proto.AccessIdentityProvider} msg The msg instance to transform.
|
|
12379
|
+
* @return {!Object}
|
|
12380
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12381
|
+
*/
|
|
12382
|
+
proto.AccessIdentityProvider.toObject = function(includeInstance, msg) {
|
|
12383
|
+
var f, obj = {
|
|
12384
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
12385
|
+
userReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12386
|
+
identityProviderReferencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12387
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
12388
|
+
};
|
|
12389
|
+
|
|
12390
|
+
if (includeInstance) {
|
|
12391
|
+
obj.$jspbMessageInstance = msg;
|
|
12392
|
+
}
|
|
12393
|
+
return obj;
|
|
12394
|
+
};
|
|
12395
|
+
}
|
|
12396
|
+
|
|
12397
|
+
|
|
12398
|
+
/**
|
|
12399
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12400
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12401
|
+
* @return {!proto.AccessIdentityProvider}
|
|
12402
|
+
*/
|
|
12403
|
+
proto.AccessIdentityProvider.deserializeBinary = function(bytes) {
|
|
12404
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12405
|
+
var msg = new proto.AccessIdentityProvider;
|
|
12406
|
+
return proto.AccessIdentityProvider.deserializeBinaryFromReader(msg, reader);
|
|
12407
|
+
};
|
|
12408
|
+
|
|
12409
|
+
|
|
12410
|
+
/**
|
|
12411
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12412
|
+
* given reader into the given message object.
|
|
12413
|
+
* @param {!proto.AccessIdentityProvider} msg The message object to deserialize into.
|
|
12414
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12415
|
+
* @return {!proto.AccessIdentityProvider}
|
|
12416
|
+
*/
|
|
12417
|
+
proto.AccessIdentityProvider.deserializeBinaryFromReader = function(msg, reader) {
|
|
12418
|
+
while (reader.nextField()) {
|
|
12419
|
+
if (reader.isEndGroup()) {
|
|
12420
|
+
break;
|
|
12421
|
+
}
|
|
12422
|
+
var field = reader.getFieldNumber();
|
|
12423
|
+
switch (field) {
|
|
12424
|
+
case 1:
|
|
12425
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12426
|
+
msg.setId(value);
|
|
12427
|
+
break;
|
|
12428
|
+
case 2:
|
|
12429
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12430
|
+
msg.setUserReferencesId(value);
|
|
12431
|
+
break;
|
|
12432
|
+
case 3:
|
|
12433
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12434
|
+
msg.setIdentityProviderReferencesId(value);
|
|
12435
|
+
break;
|
|
12436
|
+
case 4:
|
|
12437
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
12438
|
+
msg.setIsActive(value);
|
|
12439
|
+
break;
|
|
12440
|
+
default:
|
|
12441
|
+
reader.skipField();
|
|
12442
|
+
break;
|
|
12443
|
+
}
|
|
12444
|
+
}
|
|
12445
|
+
return msg;
|
|
12446
|
+
};
|
|
12447
|
+
|
|
12448
|
+
|
|
12449
|
+
/**
|
|
12450
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12451
|
+
* @return {!Uint8Array}
|
|
12452
|
+
*/
|
|
12453
|
+
proto.AccessIdentityProvider.prototype.serializeBinary = function() {
|
|
12454
|
+
var writer = new jspb.BinaryWriter();
|
|
12455
|
+
proto.AccessIdentityProvider.serializeBinaryToWriter(this, writer);
|
|
12456
|
+
return writer.getResultBuffer();
|
|
12457
|
+
};
|
|
12458
|
+
|
|
12459
|
+
|
|
12460
|
+
/**
|
|
12461
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12462
|
+
* format), writing to the given BinaryWriter.
|
|
12463
|
+
* @param {!proto.AccessIdentityProvider} message
|
|
12464
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12465
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12466
|
+
*/
|
|
12467
|
+
proto.AccessIdentityProvider.serializeBinaryToWriter = function(message, writer) {
|
|
12468
|
+
var f = undefined;
|
|
12469
|
+
f = message.getId();
|
|
12470
|
+
if (f !== 0) {
|
|
12471
|
+
writer.writeInt64(
|
|
12472
|
+
1,
|
|
12473
|
+
f
|
|
12474
|
+
);
|
|
12475
|
+
}
|
|
12476
|
+
f = message.getUserReferencesId();
|
|
12477
|
+
if (f.length > 0) {
|
|
12478
|
+
writer.writeString(
|
|
12479
|
+
2,
|
|
12480
|
+
f
|
|
12481
|
+
);
|
|
12482
|
+
}
|
|
12483
|
+
f = message.getIdentityProviderReferencesId();
|
|
12484
|
+
if (f.length > 0) {
|
|
12485
|
+
writer.writeString(
|
|
12486
|
+
3,
|
|
12487
|
+
f
|
|
12488
|
+
);
|
|
12489
|
+
}
|
|
12490
|
+
f = message.getIsActive();
|
|
12491
|
+
if (f) {
|
|
12492
|
+
writer.writeBool(
|
|
12493
|
+
4,
|
|
12494
|
+
f
|
|
12495
|
+
);
|
|
12496
|
+
}
|
|
12497
|
+
};
|
|
12498
|
+
|
|
12499
|
+
|
|
12500
|
+
/**
|
|
12501
|
+
* optional int64 id = 1;
|
|
12502
|
+
* @return {number}
|
|
12503
|
+
*/
|
|
12504
|
+
proto.AccessIdentityProvider.prototype.getId = function() {
|
|
12505
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12506
|
+
};
|
|
12507
|
+
|
|
12508
|
+
|
|
12509
|
+
/**
|
|
12510
|
+
* @param {number} value
|
|
12511
|
+
* @return {!proto.AccessIdentityProvider} returns this
|
|
12512
|
+
*/
|
|
12513
|
+
proto.AccessIdentityProvider.prototype.setId = function(value) {
|
|
12514
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
12515
|
+
};
|
|
12516
|
+
|
|
12517
|
+
|
|
12518
|
+
/**
|
|
12519
|
+
* optional string user_references_id = 2;
|
|
12520
|
+
* @return {string}
|
|
12521
|
+
*/
|
|
12522
|
+
proto.AccessIdentityProvider.prototype.getUserReferencesId = function() {
|
|
12523
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12524
|
+
};
|
|
12525
|
+
|
|
12526
|
+
|
|
12527
|
+
/**
|
|
12528
|
+
* @param {string} value
|
|
12529
|
+
* @return {!proto.AccessIdentityProvider} returns this
|
|
12530
|
+
*/
|
|
12531
|
+
proto.AccessIdentityProvider.prototype.setUserReferencesId = function(value) {
|
|
12532
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12533
|
+
};
|
|
12534
|
+
|
|
12535
|
+
|
|
12536
|
+
/**
|
|
12537
|
+
* optional string identity_provider_references_id = 3;
|
|
12538
|
+
* @return {string}
|
|
12539
|
+
*/
|
|
12540
|
+
proto.AccessIdentityProvider.prototype.getIdentityProviderReferencesId = function() {
|
|
12541
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
12542
|
+
};
|
|
12543
|
+
|
|
12544
|
+
|
|
12545
|
+
/**
|
|
12546
|
+
* @param {string} value
|
|
12547
|
+
* @return {!proto.AccessIdentityProvider} returns this
|
|
12548
|
+
*/
|
|
12549
|
+
proto.AccessIdentityProvider.prototype.setIdentityProviderReferencesId = function(value) {
|
|
12550
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
12551
|
+
};
|
|
12552
|
+
|
|
12553
|
+
|
|
12554
|
+
/**
|
|
12555
|
+
* optional bool is_active = 4;
|
|
12556
|
+
* @return {boolean}
|
|
12557
|
+
*/
|
|
12558
|
+
proto.AccessIdentityProvider.prototype.getIsActive = function() {
|
|
12559
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
12560
|
+
};
|
|
12561
|
+
|
|
12562
|
+
|
|
12563
|
+
/**
|
|
12564
|
+
* @param {boolean} value
|
|
12565
|
+
* @return {!proto.AccessIdentityProvider} returns this
|
|
12566
|
+
*/
|
|
12567
|
+
proto.AccessIdentityProvider.prototype.setIsActive = function(value) {
|
|
12568
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
12569
|
+
};
|
|
12570
|
+
|
|
12571
|
+
|
|
12572
|
+
|
|
12573
|
+
|
|
12574
|
+
|
|
12575
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12576
|
+
/**
|
|
12577
|
+
* Creates an object representation of this proto.
|
|
12578
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12579
|
+
* Optional fields that are not set will be set to undefined.
|
|
12580
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12581
|
+
* For the list of reserved names please see:
|
|
12582
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12583
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12584
|
+
* JSPB instance for transitional soy proto support:
|
|
12585
|
+
* http://goto/soy-param-migration
|
|
12586
|
+
* @return {!Object}
|
|
12587
|
+
*/
|
|
12588
|
+
proto.BaseAccessIdentityProvider.prototype.toObject = function(opt_includeInstance) {
|
|
12589
|
+
return proto.BaseAccessIdentityProvider.toObject(opt_includeInstance, this);
|
|
12590
|
+
};
|
|
12591
|
+
|
|
12592
|
+
|
|
12593
|
+
/**
|
|
12594
|
+
* Static version of the {@see toObject} method.
|
|
12595
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12596
|
+
* the JSPB instance for transitional soy proto support:
|
|
12597
|
+
* http://goto/soy-param-migration
|
|
12598
|
+
* @param {!proto.BaseAccessIdentityProvider} msg The msg instance to transform.
|
|
12599
|
+
* @return {!Object}
|
|
12600
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12601
|
+
*/
|
|
12602
|
+
proto.BaseAccessIdentityProvider.toObject = function(includeInstance, msg) {
|
|
12603
|
+
var f, obj = {
|
|
12604
|
+
userReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12605
|
+
identityProviderReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12606
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
12607
|
+
};
|
|
12608
|
+
|
|
12609
|
+
if (includeInstance) {
|
|
12610
|
+
obj.$jspbMessageInstance = msg;
|
|
12611
|
+
}
|
|
12612
|
+
return obj;
|
|
12613
|
+
};
|
|
12614
|
+
}
|
|
12615
|
+
|
|
12616
|
+
|
|
12617
|
+
/**
|
|
12618
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12619
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12620
|
+
* @return {!proto.BaseAccessIdentityProvider}
|
|
12621
|
+
*/
|
|
12622
|
+
proto.BaseAccessIdentityProvider.deserializeBinary = function(bytes) {
|
|
12623
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12624
|
+
var msg = new proto.BaseAccessIdentityProvider;
|
|
12625
|
+
return proto.BaseAccessIdentityProvider.deserializeBinaryFromReader(msg, reader);
|
|
12626
|
+
};
|
|
12627
|
+
|
|
12628
|
+
|
|
12629
|
+
/**
|
|
12630
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12631
|
+
* given reader into the given message object.
|
|
12632
|
+
* @param {!proto.BaseAccessIdentityProvider} msg The message object to deserialize into.
|
|
12633
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12634
|
+
* @return {!proto.BaseAccessIdentityProvider}
|
|
12635
|
+
*/
|
|
12636
|
+
proto.BaseAccessIdentityProvider.deserializeBinaryFromReader = function(msg, reader) {
|
|
12637
|
+
while (reader.nextField()) {
|
|
12638
|
+
if (reader.isEndGroup()) {
|
|
12639
|
+
break;
|
|
12640
|
+
}
|
|
12641
|
+
var field = reader.getFieldNumber();
|
|
12642
|
+
switch (field) {
|
|
12643
|
+
case 1:
|
|
12644
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12645
|
+
msg.setUserReferencesId(value);
|
|
12646
|
+
break;
|
|
12647
|
+
case 2:
|
|
12648
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12649
|
+
msg.setIdentityProviderReferencesId(value);
|
|
12650
|
+
break;
|
|
12651
|
+
case 3:
|
|
12652
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
12653
|
+
msg.setIsActive(value);
|
|
12654
|
+
break;
|
|
12655
|
+
default:
|
|
12656
|
+
reader.skipField();
|
|
12657
|
+
break;
|
|
12658
|
+
}
|
|
12659
|
+
}
|
|
12660
|
+
return msg;
|
|
12661
|
+
};
|
|
12662
|
+
|
|
12663
|
+
|
|
12664
|
+
/**
|
|
12665
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12666
|
+
* @return {!Uint8Array}
|
|
12667
|
+
*/
|
|
12668
|
+
proto.BaseAccessIdentityProvider.prototype.serializeBinary = function() {
|
|
12669
|
+
var writer = new jspb.BinaryWriter();
|
|
12670
|
+
proto.BaseAccessIdentityProvider.serializeBinaryToWriter(this, writer);
|
|
12671
|
+
return writer.getResultBuffer();
|
|
12672
|
+
};
|
|
12673
|
+
|
|
12674
|
+
|
|
12675
|
+
/**
|
|
12676
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12677
|
+
* format), writing to the given BinaryWriter.
|
|
12678
|
+
* @param {!proto.BaseAccessIdentityProvider} message
|
|
12679
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12680
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12681
|
+
*/
|
|
12682
|
+
proto.BaseAccessIdentityProvider.serializeBinaryToWriter = function(message, writer) {
|
|
12683
|
+
var f = undefined;
|
|
12684
|
+
f = message.getUserReferencesId();
|
|
12685
|
+
if (f.length > 0) {
|
|
12686
|
+
writer.writeString(
|
|
12687
|
+
1,
|
|
12688
|
+
f
|
|
12689
|
+
);
|
|
12690
|
+
}
|
|
12691
|
+
f = message.getIdentityProviderReferencesId();
|
|
12692
|
+
if (f.length > 0) {
|
|
12693
|
+
writer.writeString(
|
|
12694
|
+
2,
|
|
12695
|
+
f
|
|
12696
|
+
);
|
|
12697
|
+
}
|
|
12698
|
+
f = message.getIsActive();
|
|
12699
|
+
if (f) {
|
|
12700
|
+
writer.writeBool(
|
|
12701
|
+
3,
|
|
12702
|
+
f
|
|
12703
|
+
);
|
|
12704
|
+
}
|
|
12705
|
+
};
|
|
12706
|
+
|
|
12707
|
+
|
|
12708
|
+
/**
|
|
12709
|
+
* optional string user_references_id = 1;
|
|
12710
|
+
* @return {string}
|
|
12711
|
+
*/
|
|
12712
|
+
proto.BaseAccessIdentityProvider.prototype.getUserReferencesId = function() {
|
|
12713
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
12714
|
+
};
|
|
12715
|
+
|
|
12716
|
+
|
|
12717
|
+
/**
|
|
12718
|
+
* @param {string} value
|
|
12719
|
+
* @return {!proto.BaseAccessIdentityProvider} returns this
|
|
12720
|
+
*/
|
|
12721
|
+
proto.BaseAccessIdentityProvider.prototype.setUserReferencesId = function(value) {
|
|
12722
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
12723
|
+
};
|
|
12724
|
+
|
|
12725
|
+
|
|
12726
|
+
/**
|
|
12727
|
+
* optional string identity_provider_references_id = 2;
|
|
12728
|
+
* @return {string}
|
|
12729
|
+
*/
|
|
12730
|
+
proto.BaseAccessIdentityProvider.prototype.getIdentityProviderReferencesId = function() {
|
|
12731
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12732
|
+
};
|
|
12733
|
+
|
|
12734
|
+
|
|
12735
|
+
/**
|
|
12736
|
+
* @param {string} value
|
|
12737
|
+
* @return {!proto.BaseAccessIdentityProvider} returns this
|
|
12738
|
+
*/
|
|
12739
|
+
proto.BaseAccessIdentityProvider.prototype.setIdentityProviderReferencesId = function(value) {
|
|
12740
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12741
|
+
};
|
|
12742
|
+
|
|
12743
|
+
|
|
12744
|
+
/**
|
|
12745
|
+
* optional bool is_active = 3;
|
|
12746
|
+
* @return {boolean}
|
|
12747
|
+
*/
|
|
12748
|
+
proto.BaseAccessIdentityProvider.prototype.getIsActive = function() {
|
|
12749
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
12750
|
+
};
|
|
12751
|
+
|
|
12752
|
+
|
|
12753
|
+
/**
|
|
12754
|
+
* @param {boolean} value
|
|
12755
|
+
* @return {!proto.BaseAccessIdentityProvider} returns this
|
|
12756
|
+
*/
|
|
12757
|
+
proto.BaseAccessIdentityProvider.prototype.setIsActive = function(value) {
|
|
12758
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
12759
|
+
};
|
|
12760
|
+
|
|
12761
|
+
|
|
12762
|
+
|
|
12763
|
+
/**
|
|
12764
|
+
* List of repeated fields within this message type.
|
|
12765
|
+
* @private {!Array<number>}
|
|
12766
|
+
* @const
|
|
12767
|
+
*/
|
|
12768
|
+
proto.AccessIdentityProviderReq.repeatedFields_ = [1];
|
|
12769
|
+
|
|
12770
|
+
|
|
12771
|
+
|
|
12772
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12773
|
+
/**
|
|
12774
|
+
* Creates an object representation of this proto.
|
|
12775
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12776
|
+
* Optional fields that are not set will be set to undefined.
|
|
12777
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12778
|
+
* For the list of reserved names please see:
|
|
12779
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12780
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12781
|
+
* JSPB instance for transitional soy proto support:
|
|
12782
|
+
* http://goto/soy-param-migration
|
|
12783
|
+
* @return {!Object}
|
|
12784
|
+
*/
|
|
12785
|
+
proto.AccessIdentityProviderReq.prototype.toObject = function(opt_includeInstance) {
|
|
12786
|
+
return proto.AccessIdentityProviderReq.toObject(opt_includeInstance, this);
|
|
12787
|
+
};
|
|
12788
|
+
|
|
12789
|
+
|
|
12790
|
+
/**
|
|
12791
|
+
* Static version of the {@see toObject} method.
|
|
12792
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12793
|
+
* the JSPB instance for transitional soy proto support:
|
|
12794
|
+
* http://goto/soy-param-migration
|
|
12795
|
+
* @param {!proto.AccessIdentityProviderReq} msg The msg instance to transform.
|
|
12796
|
+
* @return {!Object}
|
|
12797
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12798
|
+
*/
|
|
12799
|
+
proto.AccessIdentityProviderReq.toObject = function(includeInstance, msg) {
|
|
12800
|
+
var f, obj = {
|
|
12801
|
+
accessIdentityProviderList: jspb.Message.toObjectList(msg.getAccessIdentityProviderList(),
|
|
12802
|
+
proto.BaseAccessIdentityProvider.toObject, includeInstance)
|
|
12803
|
+
};
|
|
12804
|
+
|
|
12805
|
+
if (includeInstance) {
|
|
12806
|
+
obj.$jspbMessageInstance = msg;
|
|
12807
|
+
}
|
|
12808
|
+
return obj;
|
|
12809
|
+
};
|
|
12810
|
+
}
|
|
12811
|
+
|
|
12812
|
+
|
|
12813
|
+
/**
|
|
12814
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12815
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12816
|
+
* @return {!proto.AccessIdentityProviderReq}
|
|
12817
|
+
*/
|
|
12818
|
+
proto.AccessIdentityProviderReq.deserializeBinary = function(bytes) {
|
|
12819
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12820
|
+
var msg = new proto.AccessIdentityProviderReq;
|
|
12821
|
+
return proto.AccessIdentityProviderReq.deserializeBinaryFromReader(msg, reader);
|
|
12822
|
+
};
|
|
12823
|
+
|
|
12824
|
+
|
|
12825
|
+
/**
|
|
12826
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12827
|
+
* given reader into the given message object.
|
|
12828
|
+
* @param {!proto.AccessIdentityProviderReq} msg The message object to deserialize into.
|
|
12829
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12830
|
+
* @return {!proto.AccessIdentityProviderReq}
|
|
12831
|
+
*/
|
|
12832
|
+
proto.AccessIdentityProviderReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
12833
|
+
while (reader.nextField()) {
|
|
12834
|
+
if (reader.isEndGroup()) {
|
|
12835
|
+
break;
|
|
12836
|
+
}
|
|
12837
|
+
var field = reader.getFieldNumber();
|
|
12838
|
+
switch (field) {
|
|
12839
|
+
case 1:
|
|
12840
|
+
var value = new proto.BaseAccessIdentityProvider;
|
|
12841
|
+
reader.readMessage(value,proto.BaseAccessIdentityProvider.deserializeBinaryFromReader);
|
|
12842
|
+
msg.addAccessIdentityProvider(value);
|
|
12843
|
+
break;
|
|
12844
|
+
default:
|
|
12845
|
+
reader.skipField();
|
|
12846
|
+
break;
|
|
12847
|
+
}
|
|
12848
|
+
}
|
|
12849
|
+
return msg;
|
|
12850
|
+
};
|
|
12851
|
+
|
|
12852
|
+
|
|
12853
|
+
/**
|
|
12854
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12855
|
+
* @return {!Uint8Array}
|
|
12856
|
+
*/
|
|
12857
|
+
proto.AccessIdentityProviderReq.prototype.serializeBinary = function() {
|
|
12858
|
+
var writer = new jspb.BinaryWriter();
|
|
12859
|
+
proto.AccessIdentityProviderReq.serializeBinaryToWriter(this, writer);
|
|
12860
|
+
return writer.getResultBuffer();
|
|
12861
|
+
};
|
|
12862
|
+
|
|
12863
|
+
|
|
12864
|
+
/**
|
|
12865
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12866
|
+
* format), writing to the given BinaryWriter.
|
|
12867
|
+
* @param {!proto.AccessIdentityProviderReq} message
|
|
12868
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12869
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12870
|
+
*/
|
|
12871
|
+
proto.AccessIdentityProviderReq.serializeBinaryToWriter = function(message, writer) {
|
|
12872
|
+
var f = undefined;
|
|
12873
|
+
f = message.getAccessIdentityProviderList();
|
|
12874
|
+
if (f.length > 0) {
|
|
12875
|
+
writer.writeRepeatedMessage(
|
|
12876
|
+
1,
|
|
12877
|
+
f,
|
|
12878
|
+
proto.BaseAccessIdentityProvider.serializeBinaryToWriter
|
|
12879
|
+
);
|
|
12880
|
+
}
|
|
12881
|
+
};
|
|
12882
|
+
|
|
12883
|
+
|
|
12884
|
+
/**
|
|
12885
|
+
* repeated BaseAccessIdentityProvider access_identity_provider = 1;
|
|
12886
|
+
* @return {!Array<!proto.BaseAccessIdentityProvider>}
|
|
12887
|
+
*/
|
|
12888
|
+
proto.AccessIdentityProviderReq.prototype.getAccessIdentityProviderList = function() {
|
|
12889
|
+
return /** @type{!Array<!proto.BaseAccessIdentityProvider>} */ (
|
|
12890
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseAccessIdentityProvider, 1));
|
|
12891
|
+
};
|
|
12892
|
+
|
|
12893
|
+
|
|
12894
|
+
/**
|
|
12895
|
+
* @param {!Array<!proto.BaseAccessIdentityProvider>} value
|
|
12896
|
+
* @return {!proto.AccessIdentityProviderReq} returns this
|
|
12897
|
+
*/
|
|
12898
|
+
proto.AccessIdentityProviderReq.prototype.setAccessIdentityProviderList = function(value) {
|
|
12899
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
12900
|
+
};
|
|
12901
|
+
|
|
12902
|
+
|
|
12903
|
+
/**
|
|
12904
|
+
* @param {!proto.BaseAccessIdentityProvider=} opt_value
|
|
12905
|
+
* @param {number=} opt_index
|
|
12906
|
+
* @return {!proto.BaseAccessIdentityProvider}
|
|
12907
|
+
*/
|
|
12908
|
+
proto.AccessIdentityProviderReq.prototype.addAccessIdentityProvider = function(opt_value, opt_index) {
|
|
12909
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseAccessIdentityProvider, opt_index);
|
|
12910
|
+
};
|
|
12911
|
+
|
|
12912
|
+
|
|
12913
|
+
/**
|
|
12914
|
+
* Clears the list making it empty but non-null.
|
|
12915
|
+
* @return {!proto.AccessIdentityProviderReq} returns this
|
|
12916
|
+
*/
|
|
12917
|
+
proto.AccessIdentityProviderReq.prototype.clearAccessIdentityProviderList = function() {
|
|
12918
|
+
return this.setAccessIdentityProviderList([]);
|
|
12919
|
+
};
|
|
12920
|
+
|
|
12921
|
+
|
|
12922
|
+
|
|
12923
|
+
/**
|
|
12924
|
+
* List of repeated fields within this message type.
|
|
12925
|
+
* @private {!Array<number>}
|
|
12926
|
+
* @const
|
|
12927
|
+
*/
|
|
12928
|
+
proto.AccessIdentityProviderResponse.repeatedFields_ = [1];
|
|
12929
|
+
|
|
12930
|
+
|
|
12931
|
+
|
|
12932
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12933
|
+
/**
|
|
12934
|
+
* Creates an object representation of this proto.
|
|
12935
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12936
|
+
* Optional fields that are not set will be set to undefined.
|
|
12937
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12938
|
+
* For the list of reserved names please see:
|
|
12939
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12940
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12941
|
+
* JSPB instance for transitional soy proto support:
|
|
12942
|
+
* http://goto/soy-param-migration
|
|
12943
|
+
* @return {!Object}
|
|
12944
|
+
*/
|
|
12945
|
+
proto.AccessIdentityProviderResponse.prototype.toObject = function(opt_includeInstance) {
|
|
12946
|
+
return proto.AccessIdentityProviderResponse.toObject(opt_includeInstance, this);
|
|
12947
|
+
};
|
|
12948
|
+
|
|
12949
|
+
|
|
12950
|
+
/**
|
|
12951
|
+
* Static version of the {@see toObject} method.
|
|
12952
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12953
|
+
* the JSPB instance for transitional soy proto support:
|
|
12954
|
+
* http://goto/soy-param-migration
|
|
12955
|
+
* @param {!proto.AccessIdentityProviderResponse} msg The msg instance to transform.
|
|
12956
|
+
* @return {!Object}
|
|
12957
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12958
|
+
*/
|
|
12959
|
+
proto.AccessIdentityProviderResponse.toObject = function(includeInstance, msg) {
|
|
12960
|
+
var f, obj = {
|
|
12961
|
+
dataList: jspb.Message.toObjectList(msg.getDataList(),
|
|
12962
|
+
proto.BaseAccessIdentityProvider.toObject, includeInstance),
|
|
12963
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
12964
|
+
};
|
|
12965
|
+
|
|
12966
|
+
if (includeInstance) {
|
|
12967
|
+
obj.$jspbMessageInstance = msg;
|
|
12968
|
+
}
|
|
12969
|
+
return obj;
|
|
12970
|
+
};
|
|
12971
|
+
}
|
|
12972
|
+
|
|
12973
|
+
|
|
12974
|
+
/**
|
|
12975
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12976
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12977
|
+
* @return {!proto.AccessIdentityProviderResponse}
|
|
12978
|
+
*/
|
|
12979
|
+
proto.AccessIdentityProviderResponse.deserializeBinary = function(bytes) {
|
|
12980
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12981
|
+
var msg = new proto.AccessIdentityProviderResponse;
|
|
12982
|
+
return proto.AccessIdentityProviderResponse.deserializeBinaryFromReader(msg, reader);
|
|
12983
|
+
};
|
|
12984
|
+
|
|
12985
|
+
|
|
12986
|
+
/**
|
|
12987
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12988
|
+
* given reader into the given message object.
|
|
12989
|
+
* @param {!proto.AccessIdentityProviderResponse} msg The message object to deserialize into.
|
|
12990
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12991
|
+
* @return {!proto.AccessIdentityProviderResponse}
|
|
12992
|
+
*/
|
|
12993
|
+
proto.AccessIdentityProviderResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12994
|
+
while (reader.nextField()) {
|
|
12995
|
+
if (reader.isEndGroup()) {
|
|
12996
|
+
break;
|
|
12997
|
+
}
|
|
12998
|
+
var field = reader.getFieldNumber();
|
|
12999
|
+
switch (field) {
|
|
13000
|
+
case 1:
|
|
13001
|
+
var value = new proto.BaseAccessIdentityProvider;
|
|
13002
|
+
reader.readMessage(value,proto.BaseAccessIdentityProvider.deserializeBinaryFromReader);
|
|
13003
|
+
msg.addData(value);
|
|
13004
|
+
break;
|
|
13005
|
+
case 2:
|
|
13006
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
13007
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
13008
|
+
msg.setMeta(value);
|
|
13009
|
+
break;
|
|
13010
|
+
default:
|
|
13011
|
+
reader.skipField();
|
|
13012
|
+
break;
|
|
13013
|
+
}
|
|
13014
|
+
}
|
|
13015
|
+
return msg;
|
|
13016
|
+
};
|
|
13017
|
+
|
|
13018
|
+
|
|
13019
|
+
/**
|
|
13020
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13021
|
+
* @return {!Uint8Array}
|
|
13022
|
+
*/
|
|
13023
|
+
proto.AccessIdentityProviderResponse.prototype.serializeBinary = function() {
|
|
13024
|
+
var writer = new jspb.BinaryWriter();
|
|
13025
|
+
proto.AccessIdentityProviderResponse.serializeBinaryToWriter(this, writer);
|
|
13026
|
+
return writer.getResultBuffer();
|
|
13027
|
+
};
|
|
13028
|
+
|
|
13029
|
+
|
|
13030
|
+
/**
|
|
13031
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13032
|
+
* format), writing to the given BinaryWriter.
|
|
13033
|
+
* @param {!proto.AccessIdentityProviderResponse} message
|
|
13034
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13035
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13036
|
+
*/
|
|
13037
|
+
proto.AccessIdentityProviderResponse.serializeBinaryToWriter = function(message, writer) {
|
|
13038
|
+
var f = undefined;
|
|
13039
|
+
f = message.getDataList();
|
|
13040
|
+
if (f.length > 0) {
|
|
13041
|
+
writer.writeRepeatedMessage(
|
|
13042
|
+
1,
|
|
13043
|
+
f,
|
|
13044
|
+
proto.BaseAccessIdentityProvider.serializeBinaryToWriter
|
|
13045
|
+
);
|
|
13046
|
+
}
|
|
13047
|
+
f = message.getMeta();
|
|
13048
|
+
if (f != null) {
|
|
13049
|
+
writer.writeMessage(
|
|
13050
|
+
2,
|
|
13051
|
+
f,
|
|
13052
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
13053
|
+
);
|
|
13054
|
+
}
|
|
13055
|
+
};
|
|
13056
|
+
|
|
13057
|
+
|
|
13058
|
+
/**
|
|
13059
|
+
* repeated BaseAccessIdentityProvider data = 1;
|
|
13060
|
+
* @return {!Array<!proto.BaseAccessIdentityProvider>}
|
|
13061
|
+
*/
|
|
13062
|
+
proto.AccessIdentityProviderResponse.prototype.getDataList = function() {
|
|
13063
|
+
return /** @type{!Array<!proto.BaseAccessIdentityProvider>} */ (
|
|
13064
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseAccessIdentityProvider, 1));
|
|
13065
|
+
};
|
|
13066
|
+
|
|
13067
|
+
|
|
13068
|
+
/**
|
|
13069
|
+
* @param {!Array<!proto.BaseAccessIdentityProvider>} value
|
|
13070
|
+
* @return {!proto.AccessIdentityProviderResponse} returns this
|
|
13071
|
+
*/
|
|
13072
|
+
proto.AccessIdentityProviderResponse.prototype.setDataList = function(value) {
|
|
13073
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
13074
|
+
};
|
|
13075
|
+
|
|
13076
|
+
|
|
13077
|
+
/**
|
|
13078
|
+
* @param {!proto.BaseAccessIdentityProvider=} opt_value
|
|
13079
|
+
* @param {number=} opt_index
|
|
13080
|
+
* @return {!proto.BaseAccessIdentityProvider}
|
|
13081
|
+
*/
|
|
13082
|
+
proto.AccessIdentityProviderResponse.prototype.addData = function(opt_value, opt_index) {
|
|
13083
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseAccessIdentityProvider, opt_index);
|
|
13084
|
+
};
|
|
13085
|
+
|
|
13086
|
+
|
|
13087
|
+
/**
|
|
13088
|
+
* Clears the list making it empty but non-null.
|
|
13089
|
+
* @return {!proto.AccessIdentityProviderResponse} returns this
|
|
13090
|
+
*/
|
|
13091
|
+
proto.AccessIdentityProviderResponse.prototype.clearDataList = function() {
|
|
13092
|
+
return this.setDataList([]);
|
|
13093
|
+
};
|
|
13094
|
+
|
|
13095
|
+
|
|
13096
|
+
/**
|
|
13097
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
13098
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
13099
|
+
*/
|
|
13100
|
+
proto.AccessIdentityProviderResponse.prototype.getMeta = function() {
|
|
13101
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
13102
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
13103
|
+
};
|
|
13104
|
+
|
|
13105
|
+
|
|
13106
|
+
/**
|
|
13107
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
13108
|
+
* @return {!proto.AccessIdentityProviderResponse} returns this
|
|
13109
|
+
*/
|
|
13110
|
+
proto.AccessIdentityProviderResponse.prototype.setMeta = function(value) {
|
|
13111
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
13112
|
+
};
|
|
13113
|
+
|
|
13114
|
+
|
|
13115
|
+
/**
|
|
13116
|
+
* Clears the message field making it undefined.
|
|
13117
|
+
* @return {!proto.AccessIdentityProviderResponse} returns this
|
|
13118
|
+
*/
|
|
13119
|
+
proto.AccessIdentityProviderResponse.prototype.clearMeta = function() {
|
|
13120
|
+
return this.setMeta(undefined);
|
|
13121
|
+
};
|
|
13122
|
+
|
|
13123
|
+
|
|
13124
|
+
/**
|
|
13125
|
+
* Returns whether this field is set.
|
|
13126
|
+
* @return {boolean}
|
|
13127
|
+
*/
|
|
13128
|
+
proto.AccessIdentityProviderResponse.prototype.hasMeta = function() {
|
|
13129
|
+
return jspb.Message.getField(this, 2) != null;
|
|
13130
|
+
};
|
|
13131
|
+
|
|
13132
|
+
|
|
11394
13133
|
/**
|
|
11395
13134
|
* @enum {number}
|
|
11396
13135
|
*/
|