protobuf-platform 1.0.246 → 1.0.248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analytic/analytic_grpc_pb.js +44 -0
- package/analytic/analytic_pb.js +779 -0
- package/bet/bet_grpc_pb.js +112 -0
- package/bet/bet_pb.js +3306 -0
- package/bonus/bonus_grpc_pb.js +367 -0
- package/bonus/bonus_pb.js +9220 -0
- package/cashback/cashback_grpc_pb.js +199 -0
- package/cashback/cashback_pb.js +3299 -0
- package/cms/cms_grpc_pb.js +487 -0
- package/cms/cms_pb.js +7464 -0
- package/config/config_grpc_pb.js +190 -0
- package/config/config_pb.js +2119 -0
- package/file/file_grpc_pb.js +44 -0
- package/file/file_pb.js +352 -0
- package/game/game_grpc_pb.js +1462 -0
- package/game/game_pb.js +22846 -0
- package/log/log_grpc_pb.js +78 -0
- package/log/log_pb.js +1338 -0
- package/loyalty/loyalty_grpc_pb.js +344 -0
- package/loyalty/loyalty_pb.js +6246 -0
- package/notification/notification_grpc_pb.js +288 -0
- package/notification/notification_pb.js +3957 -0
- package/package.json +1 -1
- package/payment/payment_grpc_pb.js +456 -0
- package/payment/payment_pb.js +9456 -0
- package/promocode/promocode_grpc_pb.js +166 -0
- package/promocode/promocode_pb.js +2546 -0
- package/tournament/tournament_grpc_pb.js +222 -0
- package/tournament/tournament_pb.js +3951 -0
- package/user/user_grpc_pb.js +601 -0
- package/user/user_pb.js +10854 -0
@@ -0,0 +1,2119 @@
|
|
1
|
+
// source: config.proto
|
2
|
+
/**
|
3
|
+
* @fileoverview
|
4
|
+
* @enhanceable
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
8
|
+
* @public
|
9
|
+
*/
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
11
|
+
/* eslint-disable */
|
12
|
+
// @ts-nocheck
|
13
|
+
|
14
|
+
var jspb = require('google-protobuf');
|
15
|
+
var goog = jspb;
|
16
|
+
var global = (function() {
|
17
|
+
if (this) { return this; }
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
21
|
+
return Function('return this')();
|
22
|
+
}.call(null));
|
23
|
+
|
24
|
+
goog.exportSymbol('proto.config.ConfigDataResponse', null, global);
|
25
|
+
goog.exportSymbol('proto.config.ConfigRequest', null, global);
|
26
|
+
goog.exportSymbol('proto.config.ConfigStatusResponse', null, global);
|
27
|
+
goog.exportSymbol('proto.config.ErrorRequest', null, global);
|
28
|
+
goog.exportSymbol('proto.config.ErrorStatusResponse', null, global);
|
29
|
+
goog.exportSymbol('proto.config.GlobalDataRequest', null, global);
|
30
|
+
goog.exportSymbol('proto.config.PingRequest', null, global);
|
31
|
+
goog.exportSymbol('proto.config.PongResponse', null, global);
|
32
|
+
goog.exportSymbol('proto.config.SettingsRequest', null, global);
|
33
|
+
goog.exportSymbol('proto.config.SettingsResponse', null, global);
|
34
|
+
/**
|
35
|
+
* Generated by JsPbCodeGenerator.
|
36
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
37
|
+
* server response, or constructed directly in Javascript. The array is used
|
38
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
39
|
+
* If no data is provided, the constructed object will be empty, but still
|
40
|
+
* valid.
|
41
|
+
* @extends {jspb.Message}
|
42
|
+
* @constructor
|
43
|
+
*/
|
44
|
+
proto.config.PingRequest = function(opt_data) {
|
45
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
46
|
+
};
|
47
|
+
goog.inherits(proto.config.PingRequest, jspb.Message);
|
48
|
+
if (goog.DEBUG && !COMPILED) {
|
49
|
+
/**
|
50
|
+
* @public
|
51
|
+
* @override
|
52
|
+
*/
|
53
|
+
proto.config.PingRequest.displayName = 'proto.config.PingRequest';
|
54
|
+
}
|
55
|
+
/**
|
56
|
+
* Generated by JsPbCodeGenerator.
|
57
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
58
|
+
* server response, or constructed directly in Javascript. The array is used
|
59
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
60
|
+
* If no data is provided, the constructed object will be empty, but still
|
61
|
+
* valid.
|
62
|
+
* @extends {jspb.Message}
|
63
|
+
* @constructor
|
64
|
+
*/
|
65
|
+
proto.config.PongResponse = function(opt_data) {
|
66
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
67
|
+
};
|
68
|
+
goog.inherits(proto.config.PongResponse, jspb.Message);
|
69
|
+
if (goog.DEBUG && !COMPILED) {
|
70
|
+
/**
|
71
|
+
* @public
|
72
|
+
* @override
|
73
|
+
*/
|
74
|
+
proto.config.PongResponse.displayName = 'proto.config.PongResponse';
|
75
|
+
}
|
76
|
+
/**
|
77
|
+
* Generated by JsPbCodeGenerator.
|
78
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
79
|
+
* server response, or constructed directly in Javascript. The array is used
|
80
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
81
|
+
* If no data is provided, the constructed object will be empty, but still
|
82
|
+
* valid.
|
83
|
+
* @extends {jspb.Message}
|
84
|
+
* @constructor
|
85
|
+
*/
|
86
|
+
proto.config.SettingsRequest = function(opt_data) {
|
87
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
88
|
+
};
|
89
|
+
goog.inherits(proto.config.SettingsRequest, jspb.Message);
|
90
|
+
if (goog.DEBUG && !COMPILED) {
|
91
|
+
/**
|
92
|
+
* @public
|
93
|
+
* @override
|
94
|
+
*/
|
95
|
+
proto.config.SettingsRequest.displayName = 'proto.config.SettingsRequest';
|
96
|
+
}
|
97
|
+
/**
|
98
|
+
* Generated by JsPbCodeGenerator.
|
99
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
100
|
+
* server response, or constructed directly in Javascript. The array is used
|
101
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
102
|
+
* If no data is provided, the constructed object will be empty, but still
|
103
|
+
* valid.
|
104
|
+
* @extends {jspb.Message}
|
105
|
+
* @constructor
|
106
|
+
*/
|
107
|
+
proto.config.SettingsResponse = function(opt_data) {
|
108
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
109
|
+
};
|
110
|
+
goog.inherits(proto.config.SettingsResponse, jspb.Message);
|
111
|
+
if (goog.DEBUG && !COMPILED) {
|
112
|
+
/**
|
113
|
+
* @public
|
114
|
+
* @override
|
115
|
+
*/
|
116
|
+
proto.config.SettingsResponse.displayName = 'proto.config.SettingsResponse';
|
117
|
+
}
|
118
|
+
/**
|
119
|
+
* Generated by JsPbCodeGenerator.
|
120
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
121
|
+
* server response, or constructed directly in Javascript. The array is used
|
122
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
123
|
+
* If no data is provided, the constructed object will be empty, but still
|
124
|
+
* valid.
|
125
|
+
* @extends {jspb.Message}
|
126
|
+
* @constructor
|
127
|
+
*/
|
128
|
+
proto.config.ConfigRequest = function(opt_data) {
|
129
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
130
|
+
};
|
131
|
+
goog.inherits(proto.config.ConfigRequest, jspb.Message);
|
132
|
+
if (goog.DEBUG && !COMPILED) {
|
133
|
+
/**
|
134
|
+
* @public
|
135
|
+
* @override
|
136
|
+
*/
|
137
|
+
proto.config.ConfigRequest.displayName = 'proto.config.ConfigRequest';
|
138
|
+
}
|
139
|
+
/**
|
140
|
+
* Generated by JsPbCodeGenerator.
|
141
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
142
|
+
* server response, or constructed directly in Javascript. The array is used
|
143
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
144
|
+
* If no data is provided, the constructed object will be empty, but still
|
145
|
+
* valid.
|
146
|
+
* @extends {jspb.Message}
|
147
|
+
* @constructor
|
148
|
+
*/
|
149
|
+
proto.config.ConfigStatusResponse = function(opt_data) {
|
150
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
151
|
+
};
|
152
|
+
goog.inherits(proto.config.ConfigStatusResponse, jspb.Message);
|
153
|
+
if (goog.DEBUG && !COMPILED) {
|
154
|
+
/**
|
155
|
+
* @public
|
156
|
+
* @override
|
157
|
+
*/
|
158
|
+
proto.config.ConfigStatusResponse.displayName = 'proto.config.ConfigStatusResponse';
|
159
|
+
}
|
160
|
+
/**
|
161
|
+
* Generated by JsPbCodeGenerator.
|
162
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
163
|
+
* server response, or constructed directly in Javascript. The array is used
|
164
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
165
|
+
* If no data is provided, the constructed object will be empty, but still
|
166
|
+
* valid.
|
167
|
+
* @extends {jspb.Message}
|
168
|
+
* @constructor
|
169
|
+
*/
|
170
|
+
proto.config.ConfigDataResponse = function(opt_data) {
|
171
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
172
|
+
};
|
173
|
+
goog.inherits(proto.config.ConfigDataResponse, jspb.Message);
|
174
|
+
if (goog.DEBUG && !COMPILED) {
|
175
|
+
/**
|
176
|
+
* @public
|
177
|
+
* @override
|
178
|
+
*/
|
179
|
+
proto.config.ConfigDataResponse.displayName = 'proto.config.ConfigDataResponse';
|
180
|
+
}
|
181
|
+
/**
|
182
|
+
* Generated by JsPbCodeGenerator.
|
183
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
184
|
+
* server response, or constructed directly in Javascript. The array is used
|
185
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
186
|
+
* If no data is provided, the constructed object will be empty, but still
|
187
|
+
* valid.
|
188
|
+
* @extends {jspb.Message}
|
189
|
+
* @constructor
|
190
|
+
*/
|
191
|
+
proto.config.ErrorRequest = function(opt_data) {
|
192
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
193
|
+
};
|
194
|
+
goog.inherits(proto.config.ErrorRequest, jspb.Message);
|
195
|
+
if (goog.DEBUG && !COMPILED) {
|
196
|
+
/**
|
197
|
+
* @public
|
198
|
+
* @override
|
199
|
+
*/
|
200
|
+
proto.config.ErrorRequest.displayName = 'proto.config.ErrorRequest';
|
201
|
+
}
|
202
|
+
/**
|
203
|
+
* Generated by JsPbCodeGenerator.
|
204
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
205
|
+
* server response, or constructed directly in Javascript. The array is used
|
206
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
207
|
+
* If no data is provided, the constructed object will be empty, but still
|
208
|
+
* valid.
|
209
|
+
* @extends {jspb.Message}
|
210
|
+
* @constructor
|
211
|
+
*/
|
212
|
+
proto.config.ErrorStatusResponse = function(opt_data) {
|
213
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
214
|
+
};
|
215
|
+
goog.inherits(proto.config.ErrorStatusResponse, jspb.Message);
|
216
|
+
if (goog.DEBUG && !COMPILED) {
|
217
|
+
/**
|
218
|
+
* @public
|
219
|
+
* @override
|
220
|
+
*/
|
221
|
+
proto.config.ErrorStatusResponse.displayName = 'proto.config.ErrorStatusResponse';
|
222
|
+
}
|
223
|
+
/**
|
224
|
+
* Generated by JsPbCodeGenerator.
|
225
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
226
|
+
* server response, or constructed directly in Javascript. The array is used
|
227
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
228
|
+
* If no data is provided, the constructed object will be empty, but still
|
229
|
+
* valid.
|
230
|
+
* @extends {jspb.Message}
|
231
|
+
* @constructor
|
232
|
+
*/
|
233
|
+
proto.config.GlobalDataRequest = function(opt_data) {
|
234
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.config.GlobalDataRequest.repeatedFields_, null);
|
235
|
+
};
|
236
|
+
goog.inherits(proto.config.GlobalDataRequest, jspb.Message);
|
237
|
+
if (goog.DEBUG && !COMPILED) {
|
238
|
+
/**
|
239
|
+
* @public
|
240
|
+
* @override
|
241
|
+
*/
|
242
|
+
proto.config.GlobalDataRequest.displayName = 'proto.config.GlobalDataRequest';
|
243
|
+
}
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
248
|
+
/**
|
249
|
+
* Creates an object representation of this proto.
|
250
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
251
|
+
* Optional fields that are not set will be set to undefined.
|
252
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
253
|
+
* For the list of reserved names please see:
|
254
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
255
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
256
|
+
* JSPB instance for transitional soy proto support:
|
257
|
+
* http://goto/soy-param-migration
|
258
|
+
* @return {!Object}
|
259
|
+
*/
|
260
|
+
proto.config.PingRequest.prototype.toObject = function(opt_includeInstance) {
|
261
|
+
return proto.config.PingRequest.toObject(opt_includeInstance, this);
|
262
|
+
};
|
263
|
+
|
264
|
+
|
265
|
+
/**
|
266
|
+
* Static version of the {@see toObject} method.
|
267
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
268
|
+
* the JSPB instance for transitional soy proto support:
|
269
|
+
* http://goto/soy-param-migration
|
270
|
+
* @param {!proto.config.PingRequest} msg The msg instance to transform.
|
271
|
+
* @return {!Object}
|
272
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
273
|
+
*/
|
274
|
+
proto.config.PingRequest.toObject = function(includeInstance, msg) {
|
275
|
+
var f, obj = {
|
276
|
+
ping: jspb.Message.getFieldWithDefault(msg, 1, "")
|
277
|
+
};
|
278
|
+
|
279
|
+
if (includeInstance) {
|
280
|
+
obj.$jspbMessageInstance = msg;
|
281
|
+
}
|
282
|
+
return obj;
|
283
|
+
};
|
284
|
+
}
|
285
|
+
|
286
|
+
|
287
|
+
/**
|
288
|
+
* Deserializes binary data (in protobuf wire format).
|
289
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
290
|
+
* @return {!proto.config.PingRequest}
|
291
|
+
*/
|
292
|
+
proto.config.PingRequest.deserializeBinary = function(bytes) {
|
293
|
+
var reader = new jspb.BinaryReader(bytes);
|
294
|
+
var msg = new proto.config.PingRequest;
|
295
|
+
return proto.config.PingRequest.deserializeBinaryFromReader(msg, reader);
|
296
|
+
};
|
297
|
+
|
298
|
+
|
299
|
+
/**
|
300
|
+
* Deserializes binary data (in protobuf wire format) from the
|
301
|
+
* given reader into the given message object.
|
302
|
+
* @param {!proto.config.PingRequest} msg The message object to deserialize into.
|
303
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
304
|
+
* @return {!proto.config.PingRequest}
|
305
|
+
*/
|
306
|
+
proto.config.PingRequest.deserializeBinaryFromReader = function(msg, reader) {
|
307
|
+
while (reader.nextField()) {
|
308
|
+
if (reader.isEndGroup()) {
|
309
|
+
break;
|
310
|
+
}
|
311
|
+
var field = reader.getFieldNumber();
|
312
|
+
switch (field) {
|
313
|
+
case 1:
|
314
|
+
var value = /** @type {string} */ (reader.readString());
|
315
|
+
msg.setPing(value);
|
316
|
+
break;
|
317
|
+
default:
|
318
|
+
reader.skipField();
|
319
|
+
break;
|
320
|
+
}
|
321
|
+
}
|
322
|
+
return msg;
|
323
|
+
};
|
324
|
+
|
325
|
+
|
326
|
+
/**
|
327
|
+
* Serializes the message to binary data (in protobuf wire format).
|
328
|
+
* @return {!Uint8Array}
|
329
|
+
*/
|
330
|
+
proto.config.PingRequest.prototype.serializeBinary = function() {
|
331
|
+
var writer = new jspb.BinaryWriter();
|
332
|
+
proto.config.PingRequest.serializeBinaryToWriter(this, writer);
|
333
|
+
return writer.getResultBuffer();
|
334
|
+
};
|
335
|
+
|
336
|
+
|
337
|
+
/**
|
338
|
+
* Serializes the given message to binary data (in protobuf wire
|
339
|
+
* format), writing to the given BinaryWriter.
|
340
|
+
* @param {!proto.config.PingRequest} message
|
341
|
+
* @param {!jspb.BinaryWriter} writer
|
342
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
343
|
+
*/
|
344
|
+
proto.config.PingRequest.serializeBinaryToWriter = function(message, writer) {
|
345
|
+
var f = undefined;
|
346
|
+
f = message.getPing();
|
347
|
+
if (f.length > 0) {
|
348
|
+
writer.writeString(
|
349
|
+
1,
|
350
|
+
f
|
351
|
+
);
|
352
|
+
}
|
353
|
+
};
|
354
|
+
|
355
|
+
|
356
|
+
/**
|
357
|
+
* optional string ping = 1;
|
358
|
+
* @return {string}
|
359
|
+
*/
|
360
|
+
proto.config.PingRequest.prototype.getPing = function() {
|
361
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
362
|
+
};
|
363
|
+
|
364
|
+
|
365
|
+
/**
|
366
|
+
* @param {string} value
|
367
|
+
* @return {!proto.config.PingRequest} returns this
|
368
|
+
*/
|
369
|
+
proto.config.PingRequest.prototype.setPing = function(value) {
|
370
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
371
|
+
};
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
378
|
+
/**
|
379
|
+
* Creates an object representation of this proto.
|
380
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
381
|
+
* Optional fields that are not set will be set to undefined.
|
382
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
383
|
+
* For the list of reserved names please see:
|
384
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
385
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
386
|
+
* JSPB instance for transitional soy proto support:
|
387
|
+
* http://goto/soy-param-migration
|
388
|
+
* @return {!Object}
|
389
|
+
*/
|
390
|
+
proto.config.PongResponse.prototype.toObject = function(opt_includeInstance) {
|
391
|
+
return proto.config.PongResponse.toObject(opt_includeInstance, this);
|
392
|
+
};
|
393
|
+
|
394
|
+
|
395
|
+
/**
|
396
|
+
* Static version of the {@see toObject} method.
|
397
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
398
|
+
* the JSPB instance for transitional soy proto support:
|
399
|
+
* http://goto/soy-param-migration
|
400
|
+
* @param {!proto.config.PongResponse} msg The msg instance to transform.
|
401
|
+
* @return {!Object}
|
402
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
403
|
+
*/
|
404
|
+
proto.config.PongResponse.toObject = function(includeInstance, msg) {
|
405
|
+
var f, obj = {
|
406
|
+
pong: jspb.Message.getFieldWithDefault(msg, 1, "")
|
407
|
+
};
|
408
|
+
|
409
|
+
if (includeInstance) {
|
410
|
+
obj.$jspbMessageInstance = msg;
|
411
|
+
}
|
412
|
+
return obj;
|
413
|
+
};
|
414
|
+
}
|
415
|
+
|
416
|
+
|
417
|
+
/**
|
418
|
+
* Deserializes binary data (in protobuf wire format).
|
419
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
420
|
+
* @return {!proto.config.PongResponse}
|
421
|
+
*/
|
422
|
+
proto.config.PongResponse.deserializeBinary = function(bytes) {
|
423
|
+
var reader = new jspb.BinaryReader(bytes);
|
424
|
+
var msg = new proto.config.PongResponse;
|
425
|
+
return proto.config.PongResponse.deserializeBinaryFromReader(msg, reader);
|
426
|
+
};
|
427
|
+
|
428
|
+
|
429
|
+
/**
|
430
|
+
* Deserializes binary data (in protobuf wire format) from the
|
431
|
+
* given reader into the given message object.
|
432
|
+
* @param {!proto.config.PongResponse} msg The message object to deserialize into.
|
433
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
434
|
+
* @return {!proto.config.PongResponse}
|
435
|
+
*/
|
436
|
+
proto.config.PongResponse.deserializeBinaryFromReader = function(msg, reader) {
|
437
|
+
while (reader.nextField()) {
|
438
|
+
if (reader.isEndGroup()) {
|
439
|
+
break;
|
440
|
+
}
|
441
|
+
var field = reader.getFieldNumber();
|
442
|
+
switch (field) {
|
443
|
+
case 1:
|
444
|
+
var value = /** @type {string} */ (reader.readString());
|
445
|
+
msg.setPong(value);
|
446
|
+
break;
|
447
|
+
default:
|
448
|
+
reader.skipField();
|
449
|
+
break;
|
450
|
+
}
|
451
|
+
}
|
452
|
+
return msg;
|
453
|
+
};
|
454
|
+
|
455
|
+
|
456
|
+
/**
|
457
|
+
* Serializes the message to binary data (in protobuf wire format).
|
458
|
+
* @return {!Uint8Array}
|
459
|
+
*/
|
460
|
+
proto.config.PongResponse.prototype.serializeBinary = function() {
|
461
|
+
var writer = new jspb.BinaryWriter();
|
462
|
+
proto.config.PongResponse.serializeBinaryToWriter(this, writer);
|
463
|
+
return writer.getResultBuffer();
|
464
|
+
};
|
465
|
+
|
466
|
+
|
467
|
+
/**
|
468
|
+
* Serializes the given message to binary data (in protobuf wire
|
469
|
+
* format), writing to the given BinaryWriter.
|
470
|
+
* @param {!proto.config.PongResponse} message
|
471
|
+
* @param {!jspb.BinaryWriter} writer
|
472
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
473
|
+
*/
|
474
|
+
proto.config.PongResponse.serializeBinaryToWriter = function(message, writer) {
|
475
|
+
var f = undefined;
|
476
|
+
f = message.getPong();
|
477
|
+
if (f.length > 0) {
|
478
|
+
writer.writeString(
|
479
|
+
1,
|
480
|
+
f
|
481
|
+
);
|
482
|
+
}
|
483
|
+
};
|
484
|
+
|
485
|
+
|
486
|
+
/**
|
487
|
+
* optional string pong = 1;
|
488
|
+
* @return {string}
|
489
|
+
*/
|
490
|
+
proto.config.PongResponse.prototype.getPong = function() {
|
491
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
492
|
+
};
|
493
|
+
|
494
|
+
|
495
|
+
/**
|
496
|
+
* @param {string} value
|
497
|
+
* @return {!proto.config.PongResponse} returns this
|
498
|
+
*/
|
499
|
+
proto.config.PongResponse.prototype.setPong = function(value) {
|
500
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
501
|
+
};
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
508
|
+
/**
|
509
|
+
* Creates an object representation of this proto.
|
510
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
511
|
+
* Optional fields that are not set will be set to undefined.
|
512
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
513
|
+
* For the list of reserved names please see:
|
514
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
515
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
516
|
+
* JSPB instance for transitional soy proto support:
|
517
|
+
* http://goto/soy-param-migration
|
518
|
+
* @return {!Object}
|
519
|
+
*/
|
520
|
+
proto.config.SettingsRequest.prototype.toObject = function(opt_includeInstance) {
|
521
|
+
return proto.config.SettingsRequest.toObject(opt_includeInstance, this);
|
522
|
+
};
|
523
|
+
|
524
|
+
|
525
|
+
/**
|
526
|
+
* Static version of the {@see toObject} method.
|
527
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
528
|
+
* the JSPB instance for transitional soy proto support:
|
529
|
+
* http://goto/soy-param-migration
|
530
|
+
* @param {!proto.config.SettingsRequest} msg The msg instance to transform.
|
531
|
+
* @return {!Object}
|
532
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
533
|
+
*/
|
534
|
+
proto.config.SettingsRequest.toObject = function(includeInstance, msg) {
|
535
|
+
var f, obj = {
|
536
|
+
environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
537
|
+
customer: jspb.Message.getFieldWithDefault(msg, 2, "")
|
538
|
+
};
|
539
|
+
|
540
|
+
if (includeInstance) {
|
541
|
+
obj.$jspbMessageInstance = msg;
|
542
|
+
}
|
543
|
+
return obj;
|
544
|
+
};
|
545
|
+
}
|
546
|
+
|
547
|
+
|
548
|
+
/**
|
549
|
+
* Deserializes binary data (in protobuf wire format).
|
550
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
551
|
+
* @return {!proto.config.SettingsRequest}
|
552
|
+
*/
|
553
|
+
proto.config.SettingsRequest.deserializeBinary = function(bytes) {
|
554
|
+
var reader = new jspb.BinaryReader(bytes);
|
555
|
+
var msg = new proto.config.SettingsRequest;
|
556
|
+
return proto.config.SettingsRequest.deserializeBinaryFromReader(msg, reader);
|
557
|
+
};
|
558
|
+
|
559
|
+
|
560
|
+
/**
|
561
|
+
* Deserializes binary data (in protobuf wire format) from the
|
562
|
+
* given reader into the given message object.
|
563
|
+
* @param {!proto.config.SettingsRequest} msg The message object to deserialize into.
|
564
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
565
|
+
* @return {!proto.config.SettingsRequest}
|
566
|
+
*/
|
567
|
+
proto.config.SettingsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
568
|
+
while (reader.nextField()) {
|
569
|
+
if (reader.isEndGroup()) {
|
570
|
+
break;
|
571
|
+
}
|
572
|
+
var field = reader.getFieldNumber();
|
573
|
+
switch (field) {
|
574
|
+
case 1:
|
575
|
+
var value = /** @type {string} */ (reader.readString());
|
576
|
+
msg.setEnvironment(value);
|
577
|
+
break;
|
578
|
+
case 2:
|
579
|
+
var value = /** @type {string} */ (reader.readString());
|
580
|
+
msg.setCustomer(value);
|
581
|
+
break;
|
582
|
+
default:
|
583
|
+
reader.skipField();
|
584
|
+
break;
|
585
|
+
}
|
586
|
+
}
|
587
|
+
return msg;
|
588
|
+
};
|
589
|
+
|
590
|
+
|
591
|
+
/**
|
592
|
+
* Serializes the message to binary data (in protobuf wire format).
|
593
|
+
* @return {!Uint8Array}
|
594
|
+
*/
|
595
|
+
proto.config.SettingsRequest.prototype.serializeBinary = function() {
|
596
|
+
var writer = new jspb.BinaryWriter();
|
597
|
+
proto.config.SettingsRequest.serializeBinaryToWriter(this, writer);
|
598
|
+
return writer.getResultBuffer();
|
599
|
+
};
|
600
|
+
|
601
|
+
|
602
|
+
/**
|
603
|
+
* Serializes the given message to binary data (in protobuf wire
|
604
|
+
* format), writing to the given BinaryWriter.
|
605
|
+
* @param {!proto.config.SettingsRequest} message
|
606
|
+
* @param {!jspb.BinaryWriter} writer
|
607
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
608
|
+
*/
|
609
|
+
proto.config.SettingsRequest.serializeBinaryToWriter = function(message, writer) {
|
610
|
+
var f = undefined;
|
611
|
+
f = message.getEnvironment();
|
612
|
+
if (f.length > 0) {
|
613
|
+
writer.writeString(
|
614
|
+
1,
|
615
|
+
f
|
616
|
+
);
|
617
|
+
}
|
618
|
+
f = message.getCustomer();
|
619
|
+
if (f.length > 0) {
|
620
|
+
writer.writeString(
|
621
|
+
2,
|
622
|
+
f
|
623
|
+
);
|
624
|
+
}
|
625
|
+
};
|
626
|
+
|
627
|
+
|
628
|
+
/**
|
629
|
+
* optional string environment = 1;
|
630
|
+
* @return {string}
|
631
|
+
*/
|
632
|
+
proto.config.SettingsRequest.prototype.getEnvironment = function() {
|
633
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
634
|
+
};
|
635
|
+
|
636
|
+
|
637
|
+
/**
|
638
|
+
* @param {string} value
|
639
|
+
* @return {!proto.config.SettingsRequest} returns this
|
640
|
+
*/
|
641
|
+
proto.config.SettingsRequest.prototype.setEnvironment = function(value) {
|
642
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
643
|
+
};
|
644
|
+
|
645
|
+
|
646
|
+
/**
|
647
|
+
* optional string customer = 2;
|
648
|
+
* @return {string}
|
649
|
+
*/
|
650
|
+
proto.config.SettingsRequest.prototype.getCustomer = function() {
|
651
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
652
|
+
};
|
653
|
+
|
654
|
+
|
655
|
+
/**
|
656
|
+
* @param {string} value
|
657
|
+
* @return {!proto.config.SettingsRequest} returns this
|
658
|
+
*/
|
659
|
+
proto.config.SettingsRequest.prototype.setCustomer = function(value) {
|
660
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
661
|
+
};
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
|
666
|
+
|
667
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
668
|
+
/**
|
669
|
+
* Creates an object representation of this proto.
|
670
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
671
|
+
* Optional fields that are not set will be set to undefined.
|
672
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
673
|
+
* For the list of reserved names please see:
|
674
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
675
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
676
|
+
* JSPB instance for transitional soy proto support:
|
677
|
+
* http://goto/soy-param-migration
|
678
|
+
* @return {!Object}
|
679
|
+
*/
|
680
|
+
proto.config.SettingsResponse.prototype.toObject = function(opt_includeInstance) {
|
681
|
+
return proto.config.SettingsResponse.toObject(opt_includeInstance, this);
|
682
|
+
};
|
683
|
+
|
684
|
+
|
685
|
+
/**
|
686
|
+
* Static version of the {@see toObject} method.
|
687
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
688
|
+
* the JSPB instance for transitional soy proto support:
|
689
|
+
* http://goto/soy-param-migration
|
690
|
+
* @param {!proto.config.SettingsResponse} msg The msg instance to transform.
|
691
|
+
* @return {!Object}
|
692
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
693
|
+
*/
|
694
|
+
proto.config.SettingsResponse.toObject = function(includeInstance, msg) {
|
695
|
+
var f, obj = {
|
696
|
+
rabbit: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
697
|
+
mongo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
698
|
+
mySql: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
699
|
+
redis: jspb.Message.getFieldWithDefault(msg, 4, "")
|
700
|
+
};
|
701
|
+
|
702
|
+
if (includeInstance) {
|
703
|
+
obj.$jspbMessageInstance = msg;
|
704
|
+
}
|
705
|
+
return obj;
|
706
|
+
};
|
707
|
+
}
|
708
|
+
|
709
|
+
|
710
|
+
/**
|
711
|
+
* Deserializes binary data (in protobuf wire format).
|
712
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
713
|
+
* @return {!proto.config.SettingsResponse}
|
714
|
+
*/
|
715
|
+
proto.config.SettingsResponse.deserializeBinary = function(bytes) {
|
716
|
+
var reader = new jspb.BinaryReader(bytes);
|
717
|
+
var msg = new proto.config.SettingsResponse;
|
718
|
+
return proto.config.SettingsResponse.deserializeBinaryFromReader(msg, reader);
|
719
|
+
};
|
720
|
+
|
721
|
+
|
722
|
+
/**
|
723
|
+
* Deserializes binary data (in protobuf wire format) from the
|
724
|
+
* given reader into the given message object.
|
725
|
+
* @param {!proto.config.SettingsResponse} msg The message object to deserialize into.
|
726
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
727
|
+
* @return {!proto.config.SettingsResponse}
|
728
|
+
*/
|
729
|
+
proto.config.SettingsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
730
|
+
while (reader.nextField()) {
|
731
|
+
if (reader.isEndGroup()) {
|
732
|
+
break;
|
733
|
+
}
|
734
|
+
var field = reader.getFieldNumber();
|
735
|
+
switch (field) {
|
736
|
+
case 1:
|
737
|
+
var value = /** @type {string} */ (reader.readString());
|
738
|
+
msg.setRabbit(value);
|
739
|
+
break;
|
740
|
+
case 2:
|
741
|
+
var value = /** @type {string} */ (reader.readString());
|
742
|
+
msg.setMongo(value);
|
743
|
+
break;
|
744
|
+
case 3:
|
745
|
+
var value = /** @type {string} */ (reader.readString());
|
746
|
+
msg.setMySql(value);
|
747
|
+
break;
|
748
|
+
case 4:
|
749
|
+
var value = /** @type {string} */ (reader.readString());
|
750
|
+
msg.setRedis(value);
|
751
|
+
break;
|
752
|
+
default:
|
753
|
+
reader.skipField();
|
754
|
+
break;
|
755
|
+
}
|
756
|
+
}
|
757
|
+
return msg;
|
758
|
+
};
|
759
|
+
|
760
|
+
|
761
|
+
/**
|
762
|
+
* Serializes the message to binary data (in protobuf wire format).
|
763
|
+
* @return {!Uint8Array}
|
764
|
+
*/
|
765
|
+
proto.config.SettingsResponse.prototype.serializeBinary = function() {
|
766
|
+
var writer = new jspb.BinaryWriter();
|
767
|
+
proto.config.SettingsResponse.serializeBinaryToWriter(this, writer);
|
768
|
+
return writer.getResultBuffer();
|
769
|
+
};
|
770
|
+
|
771
|
+
|
772
|
+
/**
|
773
|
+
* Serializes the given message to binary data (in protobuf wire
|
774
|
+
* format), writing to the given BinaryWriter.
|
775
|
+
* @param {!proto.config.SettingsResponse} message
|
776
|
+
* @param {!jspb.BinaryWriter} writer
|
777
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
778
|
+
*/
|
779
|
+
proto.config.SettingsResponse.serializeBinaryToWriter = function(message, writer) {
|
780
|
+
var f = undefined;
|
781
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
782
|
+
if (f != null) {
|
783
|
+
writer.writeString(
|
784
|
+
1,
|
785
|
+
f
|
786
|
+
);
|
787
|
+
}
|
788
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
789
|
+
if (f != null) {
|
790
|
+
writer.writeString(
|
791
|
+
2,
|
792
|
+
f
|
793
|
+
);
|
794
|
+
}
|
795
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
796
|
+
if (f != null) {
|
797
|
+
writer.writeString(
|
798
|
+
3,
|
799
|
+
f
|
800
|
+
);
|
801
|
+
}
|
802
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
803
|
+
if (f != null) {
|
804
|
+
writer.writeString(
|
805
|
+
4,
|
806
|
+
f
|
807
|
+
);
|
808
|
+
}
|
809
|
+
};
|
810
|
+
|
811
|
+
|
812
|
+
/**
|
813
|
+
* optional string rabbit = 1;
|
814
|
+
* @return {string}
|
815
|
+
*/
|
816
|
+
proto.config.SettingsResponse.prototype.getRabbit = function() {
|
817
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
818
|
+
};
|
819
|
+
|
820
|
+
|
821
|
+
/**
|
822
|
+
* @param {string} value
|
823
|
+
* @return {!proto.config.SettingsResponse} returns this
|
824
|
+
*/
|
825
|
+
proto.config.SettingsResponse.prototype.setRabbit = function(value) {
|
826
|
+
return jspb.Message.setField(this, 1, value);
|
827
|
+
};
|
828
|
+
|
829
|
+
|
830
|
+
/**
|
831
|
+
* Clears the field making it undefined.
|
832
|
+
* @return {!proto.config.SettingsResponse} returns this
|
833
|
+
*/
|
834
|
+
proto.config.SettingsResponse.prototype.clearRabbit = function() {
|
835
|
+
return jspb.Message.setField(this, 1, undefined);
|
836
|
+
};
|
837
|
+
|
838
|
+
|
839
|
+
/**
|
840
|
+
* Returns whether this field is set.
|
841
|
+
* @return {boolean}
|
842
|
+
*/
|
843
|
+
proto.config.SettingsResponse.prototype.hasRabbit = function() {
|
844
|
+
return jspb.Message.getField(this, 1) != null;
|
845
|
+
};
|
846
|
+
|
847
|
+
|
848
|
+
/**
|
849
|
+
* optional string mongo = 2;
|
850
|
+
* @return {string}
|
851
|
+
*/
|
852
|
+
proto.config.SettingsResponse.prototype.getMongo = function() {
|
853
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
854
|
+
};
|
855
|
+
|
856
|
+
|
857
|
+
/**
|
858
|
+
* @param {string} value
|
859
|
+
* @return {!proto.config.SettingsResponse} returns this
|
860
|
+
*/
|
861
|
+
proto.config.SettingsResponse.prototype.setMongo = function(value) {
|
862
|
+
return jspb.Message.setField(this, 2, value);
|
863
|
+
};
|
864
|
+
|
865
|
+
|
866
|
+
/**
|
867
|
+
* Clears the field making it undefined.
|
868
|
+
* @return {!proto.config.SettingsResponse} returns this
|
869
|
+
*/
|
870
|
+
proto.config.SettingsResponse.prototype.clearMongo = function() {
|
871
|
+
return jspb.Message.setField(this, 2, undefined);
|
872
|
+
};
|
873
|
+
|
874
|
+
|
875
|
+
/**
|
876
|
+
* Returns whether this field is set.
|
877
|
+
* @return {boolean}
|
878
|
+
*/
|
879
|
+
proto.config.SettingsResponse.prototype.hasMongo = function() {
|
880
|
+
return jspb.Message.getField(this, 2) != null;
|
881
|
+
};
|
882
|
+
|
883
|
+
|
884
|
+
/**
|
885
|
+
* optional string my_sql = 3;
|
886
|
+
* @return {string}
|
887
|
+
*/
|
888
|
+
proto.config.SettingsResponse.prototype.getMySql = function() {
|
889
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
890
|
+
};
|
891
|
+
|
892
|
+
|
893
|
+
/**
|
894
|
+
* @param {string} value
|
895
|
+
* @return {!proto.config.SettingsResponse} returns this
|
896
|
+
*/
|
897
|
+
proto.config.SettingsResponse.prototype.setMySql = function(value) {
|
898
|
+
return jspb.Message.setField(this, 3, value);
|
899
|
+
};
|
900
|
+
|
901
|
+
|
902
|
+
/**
|
903
|
+
* Clears the field making it undefined.
|
904
|
+
* @return {!proto.config.SettingsResponse} returns this
|
905
|
+
*/
|
906
|
+
proto.config.SettingsResponse.prototype.clearMySql = function() {
|
907
|
+
return jspb.Message.setField(this, 3, undefined);
|
908
|
+
};
|
909
|
+
|
910
|
+
|
911
|
+
/**
|
912
|
+
* Returns whether this field is set.
|
913
|
+
* @return {boolean}
|
914
|
+
*/
|
915
|
+
proto.config.SettingsResponse.prototype.hasMySql = function() {
|
916
|
+
return jspb.Message.getField(this, 3) != null;
|
917
|
+
};
|
918
|
+
|
919
|
+
|
920
|
+
/**
|
921
|
+
* optional string redis = 4;
|
922
|
+
* @return {string}
|
923
|
+
*/
|
924
|
+
proto.config.SettingsResponse.prototype.getRedis = function() {
|
925
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
926
|
+
};
|
927
|
+
|
928
|
+
|
929
|
+
/**
|
930
|
+
* @param {string} value
|
931
|
+
* @return {!proto.config.SettingsResponse} returns this
|
932
|
+
*/
|
933
|
+
proto.config.SettingsResponse.prototype.setRedis = function(value) {
|
934
|
+
return jspb.Message.setField(this, 4, value);
|
935
|
+
};
|
936
|
+
|
937
|
+
|
938
|
+
/**
|
939
|
+
* Clears the field making it undefined.
|
940
|
+
* @return {!proto.config.SettingsResponse} returns this
|
941
|
+
*/
|
942
|
+
proto.config.SettingsResponse.prototype.clearRedis = function() {
|
943
|
+
return jspb.Message.setField(this, 4, undefined);
|
944
|
+
};
|
945
|
+
|
946
|
+
|
947
|
+
/**
|
948
|
+
* Returns whether this field is set.
|
949
|
+
* @return {boolean}
|
950
|
+
*/
|
951
|
+
proto.config.SettingsResponse.prototype.hasRedis = function() {
|
952
|
+
return jspb.Message.getField(this, 4) != null;
|
953
|
+
};
|
954
|
+
|
955
|
+
|
956
|
+
|
957
|
+
|
958
|
+
|
959
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
960
|
+
/**
|
961
|
+
* Creates an object representation of this proto.
|
962
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
963
|
+
* Optional fields that are not set will be set to undefined.
|
964
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
965
|
+
* For the list of reserved names please see:
|
966
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
967
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
968
|
+
* JSPB instance for transitional soy proto support:
|
969
|
+
* http://goto/soy-param-migration
|
970
|
+
* @return {!Object}
|
971
|
+
*/
|
972
|
+
proto.config.ConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
973
|
+
return proto.config.ConfigRequest.toObject(opt_includeInstance, this);
|
974
|
+
};
|
975
|
+
|
976
|
+
|
977
|
+
/**
|
978
|
+
* Static version of the {@see toObject} method.
|
979
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
980
|
+
* the JSPB instance for transitional soy proto support:
|
981
|
+
* http://goto/soy-param-migration
|
982
|
+
* @param {!proto.config.ConfigRequest} msg The msg instance to transform.
|
983
|
+
* @return {!Object}
|
984
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
985
|
+
*/
|
986
|
+
proto.config.ConfigRequest.toObject = function(includeInstance, msg) {
|
987
|
+
var f, obj = {
|
988
|
+
environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
989
|
+
customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
990
|
+
serviceKey: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
991
|
+
serviceData: jspb.Message.getFieldWithDefault(msg, 4, "")
|
992
|
+
};
|
993
|
+
|
994
|
+
if (includeInstance) {
|
995
|
+
obj.$jspbMessageInstance = msg;
|
996
|
+
}
|
997
|
+
return obj;
|
998
|
+
};
|
999
|
+
}
|
1000
|
+
|
1001
|
+
|
1002
|
+
/**
|
1003
|
+
* Deserializes binary data (in protobuf wire format).
|
1004
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1005
|
+
* @return {!proto.config.ConfigRequest}
|
1006
|
+
*/
|
1007
|
+
proto.config.ConfigRequest.deserializeBinary = function(bytes) {
|
1008
|
+
var reader = new jspb.BinaryReader(bytes);
|
1009
|
+
var msg = new proto.config.ConfigRequest;
|
1010
|
+
return proto.config.ConfigRequest.deserializeBinaryFromReader(msg, reader);
|
1011
|
+
};
|
1012
|
+
|
1013
|
+
|
1014
|
+
/**
|
1015
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1016
|
+
* given reader into the given message object.
|
1017
|
+
* @param {!proto.config.ConfigRequest} msg The message object to deserialize into.
|
1018
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1019
|
+
* @return {!proto.config.ConfigRequest}
|
1020
|
+
*/
|
1021
|
+
proto.config.ConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
1022
|
+
while (reader.nextField()) {
|
1023
|
+
if (reader.isEndGroup()) {
|
1024
|
+
break;
|
1025
|
+
}
|
1026
|
+
var field = reader.getFieldNumber();
|
1027
|
+
switch (field) {
|
1028
|
+
case 1:
|
1029
|
+
var value = /** @type {string} */ (reader.readString());
|
1030
|
+
msg.setEnvironment(value);
|
1031
|
+
break;
|
1032
|
+
case 2:
|
1033
|
+
var value = /** @type {string} */ (reader.readString());
|
1034
|
+
msg.setCustomer(value);
|
1035
|
+
break;
|
1036
|
+
case 3:
|
1037
|
+
var value = /** @type {string} */ (reader.readString());
|
1038
|
+
msg.setServiceKey(value);
|
1039
|
+
break;
|
1040
|
+
case 4:
|
1041
|
+
var value = /** @type {string} */ (reader.readString());
|
1042
|
+
msg.setServiceData(value);
|
1043
|
+
break;
|
1044
|
+
default:
|
1045
|
+
reader.skipField();
|
1046
|
+
break;
|
1047
|
+
}
|
1048
|
+
}
|
1049
|
+
return msg;
|
1050
|
+
};
|
1051
|
+
|
1052
|
+
|
1053
|
+
/**
|
1054
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1055
|
+
* @return {!Uint8Array}
|
1056
|
+
*/
|
1057
|
+
proto.config.ConfigRequest.prototype.serializeBinary = function() {
|
1058
|
+
var writer = new jspb.BinaryWriter();
|
1059
|
+
proto.config.ConfigRequest.serializeBinaryToWriter(this, writer);
|
1060
|
+
return writer.getResultBuffer();
|
1061
|
+
};
|
1062
|
+
|
1063
|
+
|
1064
|
+
/**
|
1065
|
+
* Serializes the given message to binary data (in protobuf wire
|
1066
|
+
* format), writing to the given BinaryWriter.
|
1067
|
+
* @param {!proto.config.ConfigRequest} message
|
1068
|
+
* @param {!jspb.BinaryWriter} writer
|
1069
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1070
|
+
*/
|
1071
|
+
proto.config.ConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
1072
|
+
var f = undefined;
|
1073
|
+
f = message.getEnvironment();
|
1074
|
+
if (f.length > 0) {
|
1075
|
+
writer.writeString(
|
1076
|
+
1,
|
1077
|
+
f
|
1078
|
+
);
|
1079
|
+
}
|
1080
|
+
f = message.getCustomer();
|
1081
|
+
if (f.length > 0) {
|
1082
|
+
writer.writeString(
|
1083
|
+
2,
|
1084
|
+
f
|
1085
|
+
);
|
1086
|
+
}
|
1087
|
+
f = message.getServiceKey();
|
1088
|
+
if (f.length > 0) {
|
1089
|
+
writer.writeString(
|
1090
|
+
3,
|
1091
|
+
f
|
1092
|
+
);
|
1093
|
+
}
|
1094
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
1095
|
+
if (f != null) {
|
1096
|
+
writer.writeString(
|
1097
|
+
4,
|
1098
|
+
f
|
1099
|
+
);
|
1100
|
+
}
|
1101
|
+
};
|
1102
|
+
|
1103
|
+
|
1104
|
+
/**
|
1105
|
+
* optional string environment = 1;
|
1106
|
+
* @return {string}
|
1107
|
+
*/
|
1108
|
+
proto.config.ConfigRequest.prototype.getEnvironment = function() {
|
1109
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1110
|
+
};
|
1111
|
+
|
1112
|
+
|
1113
|
+
/**
|
1114
|
+
* @param {string} value
|
1115
|
+
* @return {!proto.config.ConfigRequest} returns this
|
1116
|
+
*/
|
1117
|
+
proto.config.ConfigRequest.prototype.setEnvironment = function(value) {
|
1118
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
1119
|
+
};
|
1120
|
+
|
1121
|
+
|
1122
|
+
/**
|
1123
|
+
* optional string customer = 2;
|
1124
|
+
* @return {string}
|
1125
|
+
*/
|
1126
|
+
proto.config.ConfigRequest.prototype.getCustomer = function() {
|
1127
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1128
|
+
};
|
1129
|
+
|
1130
|
+
|
1131
|
+
/**
|
1132
|
+
* @param {string} value
|
1133
|
+
* @return {!proto.config.ConfigRequest} returns this
|
1134
|
+
*/
|
1135
|
+
proto.config.ConfigRequest.prototype.setCustomer = function(value) {
|
1136
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
1137
|
+
};
|
1138
|
+
|
1139
|
+
|
1140
|
+
/**
|
1141
|
+
* optional string service_key = 3;
|
1142
|
+
* @return {string}
|
1143
|
+
*/
|
1144
|
+
proto.config.ConfigRequest.prototype.getServiceKey = function() {
|
1145
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1146
|
+
};
|
1147
|
+
|
1148
|
+
|
1149
|
+
/**
|
1150
|
+
* @param {string} value
|
1151
|
+
* @return {!proto.config.ConfigRequest} returns this
|
1152
|
+
*/
|
1153
|
+
proto.config.ConfigRequest.prototype.setServiceKey = function(value) {
|
1154
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
1155
|
+
};
|
1156
|
+
|
1157
|
+
|
1158
|
+
/**
|
1159
|
+
* optional string service_data = 4;
|
1160
|
+
* @return {string}
|
1161
|
+
*/
|
1162
|
+
proto.config.ConfigRequest.prototype.getServiceData = function() {
|
1163
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
1164
|
+
};
|
1165
|
+
|
1166
|
+
|
1167
|
+
/**
|
1168
|
+
* @param {string} value
|
1169
|
+
* @return {!proto.config.ConfigRequest} returns this
|
1170
|
+
*/
|
1171
|
+
proto.config.ConfigRequest.prototype.setServiceData = function(value) {
|
1172
|
+
return jspb.Message.setField(this, 4, value);
|
1173
|
+
};
|
1174
|
+
|
1175
|
+
|
1176
|
+
/**
|
1177
|
+
* Clears the field making it undefined.
|
1178
|
+
* @return {!proto.config.ConfigRequest} returns this
|
1179
|
+
*/
|
1180
|
+
proto.config.ConfigRequest.prototype.clearServiceData = function() {
|
1181
|
+
return jspb.Message.setField(this, 4, undefined);
|
1182
|
+
};
|
1183
|
+
|
1184
|
+
|
1185
|
+
/**
|
1186
|
+
* Returns whether this field is set.
|
1187
|
+
* @return {boolean}
|
1188
|
+
*/
|
1189
|
+
proto.config.ConfigRequest.prototype.hasServiceData = function() {
|
1190
|
+
return jspb.Message.getField(this, 4) != null;
|
1191
|
+
};
|
1192
|
+
|
1193
|
+
|
1194
|
+
|
1195
|
+
|
1196
|
+
|
1197
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1198
|
+
/**
|
1199
|
+
* Creates an object representation of this proto.
|
1200
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1201
|
+
* Optional fields that are not set will be set to undefined.
|
1202
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1203
|
+
* For the list of reserved names please see:
|
1204
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1205
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1206
|
+
* JSPB instance for transitional soy proto support:
|
1207
|
+
* http://goto/soy-param-migration
|
1208
|
+
* @return {!Object}
|
1209
|
+
*/
|
1210
|
+
proto.config.ConfigStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
1211
|
+
return proto.config.ConfigStatusResponse.toObject(opt_includeInstance, this);
|
1212
|
+
};
|
1213
|
+
|
1214
|
+
|
1215
|
+
/**
|
1216
|
+
* Static version of the {@see toObject} method.
|
1217
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1218
|
+
* the JSPB instance for transitional soy proto support:
|
1219
|
+
* http://goto/soy-param-migration
|
1220
|
+
* @param {!proto.config.ConfigStatusResponse} msg The msg instance to transform.
|
1221
|
+
* @return {!Object}
|
1222
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1223
|
+
*/
|
1224
|
+
proto.config.ConfigStatusResponse.toObject = function(includeInstance, msg) {
|
1225
|
+
var f, obj = {
|
1226
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, "")
|
1227
|
+
};
|
1228
|
+
|
1229
|
+
if (includeInstance) {
|
1230
|
+
obj.$jspbMessageInstance = msg;
|
1231
|
+
}
|
1232
|
+
return obj;
|
1233
|
+
};
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
|
1237
|
+
/**
|
1238
|
+
* Deserializes binary data (in protobuf wire format).
|
1239
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1240
|
+
* @return {!proto.config.ConfigStatusResponse}
|
1241
|
+
*/
|
1242
|
+
proto.config.ConfigStatusResponse.deserializeBinary = function(bytes) {
|
1243
|
+
var reader = new jspb.BinaryReader(bytes);
|
1244
|
+
var msg = new proto.config.ConfigStatusResponse;
|
1245
|
+
return proto.config.ConfigStatusResponse.deserializeBinaryFromReader(msg, reader);
|
1246
|
+
};
|
1247
|
+
|
1248
|
+
|
1249
|
+
/**
|
1250
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1251
|
+
* given reader into the given message object.
|
1252
|
+
* @param {!proto.config.ConfigStatusResponse} msg The message object to deserialize into.
|
1253
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1254
|
+
* @return {!proto.config.ConfigStatusResponse}
|
1255
|
+
*/
|
1256
|
+
proto.config.ConfigStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
1257
|
+
while (reader.nextField()) {
|
1258
|
+
if (reader.isEndGroup()) {
|
1259
|
+
break;
|
1260
|
+
}
|
1261
|
+
var field = reader.getFieldNumber();
|
1262
|
+
switch (field) {
|
1263
|
+
case 1:
|
1264
|
+
var value = /** @type {string} */ (reader.readString());
|
1265
|
+
msg.setStatus(value);
|
1266
|
+
break;
|
1267
|
+
default:
|
1268
|
+
reader.skipField();
|
1269
|
+
break;
|
1270
|
+
}
|
1271
|
+
}
|
1272
|
+
return msg;
|
1273
|
+
};
|
1274
|
+
|
1275
|
+
|
1276
|
+
/**
|
1277
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1278
|
+
* @return {!Uint8Array}
|
1279
|
+
*/
|
1280
|
+
proto.config.ConfigStatusResponse.prototype.serializeBinary = function() {
|
1281
|
+
var writer = new jspb.BinaryWriter();
|
1282
|
+
proto.config.ConfigStatusResponse.serializeBinaryToWriter(this, writer);
|
1283
|
+
return writer.getResultBuffer();
|
1284
|
+
};
|
1285
|
+
|
1286
|
+
|
1287
|
+
/**
|
1288
|
+
* Serializes the given message to binary data (in protobuf wire
|
1289
|
+
* format), writing to the given BinaryWriter.
|
1290
|
+
* @param {!proto.config.ConfigStatusResponse} message
|
1291
|
+
* @param {!jspb.BinaryWriter} writer
|
1292
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1293
|
+
*/
|
1294
|
+
proto.config.ConfigStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
1295
|
+
var f = undefined;
|
1296
|
+
f = message.getStatus();
|
1297
|
+
if (f.length > 0) {
|
1298
|
+
writer.writeString(
|
1299
|
+
1,
|
1300
|
+
f
|
1301
|
+
);
|
1302
|
+
}
|
1303
|
+
};
|
1304
|
+
|
1305
|
+
|
1306
|
+
/**
|
1307
|
+
* optional string status = 1;
|
1308
|
+
* @return {string}
|
1309
|
+
*/
|
1310
|
+
proto.config.ConfigStatusResponse.prototype.getStatus = function() {
|
1311
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1312
|
+
};
|
1313
|
+
|
1314
|
+
|
1315
|
+
/**
|
1316
|
+
* @param {string} value
|
1317
|
+
* @return {!proto.config.ConfigStatusResponse} returns this
|
1318
|
+
*/
|
1319
|
+
proto.config.ConfigStatusResponse.prototype.setStatus = function(value) {
|
1320
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
1321
|
+
};
|
1322
|
+
|
1323
|
+
|
1324
|
+
|
1325
|
+
|
1326
|
+
|
1327
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1328
|
+
/**
|
1329
|
+
* Creates an object representation of this proto.
|
1330
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1331
|
+
* Optional fields that are not set will be set to undefined.
|
1332
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1333
|
+
* For the list of reserved names please see:
|
1334
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1335
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1336
|
+
* JSPB instance for transitional soy proto support:
|
1337
|
+
* http://goto/soy-param-migration
|
1338
|
+
* @return {!Object}
|
1339
|
+
*/
|
1340
|
+
proto.config.ConfigDataResponse.prototype.toObject = function(opt_includeInstance) {
|
1341
|
+
return proto.config.ConfigDataResponse.toObject(opt_includeInstance, this);
|
1342
|
+
};
|
1343
|
+
|
1344
|
+
|
1345
|
+
/**
|
1346
|
+
* Static version of the {@see toObject} method.
|
1347
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1348
|
+
* the JSPB instance for transitional soy proto support:
|
1349
|
+
* http://goto/soy-param-migration
|
1350
|
+
* @param {!proto.config.ConfigDataResponse} msg The msg instance to transform.
|
1351
|
+
* @return {!Object}
|
1352
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1353
|
+
*/
|
1354
|
+
proto.config.ConfigDataResponse.toObject = function(includeInstance, msg) {
|
1355
|
+
var f, obj = {
|
1356
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
1357
|
+
};
|
1358
|
+
|
1359
|
+
if (includeInstance) {
|
1360
|
+
obj.$jspbMessageInstance = msg;
|
1361
|
+
}
|
1362
|
+
return obj;
|
1363
|
+
};
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
|
1367
|
+
/**
|
1368
|
+
* Deserializes binary data (in protobuf wire format).
|
1369
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1370
|
+
* @return {!proto.config.ConfigDataResponse}
|
1371
|
+
*/
|
1372
|
+
proto.config.ConfigDataResponse.deserializeBinary = function(bytes) {
|
1373
|
+
var reader = new jspb.BinaryReader(bytes);
|
1374
|
+
var msg = new proto.config.ConfigDataResponse;
|
1375
|
+
return proto.config.ConfigDataResponse.deserializeBinaryFromReader(msg, reader);
|
1376
|
+
};
|
1377
|
+
|
1378
|
+
|
1379
|
+
/**
|
1380
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1381
|
+
* given reader into the given message object.
|
1382
|
+
* @param {!proto.config.ConfigDataResponse} msg The message object to deserialize into.
|
1383
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1384
|
+
* @return {!proto.config.ConfigDataResponse}
|
1385
|
+
*/
|
1386
|
+
proto.config.ConfigDataResponse.deserializeBinaryFromReader = function(msg, reader) {
|
1387
|
+
while (reader.nextField()) {
|
1388
|
+
if (reader.isEndGroup()) {
|
1389
|
+
break;
|
1390
|
+
}
|
1391
|
+
var field = reader.getFieldNumber();
|
1392
|
+
switch (field) {
|
1393
|
+
case 1:
|
1394
|
+
var value = /** @type {string} */ (reader.readString());
|
1395
|
+
msg.setData(value);
|
1396
|
+
break;
|
1397
|
+
default:
|
1398
|
+
reader.skipField();
|
1399
|
+
break;
|
1400
|
+
}
|
1401
|
+
}
|
1402
|
+
return msg;
|
1403
|
+
};
|
1404
|
+
|
1405
|
+
|
1406
|
+
/**
|
1407
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1408
|
+
* @return {!Uint8Array}
|
1409
|
+
*/
|
1410
|
+
proto.config.ConfigDataResponse.prototype.serializeBinary = function() {
|
1411
|
+
var writer = new jspb.BinaryWriter();
|
1412
|
+
proto.config.ConfigDataResponse.serializeBinaryToWriter(this, writer);
|
1413
|
+
return writer.getResultBuffer();
|
1414
|
+
};
|
1415
|
+
|
1416
|
+
|
1417
|
+
/**
|
1418
|
+
* Serializes the given message to binary data (in protobuf wire
|
1419
|
+
* format), writing to the given BinaryWriter.
|
1420
|
+
* @param {!proto.config.ConfigDataResponse} message
|
1421
|
+
* @param {!jspb.BinaryWriter} writer
|
1422
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1423
|
+
*/
|
1424
|
+
proto.config.ConfigDataResponse.serializeBinaryToWriter = function(message, writer) {
|
1425
|
+
var f = undefined;
|
1426
|
+
f = message.getData();
|
1427
|
+
if (f.length > 0) {
|
1428
|
+
writer.writeString(
|
1429
|
+
1,
|
1430
|
+
f
|
1431
|
+
);
|
1432
|
+
}
|
1433
|
+
};
|
1434
|
+
|
1435
|
+
|
1436
|
+
/**
|
1437
|
+
* optional string data = 1;
|
1438
|
+
* @return {string}
|
1439
|
+
*/
|
1440
|
+
proto.config.ConfigDataResponse.prototype.getData = function() {
|
1441
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1442
|
+
};
|
1443
|
+
|
1444
|
+
|
1445
|
+
/**
|
1446
|
+
* @param {string} value
|
1447
|
+
* @return {!proto.config.ConfigDataResponse} returns this
|
1448
|
+
*/
|
1449
|
+
proto.config.ConfigDataResponse.prototype.setData = function(value) {
|
1450
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
1451
|
+
};
|
1452
|
+
|
1453
|
+
|
1454
|
+
|
1455
|
+
|
1456
|
+
|
1457
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1458
|
+
/**
|
1459
|
+
* Creates an object representation of this proto.
|
1460
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1461
|
+
* Optional fields that are not set will be set to undefined.
|
1462
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1463
|
+
* For the list of reserved names please see:
|
1464
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1465
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1466
|
+
* JSPB instance for transitional soy proto support:
|
1467
|
+
* http://goto/soy-param-migration
|
1468
|
+
* @return {!Object}
|
1469
|
+
*/
|
1470
|
+
proto.config.ErrorRequest.prototype.toObject = function(opt_includeInstance) {
|
1471
|
+
return proto.config.ErrorRequest.toObject(opt_includeInstance, this);
|
1472
|
+
};
|
1473
|
+
|
1474
|
+
|
1475
|
+
/**
|
1476
|
+
* Static version of the {@see toObject} method.
|
1477
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1478
|
+
* the JSPB instance for transitional soy proto support:
|
1479
|
+
* http://goto/soy-param-migration
|
1480
|
+
* @param {!proto.config.ErrorRequest} msg The msg instance to transform.
|
1481
|
+
* @return {!Object}
|
1482
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1483
|
+
*/
|
1484
|
+
proto.config.ErrorRequest.toObject = function(includeInstance, msg) {
|
1485
|
+
var f, obj = {
|
1486
|
+
errorKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1487
|
+
errorCode: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
1488
|
+
httpCode: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
1489
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, "")
|
1490
|
+
};
|
1491
|
+
|
1492
|
+
if (includeInstance) {
|
1493
|
+
obj.$jspbMessageInstance = msg;
|
1494
|
+
}
|
1495
|
+
return obj;
|
1496
|
+
};
|
1497
|
+
}
|
1498
|
+
|
1499
|
+
|
1500
|
+
/**
|
1501
|
+
* Deserializes binary data (in protobuf wire format).
|
1502
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1503
|
+
* @return {!proto.config.ErrorRequest}
|
1504
|
+
*/
|
1505
|
+
proto.config.ErrorRequest.deserializeBinary = function(bytes) {
|
1506
|
+
var reader = new jspb.BinaryReader(bytes);
|
1507
|
+
var msg = new proto.config.ErrorRequest;
|
1508
|
+
return proto.config.ErrorRequest.deserializeBinaryFromReader(msg, reader);
|
1509
|
+
};
|
1510
|
+
|
1511
|
+
|
1512
|
+
/**
|
1513
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1514
|
+
* given reader into the given message object.
|
1515
|
+
* @param {!proto.config.ErrorRequest} msg The message object to deserialize into.
|
1516
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1517
|
+
* @return {!proto.config.ErrorRequest}
|
1518
|
+
*/
|
1519
|
+
proto.config.ErrorRequest.deserializeBinaryFromReader = function(msg, reader) {
|
1520
|
+
while (reader.nextField()) {
|
1521
|
+
if (reader.isEndGroup()) {
|
1522
|
+
break;
|
1523
|
+
}
|
1524
|
+
var field = reader.getFieldNumber();
|
1525
|
+
switch (field) {
|
1526
|
+
case 1:
|
1527
|
+
var value = /** @type {string} */ (reader.readString());
|
1528
|
+
msg.setErrorKey(value);
|
1529
|
+
break;
|
1530
|
+
case 2:
|
1531
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1532
|
+
msg.setErrorCode(value);
|
1533
|
+
break;
|
1534
|
+
case 3:
|
1535
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1536
|
+
msg.setHttpCode(value);
|
1537
|
+
break;
|
1538
|
+
case 4:
|
1539
|
+
var value = /** @type {string} */ (reader.readString());
|
1540
|
+
msg.setDescription(value);
|
1541
|
+
break;
|
1542
|
+
default:
|
1543
|
+
reader.skipField();
|
1544
|
+
break;
|
1545
|
+
}
|
1546
|
+
}
|
1547
|
+
return msg;
|
1548
|
+
};
|
1549
|
+
|
1550
|
+
|
1551
|
+
/**
|
1552
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1553
|
+
* @return {!Uint8Array}
|
1554
|
+
*/
|
1555
|
+
proto.config.ErrorRequest.prototype.serializeBinary = function() {
|
1556
|
+
var writer = new jspb.BinaryWriter();
|
1557
|
+
proto.config.ErrorRequest.serializeBinaryToWriter(this, writer);
|
1558
|
+
return writer.getResultBuffer();
|
1559
|
+
};
|
1560
|
+
|
1561
|
+
|
1562
|
+
/**
|
1563
|
+
* Serializes the given message to binary data (in protobuf wire
|
1564
|
+
* format), writing to the given BinaryWriter.
|
1565
|
+
* @param {!proto.config.ErrorRequest} message
|
1566
|
+
* @param {!jspb.BinaryWriter} writer
|
1567
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1568
|
+
*/
|
1569
|
+
proto.config.ErrorRequest.serializeBinaryToWriter = function(message, writer) {
|
1570
|
+
var f = undefined;
|
1571
|
+
f = message.getErrorKey();
|
1572
|
+
if (f.length > 0) {
|
1573
|
+
writer.writeString(
|
1574
|
+
1,
|
1575
|
+
f
|
1576
|
+
);
|
1577
|
+
}
|
1578
|
+
f = message.getErrorCode();
|
1579
|
+
if (f !== 0) {
|
1580
|
+
writer.writeInt32(
|
1581
|
+
2,
|
1582
|
+
f
|
1583
|
+
);
|
1584
|
+
}
|
1585
|
+
f = message.getHttpCode();
|
1586
|
+
if (f !== 0) {
|
1587
|
+
writer.writeInt32(
|
1588
|
+
3,
|
1589
|
+
f
|
1590
|
+
);
|
1591
|
+
}
|
1592
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
1593
|
+
if (f != null) {
|
1594
|
+
writer.writeString(
|
1595
|
+
4,
|
1596
|
+
f
|
1597
|
+
);
|
1598
|
+
}
|
1599
|
+
};
|
1600
|
+
|
1601
|
+
|
1602
|
+
/**
|
1603
|
+
* optional string error_key = 1;
|
1604
|
+
* @return {string}
|
1605
|
+
*/
|
1606
|
+
proto.config.ErrorRequest.prototype.getErrorKey = function() {
|
1607
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1608
|
+
};
|
1609
|
+
|
1610
|
+
|
1611
|
+
/**
|
1612
|
+
* @param {string} value
|
1613
|
+
* @return {!proto.config.ErrorRequest} returns this
|
1614
|
+
*/
|
1615
|
+
proto.config.ErrorRequest.prototype.setErrorKey = function(value) {
|
1616
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
1617
|
+
};
|
1618
|
+
|
1619
|
+
|
1620
|
+
/**
|
1621
|
+
* optional int32 error_code = 2;
|
1622
|
+
* @return {number}
|
1623
|
+
*/
|
1624
|
+
proto.config.ErrorRequest.prototype.getErrorCode = function() {
|
1625
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
1626
|
+
};
|
1627
|
+
|
1628
|
+
|
1629
|
+
/**
|
1630
|
+
* @param {number} value
|
1631
|
+
* @return {!proto.config.ErrorRequest} returns this
|
1632
|
+
*/
|
1633
|
+
proto.config.ErrorRequest.prototype.setErrorCode = function(value) {
|
1634
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
1635
|
+
};
|
1636
|
+
|
1637
|
+
|
1638
|
+
/**
|
1639
|
+
* optional int32 http_code = 3;
|
1640
|
+
* @return {number}
|
1641
|
+
*/
|
1642
|
+
proto.config.ErrorRequest.prototype.getHttpCode = function() {
|
1643
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
1644
|
+
};
|
1645
|
+
|
1646
|
+
|
1647
|
+
/**
|
1648
|
+
* @param {number} value
|
1649
|
+
* @return {!proto.config.ErrorRequest} returns this
|
1650
|
+
*/
|
1651
|
+
proto.config.ErrorRequest.prototype.setHttpCode = function(value) {
|
1652
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
1653
|
+
};
|
1654
|
+
|
1655
|
+
|
1656
|
+
/**
|
1657
|
+
* optional string description = 4;
|
1658
|
+
* @return {string}
|
1659
|
+
*/
|
1660
|
+
proto.config.ErrorRequest.prototype.getDescription = function() {
|
1661
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
1662
|
+
};
|
1663
|
+
|
1664
|
+
|
1665
|
+
/**
|
1666
|
+
* @param {string} value
|
1667
|
+
* @return {!proto.config.ErrorRequest} returns this
|
1668
|
+
*/
|
1669
|
+
proto.config.ErrorRequest.prototype.setDescription = function(value) {
|
1670
|
+
return jspb.Message.setField(this, 4, value);
|
1671
|
+
};
|
1672
|
+
|
1673
|
+
|
1674
|
+
/**
|
1675
|
+
* Clears the field making it undefined.
|
1676
|
+
* @return {!proto.config.ErrorRequest} returns this
|
1677
|
+
*/
|
1678
|
+
proto.config.ErrorRequest.prototype.clearDescription = function() {
|
1679
|
+
return jspb.Message.setField(this, 4, undefined);
|
1680
|
+
};
|
1681
|
+
|
1682
|
+
|
1683
|
+
/**
|
1684
|
+
* Returns whether this field is set.
|
1685
|
+
* @return {boolean}
|
1686
|
+
*/
|
1687
|
+
proto.config.ErrorRequest.prototype.hasDescription = function() {
|
1688
|
+
return jspb.Message.getField(this, 4) != null;
|
1689
|
+
};
|
1690
|
+
|
1691
|
+
|
1692
|
+
|
1693
|
+
|
1694
|
+
|
1695
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1696
|
+
/**
|
1697
|
+
* Creates an object representation of this proto.
|
1698
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1699
|
+
* Optional fields that are not set will be set to undefined.
|
1700
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1701
|
+
* For the list of reserved names please see:
|
1702
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1703
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1704
|
+
* JSPB instance for transitional soy proto support:
|
1705
|
+
* http://goto/soy-param-migration
|
1706
|
+
* @return {!Object}
|
1707
|
+
*/
|
1708
|
+
proto.config.ErrorStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
1709
|
+
return proto.config.ErrorStatusResponse.toObject(opt_includeInstance, this);
|
1710
|
+
};
|
1711
|
+
|
1712
|
+
|
1713
|
+
/**
|
1714
|
+
* Static version of the {@see toObject} method.
|
1715
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1716
|
+
* the JSPB instance for transitional soy proto support:
|
1717
|
+
* http://goto/soy-param-migration
|
1718
|
+
* @param {!proto.config.ErrorStatusResponse} msg The msg instance to transform.
|
1719
|
+
* @return {!Object}
|
1720
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1721
|
+
*/
|
1722
|
+
proto.config.ErrorStatusResponse.toObject = function(includeInstance, msg) {
|
1723
|
+
var f, obj = {
|
1724
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, "")
|
1725
|
+
};
|
1726
|
+
|
1727
|
+
if (includeInstance) {
|
1728
|
+
obj.$jspbMessageInstance = msg;
|
1729
|
+
}
|
1730
|
+
return obj;
|
1731
|
+
};
|
1732
|
+
}
|
1733
|
+
|
1734
|
+
|
1735
|
+
/**
|
1736
|
+
* Deserializes binary data (in protobuf wire format).
|
1737
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1738
|
+
* @return {!proto.config.ErrorStatusResponse}
|
1739
|
+
*/
|
1740
|
+
proto.config.ErrorStatusResponse.deserializeBinary = function(bytes) {
|
1741
|
+
var reader = new jspb.BinaryReader(bytes);
|
1742
|
+
var msg = new proto.config.ErrorStatusResponse;
|
1743
|
+
return proto.config.ErrorStatusResponse.deserializeBinaryFromReader(msg, reader);
|
1744
|
+
};
|
1745
|
+
|
1746
|
+
|
1747
|
+
/**
|
1748
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1749
|
+
* given reader into the given message object.
|
1750
|
+
* @param {!proto.config.ErrorStatusResponse} msg The message object to deserialize into.
|
1751
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1752
|
+
* @return {!proto.config.ErrorStatusResponse}
|
1753
|
+
*/
|
1754
|
+
proto.config.ErrorStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
1755
|
+
while (reader.nextField()) {
|
1756
|
+
if (reader.isEndGroup()) {
|
1757
|
+
break;
|
1758
|
+
}
|
1759
|
+
var field = reader.getFieldNumber();
|
1760
|
+
switch (field) {
|
1761
|
+
case 1:
|
1762
|
+
var value = /** @type {string} */ (reader.readString());
|
1763
|
+
msg.setStatus(value);
|
1764
|
+
break;
|
1765
|
+
default:
|
1766
|
+
reader.skipField();
|
1767
|
+
break;
|
1768
|
+
}
|
1769
|
+
}
|
1770
|
+
return msg;
|
1771
|
+
};
|
1772
|
+
|
1773
|
+
|
1774
|
+
/**
|
1775
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1776
|
+
* @return {!Uint8Array}
|
1777
|
+
*/
|
1778
|
+
proto.config.ErrorStatusResponse.prototype.serializeBinary = function() {
|
1779
|
+
var writer = new jspb.BinaryWriter();
|
1780
|
+
proto.config.ErrorStatusResponse.serializeBinaryToWriter(this, writer);
|
1781
|
+
return writer.getResultBuffer();
|
1782
|
+
};
|
1783
|
+
|
1784
|
+
|
1785
|
+
/**
|
1786
|
+
* Serializes the given message to binary data (in protobuf wire
|
1787
|
+
* format), writing to the given BinaryWriter.
|
1788
|
+
* @param {!proto.config.ErrorStatusResponse} message
|
1789
|
+
* @param {!jspb.BinaryWriter} writer
|
1790
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1791
|
+
*/
|
1792
|
+
proto.config.ErrorStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
1793
|
+
var f = undefined;
|
1794
|
+
f = message.getStatus();
|
1795
|
+
if (f.length > 0) {
|
1796
|
+
writer.writeString(
|
1797
|
+
1,
|
1798
|
+
f
|
1799
|
+
);
|
1800
|
+
}
|
1801
|
+
};
|
1802
|
+
|
1803
|
+
|
1804
|
+
/**
|
1805
|
+
* optional string status = 1;
|
1806
|
+
* @return {string}
|
1807
|
+
*/
|
1808
|
+
proto.config.ErrorStatusResponse.prototype.getStatus = function() {
|
1809
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1810
|
+
};
|
1811
|
+
|
1812
|
+
|
1813
|
+
/**
|
1814
|
+
* @param {string} value
|
1815
|
+
* @return {!proto.config.ErrorStatusResponse} returns this
|
1816
|
+
*/
|
1817
|
+
proto.config.ErrorStatusResponse.prototype.setStatus = function(value) {
|
1818
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
1819
|
+
};
|
1820
|
+
|
1821
|
+
|
1822
|
+
|
1823
|
+
/**
|
1824
|
+
* List of repeated fields within this message type.
|
1825
|
+
* @private {!Array<number>}
|
1826
|
+
* @const
|
1827
|
+
*/
|
1828
|
+
proto.config.GlobalDataRequest.repeatedFields_ = [4,5];
|
1829
|
+
|
1830
|
+
|
1831
|
+
|
1832
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1833
|
+
/**
|
1834
|
+
* Creates an object representation of this proto.
|
1835
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1836
|
+
* Optional fields that are not set will be set to undefined.
|
1837
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1838
|
+
* For the list of reserved names please see:
|
1839
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1840
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1841
|
+
* JSPB instance for transitional soy proto support:
|
1842
|
+
* http://goto/soy-param-migration
|
1843
|
+
* @return {!Object}
|
1844
|
+
*/
|
1845
|
+
proto.config.GlobalDataRequest.prototype.toObject = function(opt_includeInstance) {
|
1846
|
+
return proto.config.GlobalDataRequest.toObject(opt_includeInstance, this);
|
1847
|
+
};
|
1848
|
+
|
1849
|
+
|
1850
|
+
/**
|
1851
|
+
* Static version of the {@see toObject} method.
|
1852
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1853
|
+
* the JSPB instance for transitional soy proto support:
|
1854
|
+
* http://goto/soy-param-migration
|
1855
|
+
* @param {!proto.config.GlobalDataRequest} msg The msg instance to transform.
|
1856
|
+
* @return {!Object}
|
1857
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1858
|
+
*/
|
1859
|
+
proto.config.GlobalDataRequest.toObject = function(includeInstance, msg) {
|
1860
|
+
var f, obj = {
|
1861
|
+
environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1862
|
+
customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1863
|
+
key: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1864
|
+
stringValuesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
1865
|
+
integerValuesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
1866
|
+
};
|
1867
|
+
|
1868
|
+
if (includeInstance) {
|
1869
|
+
obj.$jspbMessageInstance = msg;
|
1870
|
+
}
|
1871
|
+
return obj;
|
1872
|
+
};
|
1873
|
+
}
|
1874
|
+
|
1875
|
+
|
1876
|
+
/**
|
1877
|
+
* Deserializes binary data (in protobuf wire format).
|
1878
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1879
|
+
* @return {!proto.config.GlobalDataRequest}
|
1880
|
+
*/
|
1881
|
+
proto.config.GlobalDataRequest.deserializeBinary = function(bytes) {
|
1882
|
+
var reader = new jspb.BinaryReader(bytes);
|
1883
|
+
var msg = new proto.config.GlobalDataRequest;
|
1884
|
+
return proto.config.GlobalDataRequest.deserializeBinaryFromReader(msg, reader);
|
1885
|
+
};
|
1886
|
+
|
1887
|
+
|
1888
|
+
/**
|
1889
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1890
|
+
* given reader into the given message object.
|
1891
|
+
* @param {!proto.config.GlobalDataRequest} msg The message object to deserialize into.
|
1892
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1893
|
+
* @return {!proto.config.GlobalDataRequest}
|
1894
|
+
*/
|
1895
|
+
proto.config.GlobalDataRequest.deserializeBinaryFromReader = function(msg, reader) {
|
1896
|
+
while (reader.nextField()) {
|
1897
|
+
if (reader.isEndGroup()) {
|
1898
|
+
break;
|
1899
|
+
}
|
1900
|
+
var field = reader.getFieldNumber();
|
1901
|
+
switch (field) {
|
1902
|
+
case 1:
|
1903
|
+
var value = /** @type {string} */ (reader.readString());
|
1904
|
+
msg.setEnvironment(value);
|
1905
|
+
break;
|
1906
|
+
case 2:
|
1907
|
+
var value = /** @type {string} */ (reader.readString());
|
1908
|
+
msg.setCustomer(value);
|
1909
|
+
break;
|
1910
|
+
case 3:
|
1911
|
+
var value = /** @type {string} */ (reader.readString());
|
1912
|
+
msg.setKey(value);
|
1913
|
+
break;
|
1914
|
+
case 4:
|
1915
|
+
var value = /** @type {string} */ (reader.readString());
|
1916
|
+
msg.addStringValues(value);
|
1917
|
+
break;
|
1918
|
+
case 5:
|
1919
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
1920
|
+
for (var i = 0; i < values.length; i++) {
|
1921
|
+
msg.addIntegerValues(values[i]);
|
1922
|
+
}
|
1923
|
+
break;
|
1924
|
+
default:
|
1925
|
+
reader.skipField();
|
1926
|
+
break;
|
1927
|
+
}
|
1928
|
+
}
|
1929
|
+
return msg;
|
1930
|
+
};
|
1931
|
+
|
1932
|
+
|
1933
|
+
/**
|
1934
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1935
|
+
* @return {!Uint8Array}
|
1936
|
+
*/
|
1937
|
+
proto.config.GlobalDataRequest.prototype.serializeBinary = function() {
|
1938
|
+
var writer = new jspb.BinaryWriter();
|
1939
|
+
proto.config.GlobalDataRequest.serializeBinaryToWriter(this, writer);
|
1940
|
+
return writer.getResultBuffer();
|
1941
|
+
};
|
1942
|
+
|
1943
|
+
|
1944
|
+
/**
|
1945
|
+
* Serializes the given message to binary data (in protobuf wire
|
1946
|
+
* format), writing to the given BinaryWriter.
|
1947
|
+
* @param {!proto.config.GlobalDataRequest} message
|
1948
|
+
* @param {!jspb.BinaryWriter} writer
|
1949
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1950
|
+
*/
|
1951
|
+
proto.config.GlobalDataRequest.serializeBinaryToWriter = function(message, writer) {
|
1952
|
+
var f = undefined;
|
1953
|
+
f = message.getEnvironment();
|
1954
|
+
if (f.length > 0) {
|
1955
|
+
writer.writeString(
|
1956
|
+
1,
|
1957
|
+
f
|
1958
|
+
);
|
1959
|
+
}
|
1960
|
+
f = message.getCustomer();
|
1961
|
+
if (f.length > 0) {
|
1962
|
+
writer.writeString(
|
1963
|
+
2,
|
1964
|
+
f
|
1965
|
+
);
|
1966
|
+
}
|
1967
|
+
f = message.getKey();
|
1968
|
+
if (f.length > 0) {
|
1969
|
+
writer.writeString(
|
1970
|
+
3,
|
1971
|
+
f
|
1972
|
+
);
|
1973
|
+
}
|
1974
|
+
f = message.getStringValuesList();
|
1975
|
+
if (f.length > 0) {
|
1976
|
+
writer.writeRepeatedString(
|
1977
|
+
4,
|
1978
|
+
f
|
1979
|
+
);
|
1980
|
+
}
|
1981
|
+
f = message.getIntegerValuesList();
|
1982
|
+
if (f.length > 0) {
|
1983
|
+
writer.writePackedInt32(
|
1984
|
+
5,
|
1985
|
+
f
|
1986
|
+
);
|
1987
|
+
}
|
1988
|
+
};
|
1989
|
+
|
1990
|
+
|
1991
|
+
/**
|
1992
|
+
* optional string environment = 1;
|
1993
|
+
* @return {string}
|
1994
|
+
*/
|
1995
|
+
proto.config.GlobalDataRequest.prototype.getEnvironment = function() {
|
1996
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1997
|
+
};
|
1998
|
+
|
1999
|
+
|
2000
|
+
/**
|
2001
|
+
* @param {string} value
|
2002
|
+
* @return {!proto.config.GlobalDataRequest} returns this
|
2003
|
+
*/
|
2004
|
+
proto.config.GlobalDataRequest.prototype.setEnvironment = function(value) {
|
2005
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
2006
|
+
};
|
2007
|
+
|
2008
|
+
|
2009
|
+
/**
|
2010
|
+
* optional string customer = 2;
|
2011
|
+
* @return {string}
|
2012
|
+
*/
|
2013
|
+
proto.config.GlobalDataRequest.prototype.getCustomer = function() {
|
2014
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
2015
|
+
};
|
2016
|
+
|
2017
|
+
|
2018
|
+
/**
|
2019
|
+
* @param {string} value
|
2020
|
+
* @return {!proto.config.GlobalDataRequest} returns this
|
2021
|
+
*/
|
2022
|
+
proto.config.GlobalDataRequest.prototype.setCustomer = function(value) {
|
2023
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
2024
|
+
};
|
2025
|
+
|
2026
|
+
|
2027
|
+
/**
|
2028
|
+
* optional string key = 3;
|
2029
|
+
* @return {string}
|
2030
|
+
*/
|
2031
|
+
proto.config.GlobalDataRequest.prototype.getKey = function() {
|
2032
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
2033
|
+
};
|
2034
|
+
|
2035
|
+
|
2036
|
+
/**
|
2037
|
+
* @param {string} value
|
2038
|
+
* @return {!proto.config.GlobalDataRequest} returns this
|
2039
|
+
*/
|
2040
|
+
proto.config.GlobalDataRequest.prototype.setKey = function(value) {
|
2041
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
2042
|
+
};
|
2043
|
+
|
2044
|
+
|
2045
|
+
/**
|
2046
|
+
* repeated string string_values = 4;
|
2047
|
+
* @return {!Array<string>}
|
2048
|
+
*/
|
2049
|
+
proto.config.GlobalDataRequest.prototype.getStringValuesList = function() {
|
2050
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
2051
|
+
};
|
2052
|
+
|
2053
|
+
|
2054
|
+
/**
|
2055
|
+
* @param {!Array<string>} value
|
2056
|
+
* @return {!proto.config.GlobalDataRequest} returns this
|
2057
|
+
*/
|
2058
|
+
proto.config.GlobalDataRequest.prototype.setStringValuesList = function(value) {
|
2059
|
+
return jspb.Message.setField(this, 4, value || []);
|
2060
|
+
};
|
2061
|
+
|
2062
|
+
|
2063
|
+
/**
|
2064
|
+
* @param {string} value
|
2065
|
+
* @param {number=} opt_index
|
2066
|
+
* @return {!proto.config.GlobalDataRequest} returns this
|
2067
|
+
*/
|
2068
|
+
proto.config.GlobalDataRequest.prototype.addStringValues = function(value, opt_index) {
|
2069
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
2070
|
+
};
|
2071
|
+
|
2072
|
+
|
2073
|
+
/**
|
2074
|
+
* Clears the list making it empty but non-null.
|
2075
|
+
* @return {!proto.config.GlobalDataRequest} returns this
|
2076
|
+
*/
|
2077
|
+
proto.config.GlobalDataRequest.prototype.clearStringValuesList = function() {
|
2078
|
+
return this.setStringValuesList([]);
|
2079
|
+
};
|
2080
|
+
|
2081
|
+
|
2082
|
+
/**
|
2083
|
+
* repeated int32 integer_values = 5;
|
2084
|
+
* @return {!Array<number>}
|
2085
|
+
*/
|
2086
|
+
proto.config.GlobalDataRequest.prototype.getIntegerValuesList = function() {
|
2087
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
|
2088
|
+
};
|
2089
|
+
|
2090
|
+
|
2091
|
+
/**
|
2092
|
+
* @param {!Array<number>} value
|
2093
|
+
* @return {!proto.config.GlobalDataRequest} returns this
|
2094
|
+
*/
|
2095
|
+
proto.config.GlobalDataRequest.prototype.setIntegerValuesList = function(value) {
|
2096
|
+
return jspb.Message.setField(this, 5, value || []);
|
2097
|
+
};
|
2098
|
+
|
2099
|
+
|
2100
|
+
/**
|
2101
|
+
* @param {number} value
|
2102
|
+
* @param {number=} opt_index
|
2103
|
+
* @return {!proto.config.GlobalDataRequest} returns this
|
2104
|
+
*/
|
2105
|
+
proto.config.GlobalDataRequest.prototype.addIntegerValues = function(value, opt_index) {
|
2106
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
2107
|
+
};
|
2108
|
+
|
2109
|
+
|
2110
|
+
/**
|
2111
|
+
* Clears the list making it empty but non-null.
|
2112
|
+
* @return {!proto.config.GlobalDataRequest} returns this
|
2113
|
+
*/
|
2114
|
+
proto.config.GlobalDataRequest.prototype.clearIntegerValuesList = function() {
|
2115
|
+
return this.setIntegerValuesList([]);
|
2116
|
+
};
|
2117
|
+
|
2118
|
+
|
2119
|
+
goog.object.extend(exports, proto.config);
|