@marleena/trb-proto 1.0.41 → 1.0.42
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.
|
@@ -254,5 +254,48 @@ export class IndicatorsClient {
|
|
|
254
254
|
this.methodDescriptorSyncSchedulerTargets);
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
+
methodDescriptorListIndicatorValues = new grpcWeb.MethodDescriptor(
|
|
258
|
+
'/trb.indicators.v1.Indicators/ListIndicatorValues',
|
|
259
|
+
grpcWeb.MethodType.UNARY,
|
|
260
|
+
indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
261
|
+
indicators_indicators_pb.ListIndicatorValuesResponse,
|
|
262
|
+
(request: indicators_indicators_pb.ListIndicatorValuesRequest) => {
|
|
263
|
+
return request.serializeBinary();
|
|
264
|
+
},
|
|
265
|
+
indicators_indicators_pb.ListIndicatorValuesResponse.deserializeBinary
|
|
266
|
+
);
|
|
267
|
+
|
|
268
|
+
listIndicatorValues(
|
|
269
|
+
request: indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
270
|
+
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.ListIndicatorValuesResponse>;
|
|
271
|
+
|
|
272
|
+
listIndicatorValues(
|
|
273
|
+
request: indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
274
|
+
metadata: grpcWeb.Metadata | null,
|
|
275
|
+
callback: (err: grpcWeb.RpcError,
|
|
276
|
+
response: indicators_indicators_pb.ListIndicatorValuesResponse) => void): grpcWeb.ClientReadableStream<indicators_indicators_pb.ListIndicatorValuesResponse>;
|
|
277
|
+
|
|
278
|
+
listIndicatorValues(
|
|
279
|
+
request: indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
280
|
+
metadata?: grpcWeb.Metadata | null,
|
|
281
|
+
callback?: (err: grpcWeb.RpcError,
|
|
282
|
+
response: indicators_indicators_pb.ListIndicatorValuesResponse) => void) {
|
|
283
|
+
if (callback !== undefined) {
|
|
284
|
+
return this.client_.rpcCall(
|
|
285
|
+
this.hostname_ +
|
|
286
|
+
'/trb.indicators.v1.Indicators/ListIndicatorValues',
|
|
287
|
+
request,
|
|
288
|
+
metadata || {},
|
|
289
|
+
this.methodDescriptorListIndicatorValues,
|
|
290
|
+
callback);
|
|
291
|
+
}
|
|
292
|
+
return this.client_.unaryCall(
|
|
293
|
+
this.hostname_ +
|
|
294
|
+
'/trb.indicators.v1.Indicators/ListIndicatorValues',
|
|
295
|
+
request,
|
|
296
|
+
metadata || {},
|
|
297
|
+
this.methodDescriptorListIndicatorValues);
|
|
298
|
+
}
|
|
299
|
+
|
|
257
300
|
}
|
|
258
301
|
|
|
@@ -98,6 +98,11 @@ export class ComputeForInstrumentRequest extends jspb.Message {
|
|
|
98
98
|
getPersist(): boolean;
|
|
99
99
|
setPersist(value: boolean): ComputeForInstrumentRequest;
|
|
100
100
|
|
|
101
|
+
getMaxResponsePoints(): number;
|
|
102
|
+
setMaxResponsePoints(value: number): ComputeForInstrumentRequest;
|
|
103
|
+
hasMaxResponsePoints(): boolean;
|
|
104
|
+
clearMaxResponsePoints(): ComputeForInstrumentRequest;
|
|
105
|
+
|
|
101
106
|
serializeBinary(): Uint8Array;
|
|
102
107
|
toObject(includeInstance?: boolean): ComputeForInstrumentRequest.AsObject;
|
|
103
108
|
static toObject(includeInstance: boolean, msg: ComputeForInstrumentRequest): ComputeForInstrumentRequest.AsObject;
|
|
@@ -115,6 +120,64 @@ export namespace ComputeForInstrumentRequest {
|
|
|
115
120
|
type: IndicatorType,
|
|
116
121
|
paramsMap: Array<[string, number]>,
|
|
117
122
|
persist: boolean,
|
|
123
|
+
maxResponsePoints?: number,
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export enum MaxResponsePointsCase {
|
|
127
|
+
_MAX_RESPONSE_POINTS_NOT_SET = 0,
|
|
128
|
+
MAX_RESPONSE_POINTS = 8,
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export class ListIndicatorValuesRequest extends jspb.Message {
|
|
133
|
+
getUid(): string;
|
|
134
|
+
setUid(value: string): ListIndicatorValuesRequest;
|
|
135
|
+
|
|
136
|
+
getInterval(): number;
|
|
137
|
+
setInterval(value: number): ListIndicatorValuesRequest;
|
|
138
|
+
|
|
139
|
+
getFrom(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
140
|
+
setFrom(value?: google_protobuf_timestamp_pb.Timestamp): ListIndicatorValuesRequest;
|
|
141
|
+
hasFrom(): boolean;
|
|
142
|
+
clearFrom(): ListIndicatorValuesRequest;
|
|
143
|
+
|
|
144
|
+
getTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
145
|
+
setTo(value?: google_protobuf_timestamp_pb.Timestamp): ListIndicatorValuesRequest;
|
|
146
|
+
hasTo(): boolean;
|
|
147
|
+
clearTo(): ListIndicatorValuesRequest;
|
|
148
|
+
|
|
149
|
+
getType(): IndicatorType;
|
|
150
|
+
setType(value: IndicatorType): ListIndicatorValuesRequest;
|
|
151
|
+
|
|
152
|
+
getParamsMap(): jspb.Map<string, number>;
|
|
153
|
+
clearParamsMap(): ListIndicatorValuesRequest;
|
|
154
|
+
|
|
155
|
+
getLimit(): number;
|
|
156
|
+
setLimit(value: number): ListIndicatorValuesRequest;
|
|
157
|
+
|
|
158
|
+
getAfter(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
159
|
+
setAfter(value?: google_protobuf_timestamp_pb.Timestamp): ListIndicatorValuesRequest;
|
|
160
|
+
hasAfter(): boolean;
|
|
161
|
+
clearAfter(): ListIndicatorValuesRequest;
|
|
162
|
+
|
|
163
|
+
serializeBinary(): Uint8Array;
|
|
164
|
+
toObject(includeInstance?: boolean): ListIndicatorValuesRequest.AsObject;
|
|
165
|
+
static toObject(includeInstance: boolean, msg: ListIndicatorValuesRequest): ListIndicatorValuesRequest.AsObject;
|
|
166
|
+
static serializeBinaryToWriter(message: ListIndicatorValuesRequest, writer: jspb.BinaryWriter): void;
|
|
167
|
+
static deserializeBinary(bytes: Uint8Array): ListIndicatorValuesRequest;
|
|
168
|
+
static deserializeBinaryFromReader(message: ListIndicatorValuesRequest, reader: jspb.BinaryReader): ListIndicatorValuesRequest;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export namespace ListIndicatorValuesRequest {
|
|
172
|
+
export type AsObject = {
|
|
173
|
+
uid: string,
|
|
174
|
+
interval: number,
|
|
175
|
+
from?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
176
|
+
to?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
177
|
+
type: IndicatorType,
|
|
178
|
+
paramsMap: Array<[string, number]>,
|
|
179
|
+
limit: number,
|
|
180
|
+
after?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
118
181
|
}
|
|
119
182
|
}
|
|
120
183
|
|
|
@@ -154,6 +217,9 @@ export class ComputeResponse extends jspb.Message {
|
|
|
154
217
|
clearPointsList(): ComputeResponse;
|
|
155
218
|
addPoints(value?: IndicatorPoint, index?: number): IndicatorPoint;
|
|
156
219
|
|
|
220
|
+
getTotalPoints(): number;
|
|
221
|
+
setTotalPoints(value: number): ComputeResponse;
|
|
222
|
+
|
|
157
223
|
serializeBinary(): Uint8Array;
|
|
158
224
|
toObject(includeInstance?: boolean): ComputeResponse.AsObject;
|
|
159
225
|
static toObject(includeInstance: boolean, msg: ComputeResponse): ComputeResponse.AsObject;
|
|
@@ -167,6 +233,39 @@ export namespace ComputeResponse {
|
|
|
167
233
|
type: IndicatorType,
|
|
168
234
|
paramsMap: Array<[string, number]>,
|
|
169
235
|
pointsList: Array<IndicatorPoint.AsObject>,
|
|
236
|
+
totalPoints: number,
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export class ListIndicatorValuesResponse extends jspb.Message {
|
|
241
|
+
getType(): IndicatorType;
|
|
242
|
+
setType(value: IndicatorType): ListIndicatorValuesResponse;
|
|
243
|
+
|
|
244
|
+
getParamsMap(): jspb.Map<string, number>;
|
|
245
|
+
clearParamsMap(): ListIndicatorValuesResponse;
|
|
246
|
+
|
|
247
|
+
getPointsList(): Array<IndicatorPoint>;
|
|
248
|
+
setPointsList(value: Array<IndicatorPoint>): ListIndicatorValuesResponse;
|
|
249
|
+
clearPointsList(): ListIndicatorValuesResponse;
|
|
250
|
+
addPoints(value?: IndicatorPoint, index?: number): IndicatorPoint;
|
|
251
|
+
|
|
252
|
+
getHasMore(): boolean;
|
|
253
|
+
setHasMore(value: boolean): ListIndicatorValuesResponse;
|
|
254
|
+
|
|
255
|
+
serializeBinary(): Uint8Array;
|
|
256
|
+
toObject(includeInstance?: boolean): ListIndicatorValuesResponse.AsObject;
|
|
257
|
+
static toObject(includeInstance: boolean, msg: ListIndicatorValuesResponse): ListIndicatorValuesResponse.AsObject;
|
|
258
|
+
static serializeBinaryToWriter(message: ListIndicatorValuesResponse, writer: jspb.BinaryWriter): void;
|
|
259
|
+
static deserializeBinary(bytes: Uint8Array): ListIndicatorValuesResponse;
|
|
260
|
+
static deserializeBinaryFromReader(message: ListIndicatorValuesResponse, reader: jspb.BinaryReader): ListIndicatorValuesResponse;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export namespace ListIndicatorValuesResponse {
|
|
264
|
+
export type AsObject = {
|
|
265
|
+
type: IndicatorType,
|
|
266
|
+
paramsMap: Array<[string, number]>,
|
|
267
|
+
pointsList: Array<IndicatorPoint.AsObject>,
|
|
268
|
+
hasMore: boolean,
|
|
170
269
|
}
|
|
171
270
|
}
|
|
172
271
|
|
|
@@ -32,6 +32,8 @@ goog.exportSymbol('proto.trb.indicators.v1.ComputeResponse', null, global);
|
|
|
32
32
|
goog.exportSymbol('proto.trb.indicators.v1.IndicatorInfo', null, global);
|
|
33
33
|
goog.exportSymbol('proto.trb.indicators.v1.IndicatorPoint', null, global);
|
|
34
34
|
goog.exportSymbol('proto.trb.indicators.v1.IndicatorType', null, global);
|
|
35
|
+
goog.exportSymbol('proto.trb.indicators.v1.ListIndicatorValuesRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.trb.indicators.v1.ListIndicatorValuesResponse', null, global);
|
|
35
37
|
goog.exportSymbol('proto.trb.indicators.v1.ListSchedulerTargetsRequest', null, global);
|
|
36
38
|
goog.exportSymbol('proto.trb.indicators.v1.ListSchedulerTargetsResponse', null, global);
|
|
37
39
|
goog.exportSymbol('proto.trb.indicators.v1.ListSupportedRequest', null, global);
|
|
@@ -102,6 +104,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
102
104
|
*/
|
|
103
105
|
proto.trb.indicators.v1.ComputeForInstrumentRequest.displayName = 'proto.trb.indicators.v1.ComputeForInstrumentRequest';
|
|
104
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* Generated by JsPbCodeGenerator.
|
|
109
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
110
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
111
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
112
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
113
|
+
* valid.
|
|
114
|
+
* @extends {jspb.Message}
|
|
115
|
+
* @constructor
|
|
116
|
+
*/
|
|
117
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest = function(opt_data) {
|
|
118
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
119
|
+
};
|
|
120
|
+
goog.inherits(proto.trb.indicators.v1.ListIndicatorValuesRequest, jspb.Message);
|
|
121
|
+
if (goog.DEBUG && !COMPILED) {
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
* @override
|
|
125
|
+
*/
|
|
126
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.displayName = 'proto.trb.indicators.v1.ListIndicatorValuesRequest';
|
|
127
|
+
}
|
|
105
128
|
/**
|
|
106
129
|
* Generated by JsPbCodeGenerator.
|
|
107
130
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -144,6 +167,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
144
167
|
*/
|
|
145
168
|
proto.trb.indicators.v1.ComputeResponse.displayName = 'proto.trb.indicators.v1.ComputeResponse';
|
|
146
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* Generated by JsPbCodeGenerator.
|
|
172
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
173
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
174
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
175
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
176
|
+
* valid.
|
|
177
|
+
* @extends {jspb.Message}
|
|
178
|
+
* @constructor
|
|
179
|
+
*/
|
|
180
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse = function(opt_data) {
|
|
181
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListIndicatorValuesResponse.repeatedFields_, null);
|
|
182
|
+
};
|
|
183
|
+
goog.inherits(proto.trb.indicators.v1.ListIndicatorValuesResponse, jspb.Message);
|
|
184
|
+
if (goog.DEBUG && !COMPILED) {
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
* @override
|
|
188
|
+
*/
|
|
189
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.displayName = 'proto.trb.indicators.v1.ListIndicatorValuesResponse';
|
|
190
|
+
}
|
|
147
191
|
/**
|
|
148
192
|
* Generated by JsPbCodeGenerator.
|
|
149
193
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -875,7 +919,8 @@ from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(inc
|
|
|
875
919
|
to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
876
920
|
type: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
877
921
|
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
878
|
-
persist: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
922
|
+
persist: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
923
|
+
maxResponsePoints: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f
|
|
879
924
|
};
|
|
880
925
|
|
|
881
926
|
if (includeInstance) {
|
|
@@ -944,6 +989,10 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader
|
|
|
944
989
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
945
990
|
msg.setPersist(value);
|
|
946
991
|
break;
|
|
992
|
+
case 8:
|
|
993
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
994
|
+
msg.setMaxResponsePoints(value);
|
|
995
|
+
break;
|
|
947
996
|
default:
|
|
948
997
|
reader.skipField();
|
|
949
998
|
break;
|
|
@@ -1021,6 +1070,13 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.serializeBinaryToWriter = fu
|
|
|
1021
1070
|
f
|
|
1022
1071
|
);
|
|
1023
1072
|
}
|
|
1073
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
1074
|
+
if (f != null) {
|
|
1075
|
+
writer.writeInt32(
|
|
1076
|
+
8,
|
|
1077
|
+
f
|
|
1078
|
+
);
|
|
1079
|
+
}
|
|
1024
1080
|
};
|
|
1025
1081
|
|
|
1026
1082
|
|
|
@@ -1193,6 +1249,42 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setPersist = funct
|
|
|
1193
1249
|
};
|
|
1194
1250
|
|
|
1195
1251
|
|
|
1252
|
+
/**
|
|
1253
|
+
* optional int32 max_response_points = 8;
|
|
1254
|
+
* @return {number}
|
|
1255
|
+
*/
|
|
1256
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getMaxResponsePoints = function() {
|
|
1257
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* @param {number} value
|
|
1263
|
+
* @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
|
|
1264
|
+
*/
|
|
1265
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setMaxResponsePoints = function(value) {
|
|
1266
|
+
return jspb.Message.setField(this, 8, value);
|
|
1267
|
+
};
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* Clears the field making it undefined.
|
|
1272
|
+
* @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
|
|
1273
|
+
*/
|
|
1274
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearMaxResponsePoints = function() {
|
|
1275
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Returns whether this field is set.
|
|
1281
|
+
* @return {boolean}
|
|
1282
|
+
*/
|
|
1283
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasMaxResponsePoints = function() {
|
|
1284
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
|
|
1196
1288
|
|
|
1197
1289
|
|
|
1198
1290
|
|
|
@@ -1209,8 +1301,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1209
1301
|
* http://goto/soy-param-migration
|
|
1210
1302
|
* @return {!Object}
|
|
1211
1303
|
*/
|
|
1212
|
-
proto.trb.indicators.v1.
|
|
1213
|
-
return proto.trb.indicators.v1.
|
|
1304
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1305
|
+
return proto.trb.indicators.v1.ListIndicatorValuesRequest.toObject(opt_includeInstance, this);
|
|
1214
1306
|
};
|
|
1215
1307
|
|
|
1216
1308
|
|
|
@@ -1219,14 +1311,20 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.toObject = function(opt_include
|
|
|
1219
1311
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1220
1312
|
* the JSPB instance for transitional soy proto support:
|
|
1221
1313
|
* http://goto/soy-param-migration
|
|
1222
|
-
* @param {!proto.trb.indicators.v1.
|
|
1314
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} msg The msg instance to transform.
|
|
1223
1315
|
* @return {!Object}
|
|
1224
1316
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1225
1317
|
*/
|
|
1226
|
-
proto.trb.indicators.v1.
|
|
1318
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.toObject = function(includeInstance, msg) {
|
|
1227
1319
|
var f, obj = {
|
|
1228
|
-
|
|
1229
|
-
|
|
1320
|
+
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1321
|
+
interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1322
|
+
from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1323
|
+
to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1324
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1325
|
+
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1326
|
+
limit: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1327
|
+
after: (f = msg.getAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
1230
1328
|
};
|
|
1231
1329
|
|
|
1232
1330
|
if (includeInstance) {
|
|
@@ -1240,23 +1338,23 @@ valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : [
|
|
|
1240
1338
|
/**
|
|
1241
1339
|
* Deserializes binary data (in protobuf wire format).
|
|
1242
1340
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1243
|
-
* @return {!proto.trb.indicators.v1.
|
|
1341
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest}
|
|
1244
1342
|
*/
|
|
1245
|
-
proto.trb.indicators.v1.
|
|
1343
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinary = function(bytes) {
|
|
1246
1344
|
var reader = new jspb.BinaryReader(bytes);
|
|
1247
|
-
var msg = new proto.trb.indicators.v1.
|
|
1248
|
-
return proto.trb.indicators.v1.
|
|
1345
|
+
var msg = new proto.trb.indicators.v1.ListIndicatorValuesRequest;
|
|
1346
|
+
return proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader(msg, reader);
|
|
1249
1347
|
};
|
|
1250
1348
|
|
|
1251
1349
|
|
|
1252
1350
|
/**
|
|
1253
1351
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1254
1352
|
* given reader into the given message object.
|
|
1255
|
-
* @param {!proto.trb.indicators.v1.
|
|
1353
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} msg The message object to deserialize into.
|
|
1256
1354
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1257
|
-
* @return {!proto.trb.indicators.v1.
|
|
1355
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest}
|
|
1258
1356
|
*/
|
|
1259
|
-
proto.trb.indicators.v1.
|
|
1357
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1260
1358
|
while (reader.nextField()) {
|
|
1261
1359
|
if (reader.isEndGroup()) {
|
|
1262
1360
|
break;
|
|
@@ -1264,16 +1362,42 @@ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(ms
|
|
|
1264
1362
|
var field = reader.getFieldNumber();
|
|
1265
1363
|
switch (field) {
|
|
1266
1364
|
case 1:
|
|
1365
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1366
|
+
msg.setUid(value);
|
|
1367
|
+
break;
|
|
1368
|
+
case 2:
|
|
1369
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1370
|
+
msg.setInterval(value);
|
|
1371
|
+
break;
|
|
1372
|
+
case 3:
|
|
1267
1373
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1268
1374
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1269
|
-
msg.
|
|
1375
|
+
msg.setFrom(value);
|
|
1270
1376
|
break;
|
|
1271
|
-
case
|
|
1272
|
-
var value =
|
|
1377
|
+
case 4:
|
|
1378
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1379
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1380
|
+
msg.setTo(value);
|
|
1381
|
+
break;
|
|
1382
|
+
case 5:
|
|
1383
|
+
var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
|
|
1384
|
+
msg.setType(value);
|
|
1385
|
+
break;
|
|
1386
|
+
case 6:
|
|
1387
|
+
var value = msg.getParamsMap();
|
|
1273
1388
|
reader.readMessage(value, function(message, reader) {
|
|
1274
1389
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
1275
1390
|
});
|
|
1276
1391
|
break;
|
|
1392
|
+
case 7:
|
|
1393
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1394
|
+
msg.setLimit(value);
|
|
1395
|
+
break;
|
|
1396
|
+
case 8:
|
|
1397
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1398
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1399
|
+
msg.setAfter(value);
|
|
1400
|
+
break;
|
|
1277
1401
|
default:
|
|
1278
1402
|
reader.skipField();
|
|
1279
1403
|
break;
|
|
@@ -1287,9 +1411,9 @@ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(ms
|
|
|
1287
1411
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1288
1412
|
* @return {!Uint8Array}
|
|
1289
1413
|
*/
|
|
1290
|
-
proto.trb.indicators.v1.
|
|
1414
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.serializeBinary = function() {
|
|
1291
1415
|
var writer = new jspb.BinaryWriter();
|
|
1292
|
-
proto.trb.indicators.v1.
|
|
1416
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.serializeBinaryToWriter(this, writer);
|
|
1293
1417
|
return writer.getResultBuffer();
|
|
1294
1418
|
};
|
|
1295
1419
|
|
|
@@ -1297,52 +1421,132 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
|
|
|
1297
1421
|
/**
|
|
1298
1422
|
* Serializes the given message to binary data (in protobuf wire
|
|
1299
1423
|
* format), writing to the given BinaryWriter.
|
|
1300
|
-
* @param {!proto.trb.indicators.v1.
|
|
1424
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} message
|
|
1301
1425
|
* @param {!jspb.BinaryWriter} writer
|
|
1302
1426
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1303
1427
|
*/
|
|
1304
|
-
proto.trb.indicators.v1.
|
|
1428
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1305
1429
|
var f = undefined;
|
|
1306
|
-
f = message.
|
|
1430
|
+
f = message.getUid();
|
|
1431
|
+
if (f.length > 0) {
|
|
1432
|
+
writer.writeString(
|
|
1433
|
+
1,
|
|
1434
|
+
f
|
|
1435
|
+
);
|
|
1436
|
+
}
|
|
1437
|
+
f = message.getInterval();
|
|
1438
|
+
if (f !== 0) {
|
|
1439
|
+
writer.writeInt32(
|
|
1440
|
+
2,
|
|
1441
|
+
f
|
|
1442
|
+
);
|
|
1443
|
+
}
|
|
1444
|
+
f = message.getFrom();
|
|
1307
1445
|
if (f != null) {
|
|
1308
1446
|
writer.writeMessage(
|
|
1309
|
-
|
|
1447
|
+
3,
|
|
1310
1448
|
f,
|
|
1311
1449
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1312
1450
|
);
|
|
1313
1451
|
}
|
|
1314
|
-
f = message.
|
|
1452
|
+
f = message.getTo();
|
|
1453
|
+
if (f != null) {
|
|
1454
|
+
writer.writeMessage(
|
|
1455
|
+
4,
|
|
1456
|
+
f,
|
|
1457
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1458
|
+
);
|
|
1459
|
+
}
|
|
1460
|
+
f = message.getType();
|
|
1461
|
+
if (f !== 0.0) {
|
|
1462
|
+
writer.writeEnum(
|
|
1463
|
+
5,
|
|
1464
|
+
f
|
|
1465
|
+
);
|
|
1466
|
+
}
|
|
1467
|
+
f = message.getParamsMap(true);
|
|
1315
1468
|
if (f && f.getLength() > 0) {
|
|
1316
|
-
f.serializeBinary(
|
|
1469
|
+
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
1470
|
+
}
|
|
1471
|
+
f = message.getLimit();
|
|
1472
|
+
if (f !== 0) {
|
|
1473
|
+
writer.writeInt32(
|
|
1474
|
+
7,
|
|
1475
|
+
f
|
|
1476
|
+
);
|
|
1477
|
+
}
|
|
1478
|
+
f = message.getAfter();
|
|
1479
|
+
if (f != null) {
|
|
1480
|
+
writer.writeMessage(
|
|
1481
|
+
8,
|
|
1482
|
+
f,
|
|
1483
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1484
|
+
);
|
|
1317
1485
|
}
|
|
1318
1486
|
};
|
|
1319
1487
|
|
|
1320
1488
|
|
|
1321
1489
|
/**
|
|
1322
|
-
* optional
|
|
1490
|
+
* optional string uid = 1;
|
|
1491
|
+
* @return {string}
|
|
1492
|
+
*/
|
|
1493
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getUid = function() {
|
|
1494
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1495
|
+
};
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* @param {string} value
|
|
1500
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1501
|
+
*/
|
|
1502
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setUid = function(value) {
|
|
1503
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1504
|
+
};
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* optional int32 interval = 2;
|
|
1509
|
+
* @return {number}
|
|
1510
|
+
*/
|
|
1511
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getInterval = function() {
|
|
1512
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1513
|
+
};
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* @param {number} value
|
|
1518
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1519
|
+
*/
|
|
1520
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setInterval = function(value) {
|
|
1521
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* optional google.protobuf.Timestamp from = 3;
|
|
1323
1527
|
* @return {?proto.google.protobuf.Timestamp}
|
|
1324
1528
|
*/
|
|
1325
|
-
proto.trb.indicators.v1.
|
|
1529
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getFrom = function() {
|
|
1326
1530
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1327
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
1531
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
1328
1532
|
};
|
|
1329
1533
|
|
|
1330
1534
|
|
|
1331
1535
|
/**
|
|
1332
1536
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1333
|
-
* @return {!proto.trb.indicators.v1.
|
|
1537
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1334
1538
|
*/
|
|
1335
|
-
proto.trb.indicators.v1.
|
|
1336
|
-
return jspb.Message.setWrapperField(this,
|
|
1539
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setFrom = function(value) {
|
|
1540
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1337
1541
|
};
|
|
1338
1542
|
|
|
1339
1543
|
|
|
1340
1544
|
/**
|
|
1341
1545
|
* Clears the message field making it undefined.
|
|
1342
|
-
* @return {!proto.trb.indicators.v1.
|
|
1546
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1343
1547
|
*/
|
|
1344
|
-
proto.trb.indicators.v1.
|
|
1345
|
-
return this.
|
|
1548
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearFrom = function() {
|
|
1549
|
+
return this.setFrom(undefined);
|
|
1346
1550
|
};
|
|
1347
1551
|
|
|
1348
1552
|
|
|
@@ -1350,50 +1554,345 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.clearTime = function() {
|
|
|
1350
1554
|
* Returns whether this field is set.
|
|
1351
1555
|
* @return {boolean}
|
|
1352
1556
|
*/
|
|
1353
|
-
proto.trb.indicators.v1.
|
|
1354
|
-
return jspb.Message.getField(this,
|
|
1557
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasFrom = function() {
|
|
1558
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1355
1559
|
};
|
|
1356
1560
|
|
|
1357
1561
|
|
|
1358
1562
|
/**
|
|
1359
|
-
*
|
|
1360
|
-
* @
|
|
1361
|
-
* empty, instead returning `undefined`
|
|
1362
|
-
* @return {!jspb.Map<string,number>}
|
|
1563
|
+
* optional google.protobuf.Timestamp to = 4;
|
|
1564
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1363
1565
|
*/
|
|
1364
|
-
proto.trb.indicators.v1.
|
|
1365
|
-
return /** @type
|
|
1366
|
-
|
|
1367
|
-
null));
|
|
1566
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getTo = function() {
|
|
1567
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1568
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
1368
1569
|
};
|
|
1369
1570
|
|
|
1370
1571
|
|
|
1371
1572
|
/**
|
|
1372
|
-
*
|
|
1373
|
-
* @return {!proto.trb.indicators.v1.
|
|
1374
|
-
|
|
1375
|
-
proto.trb.indicators.v1.
|
|
1376
|
-
|
|
1377
|
-
return this;
|
|
1573
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1574
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1575
|
+
*/
|
|
1576
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setTo = function(value) {
|
|
1577
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1378
1578
|
};
|
|
1379
1579
|
|
|
1380
1580
|
|
|
1381
|
-
|
|
1382
1581
|
/**
|
|
1383
|
-
*
|
|
1384
|
-
* @
|
|
1385
|
-
* @const
|
|
1582
|
+
* Clears the message field making it undefined.
|
|
1583
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1386
1584
|
*/
|
|
1387
|
-
proto.trb.indicators.v1.
|
|
1585
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearTo = function() {
|
|
1586
|
+
return this.setTo(undefined);
|
|
1587
|
+
};
|
|
1388
1588
|
|
|
1389
1589
|
|
|
1590
|
+
/**
|
|
1591
|
+
* Returns whether this field is set.
|
|
1592
|
+
* @return {boolean}
|
|
1593
|
+
*/
|
|
1594
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasTo = function() {
|
|
1595
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1390
1598
|
|
|
1391
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1392
1599
|
/**
|
|
1393
|
-
*
|
|
1394
|
-
*
|
|
1395
|
-
|
|
1396
|
-
|
|
1600
|
+
* optional IndicatorType type = 5;
|
|
1601
|
+
* @return {!proto.trb.indicators.v1.IndicatorType}
|
|
1602
|
+
*/
|
|
1603
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getType = function() {
|
|
1604
|
+
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1605
|
+
};
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* @param {!proto.trb.indicators.v1.IndicatorType} value
|
|
1610
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1611
|
+
*/
|
|
1612
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setType = function(value) {
|
|
1613
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
1614
|
+
};
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* map<string, double> params = 6;
|
|
1619
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1620
|
+
* empty, instead returning `undefined`
|
|
1621
|
+
* @return {!jspb.Map<string,number>}
|
|
1622
|
+
*/
|
|
1623
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getParamsMap = function(opt_noLazyCreate) {
|
|
1624
|
+
return /** @type {!jspb.Map<string,number>} */ (
|
|
1625
|
+
jspb.Message.getMapField(this, 6, opt_noLazyCreate,
|
|
1626
|
+
null));
|
|
1627
|
+
};
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* Clears values from the map. The map will be non-null.
|
|
1632
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1633
|
+
*/
|
|
1634
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearParamsMap = function() {
|
|
1635
|
+
this.getParamsMap().clear();
|
|
1636
|
+
return this;
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* optional int32 limit = 7;
|
|
1642
|
+
* @return {number}
|
|
1643
|
+
*/
|
|
1644
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getLimit = function() {
|
|
1645
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
1646
|
+
};
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
/**
|
|
1650
|
+
* @param {number} value
|
|
1651
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1652
|
+
*/
|
|
1653
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setLimit = function(value) {
|
|
1654
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* optional google.protobuf.Timestamp after = 8;
|
|
1660
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1661
|
+
*/
|
|
1662
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getAfter = function() {
|
|
1663
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1664
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1670
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1671
|
+
*/
|
|
1672
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setAfter = function(value) {
|
|
1673
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
1674
|
+
};
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
/**
|
|
1678
|
+
* Clears the message field making it undefined.
|
|
1679
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1680
|
+
*/
|
|
1681
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearAfter = function() {
|
|
1682
|
+
return this.setAfter(undefined);
|
|
1683
|
+
};
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* Returns whether this field is set.
|
|
1688
|
+
* @return {boolean}
|
|
1689
|
+
*/
|
|
1690
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasAfter = function() {
|
|
1691
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1692
|
+
};
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1699
|
+
/**
|
|
1700
|
+
* Creates an object representation of this proto.
|
|
1701
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1702
|
+
* Optional fields that are not set will be set to undefined.
|
|
1703
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1704
|
+
* For the list of reserved names please see:
|
|
1705
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1706
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1707
|
+
* JSPB instance for transitional soy proto support:
|
|
1708
|
+
* http://goto/soy-param-migration
|
|
1709
|
+
* @return {!Object}
|
|
1710
|
+
*/
|
|
1711
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.toObject = function(opt_includeInstance) {
|
|
1712
|
+
return proto.trb.indicators.v1.IndicatorPoint.toObject(opt_includeInstance, this);
|
|
1713
|
+
};
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
/**
|
|
1717
|
+
* Static version of the {@see toObject} method.
|
|
1718
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1719
|
+
* the JSPB instance for transitional soy proto support:
|
|
1720
|
+
* http://goto/soy-param-migration
|
|
1721
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint} msg The msg instance to transform.
|
|
1722
|
+
* @return {!Object}
|
|
1723
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1724
|
+
*/
|
|
1725
|
+
proto.trb.indicators.v1.IndicatorPoint.toObject = function(includeInstance, msg) {
|
|
1726
|
+
var f, obj = {
|
|
1727
|
+
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1728
|
+
valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
1729
|
+
};
|
|
1730
|
+
|
|
1731
|
+
if (includeInstance) {
|
|
1732
|
+
obj.$jspbMessageInstance = msg;
|
|
1733
|
+
}
|
|
1734
|
+
return obj;
|
|
1735
|
+
};
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1741
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1742
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
1743
|
+
*/
|
|
1744
|
+
proto.trb.indicators.v1.IndicatorPoint.deserializeBinary = function(bytes) {
|
|
1745
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1746
|
+
var msg = new proto.trb.indicators.v1.IndicatorPoint;
|
|
1747
|
+
return proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader(msg, reader);
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1753
|
+
* given reader into the given message object.
|
|
1754
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint} msg The message object to deserialize into.
|
|
1755
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1756
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
1757
|
+
*/
|
|
1758
|
+
proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
1759
|
+
while (reader.nextField()) {
|
|
1760
|
+
if (reader.isEndGroup()) {
|
|
1761
|
+
break;
|
|
1762
|
+
}
|
|
1763
|
+
var field = reader.getFieldNumber();
|
|
1764
|
+
switch (field) {
|
|
1765
|
+
case 1:
|
|
1766
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1767
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1768
|
+
msg.setTime(value);
|
|
1769
|
+
break;
|
|
1770
|
+
case 2:
|
|
1771
|
+
var value = msg.getValuesMap();
|
|
1772
|
+
reader.readMessage(value, function(message, reader) {
|
|
1773
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
1774
|
+
});
|
|
1775
|
+
break;
|
|
1776
|
+
default:
|
|
1777
|
+
reader.skipField();
|
|
1778
|
+
break;
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
return msg;
|
|
1782
|
+
};
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1787
|
+
* @return {!Uint8Array}
|
|
1788
|
+
*/
|
|
1789
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
|
|
1790
|
+
var writer = new jspb.BinaryWriter();
|
|
1791
|
+
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter(this, writer);
|
|
1792
|
+
return writer.getResultBuffer();
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1798
|
+
* format), writing to the given BinaryWriter.
|
|
1799
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint} message
|
|
1800
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1801
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1802
|
+
*/
|
|
1803
|
+
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter = function(message, writer) {
|
|
1804
|
+
var f = undefined;
|
|
1805
|
+
f = message.getTime();
|
|
1806
|
+
if (f != null) {
|
|
1807
|
+
writer.writeMessage(
|
|
1808
|
+
1,
|
|
1809
|
+
f,
|
|
1810
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1811
|
+
);
|
|
1812
|
+
}
|
|
1813
|
+
f = message.getValuesMap(true);
|
|
1814
|
+
if (f && f.getLength() > 0) {
|
|
1815
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
1816
|
+
}
|
|
1817
|
+
};
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* optional google.protobuf.Timestamp time = 1;
|
|
1822
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1823
|
+
*/
|
|
1824
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.getTime = function() {
|
|
1825
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1826
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
|
|
1827
|
+
};
|
|
1828
|
+
|
|
1829
|
+
|
|
1830
|
+
/**
|
|
1831
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1832
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
|
|
1833
|
+
*/
|
|
1834
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.setTime = function(value) {
|
|
1835
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1836
|
+
};
|
|
1837
|
+
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* Clears the message field making it undefined.
|
|
1841
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
|
|
1842
|
+
*/
|
|
1843
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.clearTime = function() {
|
|
1844
|
+
return this.setTime(undefined);
|
|
1845
|
+
};
|
|
1846
|
+
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* Returns whether this field is set.
|
|
1850
|
+
* @return {boolean}
|
|
1851
|
+
*/
|
|
1852
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.hasTime = function() {
|
|
1853
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1854
|
+
};
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
1858
|
+
* map<string, double> values = 2;
|
|
1859
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1860
|
+
* empty, instead returning `undefined`
|
|
1861
|
+
* @return {!jspb.Map<string,number>}
|
|
1862
|
+
*/
|
|
1863
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.getValuesMap = function(opt_noLazyCreate) {
|
|
1864
|
+
return /** @type {!jspb.Map<string,number>} */ (
|
|
1865
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
1866
|
+
null));
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* Clears values from the map. The map will be non-null.
|
|
1872
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
|
|
1873
|
+
*/
|
|
1874
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.clearValuesMap = function() {
|
|
1875
|
+
this.getValuesMap().clear();
|
|
1876
|
+
return this;
|
|
1877
|
+
};
|
|
1878
|
+
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* List of repeated fields within this message type.
|
|
1883
|
+
* @private {!Array<number>}
|
|
1884
|
+
* @const
|
|
1885
|
+
*/
|
|
1886
|
+
proto.trb.indicators.v1.ComputeResponse.repeatedFields_ = [3];
|
|
1887
|
+
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1891
|
+
/**
|
|
1892
|
+
* Creates an object representation of this proto.
|
|
1893
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1894
|
+
* Optional fields that are not set will be set to undefined.
|
|
1895
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1397
1896
|
* For the list of reserved names please see:
|
|
1398
1897
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1399
1898
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
@@ -1420,7 +1919,8 @@ proto.trb.indicators.v1.ComputeResponse.toObject = function(includeInstance, msg
|
|
|
1420
1919
|
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1421
1920
|
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1422
1921
|
pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
1423
|
-
proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance)
|
|
1922
|
+
proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance),
|
|
1923
|
+
totalPoints: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
1424
1924
|
};
|
|
1425
1925
|
|
|
1426
1926
|
if (includeInstance) {
|
|
@@ -1472,6 +1972,10 @@ proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader = function(m
|
|
|
1472
1972
|
reader.readMessage(value,proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader);
|
|
1473
1973
|
msg.addPoints(value);
|
|
1474
1974
|
break;
|
|
1975
|
+
case 4:
|
|
1976
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1977
|
+
msg.setTotalPoints(value);
|
|
1978
|
+
break;
|
|
1475
1979
|
default:
|
|
1476
1980
|
reader.skipField();
|
|
1477
1981
|
break;
|
|
@@ -1520,6 +2024,13 @@ proto.trb.indicators.v1.ComputeResponse.serializeBinaryToWriter = function(messa
|
|
|
1520
2024
|
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter
|
|
1521
2025
|
);
|
|
1522
2026
|
}
|
|
2027
|
+
f = message.getTotalPoints();
|
|
2028
|
+
if (f !== 0) {
|
|
2029
|
+
writer.writeInt32(
|
|
2030
|
+
4,
|
|
2031
|
+
f
|
|
2032
|
+
);
|
|
2033
|
+
}
|
|
1523
2034
|
};
|
|
1524
2035
|
|
|
1525
2036
|
|
|
@@ -1602,6 +2113,278 @@ proto.trb.indicators.v1.ComputeResponse.prototype.clearPointsList = function() {
|
|
|
1602
2113
|
};
|
|
1603
2114
|
|
|
1604
2115
|
|
|
2116
|
+
/**
|
|
2117
|
+
* optional int32 total_points = 4;
|
|
2118
|
+
* @return {number}
|
|
2119
|
+
*/
|
|
2120
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.getTotalPoints = function() {
|
|
2121
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2122
|
+
};
|
|
2123
|
+
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* @param {number} value
|
|
2127
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse} returns this
|
|
2128
|
+
*/
|
|
2129
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.setTotalPoints = function(value) {
|
|
2130
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* List of repeated fields within this message type.
|
|
2137
|
+
* @private {!Array<number>}
|
|
2138
|
+
* @const
|
|
2139
|
+
*/
|
|
2140
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.repeatedFields_ = [3];
|
|
2141
|
+
|
|
2142
|
+
|
|
2143
|
+
|
|
2144
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2145
|
+
/**
|
|
2146
|
+
* Creates an object representation of this proto.
|
|
2147
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2148
|
+
* Optional fields that are not set will be set to undefined.
|
|
2149
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2150
|
+
* For the list of reserved names please see:
|
|
2151
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2152
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2153
|
+
* JSPB instance for transitional soy proto support:
|
|
2154
|
+
* http://goto/soy-param-migration
|
|
2155
|
+
* @return {!Object}
|
|
2156
|
+
*/
|
|
2157
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2158
|
+
return proto.trb.indicators.v1.ListIndicatorValuesResponse.toObject(opt_includeInstance, this);
|
|
2159
|
+
};
|
|
2160
|
+
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* Static version of the {@see toObject} method.
|
|
2164
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2165
|
+
* the JSPB instance for transitional soy proto support:
|
|
2166
|
+
* http://goto/soy-param-migration
|
|
2167
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} msg The msg instance to transform.
|
|
2168
|
+
* @return {!Object}
|
|
2169
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2170
|
+
*/
|
|
2171
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.toObject = function(includeInstance, msg) {
|
|
2172
|
+
var f, obj = {
|
|
2173
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2174
|
+
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
2175
|
+
pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
2176
|
+
proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance),
|
|
2177
|
+
hasMore: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2180
|
+
if (includeInstance) {
|
|
2181
|
+
obj.$jspbMessageInstance = msg;
|
|
2182
|
+
}
|
|
2183
|
+
return obj;
|
|
2184
|
+
};
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2190
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2191
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse}
|
|
2192
|
+
*/
|
|
2193
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinary = function(bytes) {
|
|
2194
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2195
|
+
var msg = new proto.trb.indicators.v1.ListIndicatorValuesResponse;
|
|
2196
|
+
return proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader(msg, reader);
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2202
|
+
* given reader into the given message object.
|
|
2203
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} msg The message object to deserialize into.
|
|
2204
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2205
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse}
|
|
2206
|
+
*/
|
|
2207
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2208
|
+
while (reader.nextField()) {
|
|
2209
|
+
if (reader.isEndGroup()) {
|
|
2210
|
+
break;
|
|
2211
|
+
}
|
|
2212
|
+
var field = reader.getFieldNumber();
|
|
2213
|
+
switch (field) {
|
|
2214
|
+
case 1:
|
|
2215
|
+
var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
|
|
2216
|
+
msg.setType(value);
|
|
2217
|
+
break;
|
|
2218
|
+
case 2:
|
|
2219
|
+
var value = msg.getParamsMap();
|
|
2220
|
+
reader.readMessage(value, function(message, reader) {
|
|
2221
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
2222
|
+
});
|
|
2223
|
+
break;
|
|
2224
|
+
case 3:
|
|
2225
|
+
var value = new proto.trb.indicators.v1.IndicatorPoint;
|
|
2226
|
+
reader.readMessage(value,proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader);
|
|
2227
|
+
msg.addPoints(value);
|
|
2228
|
+
break;
|
|
2229
|
+
case 4:
|
|
2230
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2231
|
+
msg.setHasMore(value);
|
|
2232
|
+
break;
|
|
2233
|
+
default:
|
|
2234
|
+
reader.skipField();
|
|
2235
|
+
break;
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
return msg;
|
|
2239
|
+
};
|
|
2240
|
+
|
|
2241
|
+
|
|
2242
|
+
/**
|
|
2243
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2244
|
+
* @return {!Uint8Array}
|
|
2245
|
+
*/
|
|
2246
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.serializeBinary = function() {
|
|
2247
|
+
var writer = new jspb.BinaryWriter();
|
|
2248
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.serializeBinaryToWriter(this, writer);
|
|
2249
|
+
return writer.getResultBuffer();
|
|
2250
|
+
};
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2255
|
+
* format), writing to the given BinaryWriter.
|
|
2256
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} message
|
|
2257
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2258
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2259
|
+
*/
|
|
2260
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2261
|
+
var f = undefined;
|
|
2262
|
+
f = message.getType();
|
|
2263
|
+
if (f !== 0.0) {
|
|
2264
|
+
writer.writeEnum(
|
|
2265
|
+
1,
|
|
2266
|
+
f
|
|
2267
|
+
);
|
|
2268
|
+
}
|
|
2269
|
+
f = message.getParamsMap(true);
|
|
2270
|
+
if (f && f.getLength() > 0) {
|
|
2271
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
2272
|
+
}
|
|
2273
|
+
f = message.getPointsList();
|
|
2274
|
+
if (f.length > 0) {
|
|
2275
|
+
writer.writeRepeatedMessage(
|
|
2276
|
+
3,
|
|
2277
|
+
f,
|
|
2278
|
+
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter
|
|
2279
|
+
);
|
|
2280
|
+
}
|
|
2281
|
+
f = message.getHasMore();
|
|
2282
|
+
if (f) {
|
|
2283
|
+
writer.writeBool(
|
|
2284
|
+
4,
|
|
2285
|
+
f
|
|
2286
|
+
);
|
|
2287
|
+
}
|
|
2288
|
+
};
|
|
2289
|
+
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* optional IndicatorType type = 1;
|
|
2293
|
+
* @return {!proto.trb.indicators.v1.IndicatorType}
|
|
2294
|
+
*/
|
|
2295
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getType = function() {
|
|
2296
|
+
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2297
|
+
};
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
/**
|
|
2301
|
+
* @param {!proto.trb.indicators.v1.IndicatorType} value
|
|
2302
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2303
|
+
*/
|
|
2304
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setType = function(value) {
|
|
2305
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
2306
|
+
};
|
|
2307
|
+
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* map<string, double> params = 2;
|
|
2311
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
2312
|
+
* empty, instead returning `undefined`
|
|
2313
|
+
* @return {!jspb.Map<string,number>}
|
|
2314
|
+
*/
|
|
2315
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getParamsMap = function(opt_noLazyCreate) {
|
|
2316
|
+
return /** @type {!jspb.Map<string,number>} */ (
|
|
2317
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
2318
|
+
null));
|
|
2319
|
+
};
|
|
2320
|
+
|
|
2321
|
+
|
|
2322
|
+
/**
|
|
2323
|
+
* Clears values from the map. The map will be non-null.
|
|
2324
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2325
|
+
*/
|
|
2326
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.clearParamsMap = function() {
|
|
2327
|
+
this.getParamsMap().clear();
|
|
2328
|
+
return this;
|
|
2329
|
+
};
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* repeated IndicatorPoint points = 3;
|
|
2334
|
+
* @return {!Array<!proto.trb.indicators.v1.IndicatorPoint>}
|
|
2335
|
+
*/
|
|
2336
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getPointsList = function() {
|
|
2337
|
+
return /** @type{!Array<!proto.trb.indicators.v1.IndicatorPoint>} */ (
|
|
2338
|
+
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorPoint, 3));
|
|
2339
|
+
};
|
|
2340
|
+
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* @param {!Array<!proto.trb.indicators.v1.IndicatorPoint>} value
|
|
2344
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2345
|
+
*/
|
|
2346
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setPointsList = function(value) {
|
|
2347
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
2348
|
+
};
|
|
2349
|
+
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint=} opt_value
|
|
2353
|
+
* @param {number=} opt_index
|
|
2354
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
2355
|
+
*/
|
|
2356
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.addPoints = function(opt_value, opt_index) {
|
|
2357
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.trb.indicators.v1.IndicatorPoint, opt_index);
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* Clears the list making it empty but non-null.
|
|
2363
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2364
|
+
*/
|
|
2365
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.clearPointsList = function() {
|
|
2366
|
+
return this.setPointsList([]);
|
|
2367
|
+
};
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* optional bool has_more = 4;
|
|
2372
|
+
* @return {boolean}
|
|
2373
|
+
*/
|
|
2374
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getHasMore = function() {
|
|
2375
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* @param {boolean} value
|
|
2381
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2382
|
+
*/
|
|
2383
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setHasMore = function(value) {
|
|
2384
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
2385
|
+
};
|
|
2386
|
+
|
|
2387
|
+
|
|
1605
2388
|
|
|
1606
2389
|
|
|
1607
2390
|
|