@aldiokta/protocgen 1.0.27 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -355,12 +355,16 @@ alias: jspb.Message.getFieldWithDefault(msg, 3, ""),
355
355
  costCenterCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
356
356
  parentReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
357
357
  parent: (f = msg.getParent()) && proto.BaseJobPositionParent.toObject(includeInstance, f),
358
+ organizationReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
358
359
  organizations: (f = msg.getOrganizations()) && prisca_v1_core_organization_organization_pb.BaseOrganization.toObject(includeInstance, f),
360
+ workLocationReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
359
361
  workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
360
- description: jspb.Message.getFieldWithDefault(msg, 9, ""),
362
+ description: jspb.Message.getFieldWithDefault(msg, 11, ""),
363
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
361
364
  companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f),
365
+ usersRoleReferencesId: jspb.Message.getFieldWithDefault(msg, 14, ""),
362
366
  role: (f = msg.getRole()) && prisca_v1_core_users_role_users_role_pb.BaseUsersRole.toObject(includeInstance, f),
363
- referencesId: jspb.Message.getFieldWithDefault(msg, 12, "")
367
+ referencesId: jspb.Message.getFieldWithDefault(msg, 16, "")
364
368
  };
365
369
 
366
370
  if (includeInstance) {
@@ -423,30 +427,46 @@ proto.BaseJobPosition.deserializeBinaryFromReader = function(msg, reader) {
423
427
  msg.setParent(value);
424
428
  break;
425
429
  case 7:
430
+ var value = /** @type {string} */ (reader.readString());
431
+ msg.setOrganizationReferencesId(value);
432
+ break;
433
+ case 8:
426
434
  var value = new prisca_v1_core_organization_organization_pb.BaseOrganization;
427
435
  reader.readMessage(value,prisca_v1_core_organization_organization_pb.BaseOrganization.deserializeBinaryFromReader);
428
436
  msg.setOrganizations(value);
429
437
  break;
430
- case 8:
438
+ case 9:
439
+ var value = /** @type {string} */ (reader.readString());
440
+ msg.setWorkLocationReferencesId(value);
441
+ break;
442
+ case 10:
431
443
  var value = new prisca_v1_core_work_location_work_location_pb.WorkLocation;
432
444
  reader.readMessage(value,prisca_v1_core_work_location_work_location_pb.WorkLocation.deserializeBinaryFromReader);
433
445
  msg.setWorkLocations(value);
434
446
  break;
435
- case 9:
447
+ case 11:
436
448
  var value = /** @type {string} */ (reader.readString());
437
449
  msg.setDescription(value);
438
450
  break;
439
- case 10:
451
+ case 12:
452
+ var value = /** @type {string} */ (reader.readString());
453
+ msg.setCompaniesReferencesId(value);
454
+ break;
455
+ case 13:
440
456
  var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
441
457
  reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
442
458
  msg.setCompanies(value);
443
459
  break;
444
- case 11:
460
+ case 14:
461
+ var value = /** @type {string} */ (reader.readString());
462
+ msg.setUsersRoleReferencesId(value);
463
+ break;
464
+ case 15:
445
465
  var value = new prisca_v1_core_users_role_users_role_pb.BaseUsersRole;
446
466
  reader.readMessage(value,prisca_v1_core_users_role_users_role_pb.BaseUsersRole.deserializeBinaryFromReader);
447
467
  msg.setRole(value);
448
468
  break;
449
- case 12:
469
+ case 16:
450
470
  var value = /** @type {string} */ (reader.readString());
451
471
  msg.setReferencesId(value);
452
472
  break;
@@ -522,18 +542,32 @@ proto.BaseJobPosition.serializeBinaryToWriter = function(message, writer) {
522
542
  proto.BaseJobPositionParent.serializeBinaryToWriter
523
543
  );
524
544
  }
545
+ f = message.getOrganizationReferencesId();
546
+ if (f.length > 0) {
547
+ writer.writeString(
548
+ 7,
549
+ f
550
+ );
551
+ }
525
552
  f = message.getOrganizations();
526
553
  if (f != null) {
527
554
  writer.writeMessage(
528
- 7,
555
+ 8,
529
556
  f,
530
557
  prisca_v1_core_organization_organization_pb.BaseOrganization.serializeBinaryToWriter
531
558
  );
532
559
  }
560
+ f = message.getWorkLocationReferencesId();
561
+ if (f.length > 0) {
562
+ writer.writeString(
563
+ 9,
564
+ f
565
+ );
566
+ }
533
567
  f = message.getWorkLocations();
534
568
  if (f != null) {
535
569
  writer.writeMessage(
536
- 8,
570
+ 10,
537
571
  f,
538
572
  prisca_v1_core_work_location_work_location_pb.WorkLocation.serializeBinaryToWriter
539
573
  );
@@ -541,22 +575,36 @@ proto.BaseJobPosition.serializeBinaryToWriter = function(message, writer) {
541
575
  f = message.getDescription();
542
576
  if (f.length > 0) {
543
577
  writer.writeString(
544
- 9,
578
+ 11,
579
+ f
580
+ );
581
+ }
582
+ f = message.getCompaniesReferencesId();
583
+ if (f.length > 0) {
584
+ writer.writeString(
585
+ 12,
545
586
  f
546
587
  );
547
588
  }
548
589
  f = message.getCompanies();
549
590
  if (f != null) {
550
591
  writer.writeMessage(
551
- 10,
592
+ 13,
552
593
  f,
553
594
  prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
554
595
  );
555
596
  }
597
+ f = message.getUsersRoleReferencesId();
598
+ if (f.length > 0) {
599
+ writer.writeString(
600
+ 14,
601
+ f
602
+ );
603
+ }
556
604
  f = message.getRole();
557
605
  if (f != null) {
558
606
  writer.writeMessage(
559
- 11,
607
+ 15,
560
608
  f,
561
609
  prisca_v1_core_users_role_users_role_pb.BaseUsersRole.serializeBinaryToWriter
562
610
  );
@@ -564,7 +612,7 @@ proto.BaseJobPosition.serializeBinaryToWriter = function(message, writer) {
564
612
  f = message.getReferencesId();
565
613
  if (f.length > 0) {
566
614
  writer.writeString(
567
- 12,
615
+ 16,
568
616
  f
569
617
  );
570
618
  }
@@ -699,12 +747,30 @@ proto.BaseJobPosition.prototype.hasParent = function() {
699
747
 
700
748
 
701
749
  /**
702
- * optional BaseOrganization organizations = 7;
750
+ * optional string organization_references_id = 7;
751
+ * @return {string}
752
+ */
753
+ proto.BaseJobPosition.prototype.getOrganizationReferencesId = function() {
754
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
755
+ };
756
+
757
+
758
+ /**
759
+ * @param {string} value
760
+ * @return {!proto.BaseJobPosition} returns this
761
+ */
762
+ proto.BaseJobPosition.prototype.setOrganizationReferencesId = function(value) {
763
+ return jspb.Message.setProto3StringField(this, 7, value);
764
+ };
765
+
766
+
767
+ /**
768
+ * optional BaseOrganization organizations = 8;
703
769
  * @return {?proto.BaseOrganization}
704
770
  */
705
771
  proto.BaseJobPosition.prototype.getOrganizations = function() {
706
772
  return /** @type{?proto.BaseOrganization} */ (
707
- jspb.Message.getWrapperField(this, prisca_v1_core_organization_organization_pb.BaseOrganization, 7));
773
+ jspb.Message.getWrapperField(this, prisca_v1_core_organization_organization_pb.BaseOrganization, 8));
708
774
  };
709
775
 
710
776
 
@@ -713,7 +779,7 @@ proto.BaseJobPosition.prototype.getOrganizations = function() {
713
779
  * @return {!proto.BaseJobPosition} returns this
714
780
  */
715
781
  proto.BaseJobPosition.prototype.setOrganizations = function(value) {
716
- return jspb.Message.setWrapperField(this, 7, value);
782
+ return jspb.Message.setWrapperField(this, 8, value);
717
783
  };
718
784
 
719
785
 
@@ -731,17 +797,35 @@ proto.BaseJobPosition.prototype.clearOrganizations = function() {
731
797
  * @return {boolean}
732
798
  */
733
799
  proto.BaseJobPosition.prototype.hasOrganizations = function() {
734
- return jspb.Message.getField(this, 7) != null;
800
+ return jspb.Message.getField(this, 8) != null;
735
801
  };
736
802
 
737
803
 
738
804
  /**
739
- * optional WorkLocation work_locations = 8;
805
+ * optional string work_location_references_id = 9;
806
+ * @return {string}
807
+ */
808
+ proto.BaseJobPosition.prototype.getWorkLocationReferencesId = function() {
809
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
810
+ };
811
+
812
+
813
+ /**
814
+ * @param {string} value
815
+ * @return {!proto.BaseJobPosition} returns this
816
+ */
817
+ proto.BaseJobPosition.prototype.setWorkLocationReferencesId = function(value) {
818
+ return jspb.Message.setProto3StringField(this, 9, value);
819
+ };
820
+
821
+
822
+ /**
823
+ * optional WorkLocation work_locations = 10;
740
824
  * @return {?proto.WorkLocation}
741
825
  */
742
826
  proto.BaseJobPosition.prototype.getWorkLocations = function() {
743
827
  return /** @type{?proto.WorkLocation} */ (
744
- jspb.Message.getWrapperField(this, prisca_v1_core_work_location_work_location_pb.WorkLocation, 8));
828
+ jspb.Message.getWrapperField(this, prisca_v1_core_work_location_work_location_pb.WorkLocation, 10));
745
829
  };
746
830
 
747
831
 
@@ -750,7 +834,7 @@ proto.BaseJobPosition.prototype.getWorkLocations = function() {
750
834
  * @return {!proto.BaseJobPosition} returns this
751
835
  */
752
836
  proto.BaseJobPosition.prototype.setWorkLocations = function(value) {
753
- return jspb.Message.setWrapperField(this, 8, value);
837
+ return jspb.Message.setWrapperField(this, 10, value);
754
838
  };
755
839
 
756
840
 
@@ -768,16 +852,16 @@ proto.BaseJobPosition.prototype.clearWorkLocations = function() {
768
852
  * @return {boolean}
769
853
  */
770
854
  proto.BaseJobPosition.prototype.hasWorkLocations = function() {
771
- return jspb.Message.getField(this, 8) != null;
855
+ return jspb.Message.getField(this, 10) != null;
772
856
  };
773
857
 
774
858
 
775
859
  /**
776
- * optional string description = 9;
860
+ * optional string description = 11;
777
861
  * @return {string}
778
862
  */
779
863
  proto.BaseJobPosition.prototype.getDescription = function() {
780
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
864
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
781
865
  };
782
866
 
783
867
 
@@ -786,17 +870,35 @@ proto.BaseJobPosition.prototype.getDescription = function() {
786
870
  * @return {!proto.BaseJobPosition} returns this
787
871
  */
788
872
  proto.BaseJobPosition.prototype.setDescription = function(value) {
789
- return jspb.Message.setProto3StringField(this, 9, value);
873
+ return jspb.Message.setProto3StringField(this, 11, value);
790
874
  };
791
875
 
792
876
 
793
877
  /**
794
- * optional BaseCompanyParent companies = 10;
878
+ * optional string companies_references_id = 12;
879
+ * @return {string}
880
+ */
881
+ proto.BaseJobPosition.prototype.getCompaniesReferencesId = function() {
882
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
883
+ };
884
+
885
+
886
+ /**
887
+ * @param {string} value
888
+ * @return {!proto.BaseJobPosition} returns this
889
+ */
890
+ proto.BaseJobPosition.prototype.setCompaniesReferencesId = function(value) {
891
+ return jspb.Message.setProto3StringField(this, 12, value);
892
+ };
893
+
894
+
895
+ /**
896
+ * optional BaseCompanyParent companies = 13;
795
897
  * @return {?proto.BaseCompanyParent}
796
898
  */
797
899
  proto.BaseJobPosition.prototype.getCompanies = function() {
798
900
  return /** @type{?proto.BaseCompanyParent} */ (
799
- jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 10));
901
+ jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 13));
800
902
  };
801
903
 
802
904
 
@@ -805,7 +907,7 @@ proto.BaseJobPosition.prototype.getCompanies = function() {
805
907
  * @return {!proto.BaseJobPosition} returns this
806
908
  */
807
909
  proto.BaseJobPosition.prototype.setCompanies = function(value) {
808
- return jspb.Message.setWrapperField(this, 10, value);
910
+ return jspb.Message.setWrapperField(this, 13, value);
809
911
  };
810
912
 
811
913
 
@@ -823,17 +925,35 @@ proto.BaseJobPosition.prototype.clearCompanies = function() {
823
925
  * @return {boolean}
824
926
  */
825
927
  proto.BaseJobPosition.prototype.hasCompanies = function() {
826
- return jspb.Message.getField(this, 10) != null;
928
+ return jspb.Message.getField(this, 13) != null;
827
929
  };
828
930
 
829
931
 
830
932
  /**
831
- * optional BaseUsersRole role = 11;
933
+ * optional string users_role_references_id = 14;
934
+ * @return {string}
935
+ */
936
+ proto.BaseJobPosition.prototype.getUsersRoleReferencesId = function() {
937
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
938
+ };
939
+
940
+
941
+ /**
942
+ * @param {string} value
943
+ * @return {!proto.BaseJobPosition} returns this
944
+ */
945
+ proto.BaseJobPosition.prototype.setUsersRoleReferencesId = function(value) {
946
+ return jspb.Message.setProto3StringField(this, 14, value);
947
+ };
948
+
949
+
950
+ /**
951
+ * optional BaseUsersRole role = 15;
832
952
  * @return {?proto.BaseUsersRole}
833
953
  */
834
954
  proto.BaseJobPosition.prototype.getRole = function() {
835
955
  return /** @type{?proto.BaseUsersRole} */ (
836
- jspb.Message.getWrapperField(this, prisca_v1_core_users_role_users_role_pb.BaseUsersRole, 11));
956
+ jspb.Message.getWrapperField(this, prisca_v1_core_users_role_users_role_pb.BaseUsersRole, 15));
837
957
  };
838
958
 
839
959
 
@@ -842,7 +962,7 @@ proto.BaseJobPosition.prototype.getRole = function() {
842
962
  * @return {!proto.BaseJobPosition} returns this
843
963
  */
844
964
  proto.BaseJobPosition.prototype.setRole = function(value) {
845
- return jspb.Message.setWrapperField(this, 11, value);
965
+ return jspb.Message.setWrapperField(this, 15, value);
846
966
  };
847
967
 
848
968
 
@@ -860,16 +980,16 @@ proto.BaseJobPosition.prototype.clearRole = function() {
860
980
  * @return {boolean}
861
981
  */
862
982
  proto.BaseJobPosition.prototype.hasRole = function() {
863
- return jspb.Message.getField(this, 11) != null;
983
+ return jspb.Message.getField(this, 15) != null;
864
984
  };
865
985
 
866
986
 
867
987
  /**
868
- * optional string references_id = 12;
988
+ * optional string references_id = 16;
869
989
  * @return {string}
870
990
  */
871
991
  proto.BaseJobPosition.prototype.getReferencesId = function() {
872
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
992
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
873
993
  };
874
994
 
875
995
 
@@ -878,7 +998,7 @@ proto.BaseJobPosition.prototype.getReferencesId = function() {
878
998
  * @return {!proto.BaseJobPosition} returns this
879
999
  */
880
1000
  proto.BaseJobPosition.prototype.setReferencesId = function(value) {
881
- return jspb.Message.setProto3StringField(this, 12, value);
1001
+ return jspb.Message.setProto3StringField(this, 16, value);
882
1002
  };
883
1003
 
884
1004
 
@@ -37,7 +37,6 @@ goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionBuilde
37
37
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionConfigById', null, global);
38
38
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionConfigList', null, global);
39
39
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionFieldsById', null, global);
40
- goog.exportSymbol('proto.prisca.v1.core.transaction_builder.PropertiesForm', null, global);
41
40
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.PropertiesRules', null, global);
42
41
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.PropertiesTable', null, global);
43
42
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.ResponseTransactionBuilder', null, global);
@@ -150,27 +149,6 @@ if (goog.DEBUG && !COMPILED) {
150
149
  */
151
150
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail.displayName = 'proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail';
152
151
  }
153
- /**
154
- * Generated by JsPbCodeGenerator.
155
- * @param {Array=} opt_data Optional initial data array, typically from a
156
- * server response, or constructed directly in Javascript. The array is used
157
- * in place and becomes part of the constructed object. It is not cloned.
158
- * If no data is provided, the constructed object will be empty, but still
159
- * valid.
160
- * @extends {jspb.Message}
161
- * @constructor
162
- */
163
- proto.prisca.v1.core.transaction_builder.PropertiesForm = function(opt_data) {
164
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
165
- };
166
- goog.inherits(proto.prisca.v1.core.transaction_builder.PropertiesForm, jspb.Message);
167
- if (goog.DEBUG && !COMPILED) {
168
- /**
169
- * @public
170
- * @override
171
- */
172
- proto.prisca.v1.core.transaction_builder.PropertiesForm.displayName = 'proto.prisca.v1.core.transaction_builder.PropertiesForm';
173
- }
174
152
  /**
175
153
  * Generated by JsPbCodeGenerator.
176
154
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1953,406 +1931,6 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail.prototyp
1953
1931
 
1954
1932
 
1955
1933
 
1956
- if (jspb.Message.GENERATE_TO_OBJECT) {
1957
- /**
1958
- * Creates an object representation of this proto.
1959
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1960
- * Optional fields that are not set will be set to undefined.
1961
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1962
- * For the list of reserved names please see:
1963
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1964
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1965
- * JSPB instance for transitional soy proto support:
1966
- * http://goto/soy-param-migration
1967
- * @return {!Object}
1968
- */
1969
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.toObject = function(opt_includeInstance) {
1970
- return proto.prisca.v1.core.transaction_builder.PropertiesForm.toObject(opt_includeInstance, this);
1971
- };
1972
-
1973
-
1974
- /**
1975
- * Static version of the {@see toObject} method.
1976
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1977
- * the JSPB instance for transitional soy proto support:
1978
- * http://goto/soy-param-migration
1979
- * @param {!proto.prisca.v1.core.transaction_builder.PropertiesForm} msg The msg instance to transform.
1980
- * @return {!Object}
1981
- * @suppress {unusedLocalVariables} f is only used for nested messages
1982
- */
1983
- proto.prisca.v1.core.transaction_builder.PropertiesForm.toObject = function(includeInstance, msg) {
1984
- var f, obj = {
1985
- autoFill: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
1986
- keyOfFill: jspb.Message.getFieldWithDefault(msg, 2, ""),
1987
- parentKey: jspb.Message.getFieldWithDefault(msg, 3, ""),
1988
- hintText: jspb.Message.getFieldWithDefault(msg, 4, ""),
1989
- placeHolder: jspb.Message.getFieldWithDefault(msg, 5, ""),
1990
- dataSource: jspb.Message.getFieldWithDefault(msg, 6, ""),
1991
- type: jspb.Message.getFieldWithDefault(msg, 7, ""),
1992
- defaultValue: jspb.Message.getFieldWithDefault(msg, 8, ""),
1993
- selectedValue: jspb.Message.getFieldWithDefault(msg, 9, ""),
1994
- isMaster: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
1995
- };
1996
-
1997
- if (includeInstance) {
1998
- obj.$jspbMessageInstance = msg;
1999
- }
2000
- return obj;
2001
- };
2002
- }
2003
-
2004
-
2005
- /**
2006
- * Deserializes binary data (in protobuf wire format).
2007
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2008
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm}
2009
- */
2010
- proto.prisca.v1.core.transaction_builder.PropertiesForm.deserializeBinary = function(bytes) {
2011
- var reader = new jspb.BinaryReader(bytes);
2012
- var msg = new proto.prisca.v1.core.transaction_builder.PropertiesForm;
2013
- return proto.prisca.v1.core.transaction_builder.PropertiesForm.deserializeBinaryFromReader(msg, reader);
2014
- };
2015
-
2016
-
2017
- /**
2018
- * Deserializes binary data (in protobuf wire format) from the
2019
- * given reader into the given message object.
2020
- * @param {!proto.prisca.v1.core.transaction_builder.PropertiesForm} msg The message object to deserialize into.
2021
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2022
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm}
2023
- */
2024
- proto.prisca.v1.core.transaction_builder.PropertiesForm.deserializeBinaryFromReader = function(msg, reader) {
2025
- while (reader.nextField()) {
2026
- if (reader.isEndGroup()) {
2027
- break;
2028
- }
2029
- var field = reader.getFieldNumber();
2030
- switch (field) {
2031
- case 1:
2032
- var value = /** @type {boolean} */ (reader.readBool());
2033
- msg.setAutoFill(value);
2034
- break;
2035
- case 2:
2036
- var value = /** @type {string} */ (reader.readString());
2037
- msg.setKeyOfFill(value);
2038
- break;
2039
- case 3:
2040
- var value = /** @type {string} */ (reader.readString());
2041
- msg.setParentKey(value);
2042
- break;
2043
- case 4:
2044
- var value = /** @type {string} */ (reader.readString());
2045
- msg.setHintText(value);
2046
- break;
2047
- case 5:
2048
- var value = /** @type {string} */ (reader.readString());
2049
- msg.setPlaceHolder(value);
2050
- break;
2051
- case 6:
2052
- var value = /** @type {string} */ (reader.readString());
2053
- msg.setDataSource(value);
2054
- break;
2055
- case 7:
2056
- var value = /** @type {string} */ (reader.readString());
2057
- msg.setType(value);
2058
- break;
2059
- case 8:
2060
- var value = /** @type {string} */ (reader.readString());
2061
- msg.setDefaultValue(value);
2062
- break;
2063
- case 9:
2064
- var value = /** @type {string} */ (reader.readString());
2065
- msg.setSelectedValue(value);
2066
- break;
2067
- case 10:
2068
- var value = /** @type {boolean} */ (reader.readBool());
2069
- msg.setIsMaster(value);
2070
- break;
2071
- default:
2072
- reader.skipField();
2073
- break;
2074
- }
2075
- }
2076
- return msg;
2077
- };
2078
-
2079
-
2080
- /**
2081
- * Serializes the message to binary data (in protobuf wire format).
2082
- * @return {!Uint8Array}
2083
- */
2084
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.serializeBinary = function() {
2085
- var writer = new jspb.BinaryWriter();
2086
- proto.prisca.v1.core.transaction_builder.PropertiesForm.serializeBinaryToWriter(this, writer);
2087
- return writer.getResultBuffer();
2088
- };
2089
-
2090
-
2091
- /**
2092
- * Serializes the given message to binary data (in protobuf wire
2093
- * format), writing to the given BinaryWriter.
2094
- * @param {!proto.prisca.v1.core.transaction_builder.PropertiesForm} message
2095
- * @param {!jspb.BinaryWriter} writer
2096
- * @suppress {unusedLocalVariables} f is only used for nested messages
2097
- */
2098
- proto.prisca.v1.core.transaction_builder.PropertiesForm.serializeBinaryToWriter = function(message, writer) {
2099
- var f = undefined;
2100
- f = message.getAutoFill();
2101
- if (f) {
2102
- writer.writeBool(
2103
- 1,
2104
- f
2105
- );
2106
- }
2107
- f = message.getKeyOfFill();
2108
- if (f.length > 0) {
2109
- writer.writeString(
2110
- 2,
2111
- f
2112
- );
2113
- }
2114
- f = message.getParentKey();
2115
- if (f.length > 0) {
2116
- writer.writeString(
2117
- 3,
2118
- f
2119
- );
2120
- }
2121
- f = message.getHintText();
2122
- if (f.length > 0) {
2123
- writer.writeString(
2124
- 4,
2125
- f
2126
- );
2127
- }
2128
- f = message.getPlaceHolder();
2129
- if (f.length > 0) {
2130
- writer.writeString(
2131
- 5,
2132
- f
2133
- );
2134
- }
2135
- f = message.getDataSource();
2136
- if (f.length > 0) {
2137
- writer.writeString(
2138
- 6,
2139
- f
2140
- );
2141
- }
2142
- f = message.getType();
2143
- if (f.length > 0) {
2144
- writer.writeString(
2145
- 7,
2146
- f
2147
- );
2148
- }
2149
- f = message.getDefaultValue();
2150
- if (f.length > 0) {
2151
- writer.writeString(
2152
- 8,
2153
- f
2154
- );
2155
- }
2156
- f = message.getSelectedValue();
2157
- if (f.length > 0) {
2158
- writer.writeString(
2159
- 9,
2160
- f
2161
- );
2162
- }
2163
- f = message.getIsMaster();
2164
- if (f) {
2165
- writer.writeBool(
2166
- 10,
2167
- f
2168
- );
2169
- }
2170
- };
2171
-
2172
-
2173
- /**
2174
- * optional bool auto_fill = 1;
2175
- * @return {boolean}
2176
- */
2177
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getAutoFill = function() {
2178
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
2179
- };
2180
-
2181
-
2182
- /**
2183
- * @param {boolean} value
2184
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2185
- */
2186
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setAutoFill = function(value) {
2187
- return jspb.Message.setProto3BooleanField(this, 1, value);
2188
- };
2189
-
2190
-
2191
- /**
2192
- * optional string key_of_fill = 2;
2193
- * @return {string}
2194
- */
2195
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getKeyOfFill = function() {
2196
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2197
- };
2198
-
2199
-
2200
- /**
2201
- * @param {string} value
2202
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2203
- */
2204
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setKeyOfFill = function(value) {
2205
- return jspb.Message.setProto3StringField(this, 2, value);
2206
- };
2207
-
2208
-
2209
- /**
2210
- * optional string parent_key = 3;
2211
- * @return {string}
2212
- */
2213
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getParentKey = function() {
2214
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2215
- };
2216
-
2217
-
2218
- /**
2219
- * @param {string} value
2220
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2221
- */
2222
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setParentKey = function(value) {
2223
- return jspb.Message.setProto3StringField(this, 3, value);
2224
- };
2225
-
2226
-
2227
- /**
2228
- * optional string hint_text = 4;
2229
- * @return {string}
2230
- */
2231
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getHintText = function() {
2232
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2233
- };
2234
-
2235
-
2236
- /**
2237
- * @param {string} value
2238
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2239
- */
2240
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setHintText = function(value) {
2241
- return jspb.Message.setProto3StringField(this, 4, value);
2242
- };
2243
-
2244
-
2245
- /**
2246
- * optional string place_holder = 5;
2247
- * @return {string}
2248
- */
2249
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getPlaceHolder = function() {
2250
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2251
- };
2252
-
2253
-
2254
- /**
2255
- * @param {string} value
2256
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2257
- */
2258
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setPlaceHolder = function(value) {
2259
- return jspb.Message.setProto3StringField(this, 5, value);
2260
- };
2261
-
2262
-
2263
- /**
2264
- * optional string data_source = 6;
2265
- * @return {string}
2266
- */
2267
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getDataSource = function() {
2268
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2269
- };
2270
-
2271
-
2272
- /**
2273
- * @param {string} value
2274
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2275
- */
2276
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setDataSource = function(value) {
2277
- return jspb.Message.setProto3StringField(this, 6, value);
2278
- };
2279
-
2280
-
2281
- /**
2282
- * optional string type = 7;
2283
- * @return {string}
2284
- */
2285
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getType = function() {
2286
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2287
- };
2288
-
2289
-
2290
- /**
2291
- * @param {string} value
2292
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2293
- */
2294
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setType = function(value) {
2295
- return jspb.Message.setProto3StringField(this, 7, value);
2296
- };
2297
-
2298
-
2299
- /**
2300
- * optional string default_value = 8;
2301
- * @return {string}
2302
- */
2303
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getDefaultValue = function() {
2304
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2305
- };
2306
-
2307
-
2308
- /**
2309
- * @param {string} value
2310
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2311
- */
2312
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setDefaultValue = function(value) {
2313
- return jspb.Message.setProto3StringField(this, 8, value);
2314
- };
2315
-
2316
-
2317
- /**
2318
- * optional string selected_value = 9;
2319
- * @return {string}
2320
- */
2321
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getSelectedValue = function() {
2322
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
2323
- };
2324
-
2325
-
2326
- /**
2327
- * @param {string} value
2328
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2329
- */
2330
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setSelectedValue = function(value) {
2331
- return jspb.Message.setProto3StringField(this, 9, value);
2332
- };
2333
-
2334
-
2335
- /**
2336
- * optional bool is_master = 10;
2337
- * @return {boolean}
2338
- */
2339
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getIsMaster = function() {
2340
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
2341
- };
2342
-
2343
-
2344
- /**
2345
- * @param {boolean} value
2346
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2347
- */
2348
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setIsMaster = function(value) {
2349
- return jspb.Message.setProto3BooleanField(this, 10, value);
2350
- };
2351
-
2352
-
2353
-
2354
-
2355
-
2356
1934
  if (jspb.Message.GENERATE_TO_OBJECT) {
2357
1935
  /**
2358
1936
  * Creates an object representation of this proto.
@@ -3511,7 +3089,7 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.toObject = function(
3511
3089
  var f, obj = {
3512
3090
  id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
3513
3091
  name: jspb.Message.getFieldWithDefault(msg, 2, ""),
3514
- properties: (f = msg.getProperties()) && proto.prisca.v1.core.transaction_builder.PropertiesRules.toObject(includeInstance, f),
3092
+ properties: jspb.Message.getFieldWithDefault(msg, 3, ""),
3515
3093
  transactionBuilderFieldRef: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
3516
3094
  };
3517
3095
 
@@ -3558,8 +3136,7 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.deserializeBinaryFro
3558
3136
  msg.setName(value);
3559
3137
  break;
3560
3138
  case 3:
3561
- var value = new proto.prisca.v1.core.transaction_builder.PropertiesRules;
3562
- reader.readMessage(value,proto.prisca.v1.core.transaction_builder.PropertiesRules.deserializeBinaryFromReader);
3139
+ var value = /** @type {string} */ (reader.readString());
3563
3140
  msg.setProperties(value);
3564
3141
  break;
3565
3142
  case 4:
@@ -3610,11 +3187,10 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.serializeBinaryToWri
3610
3187
  );
3611
3188
  }
3612
3189
  f = message.getProperties();
3613
- if (f != null) {
3614
- writer.writeMessage(
3190
+ if (f.length > 0) {
3191
+ writer.writeString(
3615
3192
  3,
3616
- f,
3617
- proto.prisca.v1.core.transaction_builder.PropertiesRules.serializeBinaryToWriter
3193
+ f
3618
3194
  );
3619
3195
  }
3620
3196
  f = /** @type {string} */ (jspb.Message.getField(message, 4));
@@ -3682,39 +3258,20 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.setName =
3682
3258
 
3683
3259
 
3684
3260
  /**
3685
- * optional PropertiesRules properties = 3;
3686
- * @return {?proto.prisca.v1.core.transaction_builder.PropertiesRules}
3261
+ * optional string properties = 3;
3262
+ * @return {string}
3687
3263
  */
3688
3264
  proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.getProperties = function() {
3689
- return /** @type{?proto.prisca.v1.core.transaction_builder.PropertiesRules} */ (
3690
- jspb.Message.getWrapperField(this, proto.prisca.v1.core.transaction_builder.PropertiesRules, 3));
3691
- };
3692
-
3693
-
3694
- /**
3695
- * @param {?proto.prisca.v1.core.transaction_builder.PropertiesRules|undefined} value
3696
- * @return {!proto.prisca.v1.core.transaction_builder.FieldRulesWithProp} returns this
3697
- */
3698
- proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.setProperties = function(value) {
3699
- return jspb.Message.setWrapperField(this, 3, value);
3265
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3700
3266
  };
3701
3267
 
3702
3268
 
3703
3269
  /**
3704
- * Clears the message field making it undefined.
3270
+ * @param {string} value
3705
3271
  * @return {!proto.prisca.v1.core.transaction_builder.FieldRulesWithProp} returns this
3706
3272
  */
3707
- proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.clearProperties = function() {
3708
- return this.setProperties(undefined);
3709
- };
3710
-
3711
-
3712
- /**
3713
- * Returns whether this field is set.
3714
- * @return {boolean}
3715
- */
3716
- proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.hasProperties = function() {
3717
- return jspb.Message.getField(this, 3) != null;
3273
+ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.setProperties = function(value) {
3274
+ return jspb.Message.setProto3StringField(this, 3, value);
3718
3275
  };
3719
3276
 
3720
3277