protobuf-platform 1.0.252 → 1.0.253
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/analytic/analytic.proto +3 -2
- package/analytic/analytic_pb.js +62 -14
- package/package.json +1 -1
package/analytic/analytic.proto
CHANGED
@@ -11,6 +11,7 @@ message PongResponse { string pong = 1; }
|
|
11
11
|
//Common
|
12
12
|
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional GlobalSearchRequest global_search_params = 3; }
|
13
13
|
message GlobalSearchRequest {
|
14
|
-
optional string
|
15
|
-
optional string
|
14
|
+
optional string started_at = 1;
|
15
|
+
optional string ended_at = 2;
|
16
|
+
optional string period = 3;
|
16
17
|
}
|
package/analytic/analytic_pb.js
CHANGED
@@ -612,8 +612,9 @@ proto.analytic.GlobalSearchRequest.prototype.toObject = function(opt_includeInst
|
|
612
612
|
*/
|
613
613
|
proto.analytic.GlobalSearchRequest.toObject = function(includeInstance, msg) {
|
614
614
|
var f, obj = {
|
615
|
-
|
616
|
-
|
615
|
+
startedAt: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
616
|
+
endedAt: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
617
|
+
period: jspb.Message.getFieldWithDefault(msg, 3, "")
|
617
618
|
};
|
618
619
|
|
619
620
|
if (includeInstance) {
|
@@ -652,11 +653,15 @@ proto.analytic.GlobalSearchRequest.deserializeBinaryFromReader = function(msg, r
|
|
652
653
|
switch (field) {
|
653
654
|
case 1:
|
654
655
|
var value = /** @type {string} */ (reader.readString());
|
655
|
-
msg.
|
656
|
+
msg.setStartedAt(value);
|
656
657
|
break;
|
657
658
|
case 2:
|
658
659
|
var value = /** @type {string} */ (reader.readString());
|
659
|
-
msg.
|
660
|
+
msg.setEndedAt(value);
|
661
|
+
break;
|
662
|
+
case 3:
|
663
|
+
var value = /** @type {string} */ (reader.readString());
|
664
|
+
msg.setPeriod(value);
|
660
665
|
break;
|
661
666
|
default:
|
662
667
|
reader.skipField();
|
@@ -701,14 +706,21 @@ proto.analytic.GlobalSearchRequest.serializeBinaryToWriter = function(message, w
|
|
701
706
|
f
|
702
707
|
);
|
703
708
|
}
|
709
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
710
|
+
if (f != null) {
|
711
|
+
writer.writeString(
|
712
|
+
3,
|
713
|
+
f
|
714
|
+
);
|
715
|
+
}
|
704
716
|
};
|
705
717
|
|
706
718
|
|
707
719
|
/**
|
708
|
-
* optional string
|
720
|
+
* optional string started_at = 1;
|
709
721
|
* @return {string}
|
710
722
|
*/
|
711
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
723
|
+
proto.analytic.GlobalSearchRequest.prototype.getStartedAt = function() {
|
712
724
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
713
725
|
};
|
714
726
|
|
@@ -717,7 +729,7 @@ proto.analytic.GlobalSearchRequest.prototype.getStartAt = function() {
|
|
717
729
|
* @param {string} value
|
718
730
|
* @return {!proto.analytic.GlobalSearchRequest} returns this
|
719
731
|
*/
|
720
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
732
|
+
proto.analytic.GlobalSearchRequest.prototype.setStartedAt = function(value) {
|
721
733
|
return jspb.Message.setField(this, 1, value);
|
722
734
|
};
|
723
735
|
|
@@ -726,7 +738,7 @@ proto.analytic.GlobalSearchRequest.prototype.setStartAt = function(value) {
|
|
726
738
|
* Clears the field making it undefined.
|
727
739
|
* @return {!proto.analytic.GlobalSearchRequest} returns this
|
728
740
|
*/
|
729
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
741
|
+
proto.analytic.GlobalSearchRequest.prototype.clearStartedAt = function() {
|
730
742
|
return jspb.Message.setField(this, 1, undefined);
|
731
743
|
};
|
732
744
|
|
@@ -735,16 +747,16 @@ proto.analytic.GlobalSearchRequest.prototype.clearStartAt = function() {
|
|
735
747
|
* Returns whether this field is set.
|
736
748
|
* @return {boolean}
|
737
749
|
*/
|
738
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
750
|
+
proto.analytic.GlobalSearchRequest.prototype.hasStartedAt = function() {
|
739
751
|
return jspb.Message.getField(this, 1) != null;
|
740
752
|
};
|
741
753
|
|
742
754
|
|
743
755
|
/**
|
744
|
-
* optional string
|
756
|
+
* optional string ended_at = 2;
|
745
757
|
* @return {string}
|
746
758
|
*/
|
747
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
759
|
+
proto.analytic.GlobalSearchRequest.prototype.getEndedAt = function() {
|
748
760
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
749
761
|
};
|
750
762
|
|
@@ -753,7 +765,7 @@ proto.analytic.GlobalSearchRequest.prototype.getEndAt = function() {
|
|
753
765
|
* @param {string} value
|
754
766
|
* @return {!proto.analytic.GlobalSearchRequest} returns this
|
755
767
|
*/
|
756
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
768
|
+
proto.analytic.GlobalSearchRequest.prototype.setEndedAt = function(value) {
|
757
769
|
return jspb.Message.setField(this, 2, value);
|
758
770
|
};
|
759
771
|
|
@@ -762,7 +774,7 @@ proto.analytic.GlobalSearchRequest.prototype.setEndAt = function(value) {
|
|
762
774
|
* Clears the field making it undefined.
|
763
775
|
* @return {!proto.analytic.GlobalSearchRequest} returns this
|
764
776
|
*/
|
765
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
777
|
+
proto.analytic.GlobalSearchRequest.prototype.clearEndedAt = function() {
|
766
778
|
return jspb.Message.setField(this, 2, undefined);
|
767
779
|
};
|
768
780
|
|
@@ -771,9 +783,45 @@ proto.analytic.GlobalSearchRequest.prototype.clearEndAt = function() {
|
|
771
783
|
* Returns whether this field is set.
|
772
784
|
* @return {boolean}
|
773
785
|
*/
|
774
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
786
|
+
proto.analytic.GlobalSearchRequest.prototype.hasEndedAt = function() {
|
775
787
|
return jspb.Message.getField(this, 2) != null;
|
776
788
|
};
|
777
789
|
|
778
790
|
|
791
|
+
/**
|
792
|
+
* optional string period = 3;
|
793
|
+
* @return {string}
|
794
|
+
*/
|
795
|
+
proto.analytic.GlobalSearchRequest.prototype.getPeriod = function() {
|
796
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
797
|
+
};
|
798
|
+
|
799
|
+
|
800
|
+
/**
|
801
|
+
* @param {string} value
|
802
|
+
* @return {!proto.analytic.GlobalSearchRequest} returns this
|
803
|
+
*/
|
804
|
+
proto.analytic.GlobalSearchRequest.prototype.setPeriod = function(value) {
|
805
|
+
return jspb.Message.setField(this, 3, value);
|
806
|
+
};
|
807
|
+
|
808
|
+
|
809
|
+
/**
|
810
|
+
* Clears the field making it undefined.
|
811
|
+
* @return {!proto.analytic.GlobalSearchRequest} returns this
|
812
|
+
*/
|
813
|
+
proto.analytic.GlobalSearchRequest.prototype.clearPeriod = function() {
|
814
|
+
return jspb.Message.setField(this, 3, undefined);
|
815
|
+
};
|
816
|
+
|
817
|
+
|
818
|
+
/**
|
819
|
+
* Returns whether this field is set.
|
820
|
+
* @return {boolean}
|
821
|
+
*/
|
822
|
+
proto.analytic.GlobalSearchRequest.prototype.hasPeriod = function() {
|
823
|
+
return jspb.Message.getField(this, 3) != null;
|
824
|
+
};
|
825
|
+
|
826
|
+
|
779
827
|
goog.object.extend(exports, proto.analytic);
|