@aldiokta/protocgen 1.1.51 → 1.1.52

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.
Files changed (45) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +23 -0
  3. package/prisca/v1/bidding/bidding_pb.js +463 -2
  4. package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
  5. package/prisca/v1/business_fields/business_fields_pb.js +356 -0
  6. package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
  7. package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
  8. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
  9. package/prisca/v1/core/access_manager/access_manager_pb.js +1346 -2
  10. package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
  11. package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
  12. package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
  13. package/prisca/v1/core/auth/auth_pb.js +152 -0
  14. package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
  15. package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
  16. package/prisca/v1/core/employee/employee_grpc_pb.js +14 -3
  17. package/prisca/v1/core/employee/employee_pb.js +203 -0
  18. package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
  19. package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
  20. package/prisca/v1/core/item_transaction/item_transaction_pb.js +62 -2
  21. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
  22. package/prisca/v1/core/material/material_grpc_pb.js +2 -0
  23. package/prisca/v1/core/material/material_pb.js +420 -2
  24. package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
  25. package/prisca/v1/core/messaging/email_template_pb.js +385 -0
  26. package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
  27. package/prisca/v1/core/number_range/number_range_pb.js +385 -0
  28. package/prisca/v1/core/report/report_pb.js +31 -1
  29. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
  30. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
  31. package/prisca/v1/core/users/users_grpc_pb.js +1 -0
  32. package/prisca/v1/core/users/users_pb.js +2 -0
  33. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
  34. package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
  35. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
  36. package/prisca/v1/good_receipt/good_receipt_pb.js +36 -6
  37. package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
  38. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
  39. package/prisca/v1/purchase_order/purchase_order_pb.js +717 -29
  40. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
  41. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +112 -57
  42. package/prisca/v1/quotation/quotation_pb.js +55 -2
  43. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
  44. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
  45. 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);
@@ -1078,6 +1084,132 @@ if (goog.DEBUG && !COMPILED) {
1078
1084
  */
1079
1085
  proto.AssignRoleToUserResponse.displayName = 'proto.AssignRoleToUserResponse';
1080
1086
  }
1087
+ /**
1088
+ * Generated by JsPbCodeGenerator.
1089
+ * @param {Array=} opt_data Optional initial data array, typically from a
1090
+ * server response, or constructed directly in Javascript. The array is used
1091
+ * in place and becomes part of the constructed object. It is not cloned.
1092
+ * If no data is provided, the constructed object will be empty, but still
1093
+ * valid.
1094
+ * @extends {jspb.Message}
1095
+ * @constructor
1096
+ */
1097
+ proto.CreateRoleRequestDefault = function(opt_data) {
1098
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1099
+ };
1100
+ goog.inherits(proto.CreateRoleRequestDefault, jspb.Message);
1101
+ if (goog.DEBUG && !COMPILED) {
1102
+ /**
1103
+ * @public
1104
+ * @override
1105
+ */
1106
+ proto.CreateRoleRequestDefault.displayName = 'proto.CreateRoleRequestDefault';
1107
+ }
1108
+ /**
1109
+ * Generated by JsPbCodeGenerator.
1110
+ * @param {Array=} opt_data Optional initial data array, typically from a
1111
+ * server response, or constructed directly in Javascript. The array is used
1112
+ * in place and becomes part of the constructed object. It is not cloned.
1113
+ * If no data is provided, the constructed object will be empty, but still
1114
+ * valid.
1115
+ * @extends {jspb.Message}
1116
+ * @constructor
1117
+ */
1118
+ proto.CreateRoleResponseDefault = function(opt_data) {
1119
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.CreateRoleResponseDefault.repeatedFields_, null);
1120
+ };
1121
+ goog.inherits(proto.CreateRoleResponseDefault, jspb.Message);
1122
+ if (goog.DEBUG && !COMPILED) {
1123
+ /**
1124
+ * @public
1125
+ * @override
1126
+ */
1127
+ proto.CreateRoleResponseDefault.displayName = 'proto.CreateRoleResponseDefault';
1128
+ }
1129
+ /**
1130
+ * Generated by JsPbCodeGenerator.
1131
+ * @param {Array=} opt_data Optional initial data array, typically from a
1132
+ * server response, or constructed directly in Javascript. The array is used
1133
+ * in place and becomes part of the constructed object. It is not cloned.
1134
+ * If no data is provided, the constructed object will be empty, but still
1135
+ * valid.
1136
+ * @extends {jspb.Message}
1137
+ * @constructor
1138
+ */
1139
+ proto.AccessIdentityProvider = function(opt_data) {
1140
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1141
+ };
1142
+ goog.inherits(proto.AccessIdentityProvider, jspb.Message);
1143
+ if (goog.DEBUG && !COMPILED) {
1144
+ /**
1145
+ * @public
1146
+ * @override
1147
+ */
1148
+ proto.AccessIdentityProvider.displayName = 'proto.AccessIdentityProvider';
1149
+ }
1150
+ /**
1151
+ * Generated by JsPbCodeGenerator.
1152
+ * @param {Array=} opt_data Optional initial data array, typically from a
1153
+ * server response, or constructed directly in Javascript. The array is used
1154
+ * in place and becomes part of the constructed object. It is not cloned.
1155
+ * If no data is provided, the constructed object will be empty, but still
1156
+ * valid.
1157
+ * @extends {jspb.Message}
1158
+ * @constructor
1159
+ */
1160
+ proto.BaseAccessIdentityProvider = function(opt_data) {
1161
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1162
+ };
1163
+ goog.inherits(proto.BaseAccessIdentityProvider, jspb.Message);
1164
+ if (goog.DEBUG && !COMPILED) {
1165
+ /**
1166
+ * @public
1167
+ * @override
1168
+ */
1169
+ proto.BaseAccessIdentityProvider.displayName = 'proto.BaseAccessIdentityProvider';
1170
+ }
1171
+ /**
1172
+ * Generated by JsPbCodeGenerator.
1173
+ * @param {Array=} opt_data Optional initial data array, typically from a
1174
+ * server response, or constructed directly in Javascript. The array is used
1175
+ * in place and becomes part of the constructed object. It is not cloned.
1176
+ * If no data is provided, the constructed object will be empty, but still
1177
+ * valid.
1178
+ * @extends {jspb.Message}
1179
+ * @constructor
1180
+ */
1181
+ proto.AccessIdentityProviderReq = function(opt_data) {
1182
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.AccessIdentityProviderReq.repeatedFields_, null);
1183
+ };
1184
+ goog.inherits(proto.AccessIdentityProviderReq, jspb.Message);
1185
+ if (goog.DEBUG && !COMPILED) {
1186
+ /**
1187
+ * @public
1188
+ * @override
1189
+ */
1190
+ proto.AccessIdentityProviderReq.displayName = 'proto.AccessIdentityProviderReq';
1191
+ }
1192
+ /**
1193
+ * Generated by JsPbCodeGenerator.
1194
+ * @param {Array=} opt_data Optional initial data array, typically from a
1195
+ * server response, or constructed directly in Javascript. The array is used
1196
+ * in place and becomes part of the constructed object. It is not cloned.
1197
+ * If no data is provided, the constructed object will be empty, but still
1198
+ * valid.
1199
+ * @extends {jspb.Message}
1200
+ * @constructor
1201
+ */
1202
+ proto.AccessIdentityProviderResponse = function(opt_data) {
1203
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.AccessIdentityProviderResponse.repeatedFields_, null);
1204
+ };
1205
+ goog.inherits(proto.AccessIdentityProviderResponse, jspb.Message);
1206
+ if (goog.DEBUG && !COMPILED) {
1207
+ /**
1208
+ * @public
1209
+ * @override
1210
+ */
1211
+ proto.AccessIdentityProviderResponse.displayName = 'proto.AccessIdentityProviderResponse';
1212
+ }
1081
1213
 
