@aldiokta/protocgen 1.0.54 → 1.0.55

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.54",
3
+ "version": "1.0.55",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -599,6 +599,7 @@ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
599
599
  description: jspb.Message.getFieldWithDefault(msg, 4, ""),
600
600
  parentReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
601
601
  parent: (f = msg.getParent()) && proto.BaseJobTitleParent.toObject(includeInstance, f),
602
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
602
603
  company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
603
604
  };
604
605
 
@@ -662,6 +663,10 @@ proto.BaseJobTitle.deserializeBinaryFromReader = function(msg, reader) {
662
663
  msg.setParent(value);
663
664
  break;
664
665
  case 7:
666
+ var value = /** @type {string} */ (reader.readString());
667
+ msg.setCompaniesReferencesId(value);
668
+ break;
669
+ case 8:
665
670
  var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
666
671
  reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
667
672
  msg.setCompany(value);
@@ -738,10 +743,17 @@ proto.BaseJobTitle.serializeBinaryToWriter = function(message, writer) {
738
743
  proto.BaseJobTitleParent.serializeBinaryToWriter
739
744
  );
740
745
  }
746
+ f = message.getCompaniesReferencesId();
747
+ if (f.length > 0) {
748
+ writer.writeString(
749
+ 7,
750
+ f
751
+ );
752
+ }
741
753
  f = message.getCompany();
742
754
  if (f != null) {
743
755
  writer.writeMessage(
744
- 7,
756
+ 8,
745
757
  f,
746
758
  prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
747
759
  );
@@ -877,12 +889,30 @@ proto.BaseJobTitle.prototype.hasParent = function() {
877
889
 
878
890
 
879
891
  /**
880
- * optional BaseCompanyParent company = 7;
892
+ * optional string companies_references_id = 7;
893
+ * @return {string}
894
+ */
895
+ proto.BaseJobTitle.prototype.getCompaniesReferencesId = function() {
896
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
897
+ };
898
+
899
+
900
+ /**
901
+ * @param {string} value
902
+ * @return {!proto.BaseJobTitle} returns this
903
+ */
904
+ proto.BaseJobTitle.prototype.setCompaniesReferencesId = function(value) {
905
+ return jspb.Message.setProto3StringField(this, 7, value);
906
+ };
907
+
908
+
909
+ /**
910
+ * optional BaseCompanyParent company = 8;
881
911
  * @return {?proto.BaseCompanyParent}
882
912
  */
883
913
  proto.BaseJobTitle.prototype.getCompany = function() {
884
914
  return /** @type{?proto.BaseCompanyParent} */ (
885
- jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 7));
915
+ jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 8));
886
916
  };
887
917
 
888
918
 
@@ -891,7 +921,7 @@ proto.BaseJobTitle.prototype.getCompany = function() {
891
921
  * @return {!proto.BaseJobTitle} returns this
892
922
  */
893
923
  proto.BaseJobTitle.prototype.setCompany = function(value) {
894
- return jspb.Message.setWrapperField(this, 7, value);
924
+ return jspb.Message.setWrapperField(this, 8, value);
895
925
  };
896
926
 
897
927
 
@@ -909,7 +939,7 @@ proto.BaseJobTitle.prototype.clearCompany = function() {
909
939
  * @return {boolean}
910
940
  */
911
941
  proto.BaseJobTitle.prototype.hasCompany = function() {
912
- return jspb.Message.getField(this, 7) != null;
942
+ return jspb.Message.getField(this, 8) != null;
913
943
  };
914
944
 
915
945