protobuf-platform 1.0.242 → 1.0.243
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/log/log.proto +2 -2
- package/log/log_pb.js +48 -39
- package/package.json +1 -1
package/log/log.proto
CHANGED
@@ -12,8 +12,8 @@ message PingRequest { string ping = 1; }
|
|
12
12
|
message PongResponse { string pong = 1; }
|
13
13
|
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional LogSearchRequest log_search_params = 3; }
|
14
14
|
message LogSearchRequest {
|
15
|
-
|
16
|
-
|
15
|
+
repeated string service = 1;
|
16
|
+
repeated string type = 2;
|
17
17
|
}
|
18
18
|
message IssueItem {
|
19
19
|
string hash = 1;
|
package/log/log_pb.js
CHANGED
@@ -101,7 +101,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
101
101
|
* @constructor
|
102
102
|
*/
|
103
103
|
proto.log.LogSearchRequest = function(opt_data) {
|
104
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
104
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.log.LogSearchRequest.repeatedFields_, null);
|
105
105
|
};
|
106
106
|
goog.inherits(proto.log.LogSearchRequest, jspb.Message);
|
107
107
|
if (goog.DEBUG && !COMPILED) {
|
@@ -625,6 +625,13 @@ proto.log.PaginationRequest.prototype.hasLogSearchParams = function() {
|
|
625
625
|
|
626
626
|
|
627
627
|
|
628
|
+
/**
|
629
|
+
* List of repeated fields within this message type.
|
630
|
+
* @private {!Array<number>}
|
631
|
+
* @const
|
632
|
+
*/
|
633
|
+
proto.log.LogSearchRequest.repeatedFields_ = [1,2];
|
634
|
+
|
628
635
|
|
629
636
|
|
630
637
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -656,8 +663,8 @@ proto.log.LogSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
656
663
|
*/
|
657
664
|
proto.log.LogSearchRequest.toObject = function(includeInstance, msg) {
|
658
665
|
var f, obj = {
|
659
|
-
|
660
|
-
|
666
|
+
serviceList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
667
|
+
typeList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
661
668
|
};
|
662
669
|
|
663
670
|
if (includeInstance) {
|
@@ -696,11 +703,11 @@ proto.log.LogSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
696
703
|
switch (field) {
|
697
704
|
case 1:
|
698
705
|
var value = /** @type {string} */ (reader.readString());
|
699
|
-
msg.
|
706
|
+
msg.addService(value);
|
700
707
|
break;
|
701
708
|
case 2:
|
702
709
|
var value = /** @type {string} */ (reader.readString());
|
703
|
-
msg.
|
710
|
+
msg.addType(value);
|
704
711
|
break;
|
705
712
|
default:
|
706
713
|
reader.skipField();
|
@@ -731,16 +738,16 @@ proto.log.LogSearchRequest.prototype.serializeBinary = function() {
|
|
731
738
|
*/
|
732
739
|
proto.log.LogSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
733
740
|
var f = undefined;
|
734
|
-
f =
|
735
|
-
if (f
|
736
|
-
writer.
|
741
|
+
f = message.getServiceList();
|
742
|
+
if (f.length > 0) {
|
743
|
+
writer.writeRepeatedString(
|
737
744
|
1,
|
738
745
|
f
|
739
746
|
);
|
740
747
|
}
|
741
|
-
f =
|
742
|
-
if (f
|
743
|
-
writer.
|
748
|
+
f = message.getTypeList();
|
749
|
+
if (f.length > 0) {
|
750
|
+
writer.writeRepeatedString(
|
744
751
|
2,
|
745
752
|
f
|
746
753
|
);
|
@@ -749,74 +756,76 @@ proto.log.LogSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
749
756
|
|
750
757
|
|
751
758
|
/**
|
752
|
-
*
|
753
|
-
* @return {string}
|
759
|
+
* repeated string service = 1;
|
760
|
+
* @return {!Array<string>}
|
754
761
|
*/
|
755
|
-
proto.log.LogSearchRequest.prototype.
|
756
|
-
return /** @type {string} */ (jspb.Message.
|
762
|
+
proto.log.LogSearchRequest.prototype.getServiceList = function() {
|
763
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
757
764
|
};
|
758
765
|
|
759
766
|
|
760
767
|
/**
|
761
|
-
* @param {string} value
|
768
|
+
* @param {!Array<string>} value
|
762
769
|
* @return {!proto.log.LogSearchRequest} returns this
|
763
770
|
*/
|
764
|
-
proto.log.LogSearchRequest.prototype.
|
765
|
-
return jspb.Message.setField(this, 1, value);
|
771
|
+
proto.log.LogSearchRequest.prototype.setServiceList = function(value) {
|
772
|
+
return jspb.Message.setField(this, 1, value || []);
|
766
773
|
};
|
767
774
|
|
768
775
|
|
769
776
|
/**
|
770
|
-
*
|
777
|
+
* @param {string} value
|
778
|
+
* @param {number=} opt_index
|
771
779
|
* @return {!proto.log.LogSearchRequest} returns this
|
772
780
|
*/
|
773
|
-
proto.log.LogSearchRequest.prototype.
|
774
|
-
return jspb.Message.
|
781
|
+
proto.log.LogSearchRequest.prototype.addService = function(value, opt_index) {
|
782
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
775
783
|
};
|
776
784
|
|
777
785
|
|
778
786
|
/**
|
779
|
-
*
|
780
|
-
* @return {
|
787
|
+
* Clears the list making it empty but non-null.
|
788
|
+
* @return {!proto.log.LogSearchRequest} returns this
|
781
789
|
*/
|
782
|
-
proto.log.LogSearchRequest.prototype.
|
783
|
-
return
|
790
|
+
proto.log.LogSearchRequest.prototype.clearServiceList = function() {
|
791
|
+
return this.setServiceList([]);
|
784
792
|
};
|
785
793
|
|
786
794
|
|
787
795
|
/**
|
788
|
-
*
|
789
|
-
* @return {string}
|
796
|
+
* repeated string type = 2;
|
797
|
+
* @return {!Array<string>}
|
790
798
|
*/
|
791
|
-
proto.log.LogSearchRequest.prototype.
|
792
|
-
return /** @type {string} */ (jspb.Message.
|
799
|
+
proto.log.LogSearchRequest.prototype.getTypeList = function() {
|
800
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
793
801
|
};
|
794
802
|
|
795
803
|
|
796
804
|
/**
|
797
|
-
* @param {string} value
|
805
|
+
* @param {!Array<string>} value
|
798
806
|
* @return {!proto.log.LogSearchRequest} returns this
|
799
807
|
*/
|
800
|
-
proto.log.LogSearchRequest.prototype.
|
801
|
-
return jspb.Message.setField(this, 2, value);
|
808
|
+
proto.log.LogSearchRequest.prototype.setTypeList = function(value) {
|
809
|
+
return jspb.Message.setField(this, 2, value || []);
|
802
810
|
};
|
803
811
|
|
804
812
|
|
805
813
|
/**
|
806
|
-
*
|
814
|
+
* @param {string} value
|
815
|
+
* @param {number=} opt_index
|
807
816
|
* @return {!proto.log.LogSearchRequest} returns this
|
808
817
|
*/
|
809
|
-
proto.log.LogSearchRequest.prototype.
|
810
|
-
return jspb.Message.
|
818
|
+
proto.log.LogSearchRequest.prototype.addType = function(value, opt_index) {
|
819
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
811
820
|
};
|
812
821
|
|
813
822
|
|
814
823
|
/**
|
815
|
-
*
|
816
|
-
* @return {
|
824
|
+
* Clears the list making it empty but non-null.
|
825
|
+
* @return {!proto.log.LogSearchRequest} returns this
|
817
826
|
*/
|
818
|
-
proto.log.LogSearchRequest.prototype.
|
819
|
-
return
|
827
|
+
proto.log.LogSearchRequest.prototype.clearTypeList = function() {
|
828
|
+
return this.setTypeList([]);
|
820
829
|
};
|
821
830
|
|
822
831
|
|