1082
1214
  /**
1083
1215
  * List of repeated fields within this message type.
@@ -3213,7 +3345,8 @@ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3213
3345
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
3214
3346
  referencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
3215
3347
  rolePoliciesList: jspb.Message.toObjectList(msg.getRolePoliciesList(),
3216
- proto.RolePolicy.toObject, includeInstance)
3348
+ proto.RolePolicy.toObject, includeInstance),
3349
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 5, "")
3217
3350
  };
3218
3351
 
3219
3352
  if (includeInstance) {
@@ -3267,6 +3400,10 @@ proto.Role.deserializeBinaryFromReader = function(msg, reader) {
3267
3400
  reader.readMessage(value,proto.RolePolicy.deserializeBinaryFromReader);
3268
3401
  msg.addRolePolicies(value);
3269
3402
  break;
3403
+ case 5:
3404
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3405
+ msg.setCompaniesReferencesId(value);
3406
+ break;
3270
3407
  default:
3271
3408
  reader.skipField();
3272
3409
  break;
@@ -3325,6 +3462,13 @@ proto.Role.serializeBinaryToWriter = function(message, writer) {
3325
3462
  proto.RolePolicy.serializeBinaryToWriter
3326
3463
  );
3327
3464
  }
3465
+ f = message.getCompaniesReferencesId();
3466
+ if (f.length > 0) {
3467
+ writer.writeString(
3468
+ 5,
3469
+ f
3470
+ );
3471
+ }
3328
3472
  };
3329
3473
 
3330
3474
 
@@ -3420,6 +3564,24 @@ proto.Role.prototype.clearRolePoliciesList = function() {
3420
3564
  };
3421
3565
 
3422
3566
 
3567
+ /**
3568
+ * optional string companies_references_id = 5;
3569
+ * @return {string}
3570
+ */
3571
+ proto.Role.prototype.getCompaniesReferencesId = function() {
3572
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3573
+ };
3574
+
3575
+
3576
+ /**
3577
+ * @param {string} value
3578
+ * @return {!proto.Role} returns this
3579
+ */
3580
+ proto.Role.prototype.setCompaniesReferencesId = function(value) {
3581
+ return jspb.Message.setProto3StringField(this, 5, value);
3582
+ };
3583
+
3584
+
3423
3585
 
3424
3586
 
3425
3587
 
@@ -4175,7 +4337,8 @@ proto.ActionCatalog.toObject = function(includeInstance, msg) {
4175
4337
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
4176
4338
  alias: jspb.Message.getFieldWithDefault(msg, 2, ""),
4177
4339
  referencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
4178
- actionList: (f = msg.getActionList()) && proto.ActionList.toObject(includeInstance, f)
4340
+ actionList: (f = msg.getActionList()) && proto.ActionList.toObject(includeInstance, f),
4341
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 5, "")
4179
4342
  };
4180
4343
 
4181
4344
  if (includeInstance) {
@@ -4229,6 +4392,10 @@ proto.ActionCatalog.deserializeBinaryFromReader = function(msg, reader) {
4229
4392
  reader.readMessage(value,proto.ActionList.deserializeBinaryFromReader);
4230
4393
  msg.setActionList(value);
4231
4394
  break;
4395
+ case 5:
4396
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4397
+ msg.setCompaniesReferencesId(value);
4398
+ break;
4232
4399
  default:
4233
4400
  reader.skipField();
4234
4401
  break;
@@ -4287,6 +4454,13 @@ proto.ActionCatalog.serializeBinaryToWriter = function(message, writer) {
4287
4454
  proto.ActionList.serializeBinaryToWriter
4288
4455
  );
4289
4456
  }
4457
+ f = message.getCompaniesReferencesId();
4458
+ if (f.length > 0) {
4459
+ writer.writeString(
4460
+ 5,
4461
+ f
4462
+ );
4463
+ }
4290
4464
  };
4291
4465
 
4292
4466
 
@@ -4381,6 +4555,24 @@ proto.ActionCatalog.prototype.hasActionList = function() {
4381
4555
  };
4382
4556
 
4383
4557
 
4558
+ /**
4559
+ * optional string companies_references_id = 5;
4560
+ * @return {string}
4561
+ */
4562
+ proto.ActionCatalog.prototype.getCompaniesReferencesId = function() {
4563
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4564
+ };
4565
+
4566
+
4567
+ /**
4568
+ * @param {string} value
4569
+ * @return {!proto.ActionCatalog} returns this
4570
+ */
4571
+ proto.ActionCatalog.prototype.setCompaniesReferencesId = function(value) {
4572
+ return jspb.Message.setProto3StringField(this, 5, value);
4573
+ };
4574
+
4575
+
4384
4576
 
4385
4577
 
4386
4578
 
@@ -11391,6 +11583,1158 @@ proto.AssignRoleToUserResponse.prototype.hasMeta = function() {
11391
11583
  };
11392
11584
 
11393
11585
 
