protobuf-platform 1.2.27 → 1.2.28

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/cms/cms.proto CHANGED
@@ -33,6 +33,7 @@ service CMS {
33
33
  rpc deleteSinglePage(GetPageRequest) returns (PageStatusResponse);
34
34
  rpc readListPages(PaginationRequest) returns (PagesItemsResponse);
35
35
  rpc setPageTranslation(PageTranslationRequest) returns (PageStatusResponse);
36
+ rpc getPageTranslation(GetPageTranslationRequest) returns (PageTranslationResponse);
36
37
  //Pages
37
38
  rpc createSinglePromo(stream PromoRequest) returns (PromoResponse);
38
39
  rpc readSinglePromo(GetPromoRequest) returns (PromoResponse);
@@ -219,6 +220,16 @@ message PageTranslationRequest {
219
220
  optional string content = 5;
220
221
  optional int32 is_active = 6;
221
222
  }
223
+ message GetPageTranslationRequest {
224
+ int32 page_id = 1;
225
+ string geo = 2;
226
+ string locale = 3;
227
+ }
228
+ message PageTranslationResponse {
229
+ optional string title = 1;
230
+ optional string content = 2;
231
+ optional int32 is_active = 3;
232
+ }
222
233
  //Promo CRUD
223
234
  message PromoRequest {
224
235
  oneof request {
@@ -180,6 +180,17 @@ function deserialize_cms_GetPageRequest(buffer_arg) {
180
180
  return cms_pb.GetPageRequest.deserializeBinary(new Uint8Array(buffer_arg));
181
181
  }
182
182
 
183
+ function serialize_cms_GetPageTranslationRequest(arg) {
184
+ if (!(arg instanceof cms_pb.GetPageTranslationRequest)) {
185
+ throw new Error('Expected argument of type cms.GetPageTranslationRequest');
186
+ }
187
+ return Buffer.from(arg.serializeBinary());
188
+ }
189
+
190
+ function deserialize_cms_GetPageTranslationRequest(buffer_arg) {
191
+ return cms_pb.GetPageTranslationRequest.deserializeBinary(new Uint8Array(buffer_arg));
192
+ }
193
+
183
194
  function serialize_cms_GetPromoRequest(arg) {
184
195
  if (!(arg instanceof cms_pb.GetPromoRequest)) {
185
196
  throw new Error('Expected argument of type cms.GetPromoRequest');
@@ -268,6 +279,17 @@ function deserialize_cms_PageTranslationRequest(buffer_arg) {
268
279
  return cms_pb.PageTranslationRequest.deserializeBinary(new Uint8Array(buffer_arg));
269
280
  }
270
281
 
282
+ function serialize_cms_PageTranslationResponse(arg) {
283
+ if (!(arg instanceof cms_pb.PageTranslationResponse)) {
284
+ throw new Error('Expected argument of type cms.PageTranslationResponse');
285
+ }
286
+ return Buffer.from(arg.serializeBinary());
287
+ }
288
+
289
+ function deserialize_cms_PageTranslationResponse(buffer_arg) {
290
+ return cms_pb.PageTranslationResponse.deserializeBinary(new Uint8Array(buffer_arg));
291
+ }
292
+
271
293
  function serialize_cms_PagesItemsResponse(arg) {
272
294
  if (!(arg instanceof cms_pb.PagesItemsResponse)) {
273
295
  throw new Error('Expected argument of type cms.PagesItemsResponse');
@@ -670,6 +692,17 @@ createSinglePage: {
670
692
  responseSerialize: serialize_cms_PageStatusResponse,
671
693
  responseDeserialize: deserialize_cms_PageStatusResponse,
672
694
  },
695
+ getPageTranslation: {
696
+ path: '/cms.CMS/getPageTranslation',
697
+ requestStream: false,
698
+ responseStream: false,
699
+ requestType: cms_pb.GetPageTranslationRequest,
700
+ responseType: cms_pb.PageTranslationResponse,
701
+ requestSerialize: serialize_cms_GetPageTranslationRequest,
702
+ requestDeserialize: deserialize_cms_GetPageTranslationRequest,
703
+ responseSerialize: serialize_cms_PageTranslationResponse,
704
+ responseDeserialize: deserialize_cms_PageTranslationResponse,
705
+ },
673
706
  // Pages
674
707
  createSinglePromo: {
675
708
  path: '/cms.CMS/createSinglePromo',
package/cms/cms_pb.js CHANGED
@@ -42,6 +42,7 @@ goog.exportSymbol('proto.cms.GetBurgerMenuWidgetRequest', null, global);
42
42
  goog.exportSymbol('proto.cms.GetFileRequest', null, global);
43
43
  goog.exportSymbol('proto.cms.GetMainPageWidgetRequest', null, global);
44
44
  goog.exportSymbol('proto.cms.GetPageRequest', null, global);
45
+ goog.exportSymbol('proto.cms.GetPageTranslationRequest', null, global);
45
46
  goog.exportSymbol('proto.cms.GetPromoRequest', null, global);
46
47
  goog.exportSymbol('proto.cms.GetSignUpFormWidgetRequest', null, global);
47
48
  goog.exportSymbol('proto.cms.MainPageWidgetItem', null, global);
@@ -51,6 +52,7 @@ goog.exportSymbol('proto.cms.PageRequest', null, global);
51
52
  goog.exportSymbol('proto.cms.PageResponse', null, global);
52
53
  goog.exportSymbol('proto.cms.PageStatusResponse', null, global);
53
54
  goog.exportSymbol('proto.cms.PageTranslationRequest', null, global);
55
+ goog.exportSymbol('proto.cms.PageTranslationResponse', null, global);
54
56
  goog.exportSymbol('proto.cms.PagesItemsResponse', null, global);
55
57
  goog.exportSymbol('proto.cms.PaginationRequest', null, global);
56
58
  goog.exportSymbol('proto.cms.PingRequest', null, global);
@@ -800,6 +802,48 @@ if (goog.DEBUG && !COMPILED) {
800
802
  */
801
803
  proto.cms.PageTranslationRequest.displayName = 'proto.cms.PageTranslationRequest';
802
804
  }
805
+ /**
806
+ * Generated by JsPbCodeGenerator.
807
+ * @param {Array=} opt_data Optional initial data array, typically from a
808
+ * server response, or constructed directly in Javascript. The array is used
809
+ * in place and becomes part of the constructed object. It is not cloned.
810
+ * If no data is provided, the constructed object will be empty, but still
811
+ * valid.
812
+ * @extends {jspb.Message}
813
+ * @constructor
814
+ */
815
+ proto.cms.GetPageTranslationRequest = function(opt_data) {
816
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
817
+ };
818
+ goog.inherits(proto.cms.GetPageTranslationRequest, jspb.Message);
819
+ if (goog.DEBUG && !COMPILED) {
820
+ /**
821
+ * @public
822
+ * @override
823
+ */
824
+ proto.cms.GetPageTranslationRequest.displayName = 'proto.cms.GetPageTranslationRequest';
825
+ }
826
+ /**
827
+ * Generated by JsPbCodeGenerator.
828
+ * @param {Array=} opt_data Optional initial data array, typically from a
829
+ * server response, or constructed directly in Javascript. The array is used
830
+ * in place and becomes part of the constructed object. It is not cloned.
831
+ * If no data is provided, the constructed object will be empty, but still
832
+ * valid.
833
+ * @extends {jspb.Message}
834
+ * @constructor
835
+ */
836
+ proto.cms.PageTranslationResponse = function(opt_data) {
837
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
838
+ };
839
+ goog.inherits(proto.cms.PageTranslationResponse, jspb.Message);
840
+ if (goog.DEBUG && !COMPILED) {
841
+ /**
842
+ * @public
843
+ * @override
844
+ */
845
+ proto.cms.PageTranslationResponse.displayName = 'proto.cms.PageTranslationResponse';
846
+ }
803
847
  /**
804
848
  * Generated by JsPbCodeGenerator.
805
849
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -9512,6 +9556,440 @@ proto.cms.PageTranslationRequest.prototype.hasIsActive = function() {
9512
9556
 
9513
9557
 
9514
9558
 
9559
+
9560
+
9561
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9562
+ /**
9563
+ * Creates an object representation of this proto.
9564
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9565
+ * Optional fields that are not set will be set to undefined.
9566
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9567
+ * For the list of reserved names please see:
9568
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9569
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9570
+ * JSPB instance for transitional soy proto support:
9571
+ * http://goto/soy-param-migration
9572
+ * @return {!Object}
9573
+ */
9574
+ proto.cms.GetPageTranslationRequest.prototype.toObject = function(opt_includeInstance) {
9575
+ return proto.cms.GetPageTranslationRequest.toObject(opt_includeInstance, this);
9576
+ };
9577
+
9578
+
9579
+ /**
9580
+ * Static version of the {@see toObject} method.
9581
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9582
+ * the JSPB instance for transitional soy proto support:
9583
+ * http://goto/soy-param-migration
9584
+ * @param {!proto.cms.GetPageTranslationRequest} msg The msg instance to transform.
9585
+ * @return {!Object}
9586
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9587
+ */
9588
+ proto.cms.GetPageTranslationRequest.toObject = function(includeInstance, msg) {
9589
+ var f, obj = {
9590
+ pageId: jspb.Message.getFieldWithDefault(msg, 1, 0),
9591
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
9592
+ locale: jspb.Message.getFieldWithDefault(msg, 3, "")
9593
+ };
9594
+
9595
+ if (includeInstance) {
9596
+ obj.$jspbMessageInstance = msg;
9597
+ }
9598
+ return obj;
9599
+ };
9600
+ }
9601
+
9602
+
9603
+ /**
9604
+ * Deserializes binary data (in protobuf wire format).
9605
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9606
+ * @return {!proto.cms.GetPageTranslationRequest}
9607
+ */
9608
+ proto.cms.GetPageTranslationRequest.deserializeBinary = function(bytes) {
9609
+ var reader = new jspb.BinaryReader(bytes);
9610
+ var msg = new proto.cms.GetPageTranslationRequest;
9611
+ return proto.cms.GetPageTranslationRequest.deserializeBinaryFromReader(msg, reader);
9612
+ };
9613
+
9614
+
9615
+ /**
9616
+ * Deserializes binary data (in protobuf wire format) from the
9617
+ * given reader into the given message object.
9618
+ * @param {!proto.cms.GetPageTranslationRequest} msg The message object to deserialize into.
9619
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9620
+ * @return {!proto.cms.GetPageTranslationRequest}
9621
+ */
9622
+ proto.cms.GetPageTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
9623
+ while (reader.nextField()) {
9624
+ if (reader.isEndGroup()) {
9625
+ break;
9626
+ }
9627
+ var field = reader.getFieldNumber();
9628
+ switch (field) {
9629
+ case 1:
9630
+ var value = /** @type {number} */ (reader.readInt32());
9631
+ msg.setPageId(value);
9632
+ break;
9633
+ case 2:
9634
+ var value = /** @type {string} */ (reader.readString());
9635
+ msg.setGeo(value);
9636
+ break;
9637
+ case 3:
9638
+ var value = /** @type {string} */ (reader.readString());
9639
+ msg.setLocale(value);
9640
+ break;
9641
+ default:
9642
+ reader.skipField();
9643
+ break;
9644
+ }
9645
+ }
9646
+ return msg;
9647
+ };
9648
+
9649
+
9650
+ /**
9651
+ * Serializes the message to binary data (in protobuf wire format).
9652
+ * @return {!Uint8Array}
9653
+ */
9654
+ proto.cms.GetPageTranslationRequest.prototype.serializeBinary = function() {
9655
+ var writer = new jspb.BinaryWriter();
9656
+ proto.cms.GetPageTranslationRequest.serializeBinaryToWriter(this, writer);
9657
+ return writer.getResultBuffer();
9658
+ };
9659
+
9660
+
9661
+ /**
9662
+ * Serializes the given message to binary data (in protobuf wire
9663
+ * format), writing to the given BinaryWriter.
9664
+ * @param {!proto.cms.GetPageTranslationRequest} message
9665
+ * @param {!jspb.BinaryWriter} writer
9666
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9667
+ */
9668
+ proto.cms.GetPageTranslationRequest.serializeBinaryToWriter = function(message, writer) {
9669
+ var f = undefined;
9670
+ f = message.getPageId();
9671
+ if (f !== 0) {
9672
+ writer.writeInt32(
9673
+ 1,
9674
+ f
9675
+ );
9676
+ }
9677
+ f = message.getGeo();
9678
+ if (f.length > 0) {
9679
+ writer.writeString(
9680
+ 2,
9681
+ f
9682
+ );
9683
+ }
9684
+ f = message.getLocale();
9685
+ if (f.length > 0) {
9686
+ writer.writeString(
9687
+ 3,
9688
+ f
9689
+ );
9690
+ }
9691
+ };
9692
+
9693
+
9694
+ /**
9695
+ * optional int32 page_id = 1;
9696
+ * @return {number}
9697
+ */
9698
+ proto.cms.GetPageTranslationRequest.prototype.getPageId = function() {
9699
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
9700
+ };
9701
+
9702
+
9703
+ /**
9704
+ * @param {number} value
9705
+ * @return {!proto.cms.GetPageTranslationRequest} returns this
9706
+ */
9707
+ proto.cms.GetPageTranslationRequest.prototype.setPageId = function(value) {
9708
+ return jspb.Message.setProto3IntField(this, 1, value);
9709
+ };
9710
+
9711
+
9712
+ /**
9713
+ * optional string geo = 2;
9714
+ * @return {string}
9715
+ */
9716
+ proto.cms.GetPageTranslationRequest.prototype.getGeo = function() {
9717
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
9718
+ };
9719
+
9720
+
9721
+ /**
9722
+ * @param {string} value
9723
+ * @return {!proto.cms.GetPageTranslationRequest} returns this
9724
+ */
9725
+ proto.cms.GetPageTranslationRequest.prototype.setGeo = function(value) {
9726
+ return jspb.Message.setProto3StringField(this, 2, value);
9727
+ };
9728
+
9729
+
9730
+ /**
9731
+ * optional string locale = 3;
9732
+ * @return {string}
9733
+ */
9734
+ proto.cms.GetPageTranslationRequest.prototype.getLocale = function() {
9735
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
9736
+ };
9737
+
9738
+
9739
+ /**
9740
+ * @param {string} value
9741
+ * @return {!proto.cms.GetPageTranslationRequest} returns this
9742
+ */
9743
+ proto.cms.GetPageTranslationRequest.prototype.setLocale = function(value) {
9744
+ return jspb.Message.setProto3StringField(this, 3, value);
9745
+ };
9746
+
9747
+
9748
+
9749
+
9750
+
9751
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9752
+ /**
9753
+ * Creates an object representation of this proto.
9754
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9755
+ * Optional fields that are not set will be set to undefined.
9756
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9757
+ * For the list of reserved names please see:
9758
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9759
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9760
+ * JSPB instance for transitional soy proto support:
9761
+ * http://goto/soy-param-migration
9762
+ * @return {!Object}
9763
+ */
9764
+ proto.cms.PageTranslationResponse.prototype.toObject = function(opt_includeInstance) {
9765
+ return proto.cms.PageTranslationResponse.toObject(opt_includeInstance, this);
9766
+ };
9767
+
9768
+
9769
+ /**
9770
+ * Static version of the {@see toObject} method.
9771
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9772
+ * the JSPB instance for transitional soy proto support:
9773
+ * http://goto/soy-param-migration
9774
+ * @param {!proto.cms.PageTranslationResponse} msg The msg instance to transform.
9775
+ * @return {!Object}
9776
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9777
+ */
9778
+ proto.cms.PageTranslationResponse.toObject = function(includeInstance, msg) {
9779
+ var f, obj = {
9780
+ title: jspb.Message.getFieldWithDefault(msg, 1, ""),
9781
+ content: jspb.Message.getFieldWithDefault(msg, 2, ""),
9782
+ isActive: jspb.Message.getFieldWithDefault(msg, 3, 0)
9783
+ };
9784
+
9785
+ if (includeInstance) {
9786
+ obj.$jspbMessageInstance = msg;
9787
+ }
9788
+ return obj;
9789
+ };
9790
+ }
9791
+
9792
+
9793
+ /**
9794
+ * Deserializes binary data (in protobuf wire format).
9795
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9796
+ * @return {!proto.cms.PageTranslationResponse}
9797
+ */
9798
+ proto.cms.PageTranslationResponse.deserializeBinary = function(bytes) {
9799
+ var reader = new jspb.BinaryReader(bytes);
9800
+ var msg = new proto.cms.PageTranslationResponse;
9801
+ return proto.cms.PageTranslationResponse.deserializeBinaryFromReader(msg, reader);
9802
+ };
9803
+
9804
+
9805
+ /**
9806
+ * Deserializes binary data (in protobuf wire format) from the
9807
+ * given reader into the given message object.
9808
+ * @param {!proto.cms.PageTranslationResponse} msg The message object to deserialize into.
9809
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9810
+ * @return {!proto.cms.PageTranslationResponse}
9811
+ */
9812
+ proto.cms.PageTranslationResponse.deserializeBinaryFromReader = function(msg, reader) {
9813
+ while (reader.nextField()) {
9814
+ if (reader.isEndGroup()) {
9815
+ break;
9816
+ }
9817
+ var field = reader.getFieldNumber();
9818
+ switch (field) {
9819
+ case 1:
9820
+ var value = /** @type {string} */ (reader.readString());
9821
+ msg.setTitle(value);
9822
+ break;
9823
+ case 2:
9824
+ var value = /** @type {string} */ (reader.readString());
9825
+ msg.setContent(value);
9826
+ break;
9827
+ case 3:
9828
+ var value = /** @type {number} */ (reader.readInt32());
9829
+ msg.setIsActive(value);
9830
+ break;
9831
+ default:
9832
+ reader.skipField();
9833
+ break;
9834
+ }
9835
+ }
9836
+ return msg;
9837
+ };
9838
+
9839
+
9840
+ /**
9841
+ * Serializes the message to binary data (in protobuf wire format).
9842
+ * @return {!Uint8Array}
9843
+ */
9844
+ proto.cms.PageTranslationResponse.prototype.serializeBinary = function() {
9845
+ var writer = new jspb.BinaryWriter();
9846
+ proto.cms.PageTranslationResponse.serializeBinaryToWriter(this, writer);
9847
+ return writer.getResultBuffer();
9848
+ };
9849
+
9850
+
9851
+ /**
9852
+ * Serializes the given message to binary data (in protobuf wire
9853
+ * format), writing to the given BinaryWriter.
9854
+ * @param {!proto.cms.PageTranslationResponse} message
9855
+ * @param {!jspb.BinaryWriter} writer
9856
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9857
+ */
9858
+ proto.cms.PageTranslationResponse.serializeBinaryToWriter = function(message, writer) {
9859
+ var f = undefined;
9860
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
9861
+ if (f != null) {
9862
+ writer.writeString(
9863
+ 1,
9864
+ f
9865
+ );
9866
+ }
9867
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
9868
+ if (f != null) {
9869
+ writer.writeString(
9870
+ 2,
9871
+ f
9872
+ );
9873
+ }
9874
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
9875
+ if (f != null) {
9876
+ writer.writeInt32(
9877
+ 3,
9878
+ f
9879
+ );
9880
+ }
9881
+ };
9882
+
9883
+
9884
+ /**
9885
+ * optional string title = 1;
9886
+ * @return {string}
9887
+ */
9888
+ proto.cms.PageTranslationResponse.prototype.getTitle = function() {
9889
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
9890
+ };
9891
+
9892
+
9893
+ /**
9894
+ * @param {string} value
9895
+ * @return {!proto.cms.PageTranslationResponse} returns this
9896
+ */
9897
+ proto.cms.PageTranslationResponse.prototype.setTitle = function(value) {
9898
+ return jspb.Message.setField(this, 1, value);
9899
+ };
9900
+
9901
+
9902
+ /**
9903
+ * Clears the field making it undefined.
9904
+ * @return {!proto.cms.PageTranslationResponse} returns this
9905
+ */
9906
+ proto.cms.PageTranslationResponse.prototype.clearTitle = function() {
9907
+ return jspb.Message.setField(this, 1, undefined);
9908
+ };
9909
+
9910
+
9911
+ /**
9912
+ * Returns whether this field is set.
9913
+ * @return {boolean}
9914
+ */
9915
+ proto.cms.PageTranslationResponse.prototype.hasTitle = function() {
9916
+ return jspb.Message.getField(this, 1) != null;
9917
+ };
9918
+
9919
+
9920
+ /**
9921
+ * optional string content = 2;
9922
+ * @return {string}
9923
+ */
9924
+ proto.cms.PageTranslationResponse.prototype.getContent = function() {
9925
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
9926
+ };
9927
+
9928
+
9929
+ /**
9930
+ * @param {string} value
9931
+ * @return {!proto.cms.PageTranslationResponse} returns this
9932
+ */
9933
+ proto.cms.PageTranslationResponse.prototype.setContent = function(value) {
9934
+ return jspb.Message.setField(this, 2, value);
9935
+ };
9936
+
9937
+
9938
+ /**
9939
+ * Clears the field making it undefined.
9940
+ * @return {!proto.cms.PageTranslationResponse} returns this
9941
+ */
9942
+ proto.cms.PageTranslationResponse.prototype.clearContent = function() {
9943
+ return jspb.Message.setField(this, 2, undefined);
9944
+ };
9945
+
9946
+
9947
+ /**
9948
+ * Returns whether this field is set.
9949
+ * @return {boolean}
9950
+ */
9951
+ proto.cms.PageTranslationResponse.prototype.hasContent = function() {
9952
+ return jspb.Message.getField(this, 2) != null;
9953
+ };
9954
+
9955
+
9956
+ /**
9957
+ * optional int32 is_active = 3;
9958
+ * @return {number}
9959
+ */
9960
+ proto.cms.PageTranslationResponse.prototype.getIsActive = function() {
9961
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
9962
+ };
9963
+
9964
+
9965
+ /**
9966
+ * @param {number} value
9967
+ * @return {!proto.cms.PageTranslationResponse} returns this
9968
+ */
9969
+ proto.cms.PageTranslationResponse.prototype.setIsActive = function(value) {
9970
+ return jspb.Message.setField(this, 3, value);
9971
+ };
9972
+
9973
+
9974
+ /**
9975
+ * Clears the field making it undefined.
9976
+ * @return {!proto.cms.PageTranslationResponse} returns this
9977
+ */
9978
+ proto.cms.PageTranslationResponse.prototype.clearIsActive = function() {
9979
+ return jspb.Message.setField(this, 3, undefined);
9980
+ };
9981
+
9982
+
9983
+ /**
9984
+ * Returns whether this field is set.
9985
+ * @return {boolean}
9986
+ */
9987
+ proto.cms.PageTranslationResponse.prototype.hasIsActive = function() {
9988
+ return jspb.Message.getField(this, 3) != null;
9989
+ };
9990
+
9991
+
9992
+
9515
9993
  /**
9516
9994
  * Oneof group definitions for this message. Each group defines the field
9517
9995
  * numbers belonging to that group. When of these fields' value is set, all
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.27",
3
+ "version": "1.2.28",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {