@marleena/trb-proto 1.0.39 → 1.0.41

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.
@@ -26,13 +26,19 @@ goog.object.extend(proto, google_api_annotations_pb);
26
26
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
27
27
  goog.object.extend(proto, google_protobuf_timestamp_pb);
28
28
  goog.exportSymbol('proto.trb.indicators.v1.Candle', null, global);
29
+ goog.exportSymbol('proto.trb.indicators.v1.ComputeForInstrumentRequest', null, global);
29
30
  goog.exportSymbol('proto.trb.indicators.v1.ComputeRequest', null, global);
30
31
  goog.exportSymbol('proto.trb.indicators.v1.ComputeResponse', null, global);
31
32
  goog.exportSymbol('proto.trb.indicators.v1.IndicatorInfo', null, global);
32
33
  goog.exportSymbol('proto.trb.indicators.v1.IndicatorPoint', null, global);
33
34
  goog.exportSymbol('proto.trb.indicators.v1.IndicatorType', null, global);
35
+ goog.exportSymbol('proto.trb.indicators.v1.ListSchedulerTargetsRequest', null, global);
36
+ goog.exportSymbol('proto.trb.indicators.v1.ListSchedulerTargetsResponse', null, global);
34
37
  goog.exportSymbol('proto.trb.indicators.v1.ListSupportedRequest', null, global);
35
38
  goog.exportSymbol('proto.trb.indicators.v1.ListSupportedResponse', null, global);
39
+ goog.exportSymbol('proto.trb.indicators.v1.SchedulerTarget', null, global);
40
+ goog.exportSymbol('proto.trb.indicators.v1.SyncSchedulerTargetsRequest', null, global);
41
+ goog.exportSymbol('proto.trb.indicators.v1.SyncSchedulerTargetsResponse', null, global);
36
42
  /**
37
43
  * Generated by JsPbCodeGenerator.
38
44
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -75,6 +81,27 @@ if (goog.DEBUG && !COMPILED) {
75
81
  */
76
82
  proto.trb.indicators.v1.ComputeRequest.displayName = 'proto.trb.indicators.v1.ComputeRequest';
77
83
  }
84
+ /**
85
+ * Generated by JsPbCodeGenerator.
86
+ * @param {Array=} opt_data Optional initial data array, typically from a
87
+ * server response, or constructed directly in Javascript. The array is used
88
+ * in place and becomes part of the constructed object. It is not cloned.
89
+ * If no data is provided, the constructed object will be empty, but still
90
+ * valid.
91
+ * @extends {jspb.Message}
92
+ * @constructor
93
+ */
94
+ proto.trb.indicators.v1.ComputeForInstrumentRequest = function(opt_data) {
95
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
96
+ };
97
+ goog.inherits(proto.trb.indicators.v1.ComputeForInstrumentRequest, jspb.Message);
98
+ if (goog.DEBUG && !COMPILED) {
99
+ /**
100
+ * @public
101
+ * @override
102
+ */
103
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.displayName = 'proto.trb.indicators.v1.ComputeForInstrumentRequest';
104
+ }
78
105
  /**
79
106
  * Generated by JsPbCodeGenerator.
80
107
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -180,6 +207,111 @@ if (goog.DEBUG && !COMPILED) {
180
207
  */
181
208
  proto.trb.indicators.v1.ListSupportedResponse.displayName = 'proto.trb.indicators.v1.ListSupportedResponse';
182
209
  }
210
+ /**
211
+ * Generated by JsPbCodeGenerator.
212
+ * @param {Array=} opt_data Optional initial data array, typically from a
213
+ * server response, or constructed directly in Javascript. The array is used
214
+ * in place and becomes part of the constructed object. It is not cloned.
215
+ * If no data is provided, the constructed object will be empty, but still
216
+ * valid.
217
+ * @extends {jspb.Message}
218
+ * @constructor
219
+ */
220
+ proto.trb.indicators.v1.SchedulerTarget = function(opt_data) {
221
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
222
+ };
223
+ goog.inherits(proto.trb.indicators.v1.SchedulerTarget, jspb.Message);
224
+ if (goog.DEBUG && !COMPILED) {
225
+ /**
226
+ * @public
227
+ * @override
228
+ */
229
+ proto.trb.indicators.v1.SchedulerTarget.displayName = 'proto.trb.indicators.v1.SchedulerTarget';
230
+ }
231
+ /**
232
+ * Generated by JsPbCodeGenerator.
233
+ * @param {Array=} opt_data Optional initial data array, typically from a
234
+ * server response, or constructed directly in Javascript. The array is used
235
+ * in place and becomes part of the constructed object. It is not cloned.
236
+ * If no data is provided, the constructed object will be empty, but still
237
+ * valid.
238
+ * @extends {jspb.Message}
239
+ * @constructor
240
+ */
241
+ proto.trb.indicators.v1.ListSchedulerTargetsRequest = function(opt_data) {
242
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
243
+ };
244
+ goog.inherits(proto.trb.indicators.v1.ListSchedulerTargetsRequest, jspb.Message);
245
+ if (goog.DEBUG && !COMPILED) {
246
+ /**
247
+ * @public
248
+ * @override
249
+ */
250
+ proto.trb.indicators.v1.ListSchedulerTargetsRequest.displayName = 'proto.trb.indicators.v1.ListSchedulerTargetsRequest';
251
+ }
252
+ /**
253
+ * Generated by JsPbCodeGenerator.
254
+ * @param {Array=} opt_data Optional initial data array, typically from a
255
+ * server response, or constructed directly in Javascript. The array is used
256
+ * in place and becomes part of the constructed object. It is not cloned.
257
+ * If no data is provided, the constructed object will be empty, but still
258
+ * valid.
259
+ * @extends {jspb.Message}
260
+ * @constructor
261
+ */
262
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse = function(opt_data) {
263
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListSchedulerTargetsResponse.repeatedFields_, null);
264
+ };
265
+ goog.inherits(proto.trb.indicators.v1.ListSchedulerTargetsResponse, jspb.Message);
266
+ if (goog.DEBUG && !COMPILED) {
267
+ /**
268
+ * @public
269
+ * @override
270
+ */
271
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.displayName = 'proto.trb.indicators.v1.ListSchedulerTargetsResponse';
272
+ }
273
+ /**
274
+ * Generated by JsPbCodeGenerator.
275
+ * @param {Array=} opt_data Optional initial data array, typically from a
276
+ * server response, or constructed directly in Javascript. The array is used
277
+ * in place and becomes part of the constructed object. It is not cloned.
278
+ * If no data is provided, the constructed object will be empty, but still
279
+ * valid.
280
+ * @extends {jspb.Message}
281
+ * @constructor
282
+ */
283
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest = function(opt_data) {
284
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.SyncSchedulerTargetsRequest.repeatedFields_, null);
285
+ };
286
+ goog.inherits(proto.trb.indicators.v1.SyncSchedulerTargetsRequest, jspb.Message);
287
+ if (goog.DEBUG && !COMPILED) {
288
+ /**
289
+ * @public
290
+ * @override
291
+ */
292
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.displayName = 'proto.trb.indicators.v1.SyncSchedulerTargetsRequest';
293
+ }
294
+ /**
295
+ * Generated by JsPbCodeGenerator.
296
+ * @param {Array=} opt_data Optional initial data array, typically from a
297
+ * server response, or constructed directly in Javascript. The array is used
298
+ * in place and becomes part of the constructed object. It is not cloned.
299
+ * If no data is provided, the constructed object will be empty, but still
300
+ * valid.
301
+ * @extends {jspb.Message}
302
+ * @constructor
303
+ */
304
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse = function(opt_data) {
305
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
306
+ };
307
+ goog.inherits(proto.trb.indicators.v1.SyncSchedulerTargetsResponse, jspb.Message);
308
+ if (goog.DEBUG && !COMPILED) {
309
+ /**
310
+ * @public
311
+ * @override
312
+ */
313
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.displayName = 'proto.trb.indicators.v1.SyncSchedulerTargetsResponse';
314
+ }
183
315
 