11586
+
11587
+
11588
+
11589
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11590
+ /**
11591
+ * Creates an object representation of this proto.
11592
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11593
+ * Optional fields that are not set will be set to undefined.
11594
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11595
+ * For the list of reserved names please see:
11596
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11597
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11598
+ * JSPB instance for transitional soy proto support:
11599
+ * http://goto/soy-param-migration
11600
+ * @return {!Object}
11601
+ */
11602
+ proto.CreateRoleRequestDefault.prototype.toObject = function(opt_includeInstance) {
11603
+ return proto.CreateRoleRequestDefault.toObject(opt_includeInstance, this);
11604
+ };
11605
+
11606
+
11607
+ /**
11608
+ * Static version of the {@see toObject} method.
11609
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11610
+ * the JSPB instance for transitional soy proto support:
11611
+ * http://goto/soy-param-migration
11612
+ * @param {!proto.CreateRoleRequestDefault} msg The msg instance to transform.
11613
+ * @return {!Object}
11614
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11615
+ */
11616
+ proto.CreateRoleRequestDefault.toObject = function(includeInstance, msg) {
11617
+ var f, obj = {
11618
+ userReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
11619
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
11620
+ };
11621
+
11622
+ if (includeInstance) {
11623
+ obj.$jspbMessageInstance = msg;
11624
+ }
11625
+ return obj;
11626
+ };
11627
+ }
11628
+
11629
+
11630
+ /**
11631
+ * Deserializes binary data (in protobuf wire format).
11632
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11633
+ * @return {!proto.CreateRoleRequestDefault}
11634
+ */
11635
+ proto.CreateRoleRequestDefault.deserializeBinary = function(bytes) {
11636
+ var reader = new jspb.BinaryReader(bytes);
11637
+ var msg = new proto.CreateRoleRequestDefault;
11638
+ return proto.CreateRoleRequestDefault.deserializeBinaryFromReader(msg, reader);
11639
+ };
11640
+
11641
+
11642
+ /**
11643
+ * Deserializes binary data (in protobuf wire format) from the
11644
+ * given reader into the given message object.
11645
+ * @param {!proto.CreateRoleRequestDefault} msg The message object to deserialize into.
11646
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11647
+ * @return {!proto.CreateRoleRequestDefault}
11648
+ */
11649
+ proto.CreateRoleRequestDefault.deserializeBinaryFromReader = function(msg, reader) {
11650
+ while (reader.nextField()) {
11651
+ if (reader.isEndGroup()) {
11652
+ break;
11653
+ }
11654
+ var field = reader.getFieldNumber();
11655
+ switch (field) {
11656
+ case 1:
11657
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11658
+ msg.setUserReferencesId(value);
11659
+ break;
11660
+ case 2:
11661
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11662
+ msg.setCompaniesReferencesId(value);
11663
+ break;
11664
+ default:
11665
+ reader.skipField();
11666
+ break;
11667
+ }
11668
+ }
11669
+ return msg;
11670
+ };
11671
+
11672
+
11673
+ /**
11674
+ * Serializes the message to binary data (in protobuf wire format).
11675
+ * @return {!Uint8Array}
11676
+ */
11677
+ proto.CreateRoleRequestDefault.prototype.serializeBinary = function() {
11678
+ var writer = new jspb.BinaryWriter();
11679
+ proto.CreateRoleRequestDefault.serializeBinaryToWriter(this, writer);
11680
+ return writer.getResultBuffer();
11681
+ };
11682
+
11683
+
11684
+ /**
11685
+ * Serializes the given message to binary data (in protobuf wire
11686
+ * format), writing to the given BinaryWriter.
11687
+ * @param {!proto.CreateRoleRequestDefault} message
11688
+ * @param {!jspb.BinaryWriter} writer
11689
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11690
+ */
11691
+ proto.CreateRoleRequestDefault.serializeBinaryToWriter = function(message, writer) {
11692
+ var f = undefined;
11693
+ f = message.getUserReferencesId();
11694
+ if (f.length > 0) {
11695
+ writer.writeString(
11696
+ 1,
11697
+ f
11698
+ );
11699
+ }
11700
+ f = message.getCompaniesReferencesId();
11701
+ if (f.length > 0) {
11702
+ writer.writeString(
11703
+ 2,
11704
+ f
11705
+ );
11706
+ }
11707
+ };
11708
+
11709
+
11710
+ /**
11711
+ * optional string user_references_id = 1;
11712
+ * @return {string}
11713
+ */
11714
+ proto.CreateRoleRequestDefault.prototype.getUserReferencesId = function() {
11715
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
11716
+ };
11717
+
11718
+
11719
+ /**
11720
+ * @param {string} value
11721
+ * @return {!proto.CreateRoleRequestDefault} returns this
11722
+ */
11723
+ proto.CreateRoleRequestDefault.prototype.setUserReferencesId = function(value) {
11724
+ return jspb.Message.setProto3StringField(this, 1, value);
11725
+ };
11726
+
11727
+
11728
+ /**
11729
+ * optional string companies_references_id = 2;
11730
+ * @return {string}
11731
+ */
11732
+ proto.CreateRoleRequestDefault.prototype.getCompaniesReferencesId = function() {
11733
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11734
+ };
11735
+
11736
+
11737
+ /**
11738
+ * @param {string} value
11739
+ * @return {!proto.CreateRoleRequestDefault} returns this
11740
+ */
11741
+ proto.CreateRoleRequestDefault.prototype.setCompaniesReferencesId = function(value) {
11742
+ return jspb.Message.setProto3StringField(this, 2, value);
11743
+ };
11744
+
11745
+
11746
+
11747
+ /**
11748
+ * List of repeated fields within this message type.
11749
+ * @private {!Array<number>}
11750
+ * @const
11751
+ */
11752
+ proto.CreateRoleResponseDefault.repeatedFields_ = [1];
11753
+
11754
+
11755
+
11756
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11757
+ /**
11758
+ * Creates an object representation of this proto.
11759
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11760
+ * Optional fields that are not set will be set to undefined.
11761
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11762
+ * For the list of reserved names please see:
11763
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11764
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11765
+ * JSPB instance for transitional soy proto support:
11766
+ * http://goto/soy-param-migration
11767
+ * @return {!Object}
11768
+ */
11769
+ proto.CreateRoleResponseDefault.prototype.toObject = function(opt_includeInstance) {
11770
+ return proto.CreateRoleResponseDefault.toObject(opt_includeInstance, this);
11771
+ };
11772
+
11773
+
11774
+ /**
11775
+ * Static version of the {@see toObject} method.
11776
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11777
+ * the JSPB instance for transitional soy proto support:
11778
+ * http://goto/soy-param-migration
11779
+ * @param {!proto.CreateRoleResponseDefault} msg The msg instance to transform.
11780
+ * @return {!Object}
11781
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11782
+ */
11783
+ proto.CreateRoleResponseDefault.toObject = function(includeInstance, msg) {
11784
+ var f, obj = {
11785
+ roleList: jspb.Message.toObjectList(msg.getRoleList(),
11786
+ proto.Role.toObject, includeInstance),
11787
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
11788
+ };
11789
+
11790
+ if (includeInstance) {
11791
+ obj.$jspbMessageInstance = msg;
11792
+ }
11793
+ return obj;
11794
+ };
11795
+ }
11796
+
11797
+
11798
+ /**
11799
+ * Deserializes binary data (in protobuf wire format).
11800
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11801
+ * @return {!proto.CreateRoleResponseDefault}
11802
+ */
11803
+ proto.CreateRoleResponseDefault.deserializeBinary = function(bytes) {
11804
+ var reader = new jspb.BinaryReader(bytes);
11805
+ var msg = new proto.CreateRoleResponseDefault;
11806
+ return proto.CreateRoleResponseDefault.deserializeBinaryFromReader(msg, reader);
11807
+ };
11808
+
11809
+
11810
+ /**
11811
+ * Deserializes binary data (in protobuf wire format) from the
11812
+ * given reader into the given message object.
11813
+ * @param {!proto.CreateRoleResponseDefault} msg The message object to deserialize into.
11814
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11815
+ * @return {!proto.CreateRoleResponseDefault}
11816
+ */
11817
+ proto.CreateRoleResponseDefault.deserializeBinaryFromReader = function(msg, reader) {
11818
+ while (reader.nextField()) {
11819
+ if (reader.isEndGroup()) {
11820
+ break;
11821
+ }
11822
+ var field = reader.getFieldNumber();
11823
+ switch (field) {
11824
+ case 1:
11825
+ var value = new proto.Role;
11826
+ reader.readMessage(value,proto.Role.deserializeBinaryFromReader);
11827
+ msg.addRole(value);
11828
+ break;
11829
+ case 2:
11830
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
11831
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
11832
+ msg.setMeta(value);
11833
+ break;
11834
+ default:
11835
+ reader.skipField();
11836
+ break;
11837
+ }
11838
+ }
11839
+ return msg;
11840
+ };
11841
+
11842
+
11843
+ /**
11844
+ * Serializes the message to binary data (in protobuf wire format).
11845
+ * @return {!Uint8Array}
11846
+ */
11847
+ proto.CreateRoleResponseDefault.prototype.serializeBinary = function() {
11848
+ var writer = new jspb.BinaryWriter();
11849
+ proto.CreateRoleResponseDefault.serializeBinaryToWriter(this, writer);
11850
+ return writer.getResultBuffer();
11851
+ };
11852
+
11853
+
11854
+ /**
11855
+ * Serializes the given message to binary data (in protobuf wire
11856
+ * format), writing to the given BinaryWriter.
11857
+ * @param {!proto.CreateRoleResponseDefault} message
11858
+ * @param {!jspb.BinaryWriter} writer
11859
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11860
+ */
11861
+ proto.CreateRoleResponseDefault.serializeBinaryToWriter = function(message, writer) {
11862
+ var f = undefined;
11863
+ f = message.getRoleList();
11864
+ if (f.length > 0) {
11865
+ writer.writeRepeatedMessage(
11866
+ 1,
11867
+ f,
11868
+ proto.Role.serializeBinaryToWriter
11869
+ );
11870
+ }
11871
+ f = message.getMeta();
11872
+ if (f != null) {
11873
+ writer.writeMessage(
11874
+ 2,
11875
+ f,
11876
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
11877
+ );
11878
+ }
11879
+ };
11880
+
11881
+
11882
+ /**
11883
+ * repeated Role role = 1;
11884
+ * @return {!Array<!proto.Role>}
11885
+ */
11886
+ proto.CreateRoleResponseDefault.prototype.getRoleList = function() {
11887
+ return /** @type{!Array<!proto.Role>} */ (
11888
+ jspb.Message.getRepeatedWrapperField(this, proto.Role, 1));
11889
+ };
11890
+
11891
+
11892
+ /**
11893
+ * @param {!Array<!proto.Role>} value
11894
+ * @return {!proto.CreateRoleResponseDefault} returns this
11895
+ */
11896
+ proto.CreateRoleResponseDefault.prototype.setRoleList = function(value) {
11897
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
11898
+ };
11899
+
11900
+
11901
+ /**
11902
+ * @param {!proto.Role=} opt_value
11903
+ * @param {number=} opt_index
11904
+ * @return {!proto.Role}
11905
+ */
11906
+ proto.CreateRoleResponseDefault.prototype.addRole = function(opt_value, opt_index) {
11907
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Role, opt_index);
11908
+ };
11909
+
11910
+
11911
+ /**
11912
+ * Clears the list making it empty but non-null.
11913
+ * @return {!proto.CreateRoleResponseDefault} returns this
11914
+ */
11915
+ proto.CreateRoleResponseDefault.prototype.clearRoleList = function() {
11916
+ return this.setRoleList([]);
11917
+ };
11918
+
11919
+
11920
+ /**
11921
+ * optional prisca.v1.global.meta.Meta meta = 2;
11922
+ * @return {?proto.prisca.v1.global.meta.Meta}
11923
+ */
11924
+ proto.CreateRoleResponseDefault.prototype.getMeta = function() {
11925
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
11926
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
11927
+ };
11928
+
11929
+
11930
+ /**
11931
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
11932
+ * @return {!proto.CreateRoleResponseDefault} returns this
11933
+ */
11934
+ proto.CreateRoleResponseDefault.prototype.setMeta = function(value) {
11935
+ return jspb.Message.setWrapperField(this, 2, value);
11936
+ };
11937
+
11938
+
11939
+ /**
11940
+ * Clears the message field making it undefined.
11941
+ * @return {!proto.CreateRoleResponseDefault} returns this
11942
+ */
11943
+ proto.CreateRoleResponseDefault.prototype.clearMeta = function() {
11944
+ return this.setMeta(undefined);
11945
+ };
11946
+
11947
+
11948
+ /**
11949
+ * Returns whether this field is set.
11950
+ * @return {boolean}
11951
+ */
11952
+ proto.CreateRoleResponseDefault.prototype.hasMeta = function() {
11953
+ return jspb.Message.getField(this, 2) != null;
11954
+ };
11955
+
11956
+
11957
+
11958
+
11959
+
11960
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11961
+ /**
11962
+ * Creates an object representation of this proto.
11963
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11964
+ * Optional fields that are not set will be set to undefined.
11965
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11966
+ * For the list of reserved names please see:
11967
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11968
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11969
+ * JSPB instance for transitional soy proto support:
11970
+ * http://goto/soy-param-migration
11971
+ * @return {!Object}
11972
+ */
11973
+ proto.AccessIdentityProvider.prototype.toObject = function(opt_includeInstance) {
11974
+ return proto.AccessIdentityProvider.toObject(opt_includeInstance, this);
11975
+ };
11976
+
11977
+
11978
+ /**
11979
+ * Static version of the {@see toObject} method.
11980
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11981
+ * the JSPB instance for transitional soy proto support:
11982
+ * http://goto/soy-param-migration
11983
+ * @param {!proto.AccessIdentityProvider} msg The msg instance to transform.
11984
+ * @return {!Object}
11985
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11986
+ */
11987
+ proto.AccessIdentityProvider.toObject = function(includeInstance, msg) {
11988
+ var f, obj = {
11989
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
11990
+ userReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
11991
+ identityProviderReferencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
11992
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
11993
+ };
11994
+
11995
+ if (includeInstance) {
11996
+ obj.$jspbMessageInstance = msg;
11997
+ }
11998
+ return obj;
11999
+ };
12000
+ }
12001
+
12002
+
12003
+ /**
12004
+ * Deserializes binary data (in protobuf wire format).
12005
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12006
+ * @return {!proto.AccessIdentityProvider}
12007
+ */
12008
+ proto.AccessIdentityProvider.deserializeBinary = function(bytes) {
12009
+ var reader = new jspb.BinaryReader(bytes);
12010
+ var msg = new proto.AccessIdentityProvider;
12011
+ return proto.AccessIdentityProvider.deserializeBinaryFromReader(msg, reader);
12012
+ };
12013
+
12014
+
12015
+ /**
12016
+ * Deserializes binary data (in protobuf wire format) from the
12017
+ * given reader into the given message object.
12018
+ * @param {!proto.AccessIdentityProvider} msg The message object to deserialize into.
12019
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12020
+ * @return {!proto.AccessIdentityProvider}
12021
+ */
12022
+ proto.AccessIdentityProvider.deserializeBinaryFromReader = function(msg, reader) {
12023
+ while (reader.nextField()) {
12024
+ if (reader.isEndGroup()) {
12025
+ break;
12026
+ }
12027
+ var field = reader.getFieldNumber();
12028
+ switch (field) {
12029
+ case 1:
12030
+ var value = /** @type {number} */ (reader.readInt64());
12031
+ msg.setId(value);
12032
+ break;
12033
+ case 2:
12034
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12035
+ msg.setUserReferencesId(value);
12036
+ break;
12037
+ case 3:
12038
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12039
+ msg.setIdentityProviderReferencesId(value);
12040
+ break;
12041
+ case 4:
12042
+ var value = /** @type {boolean} */ (reader.readBool());
12043
+ msg.setIsActive(value);
12044
+ break;
12045
+ default:
12046
+ reader.skipField();
12047
+ break;
12048
+ }
12049
+ }
12050
+ return msg;
12051
+ };
12052
+
12053
+
12054
+ /**
12055
+ * Serializes the message to binary data (in protobuf wire format).
12056
+ * @return {!Uint8Array}
12057
+ */
12058
+ proto.AccessIdentityProvider.prototype.serializeBinary = function() {
12059
+ var writer = new jspb.BinaryWriter();
12060
+ proto.AccessIdentityProvider.serializeBinaryToWriter(this, writer);
12061
+ return writer.getResultBuffer();
12062
+ };
12063
+
12064
+
12065
+ /**
12066
+ * Serializes the given message to binary data (in protobuf wire
12067
+ * format), writing to the given BinaryWriter.
12068
+ * @param {!proto.AccessIdentityProvider} message
12069
+ * @param {!jspb.BinaryWriter} writer
12070
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12071
+ */
12072
+ proto.AccessIdentityProvider.serializeBinaryToWriter = function(message, writer) {
12073
+ var f = undefined;
12074
+ f = message.getId();
12075
+ if (f !== 0) {
12076
+ writer.writeInt64(
12077
+ 1,
12078
+ f
12079
+ );
12080
+ }
12081
+ f = message.getUserReferencesId();
12082
+ if (f.length > 0) {
12083
+ writer.writeString(
12084
+ 2,
12085
+ f
12086
+ );
12087
+ }
12088
+ f = message.getIdentityProviderReferencesId();
12089
+ if (f.length > 0) {
12090
+ writer.writeString(
12091
+ 3,
12092
+ f
12093
+ );
12094
+ }
12095
+ f = message.getIsActive();
12096
+ if (f) {
12097
+ writer.writeBool(
12098
+ 4,
12099
+ f
12100
+ );
12101
+ }
12102
+ };
12103
+
12104
+
12105
+ /**
12106
+ * optional int64 id = 1;
12107
+ * @return {number}
12108
+ */
12109
+ proto.AccessIdentityProvider.prototype.getId = function() {
12110
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
12111
+ };
12112
+
12113
+
12114
+ /**
12115
+ * @param {number} value
12116
+ * @return {!proto.AccessIdentityProvider} returns this
12117
+ */
12118
+ proto.AccessIdentityProvider.prototype.setId = function(value) {
12119
+ return jspb.Message.setProto3IntField(this, 1, value);
12120
+ };
12121
+
12122
+
12123
+ /**
12124
+ * optional string user_references_id = 2;
12125
+ * @return {string}
12126
+ */
12127
+ proto.AccessIdentityProvider.prototype.getUserReferencesId = function() {
12128
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
12129
+ };
12130
+
12131
+
12132
+ /**
12133
+ * @param {string} value
12134
+ * @return {!proto.AccessIdentityProvider} returns this
12135
+ */
12136
+ proto.AccessIdentityProvider.prototype.setUserReferencesId = function(value) {
12137
+ return jspb.Message.setProto3StringField(this, 2, value);
12138
+ };
12139
+
12140
+
12141
+ /**
12142
+ * optional string identity_provider_references_id = 3;
12143
+ * @return {string}
12144
+ */
12145
+ proto.AccessIdentityProvider.prototype.getIdentityProviderReferencesId = function() {
12146
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
12147
+ };
12148
+
12149
+
12150
+ /**
12151
+ * @param {string} value
12152
+ * @return {!proto.AccessIdentityProvider} returns this
12153
+ */
12154
+ proto.AccessIdentityProvider.prototype.setIdentityProviderReferencesId = function(value) {
12155
+ return jspb.Message.setProto3StringField(this, 3, value);
12156
+ };
12157
+
12158
+
12159
+ /**
12160
+ * optional bool is_active = 4;
12161
+ * @return {boolean}
12162
+ */
12163
+ proto.AccessIdentityProvider.prototype.getIsActive = function() {
12164
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
12165
+ };
12166
+
12167
+
12168
+ /**
12169
+ * @param {boolean} value
12170
+ * @return {!proto.AccessIdentityProvider} returns this
12171
+ */
12172
+ proto.AccessIdentityProvider.prototype.setIsActive = function(value) {
12173
+ return jspb.Message.setProto3BooleanField(this, 4, value);
12174
+ };
12175
+
12176
+
12177
+
12178
+
12179
+
12180
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12181
+ /**
12182
+ * Creates an object representation of this proto.
12183
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12184
+ * Optional fields that are not set will be set to undefined.
12185
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12186
+ * For the list of reserved names please see:
12187
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12188
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12189
+ * JSPB instance for transitional soy proto support:
12190
+ * http://goto/soy-param-migration
12191
+ * @return {!Object}
12192
+ */
12193
+ proto.BaseAccessIdentityProvider.prototype.toObject = function(opt_includeInstance) {
12194
+ return proto.BaseAccessIdentityProvider.toObject(opt_includeInstance, this);
12195
+ };
12196
+
12197
+
12198
+ /**
12199
+ * Static version of the {@see toObject} method.
12200
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12201
+ * the JSPB instance for transitional soy proto support:
12202
+ * http://goto/soy-param-migration
12203
+ * @param {!proto.BaseAccessIdentityProvider} msg The msg instance to transform.
12204
+ * @return {!Object}
12205
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12206
+ */
12207
+ proto.BaseAccessIdentityProvider.toObject = function(includeInstance, msg) {
12208
+ var f, obj = {
12209
+ userReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
12210
+ identityProviderReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
12211
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
12212
+ };
12213
+
12214
+ if (includeInstance) {
12215
+ obj.$jspbMessageInstance = msg;
12216
+ }
12217
+ return obj;
12218
+ };
12219
+ }
12220
+
12221
+
12222
+ /**
12223
+ * Deserializes binary data (in protobuf wire format).
12224
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12225
+ * @return {!proto.BaseAccessIdentityProvider}
12226
+ */
12227
+ proto.BaseAccessIdentityProvider.deserializeBinary = function(bytes) {
12228
+ var reader = new jspb.BinaryReader(bytes);
12229
+ var msg = new proto.BaseAccessIdentityProvider;
12230
+ return proto.BaseAccessIdentityProvider.deserializeBinaryFromReader(msg, reader);
12231
+ };
12232
+
12233
+
12234
+ /**
12235
+ * Deserializes binary data (in protobuf wire format) from the
12236
+ * given reader into the given message object.
12237
+ * @param {!proto.BaseAccessIdentityProvider} msg The message object to deserialize into.
12238
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12239
+ * @return {!proto.BaseAccessIdentityProvider}
12240
+ */
12241
+ proto.BaseAccessIdentityProvider.deserializeBinaryFromReader = function(msg, reader) {
12242
+ while (reader.nextField()) {
12243
+ if (reader.isEndGroup()) {
12244
+ break;
12245
+ }
12246
+ var field = reader.getFieldNumber();
12247
+ switch (field) {
12248
+ case 1:
12249
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12250
+ msg.setUserReferencesId(value);
12251
+ break;
12252
+ case 2:
12253
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12254
+ msg.setIdentityProviderReferencesId(value);
12255
+ break;
12256
+ case 3:
12257
+ var value = /** @type {boolean} */ (reader.readBool());
12258
+ msg.setIsActive(value);
12259
+ break;
12260
+ default:
12261
+ reader.skipField();
12262
+ break;
12263
+ }
12264
+ }
12265
+ return msg;
12266
+ };
12267
+
12268
+
12269
+ /**
12270
+ * Serializes the message to binary data (in protobuf wire format).
12271
+ * @return {!Uint8Array}
12272
+ */
12273
+ proto.BaseAccessIdentityProvider.prototype.serializeBinary = function() {
12274
+ var writer = new jspb.BinaryWriter();
12275
+ proto.BaseAccessIdentityProvider.serializeBinaryToWriter(this, writer);
12276
+ return writer.getResultBuffer();
12277
+ };
12278
+
12279
+
12280
+ /**
12281
+ * Serializes the given message to binary data (in protobuf wire
12282
+ * format), writing to the given BinaryWriter.
12283
+ * @param {!proto.BaseAccessIdentityProvider} message
12284
+ * @param {!jspb.BinaryWriter} writer
12285
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12286
+ */
12287
+ proto.BaseAccessIdentityProvider.serializeBinaryToWriter = function(message, writer) {
12288
+ var f = undefined;
12289
+ f = message.getUserReferencesId();
12290
+ if (f.length > 0) {
12291
+ writer.writeString(
12292
+ 1,
12293
+ f
12294
+ );
12295
+ }
12296
+ f = message.getIdentityProviderReferencesId();
12297
+ if (f.length > 0) {
12298
+ writer.writeString(
12299
+ 2,
12300
+ f
12301
+ );
12302
+ }
12303
+ f = message.getIsActive();
12304
+ if (f) {
12305
+ writer.writeBool(
12306
+ 3,
12307
+ f
12308
+ );
12309
+ }
12310
+ };
12311
+
12312
+
12313
+ /**
12314
+ * optional string user_references_id = 1;
12315
+ * @return {string}
12316
+ */
12317
+ proto.BaseAccessIdentityProvider.prototype.getUserReferencesId = function() {
12318
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
12319
+ };
12320
+
12321
+
12322
+ /**
12323
+ * @param {string} value
12324
+ * @return {!proto.BaseAccessIdentityProvider} returns this
12325
+ */
12326
+ proto.BaseAccessIdentityProvider.prototype.setUserReferencesId = function(value) {
12327
+ return jspb.Message.setProto3StringField(this, 1, value);
12328
+ };
12329
+
12330
+
12331
+ /**
12332
+ * optional string identity_provider_references_id = 2;
12333
+ * @return {string}
12334
+ */
12335
+ proto.BaseAccessIdentityProvider.prototype.getIdentityProviderReferencesId = function() {
12336
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
12337
+ };
12338
+
12339
+
12340
+ /**
12341
+ * @param {string} value
12342
+ * @return {!proto.BaseAccessIdentityProvider} returns this
12343
+ */
12344
+ proto.BaseAccessIdentityProvider.prototype.setIdentityProviderReferencesId = function(value) {
12345
+ return jspb.Message.setProto3StringField(this, 2, value);
12346
+ };
12347
+
12348
+
12349
+ /**
12350
+ * optional bool is_active = 3;
12351
+ * @return {boolean}
12352
+ */
12353
+ proto.BaseAccessIdentityProvider.prototype.getIsActive = function() {
12354
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
12355
+ };
12356
+
12357
+
12358
+ /**
12359
+ * @param {boolean} value
12360
+ * @return {!proto.BaseAccessIdentityProvider} returns this
12361
+ */
12362
+ proto.BaseAccessIdentityProvider.prototype.setIsActive = function(value) {
12363
+ return jspb.Message.setProto3BooleanField(this, 3, value);
12364
+ };
12365
+
12366
+
12367
+
12368
+ /**
12369
+ * List of repeated fields within this message type.
12370
+ * @private {!Array<number>}
12371
+ * @const
12372
+ */
12373
+ proto.AccessIdentityProviderReq.repeatedFields_ = [1];
12374
+
12375
+
12376
+
12377
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12378
+ /**
12379
+ * Creates an object representation of this proto.
12380
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12381
+ * Optional fields that are not set will be set to undefined.
12382
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12383
+ * For the list of reserved names please see:
12384
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12385
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12386
+ * JSPB instance for transitional soy proto support:
12387
+ * http://goto/soy-param-migration
12388
+ * @return {!Object}
12389
+ */
12390
+ proto.AccessIdentityProviderReq.prototype.toObject = function(opt_includeInstance) {
12391
+ return proto.AccessIdentityProviderReq.toObject(opt_includeInstance, this);
12392
+ };
12393
+
12394
+
12395
+ /**
12396
+ * Static version of the {@see toObject} method.
12397
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12398
+ * the JSPB instance for transitional soy proto support:
12399
+ * http://goto/soy-param-migration
12400
+ * @param {!proto.AccessIdentityProviderReq} msg The msg instance to transform.
12401
+ * @return {!Object}
12402
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12403
+ */
12404
+ proto.AccessIdentityProviderReq.toObject = function(includeInstance, msg) {
12405
+ var f, obj = {
12406
+ accessIdentityProviderList: jspb.Message.toObjectList(msg.getAccessIdentityProviderList(),
12407
+ proto.BaseAccessIdentityProvider.toObject, includeInstance)
12408
+ };
12409
+
12410
+ if (includeInstance) {
12411
+ obj.$jspbMessageInstance = msg;
12412
+ }
12413
+ return obj;
12414
+ };
12415
+ }
12416
+
12417
+
12418
+ /**
12419
+ * Deserializes binary data (in protobuf wire format).
12420
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12421
+ * @return {!proto.AccessIdentityProviderReq}
12422
+ */
12423
+ proto.AccessIdentityProviderReq.deserializeBinary = function(bytes) {
12424
+ var reader = new jspb.BinaryReader(bytes);
12425
+ var msg = new proto.AccessIdentityProviderReq;
12426
+ return proto.AccessIdentityProviderReq.deserializeBinaryFromReader(msg, reader);
12427
+ };
12428
+
12429
+
12430
+ /**
12431
+ * Deserializes binary data (in protobuf wire format) from the
12432
+ * given reader into the given message object.
12433
+ * @param {!proto.AccessIdentityProviderReq} msg The message object to deserialize into.
12434
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12435
+ * @return {!proto.AccessIdentityProviderReq}
12436
+ */
12437
+ proto.AccessIdentityProviderReq.deserializeBinaryFromReader = function(msg, reader) {
12438
+ while (reader.nextField()) {
12439
+ if (reader.isEndGroup()) {
12440
+ break;
12441
+ }
12442
+ var field = reader.getFieldNumber();
12443
+ switch (field) {
12444
+ case 1:
12445
+ var value = new proto.BaseAccessIdentityProvider;
12446
+ reader.readMessage(value,proto.BaseAccessIdentityProvider.deserializeBinaryFromReader);
12447
+ msg.addAccessIdentityProvider(value);
12448
+ break;
12449
+ default:
12450
+ reader.skipField();
12451
+ break;
12452
+ }
12453
+ }
12454
+ return msg;
12455
+ };
12456
+
12457
+
12458
+ /**
12459
+ * Serializes the message to binary data (in protobuf wire format).
12460
+ * @return {!Uint8Array}
12461
+ */
12462
+ proto.AccessIdentityProviderReq.prototype.serializeBinary = function() {
12463
+ var writer = new jspb.BinaryWriter();
12464
+ proto.AccessIdentityProviderReq.serializeBinaryToWriter(this, writer);
12465
+ return writer.getResultBuffer();
12466
+ };
12467
+
12468
+
12469
+ /**
12470
+ * Serializes the given message to binary data (in protobuf wire
12471
+ * format), writing to the given BinaryWriter.
12472
+ * @param {!proto.AccessIdentityProviderReq} message
12473
+ * @param {!jspb.BinaryWriter} writer
12474
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12475
+ */
12476
+ proto.AccessIdentityProviderReq.serializeBinaryToWriter = function(message, writer) {
12477
+ var f = undefined;
12478
+ f = message.getAccessIdentityProviderList();
12479
+ if (f.length > 0) {
12480
+ writer.writeRepeatedMessage(
12481
+ 1,
12482
+ f,
12483
+ proto.BaseAccessIdentityProvider.serializeBinaryToWriter
12484
+ );
12485
+ }
12486
+ };
12487
+
12488
+
12489
+ /**
12490
+ * repeated BaseAccessIdentityProvider access_identity_provider = 1;
12491
+ * @return {!Array<!proto.BaseAccessIdentityProvider>}
12492
+ */
12493
+ proto.AccessIdentityProviderReq.prototype.getAccessIdentityProviderList = function() {
12494
+ return /** @type{!Array<!proto.BaseAccessIdentityProvider>} */ (
12495
+ jspb.Message.getRepeatedWrapperField(this, proto.BaseAccessIdentityProvider, 1));
12496
+ };
12497
+
12498
+
12499
+ /**
12500
+ * @param {!Array<!proto.BaseAccessIdentityProvider>} value
12501
+ * @return {!proto.AccessIdentityProviderReq} returns this
12502
+ */
12503
+ proto.AccessIdentityProviderReq.prototype.setAccessIdentityProviderList = function(value) {
12504
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
12505
+ };
12506
+
12507
+
12508
+ /**
12509
+ * @param {!proto.BaseAccessIdentityProvider=} opt_value
12510
+ * @param {number=} opt_index
12511
+ * @return {!proto.BaseAccessIdentityProvider}
12512
+ */
12513
+ proto.AccessIdentityProviderReq.prototype.addAccessIdentityProvider = function(opt_value, opt_index) {
12514
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseAccessIdentityProvider, opt_index);
12515
+ };
12516
+
12517
+
12518
+ /**
12519
+ * Clears the list making it empty but non-null.
12520
+ * @return {!proto.AccessIdentityProviderReq} returns this
12521
+ */
12522
+ proto.AccessIdentityProviderReq.prototype.clearAccessIdentityProviderList = function() {
12523
+ return this.setAccessIdentityProviderList([]);
12524
+ };
12525
+
12526
+
12527
+
12528
+ /**
12529
+ * List of repeated fields within this message type.
12530
+ * @private {!Array<number>}
12531
+ * @const
12532
+ */
12533
+ proto.AccessIdentityProviderResponse.repeatedFields_ = [1];
12534
+
12535
+
12536
+
12537
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12538
+ /**
12539
+ * Creates an object representation of this proto.
12540
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12541
+ * Optional fields that are not set will be set to undefined.
12542
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12543
+ * For the list of reserved names please see:
12544
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12545
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12546
+ * JSPB instance for transitional soy proto support:
12547
+ * http://goto/soy-param-migration
12548
+ * @return {!Object}
12549
+ */
12550
+ proto.AccessIdentityProviderResponse.prototype.toObject = function(opt_includeInstance) {
12551
+ return proto.AccessIdentityProviderResponse.toObject(opt_includeInstance, this);
12552
+ };
12553
+
12554
+
12555
+ /**
12556
+ * Static version of the {@see toObject} method.
12557
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12558
+ * the JSPB instance for transitional soy proto support:
12559
+ * http://goto/soy-param-migration
12560
+ * @param {!proto.AccessIdentityProviderResponse} msg The msg instance to transform.
12561
+ * @return {!Object}
12562
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12563
+ */
12564
+ proto.AccessIdentityProviderResponse.toObject = function(includeInstance, msg) {
12565
+ var f, obj = {
12566
+ dataList: jspb.Message.toObjectList(msg.getDataList(),
12567
+ proto.BaseAccessIdentityProvider.toObject, includeInstance),
12568
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
12569
+ };
12570
+
12571
+ if (includeInstance) {
12572
+ obj.$jspbMessageInstance = msg;
12573
+ }
12574
+ return obj;
12575
+ };
12576
+ }
12577
+
12578
+
12579
+ /**
12580
+ * Deserializes binary data (in protobuf wire format).
12581
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12582
+ * @return {!proto.AccessIdentityProviderResponse}
12583
+ */
12584
+ proto.AccessIdentityProviderResponse.deserializeBinary = function(bytes) {
12585
+ var reader = new jspb.BinaryReader(bytes);
12586
+ var msg = new proto.AccessIdentityProviderResponse;
12587
+ return proto.AccessIdentityProviderResponse.deserializeBinaryFromReader(msg, reader);
12588
+ };
12589
+
12590
+
12591
+ /**
12592
+ * Deserializes binary data (in protobuf wire format) from the
12593
+ * given reader into the given message object.
12594
+ * @param {!proto.AccessIdentityProviderResponse} msg The message object to deserialize into.
12595
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12596
+ * @return {!proto.AccessIdentityProviderResponse}
12597
+ */
12598
+ proto.AccessIdentityProviderResponse.deserializeBinaryFromReader = function(msg, reader) {
12599
+ while (reader.nextField()) {
12600
+ if (reader.isEndGroup()) {
12601
+ break;
12602
+ }
12603
+ var field = reader.getFieldNumber();
12604
+ switch (field) {
12605
+ case 1:
12606
+ var value = new proto.BaseAccessIdentityProvider;
12607
+ reader.readMessage(value,proto.BaseAccessIdentityProvider.deserializeBinaryFromReader);
12608
+ msg.addData(value);
12609
+ break;
12610
+ case 2:
12611
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
12612
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
12613
+ msg.setMeta(value);
12614
+ break;
12615
+ default:
12616
+ reader.skipField();
12617
+ break;
12618
+ }
12619
+ }
12620
+ return msg;
12621
+ };
12622
+
12623
+
12624
+ /**
12625
+ * Serializes the message to binary data (in protobuf wire format).
12626
+ * @return {!Uint8Array}
12627
+ */
12628
+ proto.AccessIdentityProviderResponse.prototype.serializeBinary = function() {
12629
+ var writer = new jspb.BinaryWriter();
12630
+ proto.AccessIdentityProviderResponse.serializeBinaryToWriter(this, writer);
12631
+ return writer.getResultBuffer();
12632
+ };
12633
+
12634
+
12635
+ /**
12636
+ * Serializes the given message to binary data (in protobuf wire
12637
+ * format), writing to the given BinaryWriter.
12638
+ * @param {!proto.AccessIdentityProviderResponse} message
12639
+ * @param {!jspb.BinaryWriter} writer
12640
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12641
+ */
12642
+ proto.AccessIdentityProviderResponse.serializeBinaryToWriter = function(message, writer) {
12643
+ var f = undefined;
12644
+ f = message.getDataList();
12645
+ if (f.length > 0) {
12646
+ writer.writeRepeatedMessage(
12647
+ 1,
12648
+ f,
12649
+ proto.BaseAccessIdentityProvider.serializeBinaryToWriter
12650
+ );
12651
+ }
12652
+ f = message.getMeta();
12653
+ if (f != null) {
12654
+ writer.writeMessage(
12655
+ 2,
12656
+ f,
12657
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
12658
+ );
12659
+ }
12660
+ };
12661
+
12662
+
12663
+ /**
12664
+ * repeated BaseAccessIdentityProvider data = 1;
12665
+ * @return {!Array<!proto.BaseAccessIdentityProvider>}
12666
+ */
12667
+ proto.AccessIdentityProviderResponse.prototype.getDataList = function() {
12668
+ return /** @type{!Array<!proto.BaseAccessIdentityProvider>} */ (
12669
+ jspb.Message.getRepeatedWrapperField(this, proto.BaseAccessIdentityProvider, 1));
12670
+ };
12671
+
12672
+
12673
+ /**
12674
+ * @param {!Array<!proto.BaseAccessIdentityProvider>} value
12675
+ * @return {!proto.AccessIdentityProviderResponse} returns this
12676
+ */
12677
+ proto.AccessIdentityProviderResponse.prototype.setDataList = function(value) {
12678
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
12679
+ };
12680
+
12681
+
12682
+ /**
12683
+ * @param {!proto.BaseAccessIdentityProvider=} opt_value
12684
+ * @param {number=} opt_index
12685
+ * @return {!proto.BaseAccessIdentityProvider}
12686
+ */
12687
+ proto.AccessIdentityProviderResponse.prototype.addData = function(opt_value, opt_index) {
12688
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseAccessIdentityProvider, opt_index);
12689
+ };
12690
+
12691
+
12692
+ /**
12693
+ * Clears the list making it empty but non-null.
12694
+ * @return {!proto.AccessIdentityProviderResponse} returns this
12695
+ */
12696
+ proto.AccessIdentityProviderResponse.prototype.clearDataList = function() {
12697
+ return this.setDataList([]);
12698
+ };
12699
+
12700
+
12701
+ /**
12702
+ * optional prisca.v1.global.meta.Meta meta = 2;
12703
+ * @return {?proto.prisca.v1.global.meta.Meta}
12704
+ */
12705
+ proto.AccessIdentityProviderResponse.prototype.getMeta = function() {
12706
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
12707
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
12708
+ };
12709
+
12710
+
12711
+ /**
12712
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
12713
+ * @return {!proto.AccessIdentityProviderResponse} returns this
12714
+ */
12715
+ proto.AccessIdentityProviderResponse.prototype.setMeta = function(value) {
12716
+ return jspb.Message.setWrapperField(this, 2, value);
12717
+ };
12718
+
12719
+
12720
+ /**
12721
+ * Clears the message field making it undefined.
12722
+ * @return {!proto.AccessIdentityProviderResponse} returns this
12723
+ */
12724
+ proto.AccessIdentityProviderResponse.prototype.clearMeta = function() {
12725
+ return this.setMeta(undefined);
12726
+ };
12727
+
12728
+
12729
+ /**
12730
+ * Returns whether this field is set.
12731
+ * @return {boolean}
12732
+ */
12733
+ proto.AccessIdentityProviderResponse.prototype.hasMeta = function() {
12734
+ return jspb.Message.getField(this, 2) != null;
12735
+ };
12736
+
12737
+
11394
12738
  /**
11395
12739
  * @enum {number}
11396
12740
  */