184
316
 
185
317
 
@@ -721,8 +853,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
721
853
  * http://goto/soy-param-migration
722
854
  * @return {!Object}
723
855
  */
724
- proto.trb.indicators.v1.IndicatorPoint.prototype.toObject = function(opt_includeInstance) {
725
- return proto.trb.indicators.v1.IndicatorPoint.toObject(opt_includeInstance, this);
856
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.toObject = function(opt_includeInstance) {
857
+ return proto.trb.indicators.v1.ComputeForInstrumentRequest.toObject(opt_includeInstance, this);
726
858
  };
727
859
 
728
860
 
@@ -731,14 +863,19 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.toObject = function(opt_include
731
863
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
732
864
  * the JSPB instance for transitional soy proto support:
733
865
  * http://goto/soy-param-migration
734
- * @param {!proto.trb.indicators.v1.IndicatorPoint} msg The msg instance to transform.
866
+ * @param {!proto.trb.indicators.v1.ComputeForInstrumentRequest} msg The msg instance to transform.
735
867
  * @return {!Object}
736
868
  * @suppress {unusedLocalVariables} f is only used for nested messages
737
869
  */
738
- proto.trb.indicators.v1.IndicatorPoint.toObject = function(includeInstance, msg) {
870
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.toObject = function(includeInstance, msg) {
739
871
  var f, obj = {
740
- time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
741
- valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : []
872
+ uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
873
+ interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
874
+ from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
875
+ to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
876
+ type: jspb.Message.getFieldWithDefault(msg, 5, 0),
877
+ paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
878
+ persist: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
742
879
  };
743
880
 
744
881
  if (includeInstance) {
@@ -752,23 +889,23 @@ valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : [
752
889
  /**
753
890
  * Deserializes binary data (in protobuf wire format).
754
891
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
755
- * @return {!proto.trb.indicators.v1.IndicatorPoint}
892
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest}
756
893
  */
757
- proto.trb.indicators.v1.IndicatorPoint.deserializeBinary = function(bytes) {
894
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinary = function(bytes) {
758
895
  var reader = new jspb.BinaryReader(bytes);
759
- var msg = new proto.trb.indicators.v1.IndicatorPoint;
760
- return proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader(msg, reader);
896
+ var msg = new proto.trb.indicators.v1.ComputeForInstrumentRequest;
897
+ return proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader(msg, reader);
761
898
  };
762
899
 
763
900
 
764
901
  /**
765
902
  * Deserializes binary data (in protobuf wire format) from the
766
903
  * given reader into the given message object.
767
- * @param {!proto.trb.indicators.v1.IndicatorPoint} msg The message object to deserialize into.
904
+ * @param {!proto.trb.indicators.v1.ComputeForInstrumentRequest} msg The message object to deserialize into.
768
905
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
769
- * @return {!proto.trb.indicators.v1.IndicatorPoint}
906
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest}
770
907
  */
771
- proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(msg, reader) {
908
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader = function(msg, reader) {
772
909
  while (reader.nextField()) {
773
910
  if (reader.isEndGroup()) {
774
911
  break;
@@ -776,16 +913,37 @@ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(ms
776
913
  var field = reader.getFieldNumber();
777
914
  switch (field) {
778
915
  case 1:
916
+ var value = /** @type {string} */ (reader.readString());
917
+ msg.setUid(value);
918
+ break;
919
+ case 2:
920
+ var value = /** @type {number} */ (reader.readInt32());
921
+ msg.setInterval(value);
922
+ break;
923
+ case 3:
779
924
  var value = new google_protobuf_timestamp_pb.Timestamp;
780
925
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
781
- msg.setTime(value);
926
+ msg.setFrom(value);
782
927
  break;
783
- case 2:
784
- var value = msg.getValuesMap();
928
+ case 4:
929
+ var value = new google_protobuf_timestamp_pb.Timestamp;
930
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
931
+ msg.setTo(value);
932
+ break;
933
+ case 5:
934
+ var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
935
+ msg.setType(value);
936
+ break;
937
+ case 6:
938
+ var value = msg.getParamsMap();
785
939
  reader.readMessage(value, function(message, reader) {
786
940
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
787
941
  });
788
942
  break;
943
+ case 7:
944
+ var value = /** @type {boolean} */ (reader.readBool());
945
+ msg.setPersist(value);
946
+ break;
789
947
  default:
790
948
  reader.skipField();
791
949
  break;
@@ -799,9 +957,9 @@ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(ms
799
957
  * Serializes the message to binary data (in protobuf wire format).
800
958
  * @return {!Uint8Array}
801
959
  */
802
- proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
960
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.serializeBinary = function() {
803
961
  var writer = new jspb.BinaryWriter();
804
- proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter(this, writer);
962
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.serializeBinaryToWriter(this, writer);
805
963
  return writer.getResultBuffer();
806
964
  };
807
965
 
@@ -809,52 +967,124 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
809
967
  /**
810
968
  * Serializes the given message to binary data (in protobuf wire
811
969
  * format), writing to the given BinaryWriter.
812
- * @param {!proto.trb.indicators.v1.IndicatorPoint} message
970
+ * @param {!proto.trb.indicators.v1.ComputeForInstrumentRequest} message
813
971
  * @param {!jspb.BinaryWriter} writer
814
972
  * @suppress {unusedLocalVariables} f is only used for nested messages
815
973
  */
816
- proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter = function(message, writer) {
974
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.serializeBinaryToWriter = function(message, writer) {
817
975
  var f = undefined;
818
- f = message.getTime();
976
+ f = message.getUid();
977
+ if (f.length > 0) {
978
+ writer.writeString(
979
+ 1,
980
+ f
981
+ );
982
+ }
983
+ f = message.getInterval();
984
+ if (f !== 0) {
985
+ writer.writeInt32(
986
+ 2,
987
+ f
988
+ );
989
+ }
990
+ f = message.getFrom();
819
991
  if (f != null) {
820
992
  writer.writeMessage(
821
- 1,
993
+ 3,
822
994
  f,
823
995
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
824
996
  );
825
997
  }
826
- f = message.getValuesMap(true);
998
+ f = message.getTo();
999
+ if (f != null) {
1000
+ writer.writeMessage(
1001
+ 4,
1002
+ f,
1003
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1004
+ );
1005
+ }
1006
+ f = message.getType();
1007
+ if (f !== 0.0) {
1008
+ writer.writeEnum(
1009
+ 5,
1010
+ f
1011
+ );
1012
+ }
1013
+ f = message.getParamsMap(true);
827
1014
  if (f && f.getLength() > 0) {
828
- f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
1015
+ f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
1016
+ }
1017
+ f = message.getPersist();
1018
+ if (f) {
1019
+ writer.writeBool(
1020
+ 7,
1021
+ f
1022
+ );
829
1023
  }
830
1024
  };
831
1025
 
832
1026
 
833
1027
  /**
834
- * optional google.protobuf.Timestamp time = 1;
1028
+ * optional string uid = 1;
1029
+ * @return {string}
1030
+ */
1031
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getUid = function() {
1032
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1033
+ };
1034
+
1035
+
1036
+ /**
1037
+ * @param {string} value
1038
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1039
+ */
1040
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setUid = function(value) {
1041
+ return jspb.Message.setProto3StringField(this, 1, value);
1042
+ };
1043
+
1044
+
1045
+ /**
1046
+ * optional int32 interval = 2;
1047
+ * @return {number}
1048
+ */
1049
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getInterval = function() {
1050
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1051
+ };
1052
+
1053
+
1054
+ /**
1055
+ * @param {number} value
1056
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1057
+ */
1058
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setInterval = function(value) {
1059
+ return jspb.Message.setProto3IntField(this, 2, value);
1060
+ };
1061
+
1062
+
1063
+ /**
1064
+ * optional google.protobuf.Timestamp from = 3;
835
1065
  * @return {?proto.google.protobuf.Timestamp}
836
1066
  */
837
- proto.trb.indicators.v1.IndicatorPoint.prototype.getTime = function() {
1067
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getFrom = function() {
838
1068
  return /** @type{?proto.google.protobuf.Timestamp} */ (
839
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
1069
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
840
1070
  };
841
1071
 
842
1072
 
843
1073
  /**
844
1074
  * @param {?proto.google.protobuf.Timestamp|undefined} value
845
- * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
1075
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
846
1076
  */
847
- proto.trb.indicators.v1.IndicatorPoint.prototype.setTime = function(value) {
848
- return jspb.Message.setWrapperField(this, 1, value);
1077
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setFrom = function(value) {
1078
+ return jspb.Message.setWrapperField(this, 3, value);
849
1079
  };
850
1080
 
851
1081
 
852
1082
  /**
853
1083
  * Clears the message field making it undefined.
854
- * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
1084
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
855
1085
  */
856
- proto.trb.indicators.v1.IndicatorPoint.prototype.clearTime = function() {
857
- return this.setTime(undefined);
1086
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearFrom = function() {
1087
+ return this.setFrom(undefined);
858
1088
  };
859
1089
 
860
1090
 
@@ -862,64 +1092,322 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.clearTime = function() {
862
1092
  * Returns whether this field is set.
863
1093
  * @return {boolean}
864
1094
  */
865
- proto.trb.indicators.v1.IndicatorPoint.prototype.hasTime = function() {
866
- return jspb.Message.getField(this, 1) != null;
1095
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasFrom = function() {
1096
+ return jspb.Message.getField(this, 3) != null;
867
1097
  };
868
1098
 
869
1099
 
870
1100
  /**
871
- * map<string, double> values = 2;
872
- * @param {boolean=} opt_noLazyCreate Do not create the map if
873
- * empty, instead returning `undefined`
874
- * @return {!jspb.Map<string,number>}
1101
+ * optional google.protobuf.Timestamp to = 4;
1102
+ * @return {?proto.google.protobuf.Timestamp}
875
1103
  */
876
- proto.trb.indicators.v1.IndicatorPoint.prototype.getValuesMap = function(opt_noLazyCreate) {
877
- return /** @type {!jspb.Map<string,number>} */ (
878
- jspb.Message.getMapField(this, 2, opt_noLazyCreate,
879
- null));
1104
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getTo = function() {
1105
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
1106
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
880
1107
  };
881
1108
 
882
1109
 
883
1110
  /**
884
- * Clears values from the map. The map will be non-null.
885
- * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
886
- */
887
- proto.trb.indicators.v1.IndicatorPoint.prototype.clearValuesMap = function() {
888
- this.getValuesMap().clear();
889
- return this;
1111
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1112
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1113
+ */
1114
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setTo = function(value) {
1115
+ return jspb.Message.setWrapperField(this, 4, value);
890
1116
  };
891
1117
 
892
1118
 
893
-
894
1119
  /**
895
- * List of repeated fields within this message type.
896
- * @private {!Array<number>}
897
- * @const
1120
+ * Clears the message field making it undefined.
1121
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
898
1122
  */
899
- proto.trb.indicators.v1.ComputeResponse.repeatedFields_ = [3];
900
-
1123
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearTo = function() {
1124
+ return this.setTo(undefined);
1125
+ };
901
1126
 
902
1127
 
903
- if (jspb.Message.GENERATE_TO_OBJECT) {
904
1128
  /**
905
- * Creates an object representation of this proto.
906
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
907
- * Optional fields that are not set will be set to undefined.
908
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
909
- * For the list of reserved names please see:
910
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
911
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
912
- * JSPB instance for transitional soy proto support:
913
- * http://goto/soy-param-migration
914
- * @return {!Object}
1129
+ * Returns whether this field is set.
1130
+ * @return {boolean}
915
1131
  */
916
- proto.trb.indicators.v1.ComputeResponse.prototype.toObject = function(opt_includeInstance) {
917
- return proto.trb.indicators.v1.ComputeResponse.toObject(opt_includeInstance, this);
1132
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasTo = function() {
1133
+ return jspb.Message.getField(this, 4) != null;
918
1134
  };
919
1135
 
920
1136
 
921
1137
  /**
922
- * Static version of the {@see toObject} method.
1138
+ * optional IndicatorType type = 5;
1139
+ * @return {!proto.trb.indicators.v1.IndicatorType}
1140
+ */
1141
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getType = function() {
1142
+ return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
1143
+ };
1144
+
1145
+
1146
+ /**
1147
+ * @param {!proto.trb.indicators.v1.IndicatorType} value
1148
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1149
+ */
1150
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setType = function(value) {
1151
+ return jspb.Message.setProto3EnumField(this, 5, value);
1152
+ };
1153
+
1154
+
1155
+ /**
1156
+ * map<string, double> params = 6;
1157
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
1158
+ * empty, instead returning `undefined`
1159
+ * @return {!jspb.Map<string,number>}
1160
+ */
1161
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getParamsMap = function(opt_noLazyCreate) {
1162
+ return /** @type {!jspb.Map<string,number>} */ (
1163
+ jspb.Message.getMapField(this, 6, opt_noLazyCreate,
1164
+ null));
1165
+ };
1166
+
1167
+
1168
+ /**
1169
+ * Clears values from the map. The map will be non-null.
1170
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1171
+ */
1172
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearParamsMap = function() {
1173
+ this.getParamsMap().clear();
1174
+ return this;
1175
+ };
1176
+
1177
+
1178
+ /**
1179
+ * optional bool persist = 7;
1180
+ * @return {boolean}
1181
+ */
1182
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getPersist = function() {
1183
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
1184
+ };
1185
+
1186
+
1187
+ /**
1188
+ * @param {boolean} value
1189
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1190
+ */
1191
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setPersist = function(value) {
1192
+ return jspb.Message.setProto3BooleanField(this, 7, value);
1193
+ };
1194
+
1195
+
1196
+
1197
+
1198
+
1199
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1200
+ /**
1201
+ * Creates an object representation of this proto.
1202
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1203
+ * Optional fields that are not set will be set to undefined.
1204
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1205
+ * For the list of reserved names please see:
1206
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1207
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1208
+ * JSPB instance for transitional soy proto support:
1209
+ * http://goto/soy-param-migration
1210
+ * @return {!Object}
1211
+ */
1212
+ proto.trb.indicators.v1.IndicatorPoint.prototype.toObject = function(opt_includeInstance) {
1213
+ return proto.trb.indicators.v1.IndicatorPoint.toObject(opt_includeInstance, this);
1214
+ };
1215
+
1216
+
1217
+ /**
1218
+ * Static version of the {@see toObject} method.
1219
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1220
+ * the JSPB instance for transitional soy proto support:
1221
+ * http://goto/soy-param-migration
1222
+ * @param {!proto.trb.indicators.v1.IndicatorPoint} msg The msg instance to transform.
1223
+ * @return {!Object}
1224
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1225
+ */
1226
+ proto.trb.indicators.v1.IndicatorPoint.toObject = function(includeInstance, msg) {
1227
+ var f, obj = {
1228
+ time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1229
+ valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : []
1230
+ };
1231
+
1232
+ if (includeInstance) {
1233
+ obj.$jspbMessageInstance = msg;
1234
+ }
1235
+ return obj;
1236
+ };
1237
+ }
1238
+
1239
+
1240
+ /**
1241
+ * Deserializes binary data (in protobuf wire format).
1242
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1243
+ * @return {!proto.trb.indicators.v1.IndicatorPoint}
1244
+ */
1245
+ proto.trb.indicators.v1.IndicatorPoint.deserializeBinary = function(bytes) {
1246
+ var reader = new jspb.BinaryReader(bytes);
1247
+ var msg = new proto.trb.indicators.v1.IndicatorPoint;
1248
+ return proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader(msg, reader);
1249
+ };
1250
+
1251
+
1252
+ /**
1253
+ * Deserializes binary data (in protobuf wire format) from the
1254
+ * given reader into the given message object.
1255
+ * @param {!proto.trb.indicators.v1.IndicatorPoint} msg The message object to deserialize into.
1256
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1257
+ * @return {!proto.trb.indicators.v1.IndicatorPoint}
1258
+ */
1259
+ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(msg, reader) {
1260
+ while (reader.nextField()) {
1261
+ if (reader.isEndGroup()) {
1262
+ break;
1263
+ }
1264
+ var field = reader.getFieldNumber();
1265
+ switch (field) {
1266
+ case 1:
1267
+ var value = new google_protobuf_timestamp_pb.Timestamp;
1268
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1269
+ msg.setTime(value);
1270
+ break;
1271
+ case 2:
1272
+ var value = msg.getValuesMap();
1273
+ reader.readMessage(value, function(message, reader) {
1274
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
1275
+ });
1276
+ break;
1277
+ default:
1278
+ reader.skipField();
1279
+ break;
1280
+ }
1281
+ }
1282
+ return msg;
1283
+ };
1284
+
1285
+
1286
+ /**
1287
+ * Serializes the message to binary data (in protobuf wire format).
1288
+ * @return {!Uint8Array}
1289
+ */
1290
+ proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
1291
+ var writer = new jspb.BinaryWriter();
1292
+ proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter(this, writer);
1293
+ return writer.getResultBuffer();
1294
+ };
1295
+
1296
+
1297
+ /**
1298
+ * Serializes the given message to binary data (in protobuf wire
1299
+ * format), writing to the given BinaryWriter.
1300
+ * @param {!proto.trb.indicators.v1.IndicatorPoint} message
1301
+ * @param {!jspb.BinaryWriter} writer
1302
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1303
+ */
1304
+ proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter = function(message, writer) {
1305
+ var f = undefined;
1306
+ f = message.getTime();
1307
+ if (f != null) {
1308
+ writer.writeMessage(
1309
+ 1,
1310
+ f,
1311
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1312
+ );
1313
+ }
1314
+ f = message.getValuesMap(true);
1315
+ if (f && f.getLength() > 0) {
1316
+ f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
1317
+ }
1318
+ };
1319
+
1320
+
1321
+ /**
1322
+ * optional google.protobuf.Timestamp time = 1;
1323
+ * @return {?proto.google.protobuf.Timestamp}
1324
+ */
1325
+ proto.trb.indicators.v1.IndicatorPoint.prototype.getTime = function() {
1326
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
1327
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
1328
+ };
1329
+
1330
+
1331
+ /**
1332
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1333
+ * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
1334
+ */
1335
+ proto.trb.indicators.v1.IndicatorPoint.prototype.setTime = function(value) {
1336
+ return jspb.Message.setWrapperField(this, 1, value);
1337
+ };
1338
+
1339
+
1340
+ /**
1341
+ * Clears the message field making it undefined.
1342
+ * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
1343
+ */
1344
+ proto.trb.indicators.v1.IndicatorPoint.prototype.clearTime = function() {
1345
+ return this.setTime(undefined);
1346
+ };
1347
+
1348
+
1349
+ /**
1350
+ * Returns whether this field is set.
1351
+ * @return {boolean}
1352
+ */
1353
+ proto.trb.indicators.v1.IndicatorPoint.prototype.hasTime = function() {
1354
+ return jspb.Message.getField(this, 1) != null;
1355
+ };
1356
+
1357
+
1358
+ /**
1359
+ * map<string, double> values = 2;
1360
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
1361
+ * empty, instead returning `undefined`
1362
+ * @return {!jspb.Map<string,number>}
1363
+ */
1364
+ proto.trb.indicators.v1.IndicatorPoint.prototype.getValuesMap = function(opt_noLazyCreate) {
1365
+ return /** @type {!jspb.Map<string,number>} */ (
1366
+ jspb.Message.getMapField(this, 2, opt_noLazyCreate,
1367
+ null));
1368
+ };
1369
+
1370
+
1371
+ /**
1372
+ * Clears values from the map. The map will be non-null.
1373
+ * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
1374
+ */
1375
+ proto.trb.indicators.v1.IndicatorPoint.prototype.clearValuesMap = function() {
1376
+ this.getValuesMap().clear();
1377
+ return this;
1378
+ };
1379
+
1380
+
1381
+
1382
+ /**
1383
+ * List of repeated fields within this message type.
1384
+ * @private {!Array<number>}
1385
+ * @const
1386
+ */
1387
+ proto.trb.indicators.v1.ComputeResponse.repeatedFields_ = [3];
1388
+
1389
+
1390
+
1391
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1392
+ /**
1393
+ * Creates an object representation of this proto.
1394
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1395
+ * Optional fields that are not set will be set to undefined.
1396
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1397
+ * For the list of reserved names please see:
1398
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1399
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1400
+ * JSPB instance for transitional soy proto support:
1401
+ * http://goto/soy-param-migration
1402
+ * @return {!Object}
1403
+ */
1404
+ proto.trb.indicators.v1.ComputeResponse.prototype.toObject = function(opt_includeInstance) {
1405
+ return proto.trb.indicators.v1.ComputeResponse.toObject(opt_includeInstance, this);
1406
+ };
1407
+
1408
+
1409
+ /**
1410
+ * Static version of the {@see toObject} method.
923
1411
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
924
1412
  * the JSPB instance for transitional soy proto support:
925
1413
  * http://goto/soy-param-migration
@@ -1599,6 +2087,841 @@ proto.trb.indicators.v1.ListSupportedResponse.prototype.clearIndicatorsList = fu
1599
2087
  };
1600
2088
 
1601
2089
 
2090
+
2091
+
2092
+
2093
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2094
+ /**
2095
+ * Creates an object representation of this proto.
2096
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2097
+ * Optional fields that are not set will be set to undefined.
2098
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2099
+ * For the list of reserved names please see:
2100
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2101
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2102
+ * JSPB instance for transitional soy proto support:
2103
+ * http://goto/soy-param-migration
2104
+ * @return {!Object}
2105
+ */
2106
+ proto.trb.indicators.v1.SchedulerTarget.prototype.toObject = function(opt_includeInstance) {
2107
+ return proto.trb.indicators.v1.SchedulerTarget.toObject(opt_includeInstance, this);
2108
+ };
2109
+
2110
+
2111
+ /**
2112
+ * Static version of the {@see toObject} method.
2113
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2114
+ * the JSPB instance for transitional soy proto support:
2115
+ * http://goto/soy-param-migration
2116
+ * @param {!proto.trb.indicators.v1.SchedulerTarget} msg The msg instance to transform.
2117
+ * @return {!Object}
2118
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2119
+ */
2120
+ proto.trb.indicators.v1.SchedulerTarget.toObject = function(includeInstance, msg) {
2121
+ var f, obj = {
2122
+ uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
2123
+ interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
2124
+ indicator: jspb.Message.getFieldWithDefault(msg, 3, ""),
2125
+ paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
2126
+ enabled: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
2127
+ };
2128
+
2129
+ if (includeInstance) {
2130
+ obj.$jspbMessageInstance = msg;
2131
+ }
2132
+ return obj;
2133
+ };
2134
+ }
2135
+
2136
+
2137
+ /**
2138
+ * Deserializes binary data (in protobuf wire format).
2139
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2140
+ * @return {!proto.trb.indicators.v1.SchedulerTarget}
2141
+ */
2142
+ proto.trb.indicators.v1.SchedulerTarget.deserializeBinary = function(bytes) {
2143
+ var reader = new jspb.BinaryReader(bytes);
2144
+ var msg = new proto.trb.indicators.v1.SchedulerTarget;
2145
+ return proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader(msg, reader);
2146
+ };
2147
+
2148
+
2149
+ /**
2150
+ * Deserializes binary data (in protobuf wire format) from the
2151
+ * given reader into the given message object.
2152
+ * @param {!proto.trb.indicators.v1.SchedulerTarget} msg The message object to deserialize into.
2153
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2154
+ * @return {!proto.trb.indicators.v1.SchedulerTarget}
2155
+ */
2156
+ proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader = function(msg, reader) {
2157
+ while (reader.nextField()) {
2158
+ if (reader.isEndGroup()) {
2159
+ break;
2160
+ }
2161
+ var field = reader.getFieldNumber();
2162
+ switch (field) {
2163
+ case 1:
2164
+ var value = /** @type {string} */ (reader.readString());
2165
+ msg.setUid(value);
2166
+ break;
2167
+ case 2:
2168
+ var value = /** @type {number} */ (reader.readInt32());
2169
+ msg.setInterval(value);
2170
+ break;
2171
+ case 3:
2172
+ var value = /** @type {string} */ (reader.readString());
2173
+ msg.setIndicator(value);
2174
+ break;
2175
+ case 4:
2176
+ var value = msg.getParamsMap();
2177
+ reader.readMessage(value, function(message, reader) {
2178
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
2179
+ });
2180
+ break;
2181
+ case 5:
2182
+ var value = /** @type {boolean} */ (reader.readBool());
2183
+ msg.setEnabled(value);
2184
+ break;
2185
+ default:
2186
+ reader.skipField();
2187
+ break;
2188
+ }
2189
+ }
2190
+ return msg;
2191
+ };
2192
+
2193
+
2194
+ /**
2195
+ * Serializes the message to binary data (in protobuf wire format).
2196
+ * @return {!Uint8Array}
2197
+ */
2198
+ proto.trb.indicators.v1.SchedulerTarget.prototype.serializeBinary = function() {
2199
+ var writer = new jspb.BinaryWriter();
2200
+ proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter(this, writer);
2201
+ return writer.getResultBuffer();
2202
+ };
2203
+
2204
+
2205
+ /**
2206
+ * Serializes the given message to binary data (in protobuf wire
2207
+ * format), writing to the given BinaryWriter.
2208
+ * @param {!proto.trb.indicators.v1.SchedulerTarget} message
2209
+ * @param {!jspb.BinaryWriter} writer
2210
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2211
+ */
2212
+ proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter = function(message, writer) {
2213
+ var f = undefined;
2214
+ f = message.getUid();
2215
+ if (f.length > 0) {
2216
+ writer.writeString(
2217
+ 1,
2218
+ f
2219
+ );
2220
+ }
2221
+ f = message.getInterval();
2222
+ if (f !== 0) {
2223
+ writer.writeInt32(
2224
+ 2,
2225
+ f
2226
+ );
2227
+ }
2228
+ f = message.getIndicator();
2229
+ if (f.length > 0) {
2230
+ writer.writeString(
2231
+ 3,
2232
+ f
2233
+ );
2234
+ }
2235
+ f = message.getParamsMap(true);
2236
+ if (f && f.getLength() > 0) {
2237
+ f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
2238
+ }
2239
+ f = message.getEnabled();
2240
+ if (f) {
2241
+ writer.writeBool(
2242
+ 5,
2243
+ f
2244
+ );
2245
+ }
2246
+ };
2247
+
2248
+
2249
+ /**
2250
+ * optional string uid = 1;
2251
+ * @return {string}
2252
+ */
2253
+ proto.trb.indicators.v1.SchedulerTarget.prototype.getUid = function() {
2254
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2255
+ };
2256
+
2257
+
2258
+ /**
2259
+ * @param {string} value
2260
+ * @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
2261
+ */
2262
+ proto.trb.indicators.v1.SchedulerTarget.prototype.setUid = function(value) {
2263
+ return jspb.Message.setProto3StringField(this, 1, value);
2264
+ };
2265
+
2266
+
2267
+ /**
2268
+ * optional int32 interval = 2;
2269
+ * @return {number}
2270
+ */
2271
+ proto.trb.indicators.v1.SchedulerTarget.prototype.getInterval = function() {
2272
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2273
+ };
2274
+
2275
+
2276
+ /**
2277
+ * @param {number} value
2278
+ * @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
2279
+ */
2280
+ proto.trb.indicators.v1.SchedulerTarget.prototype.setInterval = function(value) {
2281
+ return jspb.Message.setProto3IntField(this, 2, value);
2282
+ };
2283
+
2284
+
2285
+ /**
2286
+ * optional string indicator = 3;
2287
+ * @return {string}
2288
+ */
2289
+ proto.trb.indicators.v1.SchedulerTarget.prototype.getIndicator = function() {
2290
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2291
+ };
2292
+
2293
+
2294
+ /**
2295
+ * @param {string} value
2296
+ * @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
2297
+ */
2298
+ proto.trb.indicators.v1.SchedulerTarget.prototype.setIndicator = function(value) {
2299
+ return jspb.Message.setProto3StringField(this, 3, value);
2300
+ };
2301
+
2302
+
2303
+ /**
2304
+ * map<string, double> params = 4;
2305
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
2306
+ * empty, instead returning `undefined`
2307
+ * @return {!jspb.Map<string,number>}
2308
+ */
2309
+ proto.trb.indicators.v1.SchedulerTarget.prototype.getParamsMap = function(opt_noLazyCreate) {
2310
+ return /** @type {!jspb.Map<string,number>} */ (
2311
+ jspb.Message.getMapField(this, 4, opt_noLazyCreate,
2312
+ null));
2313
+ };
2314
+
2315
+
2316
+ /**
2317
+ * Clears values from the map. The map will be non-null.
2318
+ * @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
2319
+ */
2320
+ proto.trb.indicators.v1.SchedulerTarget.prototype.clearParamsMap = function() {
2321
+ this.getParamsMap().clear();
2322
+ return this;
2323
+ };
2324
+
2325
+
2326
+ /**
2327
+ * optional bool enabled = 5;
2328
+ * @return {boolean}
2329
+ */
2330
+ proto.trb.indicators.v1.SchedulerTarget.prototype.getEnabled = function() {
2331
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
2332
+ };
2333
+
2334
+
2335
+ /**
2336
+ * @param {boolean} value
2337
+ * @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
2338
+ */
2339
+ proto.trb.indicators.v1.SchedulerTarget.prototype.setEnabled = function(value) {
2340
+ return jspb.Message.setProto3BooleanField(this, 5, value);
2341
+ };
2342
+
2343
+
2344
+
2345
+
2346
+
2347
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2348
+ /**
2349
+ * Creates an object representation of this proto.
2350
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2351
+ * Optional fields that are not set will be set to undefined.
2352
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2353
+ * For the list of reserved names please see:
2354
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2355
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2356
+ * JSPB instance for transitional soy proto support:
2357
+ * http://goto/soy-param-migration
2358
+ * @return {!Object}
2359
+ */
2360
+ proto.trb.indicators.v1.ListSchedulerTargetsRequest.prototype.toObject = function(opt_includeInstance) {
2361
+ return proto.trb.indicators.v1.ListSchedulerTargetsRequest.toObject(opt_includeInstance, this);
2362
+ };
2363
+
2364
+
2365
+ /**
2366
+ * Static version of the {@see toObject} method.
2367
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2368
+ * the JSPB instance for transitional soy proto support:
2369
+ * http://goto/soy-param-migration
2370
+ * @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} msg The msg instance to transform.
2371
+ * @return {!Object}
2372
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2373
+ */
2374
+ proto.trb.indicators.v1.ListSchedulerTargetsRequest.toObject = function(includeInstance, msg) {
2375
+ var f, obj = {
2376
+
2377
+ };
2378
+
2379
+ if (includeInstance) {
2380
+ obj.$jspbMessageInstance = msg;
2381
+ }
2382
+ return obj;
2383
+ };
2384
+ }
2385
+
2386
+
2387
+ /**
2388
+ * Deserializes binary data (in protobuf wire format).
2389
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2390
+ * @return {!proto.trb.indicators.v1.ListSchedulerTargetsRequest}
2391
+ */
2392
+ proto.trb.indicators.v1.ListSchedulerTargetsRequest.deserializeBinary = function(bytes) {
2393
+ var reader = new jspb.BinaryReader(bytes);
2394
+ var msg = new proto.trb.indicators.v1.ListSchedulerTargetsRequest;
2395
+ return proto.trb.indicators.v1.ListSchedulerTargetsRequest.deserializeBinaryFromReader(msg, reader);
2396
+ };
2397
+
2398
+
2399
+ /**
2400
+ * Deserializes binary data (in protobuf wire format) from the
2401
+ * given reader into the given message object.
2402
+ * @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} msg The message object to deserialize into.
2403
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2404
+ * @return {!proto.trb.indicators.v1.ListSchedulerTargetsRequest}
2405
+ */
2406
+ proto.trb.indicators.v1.ListSchedulerTargetsRequest.deserializeBinaryFromReader = function(msg, reader) {
2407
+ while (reader.nextField()) {
2408
+ if (reader.isEndGroup()) {
2409
+ break;
2410
+ }
2411
+ var field = reader.getFieldNumber();
2412
+ switch (field) {
2413
+ default:
2414
+ reader.skipField();
2415
+ break;
2416
+ }
2417
+ }
2418
+ return msg;
2419
+ };
2420
+
2421
+
2422
+ /**
2423
+ * Serializes the message to binary data (in protobuf wire format).
2424
+ * @return {!Uint8Array}
2425
+ */
2426
+ proto.trb.indicators.v1.ListSchedulerTargetsRequest.prototype.serializeBinary = function() {
2427
+ var writer = new jspb.BinaryWriter();
2428
+ proto.trb.indicators.v1.ListSchedulerTargetsRequest.serializeBinaryToWriter(this, writer);
2429
+ return writer.getResultBuffer();
2430
+ };
2431
+
2432
+
2433
+ /**
2434
+ * Serializes the given message to binary data (in protobuf wire
2435
+ * format), writing to the given BinaryWriter.
2436
+ * @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} message
2437
+ * @param {!jspb.BinaryWriter} writer
2438
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2439
+ */
2440
+ proto.trb.indicators.v1.ListSchedulerTargetsRequest.serializeBinaryToWriter = function(message, writer) {
2441
+ var f = undefined;
2442
+ };
2443
+
2444
+
2445
+
2446
+ /**
2447
+ * List of repeated fields within this message type.
2448
+ * @private {!Array<number>}
2449
+ * @const
2450
+ */
2451
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.repeatedFields_ = [1];
2452
+
2453
+
2454
+
2455
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2456
+ /**
2457
+ * Creates an object representation of this proto.
2458
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2459
+ * Optional fields that are not set will be set to undefined.
2460
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2461
+ * For the list of reserved names please see:
2462
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2463
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2464
+ * JSPB instance for transitional soy proto support:
2465
+ * http://goto/soy-param-migration
2466
+ * @return {!Object}
2467
+ */
2468
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.toObject = function(opt_includeInstance) {
2469
+ return proto.trb.indicators.v1.ListSchedulerTargetsResponse.toObject(opt_includeInstance, this);
2470
+ };
2471
+
2472
+
2473
+ /**
2474
+ * Static version of the {@see toObject} method.
2475
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2476
+ * the JSPB instance for transitional soy proto support:
2477
+ * http://goto/soy-param-migration
2478
+ * @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} msg The msg instance to transform.
2479
+ * @return {!Object}
2480
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2481
+ */
2482
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.toObject = function(includeInstance, msg) {
2483
+ var f, obj = {
2484
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
2485
+ proto.trb.indicators.v1.SchedulerTarget.toObject, includeInstance)
2486
+ };
2487
+
2488
+ if (includeInstance) {
2489
+ obj.$jspbMessageInstance = msg;
2490
+ }
2491
+ return obj;
2492
+ };
2493
+ }
2494
+
2495
+
2496
+ /**
2497
+ * Deserializes binary data (in protobuf wire format).
2498
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2499
+ * @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse}
2500
+ */
2501
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinary = function(bytes) {
2502
+ var reader = new jspb.BinaryReader(bytes);
2503
+ var msg = new proto.trb.indicators.v1.ListSchedulerTargetsResponse;
2504
+ return proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader(msg, reader);
2505
+ };
2506
+
2507
+
2508
+ /**
2509
+ * Deserializes binary data (in protobuf wire format) from the
2510
+ * given reader into the given message object.
2511
+ * @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} msg The message object to deserialize into.
2512
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2513
+ * @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse}
2514
+ */
2515
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader = function(msg, reader) {
2516
+ while (reader.nextField()) {
2517
+ if (reader.isEndGroup()) {
2518
+ break;
2519
+ }
2520
+ var field = reader.getFieldNumber();
2521
+ switch (field) {
2522
+ case 1:
2523
+ var value = new proto.trb.indicators.v1.SchedulerTarget;
2524
+ reader.readMessage(value,proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader);
2525
+ msg.addItems(value);
2526
+ break;
2527
+ default:
2528
+ reader.skipField();
2529
+ break;
2530
+ }
2531
+ }
2532
+ return msg;
2533
+ };
2534
+
2535
+
2536
+ /**
2537
+ * Serializes the message to binary data (in protobuf wire format).
2538
+ * @return {!Uint8Array}
2539
+ */
2540
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.serializeBinary = function() {
2541
+ var writer = new jspb.BinaryWriter();
2542
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.serializeBinaryToWriter(this, writer);
2543
+ return writer.getResultBuffer();
2544
+ };
2545
+
2546
+
2547
+ /**
2548
+ * Serializes the given message to binary data (in protobuf wire
2549
+ * format), writing to the given BinaryWriter.
2550
+ * @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} message
2551
+ * @param {!jspb.BinaryWriter} writer
2552
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2553
+ */
2554
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.serializeBinaryToWriter = function(message, writer) {
2555
+ var f = undefined;
2556
+ f = message.getItemsList();
2557
+ if (f.length > 0) {
2558
+ writer.writeRepeatedMessage(
2559
+ 1,
2560
+ f,
2561
+ proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter
2562
+ );
2563
+ }
2564
+ };
2565
+
2566
+
2567
+ /**
2568
+ * repeated SchedulerTarget items = 1;
2569
+ * @return {!Array<!proto.trb.indicators.v1.SchedulerTarget>}
2570
+ */
2571
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.getItemsList = function() {
2572
+ return /** @type{!Array<!proto.trb.indicators.v1.SchedulerTarget>} */ (
2573
+ jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.SchedulerTarget, 1));
2574
+ };
2575
+
2576
+
2577
+ /**
2578
+ * @param {!Array<!proto.trb.indicators.v1.SchedulerTarget>} value
2579
+ * @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} returns this
2580
+ */
2581
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.setItemsList = function(value) {
2582
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2583
+ };
2584
+
2585
+
2586
+ /**
2587
+ * @param {!proto.trb.indicators.v1.SchedulerTarget=} opt_value
2588
+ * @param {number=} opt_index
2589
+ * @return {!proto.trb.indicators.v1.SchedulerTarget}
2590
+ */
2591
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.addItems = function(opt_value, opt_index) {
2592
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.trb.indicators.v1.SchedulerTarget, opt_index);
2593
+ };
2594
+
2595
+
2596
+ /**
2597
+ * Clears the list making it empty but non-null.
2598
+ * @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} returns this
2599
+ */
2600
+ proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.clearItemsList = function() {
2601
+ return this.setItemsList([]);
2602
+ };
2603
+
2604
+
2605
+
2606
+ /**
2607
+ * List of repeated fields within this message type.
2608
+ * @private {!Array<number>}
2609
+ * @const
2610
+ */
2611
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.repeatedFields_ = [1];
2612
+
2613
+
2614
+
2615
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2616
+ /**
2617
+ * Creates an object representation of this proto.
2618
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2619
+ * Optional fields that are not set will be set to undefined.
2620
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2621
+ * For the list of reserved names please see:
2622
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2623
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2624
+ * JSPB instance for transitional soy proto support:
2625
+ * http://goto/soy-param-migration
2626
+ * @return {!Object}
2627
+ */
2628
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.toObject = function(opt_includeInstance) {
2629
+ return proto.trb.indicators.v1.SyncSchedulerTargetsRequest.toObject(opt_includeInstance, this);
2630
+ };
2631
+
2632
+
2633
+ /**
2634
+ * Static version of the {@see toObject} method.
2635
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2636
+ * the JSPB instance for transitional soy proto support:
2637
+ * http://goto/soy-param-migration
2638
+ * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} msg The msg instance to transform.
2639
+ * @return {!Object}
2640
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2641
+ */
2642
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.toObject = function(includeInstance, msg) {
2643
+ var f, obj = {
2644
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
2645
+ proto.trb.indicators.v1.SchedulerTarget.toObject, includeInstance),
2646
+ allowEmpty: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
2647
+ };
2648
+
2649
+ if (includeInstance) {
2650
+ obj.$jspbMessageInstance = msg;
2651
+ }
2652
+ return obj;
2653
+ };
2654
+ }
2655
+
2656
+
2657
+ /**
2658
+ * Deserializes binary data (in protobuf wire format).
2659
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2660
+ * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest}
2661
+ */
2662
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinary = function(bytes) {
2663
+ var reader = new jspb.BinaryReader(bytes);
2664
+ var msg = new proto.trb.indicators.v1.SyncSchedulerTargetsRequest;
2665
+ return proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinaryFromReader(msg, reader);
2666
+ };
2667
+
2668
+
2669
+ /**
2670
+ * Deserializes binary data (in protobuf wire format) from the
2671
+ * given reader into the given message object.
2672
+ * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} msg The message object to deserialize into.
2673
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2674
+ * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest}
2675
+ */
2676
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinaryFromReader = function(msg, reader) {
2677
+ while (reader.nextField()) {
2678
+ if (reader.isEndGroup()) {
2679
+ break;
2680
+ }
2681
+ var field = reader.getFieldNumber();
2682
+ switch (field) {
2683
+ case 1:
2684
+ var value = new proto.trb.indicators.v1.SchedulerTarget;
2685
+ reader.readMessage(value,proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader);
2686
+ msg.addItems(value);
2687
+ break;
2688
+ case 2:
2689
+ var value = /** @type {boolean} */ (reader.readBool());
2690
+ msg.setAllowEmpty(value);
2691
+ break;
2692
+ default:
2693
+ reader.skipField();
2694
+ break;
2695
+ }
2696
+ }
2697
+ return msg;
2698
+ };
2699
+
2700
+
2701
+ /**
2702
+ * Serializes the message to binary data (in protobuf wire format).
2703
+ * @return {!Uint8Array}
2704
+ */
2705
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.serializeBinary = function() {
2706
+ var writer = new jspb.BinaryWriter();
2707
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.serializeBinaryToWriter(this, writer);
2708
+ return writer.getResultBuffer();
2709
+ };
2710
+
2711
+
2712
+ /**
2713
+ * Serializes the given message to binary data (in protobuf wire
2714
+ * format), writing to the given BinaryWriter.
2715
+ * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} message
2716
+ * @param {!jspb.BinaryWriter} writer
2717
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2718
+ */
2719
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.serializeBinaryToWriter = function(message, writer) {
2720
+ var f = undefined;
2721
+ f = message.getItemsList();
2722
+ if (f.length > 0) {
2723
+ writer.writeRepeatedMessage(
2724
+ 1,
2725
+ f,
2726
+ proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter
2727
+ );
2728
+ }
2729
+ f = message.getAllowEmpty();
2730
+ if (f) {
2731
+ writer.writeBool(
2732
+ 2,
2733
+ f
2734
+ );
2735
+ }
2736
+ };
2737
+
2738
+
2739
+ /**
2740
+ * repeated SchedulerTarget items = 1;
2741
+ * @return {!Array<!proto.trb.indicators.v1.SchedulerTarget>}
2742
+ */
2743
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.getItemsList = function() {
2744
+ return /** @type{!Array<!proto.trb.indicators.v1.SchedulerTarget>} */ (
2745
+ jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.SchedulerTarget, 1));
2746
+ };
2747
+
2748
+
2749
+ /**
2750
+ * @param {!Array<!proto.trb.indicators.v1.SchedulerTarget>} value
2751
+ * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
2752
+ */
2753
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.setItemsList = function(value) {
2754
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2755
+ };
2756
+
2757
+
2758
+ /**
2759
+ * @param {!proto.trb.indicators.v1.SchedulerTarget=} opt_value
2760
+ * @param {number=} opt_index
2761
+ * @return {!proto.trb.indicators.v1.SchedulerTarget}
2762
+ */
2763
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.addItems = function(opt_value, opt_index) {
2764
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.trb.indicators.v1.SchedulerTarget, opt_index);
2765
+ };
2766
+
2767
+
2768
+ /**
2769
+ * Clears the list making it empty but non-null.
2770
+ * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
2771
+ */
2772
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.clearItemsList = function() {
2773
+ return this.setItemsList([]);
2774
+ };
2775
+
2776
+
2777
+ /**
2778
+ * optional bool allow_empty = 2;
2779
+ * @return {boolean}
2780
+ */
2781
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.getAllowEmpty = function() {
2782
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
2783
+ };
2784
+
2785
+
2786
+ /**
2787
+ * @param {boolean} value
2788
+ * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
2789
+ */
2790
+ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.setAllowEmpty = function(value) {
2791
+ return jspb.Message.setProto3BooleanField(this, 2, value);
2792
+ };
2793
+
2794
+
2795
+
2796
+
2797
+
2798
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2799
+ /**
2800
+ * Creates an object representation of this proto.
2801
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2802
+ * Optional fields that are not set will be set to undefined.
2803
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2804
+ * For the list of reserved names please see:
2805
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2806
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2807
+ * JSPB instance for transitional soy proto support:
2808
+ * http://goto/soy-param-migration
2809
+ * @return {!Object}
2810
+ */
2811
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.toObject = function(opt_includeInstance) {
2812
+ return proto.trb.indicators.v1.SyncSchedulerTargetsResponse.toObject(opt_includeInstance, this);
2813
+ };
2814
+
2815
+
2816
+ /**
2817
+ * Static version of the {@see toObject} method.
2818
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2819
+ * the JSPB instance for transitional soy proto support:
2820
+ * http://goto/soy-param-migration
2821
+ * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} msg The msg instance to transform.
2822
+ * @return {!Object}
2823
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2824
+ */
2825
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.toObject = function(includeInstance, msg) {
2826
+ var f, obj = {
2827
+ count: jspb.Message.getFieldWithDefault(msg, 1, 0)
2828
+ };
2829
+
2830
+ if (includeInstance) {
2831
+ obj.$jspbMessageInstance = msg;
2832
+ }
2833
+ return obj;
2834
+ };
2835
+ }
2836
+
2837
+
2838
+ /**
2839
+ * Deserializes binary data (in protobuf wire format).
2840
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2841
+ * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse}
2842
+ */
2843
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinary = function(bytes) {
2844
+ var reader = new jspb.BinaryReader(bytes);
2845
+ var msg = new proto.trb.indicators.v1.SyncSchedulerTargetsResponse;
2846
+ return proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader(msg, reader);
2847
+ };
2848
+
2849
+
2850
+ /**
2851
+ * Deserializes binary data (in protobuf wire format) from the
2852
+ * given reader into the given message object.
2853
+ * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} msg The message object to deserialize into.
2854
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2855
+ * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse}
2856
+ */
2857
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader = function(msg, reader) {
2858
+ while (reader.nextField()) {
2859
+ if (reader.isEndGroup()) {
2860
+ break;
2861
+ }
2862
+ var field = reader.getFieldNumber();
2863
+ switch (field) {
2864
+ case 1:
2865
+ var value = /** @type {number} */ (reader.readInt32());
2866
+ msg.setCount(value);
2867
+ break;
2868
+ default:
2869
+ reader.skipField();
2870
+ break;
2871
+ }
2872
+ }
2873
+ return msg;
2874
+ };
2875
+
2876
+
2877
+ /**
2878
+ * Serializes the message to binary data (in protobuf wire format).
2879
+ * @return {!Uint8Array}
2880
+ */
2881
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.serializeBinary = function() {
2882
+ var writer = new jspb.BinaryWriter();
2883
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.serializeBinaryToWriter(this, writer);
2884
+ return writer.getResultBuffer();
2885
+ };
2886
+
2887
+
2888
+ /**
2889
+ * Serializes the given message to binary data (in protobuf wire
2890
+ * format), writing to the given BinaryWriter.
2891
+ * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} message
2892
+ * @param {!jspb.BinaryWriter} writer
2893
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2894
+ */
2895
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.serializeBinaryToWriter = function(message, writer) {
2896
+ var f = undefined;
2897
+ f = message.getCount();
2898
+ if (f !== 0) {
2899
+ writer.writeInt32(
2900
+ 1,
2901
+ f
2902
+ );
2903
+ }
2904
+ };
2905
+
2906
+
2907
+ /**
2908
+ * optional int32 count = 1;
2909
+ * @return {number}
2910
+ */
2911
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.getCount = function() {
2912
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2913
+ };
2914
+
2915
+
2916
+ /**
2917
+ * @param {number} value
2918
+ * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} returns this
2919
+ */
2920
+ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.setCount = function(value) {
2921
+ return jspb.Message.setProto3IntField(this, 1, value);
2922
+ };
2923
+
2924
+
1602
2925
  /**
1603
2926
  * @enum {number}
1604
2927
  */