@sniipwebmaster/config-service-client-grpcweb 22.5.1337
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/dependancies/google/api/annotations_pb.js +42 -0
- package/dependancies/google/api/http_pb.js +911 -0
- package/dependancies/grpcweb/README.txt +11 -0
- package/dependancies/grpcweb/google-protobuf/google/protobuf/README +5 -0
- package/dependancies/grpcweb/google-protobuf/google/protobuf/empty_pb.js +131 -0
- package/dependancies/protoc-gen-openapiv2/options/annotations_pb.js +42 -0
- package/dependancies/protoc-gen-openapiv2/options/http_pb.js +911 -0
- package/dependancies/service_grpc_web_pb.js +958 -0
- package/dependancies/service_pb.js +4842 -0
- package/index.js +4 -0
- package/package.json +11 -0
|
@@ -0,0 +1,4842 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
7
|
+
|
|
8
|
+
var jspb = require('google-protobuf');
|
|
9
|
+
var goog = jspb;
|
|
10
|
+
var global = Function('return this')();
|
|
11
|
+
|
|
12
|
+
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
13
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
14
|
+
goog.exportSymbol('proto.sniipappappconfigapi.AddOnboardingScreenRequest', null, global);
|
|
15
|
+
goog.exportSymbol('proto.sniipappappconfigapi.AppConfig', null, global);
|
|
16
|
+
goog.exportSymbol('proto.sniipappappconfigapi.AppConfiggetConfigRequest', null, global);
|
|
17
|
+
goog.exportSymbol('proto.sniipappappconfigapi.ConfigExtra', null, global);
|
|
18
|
+
goog.exportSymbol('proto.sniipappappconfigapi.CreateConfigRequest', null, global);
|
|
19
|
+
goog.exportSymbol('proto.sniipappappconfigapi.CreateTermsAndConditionsRequest', null, global);
|
|
20
|
+
goog.exportSymbol('proto.sniipappappconfigapi.DashboardItem', null, global);
|
|
21
|
+
goog.exportSymbol('proto.sniipappappconfigapi.DashboardItemsRequest', null, global);
|
|
22
|
+
goog.exportSymbol('proto.sniipappappconfigapi.DashboardItemsResponse', null, global);
|
|
23
|
+
goog.exportSymbol('proto.sniipappappconfigapi.GetConfigRequest', null, global);
|
|
24
|
+
goog.exportSymbol('proto.sniipappappconfigapi.GetConfigResponse', null, global);
|
|
25
|
+
goog.exportSymbol('proto.sniipappappconfigapi.OnboardingScreen', null, global);
|
|
26
|
+
goog.exportSymbol('proto.sniipappappconfigapi.PatchConfigRequest', null, global);
|
|
27
|
+
goog.exportSymbol('proto.sniipappappconfigapi.PutConfigExtraRequest', null, global);
|
|
28
|
+
goog.exportSymbol('proto.sniipappappconfigapi.ResponseCode', null, global);
|
|
29
|
+
goog.exportSymbol('proto.sniipappappconfigapi.ScanCodes', null, global);
|
|
30
|
+
goog.exportSymbol('proto.sniipappappconfigapi.TermsAndConditionsRequest', null, global);
|
|
31
|
+
goog.exportSymbol('proto.sniipappappconfigapi.TermsAndConditionsResponse', null, global);
|
|
32
|
+
goog.exportSymbol('proto.sniipappappconfigapi.UpdateDashboardItemsRequest', null, global);
|
|
33
|
+
|
|
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.sniipappappconfigapi.AddOnboardingScreenRequest = function(opt_data) {
|
|
45
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
46
|
+
};
|
|
47
|
+
goog.inherits(proto.sniipappappconfigapi.AddOnboardingScreenRequest, jspb.Message);
|
|
48
|
+
if (goog.DEBUG && !COMPILED) {
|
|
49
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.displayName = 'proto.sniipappappconfigapi.AddOnboardingScreenRequest';
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54
|
+
/**
|
|
55
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
56
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
57
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
58
|
+
* For the list of reserved names please see:
|
|
59
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
60
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
61
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
62
|
+
* @return {!Object}
|
|
63
|
+
*/
|
|
64
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.prototype.toObject = function(opt_includeInstance) {
|
|
65
|
+
return proto.sniipappappconfigapi.AddOnboardingScreenRequest.toObject(opt_includeInstance, this);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Static version of the {@see toObject} method.
|
|
71
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
72
|
+
* instance for transitional soy proto support:
|
|
73
|
+
* http://goto/soy-param-migration
|
|
74
|
+
* @param {!proto.sniipappappconfigapi.AddOnboardingScreenRequest} msg The msg instance to transform.
|
|
75
|
+
* @return {!Object}
|
|
76
|
+
*/
|
|
77
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.toObject = function(includeInstance, msg) {
|
|
78
|
+
var f, obj = {
|
|
79
|
+
data: (f = msg.getData()) && proto.sniipappappconfigapi.OnboardingScreen.toObject(includeInstance, f)
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
if (includeInstance) {
|
|
83
|
+
obj.$jspbMessageInstance = msg;
|
|
84
|
+
}
|
|
85
|
+
return obj;
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Deserializes binary data (in protobuf wire format).
|
|
92
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
93
|
+
* @return {!proto.sniipappappconfigapi.AddOnboardingScreenRequest}
|
|
94
|
+
*/
|
|
95
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.deserializeBinary = function(bytes) {
|
|
96
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
97
|
+
var msg = new proto.sniipappappconfigapi.AddOnboardingScreenRequest;
|
|
98
|
+
return proto.sniipappappconfigapi.AddOnboardingScreenRequest.deserializeBinaryFromReader(msg, reader);
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
104
|
+
* given reader into the given message object.
|
|
105
|
+
* @param {!proto.sniipappappconfigapi.AddOnboardingScreenRequest} msg The message object to deserialize into.
|
|
106
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
107
|
+
* @return {!proto.sniipappappconfigapi.AddOnboardingScreenRequest}
|
|
108
|
+
*/
|
|
109
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
110
|
+
while (reader.nextField()) {
|
|
111
|
+
if (reader.isEndGroup()) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
var field = reader.getFieldNumber();
|
|
115
|
+
switch (field) {
|
|
116
|
+
case 1:
|
|
117
|
+
var value = new proto.sniipappappconfigapi.OnboardingScreen;
|
|
118
|
+
reader.readMessage(value,proto.sniipappappconfigapi.OnboardingScreen.deserializeBinaryFromReader);
|
|
119
|
+
msg.setData(value);
|
|
120
|
+
break;
|
|
121
|
+
default:
|
|
122
|
+
reader.skipField();
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return msg;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Class method variant: serializes the given message to binary data
|
|
132
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
133
|
+
* @param {!proto.sniipappappconfigapi.AddOnboardingScreenRequest} message
|
|
134
|
+
* @param {!jspb.BinaryWriter} writer
|
|
135
|
+
*/
|
|
136
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.serializeBinaryToWriter = function(message, writer) {
|
|
137
|
+
message.serializeBinaryToWriter(writer);
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
143
|
+
* @return {!Uint8Array}
|
|
144
|
+
*/
|
|
145
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.prototype.serializeBinary = function() {
|
|
146
|
+
var writer = new jspb.BinaryWriter();
|
|
147
|
+
this.serializeBinaryToWriter(writer);
|
|
148
|
+
return writer.getResultBuffer();
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
154
|
+
* writing to the given BinaryWriter.
|
|
155
|
+
* @param {!jspb.BinaryWriter} writer
|
|
156
|
+
*/
|
|
157
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
158
|
+
var f = undefined;
|
|
159
|
+
f = this.getData();
|
|
160
|
+
if (f != null) {
|
|
161
|
+
writer.writeMessage(
|
|
162
|
+
1,
|
|
163
|
+
f,
|
|
164
|
+
proto.sniipappappconfigapi.OnboardingScreen.serializeBinaryToWriter
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
172
|
+
* @return {!proto.sniipappappconfigapi.AddOnboardingScreenRequest} The clone.
|
|
173
|
+
*/
|
|
174
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.prototype.cloneMessage = function() {
|
|
175
|
+
return /** @type {!proto.sniipappappconfigapi.AddOnboardingScreenRequest} */ (jspb.Message.cloneMessage(this));
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* optional OnboardingScreen data = 1;
|
|
181
|
+
* @return {proto.sniipappappconfigapi.OnboardingScreen}
|
|
182
|
+
*/
|
|
183
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.prototype.getData = function() {
|
|
184
|
+
return /** @type{proto.sniipappappconfigapi.OnboardingScreen} */ (
|
|
185
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.OnboardingScreen, 1));
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
/** @param {proto.sniipappappconfigapi.OnboardingScreen|undefined} value */
|
|
190
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.prototype.setData = function(value) {
|
|
191
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.prototype.clearData = function() {
|
|
196
|
+
this.setData(undefined);
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Returns whether this field is set.
|
|
202
|
+
* @return{!boolean}
|
|
203
|
+
*/
|
|
204
|
+
proto.sniipappappconfigapi.AddOnboardingScreenRequest.prototype.hasData = function() {
|
|
205
|
+
return jspb.Message.getField(this, 1) != null;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Generated by JsPbCodeGenerator.
|
|
212
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
213
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
214
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
215
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
216
|
+
* valid.
|
|
217
|
+
* @extends {jspb.Message}
|
|
218
|
+
* @constructor
|
|
219
|
+
*/
|
|
220
|
+
proto.sniipappappconfigapi.AppConfig = function(opt_data) {
|
|
221
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipappappconfigapi.AppConfig.repeatedFields_, null);
|
|
222
|
+
};
|
|
223
|
+
goog.inherits(proto.sniipappappconfigapi.AppConfig, jspb.Message);
|
|
224
|
+
if (goog.DEBUG && !COMPILED) {
|
|
225
|
+
proto.sniipappappconfigapi.AppConfig.displayName = 'proto.sniipappappconfigapi.AppConfig';
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* List of repeated fields within this message type.
|
|
229
|
+
* @private {!Array<number>}
|
|
230
|
+
* @const
|
|
231
|
+
*/
|
|
232
|
+
proto.sniipappappconfigapi.AppConfig.repeatedFields_ = [8];
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
237
|
+
/**
|
|
238
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
239
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
240
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
241
|
+
* For the list of reserved names please see:
|
|
242
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
243
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
244
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
245
|
+
* @return {!Object}
|
|
246
|
+
*/
|
|
247
|
+
proto.sniipappappconfigapi.AppConfig.prototype.toObject = function(opt_includeInstance) {
|
|
248
|
+
return proto.sniipappappconfigapi.AppConfig.toObject(opt_includeInstance, this);
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Static version of the {@see toObject} method.
|
|
254
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
255
|
+
* instance for transitional soy proto support:
|
|
256
|
+
* http://goto/soy-param-migration
|
|
257
|
+
* @param {!proto.sniipappappconfigapi.AppConfig} msg The msg instance to transform.
|
|
258
|
+
* @return {!Object}
|
|
259
|
+
*/
|
|
260
|
+
proto.sniipappappconfigapi.AppConfig.toObject = function(includeInstance, msg) {
|
|
261
|
+
var f, obj = {
|
|
262
|
+
platform: msg.getPlatform(),
|
|
263
|
+
version: msg.getVersion(),
|
|
264
|
+
termsandconditions: msg.getTermsandconditions(),
|
|
265
|
+
termsandconditionsversion: msg.getTermsandconditionsversion(),
|
|
266
|
+
forceupdate: msg.getForceupdate(),
|
|
267
|
+
isactive: msg.getIsactive(),
|
|
268
|
+
extra: (f = msg.getExtra()) && proto.sniipappappconfigapi.ConfigExtra.toObject(includeInstance, f),
|
|
269
|
+
onboardingscreensList: jspb.Message.toObjectList(msg.getOnboardingscreensList(),
|
|
270
|
+
proto.sniipappappconfigapi.OnboardingScreen.toObject, includeInstance),
|
|
271
|
+
bpaydisclaimerforpaymentconfirmationscreen: msg.getBpaydisclaimerforpaymentconfirmationscreen(),
|
|
272
|
+
bpaydisclaimerforpayscreen: msg.getBpaydisclaimerforpayscreen(),
|
|
273
|
+
bpaydisclaimerforreceiptscreen: msg.getBpaydisclaimerforreceiptscreen()
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
if (includeInstance) {
|
|
277
|
+
obj.$jspbMessageInstance = msg;
|
|
278
|
+
}
|
|
279
|
+
return obj;
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Deserializes binary data (in protobuf wire format).
|
|
286
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
287
|
+
* @return {!proto.sniipappappconfigapi.AppConfig}
|
|
288
|
+
*/
|
|
289
|
+
proto.sniipappappconfigapi.AppConfig.deserializeBinary = function(bytes) {
|
|
290
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
291
|
+
var msg = new proto.sniipappappconfigapi.AppConfig;
|
|
292
|
+
return proto.sniipappappconfigapi.AppConfig.deserializeBinaryFromReader(msg, reader);
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
298
|
+
* given reader into the given message object.
|
|
299
|
+
* @param {!proto.sniipappappconfigapi.AppConfig} msg The message object to deserialize into.
|
|
300
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
301
|
+
* @return {!proto.sniipappappconfigapi.AppConfig}
|
|
302
|
+
*/
|
|
303
|
+
proto.sniipappappconfigapi.AppConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
304
|
+
while (reader.nextField()) {
|
|
305
|
+
if (reader.isEndGroup()) {
|
|
306
|
+
break;
|
|
307
|
+
}
|
|
308
|
+
var field = reader.getFieldNumber();
|
|
309
|
+
switch (field) {
|
|
310
|
+
case 1:
|
|
311
|
+
var value = /** @type {string} */ (reader.readString());
|
|
312
|
+
msg.setPlatform(value);
|
|
313
|
+
break;
|
|
314
|
+
case 2:
|
|
315
|
+
var value = /** @type {string} */ (reader.readString());
|
|
316
|
+
msg.setVersion(value);
|
|
317
|
+
break;
|
|
318
|
+
case 3:
|
|
319
|
+
var value = /** @type {string} */ (reader.readString());
|
|
320
|
+
msg.setTermsandconditions(value);
|
|
321
|
+
break;
|
|
322
|
+
case 4:
|
|
323
|
+
var value = /** @type {string} */ (reader.readString());
|
|
324
|
+
msg.setTermsandconditionsversion(value);
|
|
325
|
+
break;
|
|
326
|
+
case 5:
|
|
327
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
328
|
+
msg.setForceupdate(value);
|
|
329
|
+
break;
|
|
330
|
+
case 6:
|
|
331
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
332
|
+
msg.setIsactive(value);
|
|
333
|
+
break;
|
|
334
|
+
case 7:
|
|
335
|
+
var value = new proto.sniipappappconfigapi.ConfigExtra;
|
|
336
|
+
reader.readMessage(value,proto.sniipappappconfigapi.ConfigExtra.deserializeBinaryFromReader);
|
|
337
|
+
msg.setExtra(value);
|
|
338
|
+
break;
|
|
339
|
+
case 8:
|
|
340
|
+
var value = new proto.sniipappappconfigapi.OnboardingScreen;
|
|
341
|
+
reader.readMessage(value,proto.sniipappappconfigapi.OnboardingScreen.deserializeBinaryFromReader);
|
|
342
|
+
msg.getOnboardingscreensList().push(value);
|
|
343
|
+
msg.setOnboardingscreensList(msg.getOnboardingscreensList());
|
|
344
|
+
break;
|
|
345
|
+
case 9:
|
|
346
|
+
var value = /** @type {string} */ (reader.readString());
|
|
347
|
+
msg.setBpaydisclaimerforpaymentconfirmationscreen(value);
|
|
348
|
+
break;
|
|
349
|
+
case 10:
|
|
350
|
+
var value = /** @type {string} */ (reader.readString());
|
|
351
|
+
msg.setBpaydisclaimerforpayscreen(value);
|
|
352
|
+
break;
|
|
353
|
+
case 11:
|
|
354
|
+
var value = /** @type {string} */ (reader.readString());
|
|
355
|
+
msg.setBpaydisclaimerforreceiptscreen(value);
|
|
356
|
+
break;
|
|
357
|
+
default:
|
|
358
|
+
reader.skipField();
|
|
359
|
+
break;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
return msg;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Class method variant: serializes the given message to binary data
|
|
368
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
369
|
+
* @param {!proto.sniipappappconfigapi.AppConfig} message
|
|
370
|
+
* @param {!jspb.BinaryWriter} writer
|
|
371
|
+
*/
|
|
372
|
+
proto.sniipappappconfigapi.AppConfig.serializeBinaryToWriter = function(message, writer) {
|
|
373
|
+
message.serializeBinaryToWriter(writer);
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
379
|
+
* @return {!Uint8Array}
|
|
380
|
+
*/
|
|
381
|
+
proto.sniipappappconfigapi.AppConfig.prototype.serializeBinary = function() {
|
|
382
|
+
var writer = new jspb.BinaryWriter();
|
|
383
|
+
this.serializeBinaryToWriter(writer);
|
|
384
|
+
return writer.getResultBuffer();
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
390
|
+
* writing to the given BinaryWriter.
|
|
391
|
+
* @param {!jspb.BinaryWriter} writer
|
|
392
|
+
*/
|
|
393
|
+
proto.sniipappappconfigapi.AppConfig.prototype.serializeBinaryToWriter = function (writer) {
|
|
394
|
+
var f = undefined;
|
|
395
|
+
f = this.getPlatform();
|
|
396
|
+
if (f.length > 0) {
|
|
397
|
+
writer.writeString(
|
|
398
|
+
1,
|
|
399
|
+
f
|
|
400
|
+
);
|
|
401
|
+
}
|
|
402
|
+
f = this.getVersion();
|
|
403
|
+
if (f.length > 0) {
|
|
404
|
+
writer.writeString(
|
|
405
|
+
2,
|
|
406
|
+
f
|
|
407
|
+
);
|
|
408
|
+
}
|
|
409
|
+
f = this.getTermsandconditions();
|
|
410
|
+
if (f.length > 0) {
|
|
411
|
+
writer.writeString(
|
|
412
|
+
3,
|
|
413
|
+
f
|
|
414
|
+
);
|
|
415
|
+
}
|
|
416
|
+
f = this.getTermsandconditionsversion();
|
|
417
|
+
if (f.length > 0) {
|
|
418
|
+
writer.writeString(
|
|
419
|
+
4,
|
|
420
|
+
f
|
|
421
|
+
);
|
|
422
|
+
}
|
|
423
|
+
f = this.getForceupdate();
|
|
424
|
+
if (f) {
|
|
425
|
+
writer.writeBool(
|
|
426
|
+
5,
|
|
427
|
+
f
|
|
428
|
+
);
|
|
429
|
+
}
|
|
430
|
+
f = this.getIsactive();
|
|
431
|
+
if (f) {
|
|
432
|
+
writer.writeBool(
|
|
433
|
+
6,
|
|
434
|
+
f
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
f = this.getExtra();
|
|
438
|
+
if (f != null) {
|
|
439
|
+
writer.writeMessage(
|
|
440
|
+
7,
|
|
441
|
+
f,
|
|
442
|
+
proto.sniipappappconfigapi.ConfigExtra.serializeBinaryToWriter
|
|
443
|
+
);
|
|
444
|
+
}
|
|
445
|
+
f = this.getOnboardingscreensList();
|
|
446
|
+
if (f.length > 0) {
|
|
447
|
+
writer.writeRepeatedMessage(
|
|
448
|
+
8,
|
|
449
|
+
f,
|
|
450
|
+
proto.sniipappappconfigapi.OnboardingScreen.serializeBinaryToWriter
|
|
451
|
+
);
|
|
452
|
+
}
|
|
453
|
+
f = this.getBpaydisclaimerforpaymentconfirmationscreen();
|
|
454
|
+
if (f.length > 0) {
|
|
455
|
+
writer.writeString(
|
|
456
|
+
9,
|
|
457
|
+
f
|
|
458
|
+
);
|
|
459
|
+
}
|
|
460
|
+
f = this.getBpaydisclaimerforpayscreen();
|
|
461
|
+
if (f.length > 0) {
|
|
462
|
+
writer.writeString(
|
|
463
|
+
10,
|
|
464
|
+
f
|
|
465
|
+
);
|
|
466
|
+
}
|
|
467
|
+
f = this.getBpaydisclaimerforreceiptscreen();
|
|
468
|
+
if (f.length > 0) {
|
|
469
|
+
writer.writeString(
|
|
470
|
+
11,
|
|
471
|
+
f
|
|
472
|
+
);
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
479
|
+
* @return {!proto.sniipappappconfigapi.AppConfig} The clone.
|
|
480
|
+
*/
|
|
481
|
+
proto.sniipappappconfigapi.AppConfig.prototype.cloneMessage = function() {
|
|
482
|
+
return /** @type {!proto.sniipappappconfigapi.AppConfig} */ (jspb.Message.cloneMessage(this));
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* optional string platform = 1;
|
|
488
|
+
* @return {string}
|
|
489
|
+
*/
|
|
490
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getPlatform = function() {
|
|
491
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
492
|
+
};
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
/** @param {string} value */
|
|
496
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setPlatform = function(value) {
|
|
497
|
+
jspb.Message.setField(this, 1, value);
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* optional string version = 2;
|
|
503
|
+
* @return {string}
|
|
504
|
+
*/
|
|
505
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getVersion = function() {
|
|
506
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
/** @param {string} value */
|
|
511
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setVersion = function(value) {
|
|
512
|
+
jspb.Message.setField(this, 2, value);
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* optional string termsAndConditions = 3;
|
|
518
|
+
* @return {string}
|
|
519
|
+
*/
|
|
520
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getTermsandconditions = function() {
|
|
521
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
/** @param {string} value */
|
|
526
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setTermsandconditions = function(value) {
|
|
527
|
+
jspb.Message.setField(this, 3, value);
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* optional string termsAndConditionsVersion = 4;
|
|
533
|
+
* @return {string}
|
|
534
|
+
*/
|
|
535
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getTermsandconditionsversion = function() {
|
|
536
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
537
|
+
};
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
/** @param {string} value */
|
|
541
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setTermsandconditionsversion = function(value) {
|
|
542
|
+
jspb.Message.setField(this, 4, value);
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* optional bool forceUpdate = 5;
|
|
548
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
549
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
550
|
+
* @return {boolean}
|
|
551
|
+
*/
|
|
552
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getForceupdate = function() {
|
|
553
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 5, false));
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
/** @param {boolean} value */
|
|
558
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setForceupdate = function(value) {
|
|
559
|
+
jspb.Message.setField(this, 5, value);
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* optional bool isActive = 6;
|
|
565
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
566
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
567
|
+
* @return {boolean}
|
|
568
|
+
*/
|
|
569
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getIsactive = function() {
|
|
570
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 6, false));
|
|
571
|
+
};
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
/** @param {boolean} value */
|
|
575
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setIsactive = function(value) {
|
|
576
|
+
jspb.Message.setField(this, 6, value);
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* optional ConfigExtra extra = 7;
|
|
582
|
+
* @return {proto.sniipappappconfigapi.ConfigExtra}
|
|
583
|
+
*/
|
|
584
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getExtra = function() {
|
|
585
|
+
return /** @type{proto.sniipappappconfigapi.ConfigExtra} */ (
|
|
586
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ConfigExtra, 7));
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
/** @param {proto.sniipappappconfigapi.ConfigExtra|undefined} value */
|
|
591
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setExtra = function(value) {
|
|
592
|
+
jspb.Message.setWrapperField(this, 7, value);
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
proto.sniipappappconfigapi.AppConfig.prototype.clearExtra = function() {
|
|
597
|
+
this.setExtra(undefined);
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Returns whether this field is set.
|
|
603
|
+
* @return{!boolean}
|
|
604
|
+
*/
|
|
605
|
+
proto.sniipappappconfigapi.AppConfig.prototype.hasExtra = function() {
|
|
606
|
+
return jspb.Message.getField(this, 7) != null;
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* repeated OnboardingScreen onboardingScreens = 8;
|
|
612
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
613
|
+
* replace the array itself, then you must call the setter to update it.
|
|
614
|
+
* @return {!Array.<!proto.sniipappappconfigapi.OnboardingScreen>}
|
|
615
|
+
*/
|
|
616
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getOnboardingscreensList = function() {
|
|
617
|
+
return /** @type{!Array.<!proto.sniipappappconfigapi.OnboardingScreen>} */ (
|
|
618
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipappappconfigapi.OnboardingScreen, 8));
|
|
619
|
+
};
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
/** @param {Array.<!proto.sniipappappconfigapi.OnboardingScreen>} value */
|
|
623
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setOnboardingscreensList = function(value) {
|
|
624
|
+
jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
proto.sniipappappconfigapi.AppConfig.prototype.clearOnboardingscreensList = function() {
|
|
629
|
+
this.setOnboardingscreensList([]);
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* optional string bpayDisclaimerForPaymentConfirmationScreen = 9;
|
|
635
|
+
* @return {string}
|
|
636
|
+
*/
|
|
637
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getBpaydisclaimerforpaymentconfirmationscreen = function() {
|
|
638
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
/** @param {string} value */
|
|
643
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setBpaydisclaimerforpaymentconfirmationscreen = function(value) {
|
|
644
|
+
jspb.Message.setField(this, 9, value);
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* optional string bpayDisclaimerForPayScreen = 10;
|
|
650
|
+
* @return {string}
|
|
651
|
+
*/
|
|
652
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getBpaydisclaimerforpayscreen = function() {
|
|
653
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
|
|
654
|
+
};
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
/** @param {string} value */
|
|
658
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setBpaydisclaimerforpayscreen = function(value) {
|
|
659
|
+
jspb.Message.setField(this, 10, value);
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* optional string bpayDisclaimerForReceiptScreen = 11;
|
|
665
|
+
* @return {string}
|
|
666
|
+
*/
|
|
667
|
+
proto.sniipappappconfigapi.AppConfig.prototype.getBpaydisclaimerforreceiptscreen = function() {
|
|
668
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 11, ""));
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
/** @param {string} value */
|
|
673
|
+
proto.sniipappappconfigapi.AppConfig.prototype.setBpaydisclaimerforreceiptscreen = function(value) {
|
|
674
|
+
jspb.Message.setField(this, 11, value);
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Generated by JsPbCodeGenerator.
|
|
681
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
682
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
683
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
684
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
685
|
+
* valid.
|
|
686
|
+
* @extends {jspb.Message}
|
|
687
|
+
* @constructor
|
|
688
|
+
*/
|
|
689
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest = function(opt_data) {
|
|
690
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
691
|
+
};
|
|
692
|
+
goog.inherits(proto.sniipappappconfigapi.AppConfiggetConfigRequest, jspb.Message);
|
|
693
|
+
if (goog.DEBUG && !COMPILED) {
|
|
694
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.displayName = 'proto.sniipappappconfigapi.AppConfiggetConfigRequest';
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
699
|
+
/**
|
|
700
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
701
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
702
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
703
|
+
* For the list of reserved names please see:
|
|
704
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
705
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
706
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
707
|
+
* @return {!Object}
|
|
708
|
+
*/
|
|
709
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
710
|
+
return proto.sniipappappconfigapi.AppConfiggetConfigRequest.toObject(opt_includeInstance, this);
|
|
711
|
+
};
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Static version of the {@see toObject} method.
|
|
716
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
717
|
+
* instance for transitional soy proto support:
|
|
718
|
+
* http://goto/soy-param-migration
|
|
719
|
+
* @param {!proto.sniipappappconfigapi.AppConfiggetConfigRequest} msg The msg instance to transform.
|
|
720
|
+
* @return {!Object}
|
|
721
|
+
*/
|
|
722
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.toObject = function(includeInstance, msg) {
|
|
723
|
+
var f, obj = {
|
|
724
|
+
data: (f = msg.getData()) && proto.sniipappappconfigapi.GetConfigRequest.toObject(includeInstance, f)
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
if (includeInstance) {
|
|
728
|
+
obj.$jspbMessageInstance = msg;
|
|
729
|
+
}
|
|
730
|
+
return obj;
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Deserializes binary data (in protobuf wire format).
|
|
737
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
738
|
+
* @return {!proto.sniipappappconfigapi.AppConfiggetConfigRequest}
|
|
739
|
+
*/
|
|
740
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.deserializeBinary = function(bytes) {
|
|
741
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
742
|
+
var msg = new proto.sniipappappconfigapi.AppConfiggetConfigRequest;
|
|
743
|
+
return proto.sniipappappconfigapi.AppConfiggetConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
744
|
+
};
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
749
|
+
* given reader into the given message object.
|
|
750
|
+
* @param {!proto.sniipappappconfigapi.AppConfiggetConfigRequest} msg The message object to deserialize into.
|
|
751
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
752
|
+
* @return {!proto.sniipappappconfigapi.AppConfiggetConfigRequest}
|
|
753
|
+
*/
|
|
754
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
755
|
+
while (reader.nextField()) {
|
|
756
|
+
if (reader.isEndGroup()) {
|
|
757
|
+
break;
|
|
758
|
+
}
|
|
759
|
+
var field = reader.getFieldNumber();
|
|
760
|
+
switch (field) {
|
|
761
|
+
case 1:
|
|
762
|
+
var value = new proto.sniipappappconfigapi.GetConfigRequest;
|
|
763
|
+
reader.readMessage(value,proto.sniipappappconfigapi.GetConfigRequest.deserializeBinaryFromReader);
|
|
764
|
+
msg.setData(value);
|
|
765
|
+
break;
|
|
766
|
+
default:
|
|
767
|
+
reader.skipField();
|
|
768
|
+
break;
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
return msg;
|
|
772
|
+
};
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Class method variant: serializes the given message to binary data
|
|
777
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
778
|
+
* @param {!proto.sniipappappconfigapi.AppConfiggetConfigRequest} message
|
|
779
|
+
* @param {!jspb.BinaryWriter} writer
|
|
780
|
+
*/
|
|
781
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
782
|
+
message.serializeBinaryToWriter(writer);
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
788
|
+
* @return {!Uint8Array}
|
|
789
|
+
*/
|
|
790
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.prototype.serializeBinary = function() {
|
|
791
|
+
var writer = new jspb.BinaryWriter();
|
|
792
|
+
this.serializeBinaryToWriter(writer);
|
|
793
|
+
return writer.getResultBuffer();
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
799
|
+
* writing to the given BinaryWriter.
|
|
800
|
+
* @param {!jspb.BinaryWriter} writer
|
|
801
|
+
*/
|
|
802
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
803
|
+
var f = undefined;
|
|
804
|
+
f = this.getData();
|
|
805
|
+
if (f != null) {
|
|
806
|
+
writer.writeMessage(
|
|
807
|
+
1,
|
|
808
|
+
f,
|
|
809
|
+
proto.sniipappappconfigapi.GetConfigRequest.serializeBinaryToWriter
|
|
810
|
+
);
|
|
811
|
+
}
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
817
|
+
* @return {!proto.sniipappappconfigapi.AppConfiggetConfigRequest} The clone.
|
|
818
|
+
*/
|
|
819
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.prototype.cloneMessage = function() {
|
|
820
|
+
return /** @type {!proto.sniipappappconfigapi.AppConfiggetConfigRequest} */ (jspb.Message.cloneMessage(this));
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* optional GetConfigRequest data = 1;
|
|
826
|
+
* @return {proto.sniipappappconfigapi.GetConfigRequest}
|
|
827
|
+
*/
|
|
828
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.prototype.getData = function() {
|
|
829
|
+
return /** @type{proto.sniipappappconfigapi.GetConfigRequest} */ (
|
|
830
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.GetConfigRequest, 1));
|
|
831
|
+
};
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
/** @param {proto.sniipappappconfigapi.GetConfigRequest|undefined} value */
|
|
835
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.prototype.setData = function(value) {
|
|
836
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
837
|
+
};
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.prototype.clearData = function() {
|
|
841
|
+
this.setData(undefined);
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Returns whether this field is set.
|
|
847
|
+
* @return{!boolean}
|
|
848
|
+
*/
|
|
849
|
+
proto.sniipappappconfigapi.AppConfiggetConfigRequest.prototype.hasData = function() {
|
|
850
|
+
return jspb.Message.getField(this, 1) != null;
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* Generated by JsPbCodeGenerator.
|
|
857
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
858
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
859
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
860
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
861
|
+
* valid.
|
|
862
|
+
* @extends {jspb.Message}
|
|
863
|
+
* @constructor
|
|
864
|
+
*/
|
|
865
|
+
proto.sniipappappconfigapi.ConfigExtra = function(opt_data) {
|
|
866
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipappappconfigapi.ConfigExtra.repeatedFields_, null);
|
|
867
|
+
};
|
|
868
|
+
goog.inherits(proto.sniipappappconfigapi.ConfigExtra, jspb.Message);
|
|
869
|
+
if (goog.DEBUG && !COMPILED) {
|
|
870
|
+
proto.sniipappappconfigapi.ConfigExtra.displayName = 'proto.sniipappappconfigapi.ConfigExtra';
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* List of repeated fields within this message type.
|
|
874
|
+
* @private {!Array<number>}
|
|
875
|
+
* @const
|
|
876
|
+
*/
|
|
877
|
+
proto.sniipappappconfigapi.ConfigExtra.repeatedFields_ = [5,8];
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
882
|
+
/**
|
|
883
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
884
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
885
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
886
|
+
* For the list of reserved names please see:
|
|
887
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
888
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
889
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
890
|
+
* @return {!Object}
|
|
891
|
+
*/
|
|
892
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.toObject = function(opt_includeInstance) {
|
|
893
|
+
return proto.sniipappappconfigapi.ConfigExtra.toObject(opt_includeInstance, this);
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Static version of the {@see toObject} method.
|
|
899
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
900
|
+
* instance for transitional soy proto support:
|
|
901
|
+
* http://goto/soy-param-migration
|
|
902
|
+
* @param {!proto.sniipappappconfigapi.ConfigExtra} msg The msg instance to transform.
|
|
903
|
+
* @return {!Object}
|
|
904
|
+
*/
|
|
905
|
+
proto.sniipappappconfigapi.ConfigExtra.toObject = function(includeInstance, msg) {
|
|
906
|
+
var f, obj = {
|
|
907
|
+
bankpaymentmethodenabled: msg.getBankpaymentmethodenabled(),
|
|
908
|
+
bpayenabled: msg.getBpayenabled(),
|
|
909
|
+
schedulepaymentsenabled: msg.getSchedulepaymentsenabled(),
|
|
910
|
+
auspostenabled: msg.getAuspostenabled(),
|
|
911
|
+
scanhelpscreensList: jspb.Message.getField(msg, 5),
|
|
912
|
+
importemailenabled: msg.getImportemailenabled(),
|
|
913
|
+
scancodes: (f = msg.getScancodes()) && proto.sniipappappconfigapi.ScanCodes.toObject(includeInstance, f),
|
|
914
|
+
sniipbillerbpaybillercodesList: jspb.Message.getField(msg, 8),
|
|
915
|
+
bpayflatratefee: msg.getBpayflatratefee(),
|
|
916
|
+
rewardsenabled: msg.getRewardsenabled(),
|
|
917
|
+
referafriendenabled: msg.getReferafriendenabled(),
|
|
918
|
+
microsoftemailconnectionenabled: msg.getMicrosoftemailconnectionenabled(),
|
|
919
|
+
applepayenabled: msg.getApplepayenabled(),
|
|
920
|
+
recurringenabled: msg.getRecurringenabled(),
|
|
921
|
+
billerblockedtitle: msg.getBillerblockedtitle(),
|
|
922
|
+
billerblockedunderreviewtitle: msg.getBillerblockedunderreviewtitle(),
|
|
923
|
+
billerblockedmessage: msg.getBillerblockedmessage(),
|
|
924
|
+
billerblockedunderreviewmessage: msg.getBillerblockedunderreviewmessage(),
|
|
925
|
+
kycenabled: msg.getKycenabled(),
|
|
926
|
+
applepaypaymentplansenabled: msg.getApplepaypaymentplansenabled(),
|
|
927
|
+
googlepayenabled: msg.getGooglepayenabled(),
|
|
928
|
+
applepayamexscheduledenabled: msg.getApplepayamexscheduledenabled(),
|
|
929
|
+
applepayscheduledpaymentenabled: msg.getApplepayscheduledpaymentenabled(),
|
|
930
|
+
exportenabled: msg.getExportenabled(),
|
|
931
|
+
spotofferenabled: msg.getSpotofferenabled(),
|
|
932
|
+
bulkpaymentsenabled: msg.getBulkpaymentsenabled(),
|
|
933
|
+
googlepayscheduledpaymentenabled: msg.getGooglepayscheduledpaymentenabled()
|
|
934
|
+
};
|
|
935
|
+
|
|
936
|
+
if (includeInstance) {
|
|
937
|
+
obj.$jspbMessageInstance = msg;
|
|
938
|
+
}
|
|
939
|
+
return obj;
|
|
940
|
+
};
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Deserializes binary data (in protobuf wire format).
|
|
946
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
947
|
+
* @return {!proto.sniipappappconfigapi.ConfigExtra}
|
|
948
|
+
*/
|
|
949
|
+
proto.sniipappappconfigapi.ConfigExtra.deserializeBinary = function(bytes) {
|
|
950
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
951
|
+
var msg = new proto.sniipappappconfigapi.ConfigExtra;
|
|
952
|
+
return proto.sniipappappconfigapi.ConfigExtra.deserializeBinaryFromReader(msg, reader);
|
|
953
|
+
};
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
958
|
+
* given reader into the given message object.
|
|
959
|
+
* @param {!proto.sniipappappconfigapi.ConfigExtra} msg The message object to deserialize into.
|
|
960
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
961
|
+
* @return {!proto.sniipappappconfigapi.ConfigExtra}
|
|
962
|
+
*/
|
|
963
|
+
proto.sniipappappconfigapi.ConfigExtra.deserializeBinaryFromReader = function(msg, reader) {
|
|
964
|
+
while (reader.nextField()) {
|
|
965
|
+
if (reader.isEndGroup()) {
|
|
966
|
+
break;
|
|
967
|
+
}
|
|
968
|
+
var field = reader.getFieldNumber();
|
|
969
|
+
switch (field) {
|
|
970
|
+
case 1:
|
|
971
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
972
|
+
msg.setBankpaymentmethodenabled(value);
|
|
973
|
+
break;
|
|
974
|
+
case 2:
|
|
975
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
976
|
+
msg.setBpayenabled(value);
|
|
977
|
+
break;
|
|
978
|
+
case 3:
|
|
979
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
980
|
+
msg.setSchedulepaymentsenabled(value);
|
|
981
|
+
break;
|
|
982
|
+
case 4:
|
|
983
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
984
|
+
msg.setAuspostenabled(value);
|
|
985
|
+
break;
|
|
986
|
+
case 5:
|
|
987
|
+
var value = /** @type {string} */ (reader.readString());
|
|
988
|
+
msg.getScanhelpscreensList().push(value);
|
|
989
|
+
msg.setScanhelpscreensList(msg.getScanhelpscreensList());
|
|
990
|
+
break;
|
|
991
|
+
case 6:
|
|
992
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
993
|
+
msg.setImportemailenabled(value);
|
|
994
|
+
break;
|
|
995
|
+
case 7:
|
|
996
|
+
var value = new proto.sniipappappconfigapi.ScanCodes;
|
|
997
|
+
reader.readMessage(value,proto.sniipappappconfigapi.ScanCodes.deserializeBinaryFromReader);
|
|
998
|
+
msg.setScancodes(value);
|
|
999
|
+
break;
|
|
1000
|
+
case 8:
|
|
1001
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1002
|
+
msg.getSniipbillerbpaybillercodesList().push(value);
|
|
1003
|
+
msg.setSniipbillerbpaybillercodesList(msg.getSniipbillerbpaybillercodesList());
|
|
1004
|
+
break;
|
|
1005
|
+
case 9:
|
|
1006
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1007
|
+
msg.setBpayflatratefee(value);
|
|
1008
|
+
break;
|
|
1009
|
+
case 10:
|
|
1010
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1011
|
+
msg.setRewardsenabled(value);
|
|
1012
|
+
break;
|
|
1013
|
+
case 11:
|
|
1014
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1015
|
+
msg.setReferafriendenabled(value);
|
|
1016
|
+
break;
|
|
1017
|
+
case 12:
|
|
1018
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1019
|
+
msg.setMicrosoftemailconnectionenabled(value);
|
|
1020
|
+
break;
|
|
1021
|
+
case 13:
|
|
1022
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1023
|
+
msg.setApplepayenabled(value);
|
|
1024
|
+
break;
|
|
1025
|
+
case 14:
|
|
1026
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1027
|
+
msg.setRecurringenabled(value);
|
|
1028
|
+
break;
|
|
1029
|
+
case 15:
|
|
1030
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1031
|
+
msg.setBillerblockedtitle(value);
|
|
1032
|
+
break;
|
|
1033
|
+
case 16:
|
|
1034
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1035
|
+
msg.setBillerblockedunderreviewtitle(value);
|
|
1036
|
+
break;
|
|
1037
|
+
case 17:
|
|
1038
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1039
|
+
msg.setBillerblockedmessage(value);
|
|
1040
|
+
break;
|
|
1041
|
+
case 18:
|
|
1042
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1043
|
+
msg.setBillerblockedunderreviewmessage(value);
|
|
1044
|
+
break;
|
|
1045
|
+
case 19:
|
|
1046
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1047
|
+
msg.setKycenabled(value);
|
|
1048
|
+
break;
|
|
1049
|
+
case 20:
|
|
1050
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1051
|
+
msg.setApplepaypaymentplansenabled(value);
|
|
1052
|
+
break;
|
|
1053
|
+
case 21:
|
|
1054
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1055
|
+
msg.setGooglepayenabled(value);
|
|
1056
|
+
break;
|
|
1057
|
+
case 22:
|
|
1058
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1059
|
+
msg.setApplepayamexscheduledenabled(value);
|
|
1060
|
+
break;
|
|
1061
|
+
case 23:
|
|
1062
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1063
|
+
msg.setApplepayscheduledpaymentenabled(value);
|
|
1064
|
+
break;
|
|
1065
|
+
case 24:
|
|
1066
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1067
|
+
msg.setExportenabled(value);
|
|
1068
|
+
break;
|
|
1069
|
+
case 25:
|
|
1070
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1071
|
+
msg.setSpotofferenabled(value);
|
|
1072
|
+
break;
|
|
1073
|
+
case 26:
|
|
1074
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1075
|
+
msg.setBulkpaymentsenabled(value);
|
|
1076
|
+
break;
|
|
1077
|
+
case 27:
|
|
1078
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1079
|
+
msg.setGooglepayscheduledpaymentenabled(value);
|
|
1080
|
+
break;
|
|
1081
|
+
default:
|
|
1082
|
+
reader.skipField();
|
|
1083
|
+
break;
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
return msg;
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Class method variant: serializes the given message to binary data
|
|
1092
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
1093
|
+
* @param {!proto.sniipappappconfigapi.ConfigExtra} message
|
|
1094
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1095
|
+
*/
|
|
1096
|
+
proto.sniipappappconfigapi.ConfigExtra.serializeBinaryToWriter = function(message, writer) {
|
|
1097
|
+
message.serializeBinaryToWriter(writer);
|
|
1098
|
+
};
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1103
|
+
* @return {!Uint8Array}
|
|
1104
|
+
*/
|
|
1105
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.serializeBinary = function() {
|
|
1106
|
+
var writer = new jspb.BinaryWriter();
|
|
1107
|
+
this.serializeBinaryToWriter(writer);
|
|
1108
|
+
return writer.getResultBuffer();
|
|
1109
|
+
};
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
1114
|
+
* writing to the given BinaryWriter.
|
|
1115
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1116
|
+
*/
|
|
1117
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.serializeBinaryToWriter = function (writer) {
|
|
1118
|
+
var f = undefined;
|
|
1119
|
+
f = this.getBankpaymentmethodenabled();
|
|
1120
|
+
if (f) {
|
|
1121
|
+
writer.writeBool(
|
|
1122
|
+
1,
|
|
1123
|
+
f
|
|
1124
|
+
);
|
|
1125
|
+
}
|
|
1126
|
+
f = this.getBpayenabled();
|
|
1127
|
+
if (f) {
|
|
1128
|
+
writer.writeBool(
|
|
1129
|
+
2,
|
|
1130
|
+
f
|
|
1131
|
+
);
|
|
1132
|
+
}
|
|
1133
|
+
f = this.getSchedulepaymentsenabled();
|
|
1134
|
+
if (f) {
|
|
1135
|
+
writer.writeBool(
|
|
1136
|
+
3,
|
|
1137
|
+
f
|
|
1138
|
+
);
|
|
1139
|
+
}
|
|
1140
|
+
f = this.getAuspostenabled();
|
|
1141
|
+
if (f) {
|
|
1142
|
+
writer.writeBool(
|
|
1143
|
+
4,
|
|
1144
|
+
f
|
|
1145
|
+
);
|
|
1146
|
+
}
|
|
1147
|
+
f = this.getScanhelpscreensList();
|
|
1148
|
+
if (f.length > 0) {
|
|
1149
|
+
writer.writeRepeatedString(
|
|
1150
|
+
5,
|
|
1151
|
+
f
|
|
1152
|
+
);
|
|
1153
|
+
}
|
|
1154
|
+
f = this.getImportemailenabled();
|
|
1155
|
+
if (f) {
|
|
1156
|
+
writer.writeBool(
|
|
1157
|
+
6,
|
|
1158
|
+
f
|
|
1159
|
+
);
|
|
1160
|
+
}
|
|
1161
|
+
f = this.getScancodes();
|
|
1162
|
+
if (f != null) {
|
|
1163
|
+
writer.writeMessage(
|
|
1164
|
+
7,
|
|
1165
|
+
f,
|
|
1166
|
+
proto.sniipappappconfigapi.ScanCodes.serializeBinaryToWriter
|
|
1167
|
+
);
|
|
1168
|
+
}
|
|
1169
|
+
f = this.getSniipbillerbpaybillercodesList();
|
|
1170
|
+
if (f.length > 0) {
|
|
1171
|
+
writer.writeRepeatedString(
|
|
1172
|
+
8,
|
|
1173
|
+
f
|
|
1174
|
+
);
|
|
1175
|
+
}
|
|
1176
|
+
f = this.getBpayflatratefee();
|
|
1177
|
+
if (f !== 0.0) {
|
|
1178
|
+
writer.writeDouble(
|
|
1179
|
+
9,
|
|
1180
|
+
f
|
|
1181
|
+
);
|
|
1182
|
+
}
|
|
1183
|
+
f = this.getRewardsenabled();
|
|
1184
|
+
if (f) {
|
|
1185
|
+
writer.writeBool(
|
|
1186
|
+
10,
|
|
1187
|
+
f
|
|
1188
|
+
);
|
|
1189
|
+
}
|
|
1190
|
+
f = this.getReferafriendenabled();
|
|
1191
|
+
if (f) {
|
|
1192
|
+
writer.writeBool(
|
|
1193
|
+
11,
|
|
1194
|
+
f
|
|
1195
|
+
);
|
|
1196
|
+
}
|
|
1197
|
+
f = this.getMicrosoftemailconnectionenabled();
|
|
1198
|
+
if (f) {
|
|
1199
|
+
writer.writeBool(
|
|
1200
|
+
12,
|
|
1201
|
+
f
|
|
1202
|
+
);
|
|
1203
|
+
}
|
|
1204
|
+
f = this.getApplepayenabled();
|
|
1205
|
+
if (f) {
|
|
1206
|
+
writer.writeBool(
|
|
1207
|
+
13,
|
|
1208
|
+
f
|
|
1209
|
+
);
|
|
1210
|
+
}
|
|
1211
|
+
f = this.getRecurringenabled();
|
|
1212
|
+
if (f) {
|
|
1213
|
+
writer.writeBool(
|
|
1214
|
+
14,
|
|
1215
|
+
f
|
|
1216
|
+
);
|
|
1217
|
+
}
|
|
1218
|
+
f = this.getBillerblockedtitle();
|
|
1219
|
+
if (f.length > 0) {
|
|
1220
|
+
writer.writeString(
|
|
1221
|
+
15,
|
|
1222
|
+
f
|
|
1223
|
+
);
|
|
1224
|
+
}
|
|
1225
|
+
f = this.getBillerblockedunderreviewtitle();
|
|
1226
|
+
if (f.length > 0) {
|
|
1227
|
+
writer.writeString(
|
|
1228
|
+
16,
|
|
1229
|
+
f
|
|
1230
|
+
);
|
|
1231
|
+
}
|
|
1232
|
+
f = this.getBillerblockedmessage();
|
|
1233
|
+
if (f.length > 0) {
|
|
1234
|
+
writer.writeString(
|
|
1235
|
+
17,
|
|
1236
|
+
f
|
|
1237
|
+
);
|
|
1238
|
+
}
|
|
1239
|
+
f = this.getBillerblockedunderreviewmessage();
|
|
1240
|
+
if (f.length > 0) {
|
|
1241
|
+
writer.writeString(
|
|
1242
|
+
18,
|
|
1243
|
+
f
|
|
1244
|
+
);
|
|
1245
|
+
}
|
|
1246
|
+
f = this.getKycenabled();
|
|
1247
|
+
if (f) {
|
|
1248
|
+
writer.writeBool(
|
|
1249
|
+
19,
|
|
1250
|
+
f
|
|
1251
|
+
);
|
|
1252
|
+
}
|
|
1253
|
+
f = this.getApplepaypaymentplansenabled();
|
|
1254
|
+
if (f) {
|
|
1255
|
+
writer.writeBool(
|
|
1256
|
+
20,
|
|
1257
|
+
f
|
|
1258
|
+
);
|
|
1259
|
+
}
|
|
1260
|
+
f = this.getGooglepayenabled();
|
|
1261
|
+
if (f) {
|
|
1262
|
+
writer.writeBool(
|
|
1263
|
+
21,
|
|
1264
|
+
f
|
|
1265
|
+
);
|
|
1266
|
+
}
|
|
1267
|
+
f = this.getApplepayamexscheduledenabled();
|
|
1268
|
+
if (f) {
|
|
1269
|
+
writer.writeBool(
|
|
1270
|
+
22,
|
|
1271
|
+
f
|
|
1272
|
+
);
|
|
1273
|
+
}
|
|
1274
|
+
f = this.getApplepayscheduledpaymentenabled();
|
|
1275
|
+
if (f) {
|
|
1276
|
+
writer.writeBool(
|
|
1277
|
+
23,
|
|
1278
|
+
f
|
|
1279
|
+
);
|
|
1280
|
+
}
|
|
1281
|
+
f = this.getExportenabled();
|
|
1282
|
+
if (f) {
|
|
1283
|
+
writer.writeBool(
|
|
1284
|
+
24,
|
|
1285
|
+
f
|
|
1286
|
+
);
|
|
1287
|
+
}
|
|
1288
|
+
f = this.getSpotofferenabled();
|
|
1289
|
+
if (f) {
|
|
1290
|
+
writer.writeBool(
|
|
1291
|
+
25,
|
|
1292
|
+
f
|
|
1293
|
+
);
|
|
1294
|
+
}
|
|
1295
|
+
f = this.getBulkpaymentsenabled();
|
|
1296
|
+
if (f) {
|
|
1297
|
+
writer.writeBool(
|
|
1298
|
+
26,
|
|
1299
|
+
f
|
|
1300
|
+
);
|
|
1301
|
+
}
|
|
1302
|
+
f = this.getGooglepayscheduledpaymentenabled();
|
|
1303
|
+
if (f) {
|
|
1304
|
+
writer.writeBool(
|
|
1305
|
+
27,
|
|
1306
|
+
f
|
|
1307
|
+
);
|
|
1308
|
+
}
|
|
1309
|
+
};
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1314
|
+
* @return {!proto.sniipappappconfigapi.ConfigExtra} The clone.
|
|
1315
|
+
*/
|
|
1316
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.cloneMessage = function() {
|
|
1317
|
+
return /** @type {!proto.sniipappappconfigapi.ConfigExtra} */ (jspb.Message.cloneMessage(this));
|
|
1318
|
+
};
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* optional bool bankPaymentMethodEnabled = 1;
|
|
1323
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1324
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1325
|
+
* @return {boolean}
|
|
1326
|
+
*/
|
|
1327
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getBankpaymentmethodenabled = function() {
|
|
1328
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 1, false));
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
/** @param {boolean} value */
|
|
1333
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setBankpaymentmethodenabled = function(value) {
|
|
1334
|
+
jspb.Message.setField(this, 1, value);
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* optional bool bPayEnabled = 2;
|
|
1340
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1341
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1342
|
+
* @return {boolean}
|
|
1343
|
+
*/
|
|
1344
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getBpayenabled = function() {
|
|
1345
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
|
|
1346
|
+
};
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
/** @param {boolean} value */
|
|
1350
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setBpayenabled = function(value) {
|
|
1351
|
+
jspb.Message.setField(this, 2, value);
|
|
1352
|
+
};
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* optional bool schedulePaymentsEnabled = 3;
|
|
1357
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1358
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1359
|
+
* @return {boolean}
|
|
1360
|
+
*/
|
|
1361
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getSchedulepaymentsenabled = function() {
|
|
1362
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
|
|
1363
|
+
};
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
/** @param {boolean} value */
|
|
1367
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setSchedulepaymentsenabled = function(value) {
|
|
1368
|
+
jspb.Message.setField(this, 3, value);
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* optional bool auspostEnabled = 4;
|
|
1374
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1375
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1376
|
+
* @return {boolean}
|
|
1377
|
+
*/
|
|
1378
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getAuspostenabled = function() {
|
|
1379
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 4, false));
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
/** @param {boolean} value */
|
|
1384
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setAuspostenabled = function(value) {
|
|
1385
|
+
jspb.Message.setField(this, 4, value);
|
|
1386
|
+
};
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* repeated string scanHelpScreens = 5;
|
|
1391
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
1392
|
+
* replace the array itself, then you must call the setter to update it.
|
|
1393
|
+
* @return {!Array.<string>}
|
|
1394
|
+
*/
|
|
1395
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getScanhelpscreensList = function() {
|
|
1396
|
+
return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 5));
|
|
1397
|
+
};
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
/** @param {Array.<string>} value */
|
|
1401
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setScanhelpscreensList = function(value) {
|
|
1402
|
+
jspb.Message.setField(this, 5, value || []);
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.clearScanhelpscreensList = function() {
|
|
1407
|
+
jspb.Message.setField(this, 5, []);
|
|
1408
|
+
};
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* optional bool importEmailEnabled = 6;
|
|
1413
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1414
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1415
|
+
* @return {boolean}
|
|
1416
|
+
*/
|
|
1417
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getImportemailenabled = function() {
|
|
1418
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 6, false));
|
|
1419
|
+
};
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
/** @param {boolean} value */
|
|
1423
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setImportemailenabled = function(value) {
|
|
1424
|
+
jspb.Message.setField(this, 6, value);
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* optional ScanCodes scanCodes = 7;
|
|
1430
|
+
* @return {proto.sniipappappconfigapi.ScanCodes}
|
|
1431
|
+
*/
|
|
1432
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getScancodes = function() {
|
|
1433
|
+
return /** @type{proto.sniipappappconfigapi.ScanCodes} */ (
|
|
1434
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ScanCodes, 7));
|
|
1435
|
+
};
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
/** @param {proto.sniipappappconfigapi.ScanCodes|undefined} value */
|
|
1439
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setScancodes = function(value) {
|
|
1440
|
+
jspb.Message.setWrapperField(this, 7, value);
|
|
1441
|
+
};
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.clearScancodes = function() {
|
|
1445
|
+
this.setScancodes(undefined);
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* Returns whether this field is set.
|
|
1451
|
+
* @return{!boolean}
|
|
1452
|
+
*/
|
|
1453
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.hasScancodes = function() {
|
|
1454
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1455
|
+
};
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* repeated string sniipBillerBpayBillerCodes = 8;
|
|
1460
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
1461
|
+
* replace the array itself, then you must call the setter to update it.
|
|
1462
|
+
* @return {!Array.<string>}
|
|
1463
|
+
*/
|
|
1464
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getSniipbillerbpaybillercodesList = function() {
|
|
1465
|
+
return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 8));
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
|
|
1469
|
+
/** @param {Array.<string>} value */
|
|
1470
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setSniipbillerbpaybillercodesList = function(value) {
|
|
1471
|
+
jspb.Message.setField(this, 8, value || []);
|
|
1472
|
+
};
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.clearSniipbillerbpaybillercodesList = function() {
|
|
1476
|
+
jspb.Message.setField(this, 8, []);
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* optional double bpayFlatRateFee = 9;
|
|
1482
|
+
* @return {number}
|
|
1483
|
+
*/
|
|
1484
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getBpayflatratefee = function() {
|
|
1485
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 9, 0));
|
|
1486
|
+
};
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
/** @param {number} value */
|
|
1490
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setBpayflatratefee = function(value) {
|
|
1491
|
+
jspb.Message.setField(this, 9, value);
|
|
1492
|
+
};
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* optional bool rewardsEnabled = 10;
|
|
1497
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1498
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1499
|
+
* @return {boolean}
|
|
1500
|
+
*/
|
|
1501
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getRewardsenabled = function() {
|
|
1502
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 10, false));
|
|
1503
|
+
};
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
/** @param {boolean} value */
|
|
1507
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setRewardsenabled = function(value) {
|
|
1508
|
+
jspb.Message.setField(this, 10, value);
|
|
1509
|
+
};
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* optional bool referAFriendEnabled = 11;
|
|
1514
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1515
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1516
|
+
* @return {boolean}
|
|
1517
|
+
*/
|
|
1518
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getReferafriendenabled = function() {
|
|
1519
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 11, false));
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
|
|
1523
|
+
/** @param {boolean} value */
|
|
1524
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setReferafriendenabled = function(value) {
|
|
1525
|
+
jspb.Message.setField(this, 11, value);
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* optional bool microsoftEmailConnectionEnabled = 12;
|
|
1531
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1532
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1533
|
+
* @return {boolean}
|
|
1534
|
+
*/
|
|
1535
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getMicrosoftemailconnectionenabled = function() {
|
|
1536
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 12, false));
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
/** @param {boolean} value */
|
|
1541
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setMicrosoftemailconnectionenabled = function(value) {
|
|
1542
|
+
jspb.Message.setField(this, 12, value);
|
|
1543
|
+
};
|
|
1544
|
+
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* optional bool applePayEnabled = 13;
|
|
1548
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1549
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1550
|
+
* @return {boolean}
|
|
1551
|
+
*/
|
|
1552
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getApplepayenabled = function() {
|
|
1553
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 13, false));
|
|
1554
|
+
};
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
/** @param {boolean} value */
|
|
1558
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setApplepayenabled = function(value) {
|
|
1559
|
+
jspb.Message.setField(this, 13, value);
|
|
1560
|
+
};
|
|
1561
|
+
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* optional bool recurringEnabled = 14;
|
|
1565
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1566
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1567
|
+
* @return {boolean}
|
|
1568
|
+
*/
|
|
1569
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getRecurringenabled = function() {
|
|
1570
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 14, false));
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
/** @param {boolean} value */
|
|
1575
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setRecurringenabled = function(value) {
|
|
1576
|
+
jspb.Message.setField(this, 14, value);
|
|
1577
|
+
};
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* optional string billerBlockedTitle = 15;
|
|
1582
|
+
* @return {string}
|
|
1583
|
+
*/
|
|
1584
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getBillerblockedtitle = function() {
|
|
1585
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 15, ""));
|
|
1586
|
+
};
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
/** @param {string} value */
|
|
1590
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setBillerblockedtitle = function(value) {
|
|
1591
|
+
jspb.Message.setField(this, 15, value);
|
|
1592
|
+
};
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* optional string billerBlockedUnderReviewTitle = 16;
|
|
1597
|
+
* @return {string}
|
|
1598
|
+
*/
|
|
1599
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getBillerblockedunderreviewtitle = function() {
|
|
1600
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 16, ""));
|
|
1601
|
+
};
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
/** @param {string} value */
|
|
1605
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setBillerblockedunderreviewtitle = function(value) {
|
|
1606
|
+
jspb.Message.setField(this, 16, value);
|
|
1607
|
+
};
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* optional string billerBlockedMessage = 17;
|
|
1612
|
+
* @return {string}
|
|
1613
|
+
*/
|
|
1614
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getBillerblockedmessage = function() {
|
|
1615
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 17, ""));
|
|
1616
|
+
};
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
/** @param {string} value */
|
|
1620
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setBillerblockedmessage = function(value) {
|
|
1621
|
+
jspb.Message.setField(this, 17, value);
|
|
1622
|
+
};
|
|
1623
|
+
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* optional string billerBlockedUnderReviewMessage = 18;
|
|
1627
|
+
* @return {string}
|
|
1628
|
+
*/
|
|
1629
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getBillerblockedunderreviewmessage = function() {
|
|
1630
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 18, ""));
|
|
1631
|
+
};
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
/** @param {string} value */
|
|
1635
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setBillerblockedunderreviewmessage = function(value) {
|
|
1636
|
+
jspb.Message.setField(this, 18, value);
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* optional bool kycEnabled = 19;
|
|
1642
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1643
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1644
|
+
* @return {boolean}
|
|
1645
|
+
*/
|
|
1646
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getKycenabled = function() {
|
|
1647
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 19, false));
|
|
1648
|
+
};
|
|
1649
|
+
|
|
1650
|
+
|
|
1651
|
+
/** @param {boolean} value */
|
|
1652
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setKycenabled = function(value) {
|
|
1653
|
+
jspb.Message.setField(this, 19, value);
|
|
1654
|
+
};
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* optional bool applePayPaymentPlansEnabled = 20;
|
|
1659
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1660
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1661
|
+
* @return {boolean}
|
|
1662
|
+
*/
|
|
1663
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getApplepaypaymentplansenabled = function() {
|
|
1664
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 20, false));
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
/** @param {boolean} value */
|
|
1669
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setApplepaypaymentplansenabled = function(value) {
|
|
1670
|
+
jspb.Message.setField(this, 20, value);
|
|
1671
|
+
};
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* optional bool googlePayEnabled = 21;
|
|
1676
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1677
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1678
|
+
* @return {boolean}
|
|
1679
|
+
*/
|
|
1680
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getGooglepayenabled = function() {
|
|
1681
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 21, false));
|
|
1682
|
+
};
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
/** @param {boolean} value */
|
|
1686
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setGooglepayenabled = function(value) {
|
|
1687
|
+
jspb.Message.setField(this, 21, value);
|
|
1688
|
+
};
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* optional bool applePayAmexScheduledEnabled = 22;
|
|
1693
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1694
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1695
|
+
* @return {boolean}
|
|
1696
|
+
*/
|
|
1697
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getApplepayamexscheduledenabled = function() {
|
|
1698
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 22, false));
|
|
1699
|
+
};
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
/** @param {boolean} value */
|
|
1703
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setApplepayamexscheduledenabled = function(value) {
|
|
1704
|
+
jspb.Message.setField(this, 22, value);
|
|
1705
|
+
};
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
/**
|
|
1709
|
+
* optional bool applePayScheduledPaymentEnabled = 23;
|
|
1710
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1711
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1712
|
+
* @return {boolean}
|
|
1713
|
+
*/
|
|
1714
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getApplepayscheduledpaymentenabled = function() {
|
|
1715
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 23, false));
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
/** @param {boolean} value */
|
|
1720
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setApplepayscheduledpaymentenabled = function(value) {
|
|
1721
|
+
jspb.Message.setField(this, 23, value);
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* optional bool exportEnabled = 24;
|
|
1727
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1728
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1729
|
+
* @return {boolean}
|
|
1730
|
+
*/
|
|
1731
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getExportenabled = function() {
|
|
1732
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 24, false));
|
|
1733
|
+
};
|
|
1734
|
+
|
|
1735
|
+
|
|
1736
|
+
/** @param {boolean} value */
|
|
1737
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setExportenabled = function(value) {
|
|
1738
|
+
jspb.Message.setField(this, 24, value);
|
|
1739
|
+
};
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
/**
|
|
1743
|
+
* optional bool spotOfferEnabled = 25;
|
|
1744
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1745
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1746
|
+
* @return {boolean}
|
|
1747
|
+
*/
|
|
1748
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getSpotofferenabled = function() {
|
|
1749
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 25, false));
|
|
1750
|
+
};
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
/** @param {boolean} value */
|
|
1754
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setSpotofferenabled = function(value) {
|
|
1755
|
+
jspb.Message.setField(this, 25, value);
|
|
1756
|
+
};
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* optional bool bulkPaymentsEnabled = 26;
|
|
1761
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1762
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1763
|
+
* @return {boolean}
|
|
1764
|
+
*/
|
|
1765
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getBulkpaymentsenabled = function() {
|
|
1766
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 26, false));
|
|
1767
|
+
};
|
|
1768
|
+
|
|
1769
|
+
|
|
1770
|
+
/** @param {boolean} value */
|
|
1771
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setBulkpaymentsenabled = function(value) {
|
|
1772
|
+
jspb.Message.setField(this, 26, value);
|
|
1773
|
+
};
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* optional bool googlePayScheduledPaymentEnabled = 27;
|
|
1778
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1779
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1780
|
+
* @return {boolean}
|
|
1781
|
+
*/
|
|
1782
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getGooglepayscheduledpaymentenabled = function() {
|
|
1783
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 27, false));
|
|
1784
|
+
};
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
/** @param {boolean} value */
|
|
1788
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setGooglepayscheduledpaymentenabled = function(value) {
|
|
1789
|
+
jspb.Message.setField(this, 27, value);
|
|
1790
|
+
};
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
/**
|
|
1795
|
+
* Generated by JsPbCodeGenerator.
|
|
1796
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1797
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1798
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1799
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1800
|
+
* valid.
|
|
1801
|
+
* @extends {jspb.Message}
|
|
1802
|
+
* @constructor
|
|
1803
|
+
*/
|
|
1804
|
+
proto.sniipappappconfigapi.CreateConfigRequest = function(opt_data) {
|
|
1805
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1806
|
+
};
|
|
1807
|
+
goog.inherits(proto.sniipappappconfigapi.CreateConfigRequest, jspb.Message);
|
|
1808
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1809
|
+
proto.sniipappappconfigapi.CreateConfigRequest.displayName = 'proto.sniipappappconfigapi.CreateConfigRequest';
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
|
|
1813
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1814
|
+
/**
|
|
1815
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1816
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1817
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1818
|
+
* For the list of reserved names please see:
|
|
1819
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1820
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1821
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1822
|
+
* @return {!Object}
|
|
1823
|
+
*/
|
|
1824
|
+
proto.sniipappappconfigapi.CreateConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1825
|
+
return proto.sniipappappconfigapi.CreateConfigRequest.toObject(opt_includeInstance, this);
|
|
1826
|
+
};
|
|
1827
|
+
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* Static version of the {@see toObject} method.
|
|
1831
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1832
|
+
* instance for transitional soy proto support:
|
|
1833
|
+
* http://goto/soy-param-migration
|
|
1834
|
+
* @param {!proto.sniipappappconfigapi.CreateConfigRequest} msg The msg instance to transform.
|
|
1835
|
+
* @return {!Object}
|
|
1836
|
+
*/
|
|
1837
|
+
proto.sniipappappconfigapi.CreateConfigRequest.toObject = function(includeInstance, msg) {
|
|
1838
|
+
var f, obj = {
|
|
1839
|
+
data: (f = msg.getData()) && proto.sniipappappconfigapi.AppConfig.toObject(includeInstance, f)
|
|
1840
|
+
};
|
|
1841
|
+
|
|
1842
|
+
if (includeInstance) {
|
|
1843
|
+
obj.$jspbMessageInstance = msg;
|
|
1844
|
+
}
|
|
1845
|
+
return obj;
|
|
1846
|
+
};
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1852
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1853
|
+
* @return {!proto.sniipappappconfigapi.CreateConfigRequest}
|
|
1854
|
+
*/
|
|
1855
|
+
proto.sniipappappconfigapi.CreateConfigRequest.deserializeBinary = function(bytes) {
|
|
1856
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1857
|
+
var msg = new proto.sniipappappconfigapi.CreateConfigRequest;
|
|
1858
|
+
return proto.sniipappappconfigapi.CreateConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
1859
|
+
};
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1864
|
+
* given reader into the given message object.
|
|
1865
|
+
* @param {!proto.sniipappappconfigapi.CreateConfigRequest} msg The message object to deserialize into.
|
|
1866
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1867
|
+
* @return {!proto.sniipappappconfigapi.CreateConfigRequest}
|
|
1868
|
+
*/
|
|
1869
|
+
proto.sniipappappconfigapi.CreateConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1870
|
+
while (reader.nextField()) {
|
|
1871
|
+
if (reader.isEndGroup()) {
|
|
1872
|
+
break;
|
|
1873
|
+
}
|
|
1874
|
+
var field = reader.getFieldNumber();
|
|
1875
|
+
switch (field) {
|
|
1876
|
+
case 1:
|
|
1877
|
+
var value = new proto.sniipappappconfigapi.AppConfig;
|
|
1878
|
+
reader.readMessage(value,proto.sniipappappconfigapi.AppConfig.deserializeBinaryFromReader);
|
|
1879
|
+
msg.setData(value);
|
|
1880
|
+
break;
|
|
1881
|
+
default:
|
|
1882
|
+
reader.skipField();
|
|
1883
|
+
break;
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
return msg;
|
|
1887
|
+
};
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* Class method variant: serializes the given message to binary data
|
|
1892
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
1893
|
+
* @param {!proto.sniipappappconfigapi.CreateConfigRequest} message
|
|
1894
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1895
|
+
*/
|
|
1896
|
+
proto.sniipappappconfigapi.CreateConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1897
|
+
message.serializeBinaryToWriter(writer);
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1900
|
+
|
|
1901
|
+
/**
|
|
1902
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1903
|
+
* @return {!Uint8Array}
|
|
1904
|
+
*/
|
|
1905
|
+
proto.sniipappappconfigapi.CreateConfigRequest.prototype.serializeBinary = function() {
|
|
1906
|
+
var writer = new jspb.BinaryWriter();
|
|
1907
|
+
this.serializeBinaryToWriter(writer);
|
|
1908
|
+
return writer.getResultBuffer();
|
|
1909
|
+
};
|
|
1910
|
+
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
1914
|
+
* writing to the given BinaryWriter.
|
|
1915
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1916
|
+
*/
|
|
1917
|
+
proto.sniipappappconfigapi.CreateConfigRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
1918
|
+
var f = undefined;
|
|
1919
|
+
f = this.getData();
|
|
1920
|
+
if (f != null) {
|
|
1921
|
+
writer.writeMessage(
|
|
1922
|
+
1,
|
|
1923
|
+
f,
|
|
1924
|
+
proto.sniipappappconfigapi.AppConfig.serializeBinaryToWriter
|
|
1925
|
+
);
|
|
1926
|
+
}
|
|
1927
|
+
};
|
|
1928
|
+
|
|
1929
|
+
|
|
1930
|
+
/**
|
|
1931
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1932
|
+
* @return {!proto.sniipappappconfigapi.CreateConfigRequest} The clone.
|
|
1933
|
+
*/
|
|
1934
|
+
proto.sniipappappconfigapi.CreateConfigRequest.prototype.cloneMessage = function() {
|
|
1935
|
+
return /** @type {!proto.sniipappappconfigapi.CreateConfigRequest} */ (jspb.Message.cloneMessage(this));
|
|
1936
|
+
};
|
|
1937
|
+
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* optional AppConfig data = 1;
|
|
1941
|
+
* @return {proto.sniipappappconfigapi.AppConfig}
|
|
1942
|
+
*/
|
|
1943
|
+
proto.sniipappappconfigapi.CreateConfigRequest.prototype.getData = function() {
|
|
1944
|
+
return /** @type{proto.sniipappappconfigapi.AppConfig} */ (
|
|
1945
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.AppConfig, 1));
|
|
1946
|
+
};
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
/** @param {proto.sniipappappconfigapi.AppConfig|undefined} value */
|
|
1950
|
+
proto.sniipappappconfigapi.CreateConfigRequest.prototype.setData = function(value) {
|
|
1951
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
proto.sniipappappconfigapi.CreateConfigRequest.prototype.clearData = function() {
|
|
1956
|
+
this.setData(undefined);
|
|
1957
|
+
};
|
|
1958
|
+
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* Returns whether this field is set.
|
|
1962
|
+
* @return{!boolean}
|
|
1963
|
+
*/
|
|
1964
|
+
proto.sniipappappconfigapi.CreateConfigRequest.prototype.hasData = function() {
|
|
1965
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1966
|
+
};
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* Generated by JsPbCodeGenerator.
|
|
1972
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1973
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1974
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1975
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1976
|
+
* valid.
|
|
1977
|
+
* @extends {jspb.Message}
|
|
1978
|
+
* @constructor
|
|
1979
|
+
*/
|
|
1980
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest = function(opt_data) {
|
|
1981
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1982
|
+
};
|
|
1983
|
+
goog.inherits(proto.sniipappappconfigapi.CreateTermsAndConditionsRequest, jspb.Message);
|
|
1984
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1985
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.displayName = 'proto.sniipappappconfigapi.CreateTermsAndConditionsRequest';
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
|
|
1989
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1990
|
+
/**
|
|
1991
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1992
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1993
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1994
|
+
* For the list of reserved names please see:
|
|
1995
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1996
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1997
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1998
|
+
* @return {!Object}
|
|
1999
|
+
*/
|
|
2000
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2001
|
+
return proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.toObject(opt_includeInstance, this);
|
|
2002
|
+
};
|
|
2003
|
+
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* Static version of the {@see toObject} method.
|
|
2007
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2008
|
+
* instance for transitional soy proto support:
|
|
2009
|
+
* http://goto/soy-param-migration
|
|
2010
|
+
* @param {!proto.sniipappappconfigapi.CreateTermsAndConditionsRequest} msg The msg instance to transform.
|
|
2011
|
+
* @return {!Object}
|
|
2012
|
+
*/
|
|
2013
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.toObject = function(includeInstance, msg) {
|
|
2014
|
+
var f, obj = {
|
|
2015
|
+
data: (f = msg.getData()) && proto.sniipappappconfigapi.TermsAndConditionsRequest.toObject(includeInstance, f)
|
|
2016
|
+
};
|
|
2017
|
+
|
|
2018
|
+
if (includeInstance) {
|
|
2019
|
+
obj.$jspbMessageInstance = msg;
|
|
2020
|
+
}
|
|
2021
|
+
return obj;
|
|
2022
|
+
};
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2028
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2029
|
+
* @return {!proto.sniipappappconfigapi.CreateTermsAndConditionsRequest}
|
|
2030
|
+
*/
|
|
2031
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.deserializeBinary = function(bytes) {
|
|
2032
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2033
|
+
var msg = new proto.sniipappappconfigapi.CreateTermsAndConditionsRequest;
|
|
2034
|
+
return proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
2035
|
+
};
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
/**
|
|
2039
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2040
|
+
* given reader into the given message object.
|
|
2041
|
+
* @param {!proto.sniipappappconfigapi.CreateTermsAndConditionsRequest} msg The message object to deserialize into.
|
|
2042
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2043
|
+
* @return {!proto.sniipappappconfigapi.CreateTermsAndConditionsRequest}
|
|
2044
|
+
*/
|
|
2045
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2046
|
+
while (reader.nextField()) {
|
|
2047
|
+
if (reader.isEndGroup()) {
|
|
2048
|
+
break;
|
|
2049
|
+
}
|
|
2050
|
+
var field = reader.getFieldNumber();
|
|
2051
|
+
switch (field) {
|
|
2052
|
+
case 1:
|
|
2053
|
+
var value = new proto.sniipappappconfigapi.TermsAndConditionsRequest;
|
|
2054
|
+
reader.readMessage(value,proto.sniipappappconfigapi.TermsAndConditionsRequest.deserializeBinaryFromReader);
|
|
2055
|
+
msg.setData(value);
|
|
2056
|
+
break;
|
|
2057
|
+
default:
|
|
2058
|
+
reader.skipField();
|
|
2059
|
+
break;
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
return msg;
|
|
2063
|
+
};
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
/**
|
|
2067
|
+
* Class method variant: serializes the given message to binary data
|
|
2068
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2069
|
+
* @param {!proto.sniipappappconfigapi.CreateTermsAndConditionsRequest} message
|
|
2070
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2071
|
+
*/
|
|
2072
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2073
|
+
message.serializeBinaryToWriter(writer);
|
|
2074
|
+
};
|
|
2075
|
+
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2079
|
+
* @return {!Uint8Array}
|
|
2080
|
+
*/
|
|
2081
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.prototype.serializeBinary = function() {
|
|
2082
|
+
var writer = new jspb.BinaryWriter();
|
|
2083
|
+
this.serializeBinaryToWriter(writer);
|
|
2084
|
+
return writer.getResultBuffer();
|
|
2085
|
+
};
|
|
2086
|
+
|
|
2087
|
+
|
|
2088
|
+
/**
|
|
2089
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2090
|
+
* writing to the given BinaryWriter.
|
|
2091
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2092
|
+
*/
|
|
2093
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
2094
|
+
var f = undefined;
|
|
2095
|
+
f = this.getData();
|
|
2096
|
+
if (f != null) {
|
|
2097
|
+
writer.writeMessage(
|
|
2098
|
+
1,
|
|
2099
|
+
f,
|
|
2100
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.serializeBinaryToWriter
|
|
2101
|
+
);
|
|
2102
|
+
}
|
|
2103
|
+
};
|
|
2104
|
+
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2108
|
+
* @return {!proto.sniipappappconfigapi.CreateTermsAndConditionsRequest} The clone.
|
|
2109
|
+
*/
|
|
2110
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.prototype.cloneMessage = function() {
|
|
2111
|
+
return /** @type {!proto.sniipappappconfigapi.CreateTermsAndConditionsRequest} */ (jspb.Message.cloneMessage(this));
|
|
2112
|
+
};
|
|
2113
|
+
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* optional TermsAndConditionsRequest data = 1;
|
|
2117
|
+
* @return {proto.sniipappappconfigapi.TermsAndConditionsRequest}
|
|
2118
|
+
*/
|
|
2119
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.prototype.getData = function() {
|
|
2120
|
+
return /** @type{proto.sniipappappconfigapi.TermsAndConditionsRequest} */ (
|
|
2121
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.TermsAndConditionsRequest, 1));
|
|
2122
|
+
};
|
|
2123
|
+
|
|
2124
|
+
|
|
2125
|
+
/** @param {proto.sniipappappconfigapi.TermsAndConditionsRequest|undefined} value */
|
|
2126
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.prototype.setData = function(value) {
|
|
2127
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
2128
|
+
};
|
|
2129
|
+
|
|
2130
|
+
|
|
2131
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.prototype.clearData = function() {
|
|
2132
|
+
this.setData(undefined);
|
|
2133
|
+
};
|
|
2134
|
+
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
* Returns whether this field is set.
|
|
2138
|
+
* @return{!boolean}
|
|
2139
|
+
*/
|
|
2140
|
+
proto.sniipappappconfigapi.CreateTermsAndConditionsRequest.prototype.hasData = function() {
|
|
2141
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2142
|
+
};
|
|
2143
|
+
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Generated by JsPbCodeGenerator.
|
|
2148
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2149
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2150
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2151
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2152
|
+
* valid.
|
|
2153
|
+
* @extends {jspb.Message}
|
|
2154
|
+
* @constructor
|
|
2155
|
+
*/
|
|
2156
|
+
proto.sniipappappconfigapi.DashboardItemsRequest = function(opt_data) {
|
|
2157
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipappappconfigapi.DashboardItemsRequest.repeatedFields_, null);
|
|
2158
|
+
};
|
|
2159
|
+
goog.inherits(proto.sniipappappconfigapi.DashboardItemsRequest, jspb.Message);
|
|
2160
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2161
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.displayName = 'proto.sniipappappconfigapi.DashboardItemsRequest';
|
|
2162
|
+
}
|
|
2163
|
+
/**
|
|
2164
|
+
* List of repeated fields within this message type.
|
|
2165
|
+
* @private {!Array<number>}
|
|
2166
|
+
* @const
|
|
2167
|
+
*/
|
|
2168
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.repeatedFields_ = [1,2];
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
|
|
2172
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2173
|
+
/**
|
|
2174
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2175
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2176
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2177
|
+
* For the list of reserved names please see:
|
|
2178
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2179
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2180
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2181
|
+
* @return {!Object}
|
|
2182
|
+
*/
|
|
2183
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2184
|
+
return proto.sniipappappconfigapi.DashboardItemsRequest.toObject(opt_includeInstance, this);
|
|
2185
|
+
};
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* Static version of the {@see toObject} method.
|
|
2190
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2191
|
+
* instance for transitional soy proto support:
|
|
2192
|
+
* http://goto/soy-param-migration
|
|
2193
|
+
* @param {!proto.sniipappappconfigapi.DashboardItemsRequest} msg The msg instance to transform.
|
|
2194
|
+
* @return {!Object}
|
|
2195
|
+
*/
|
|
2196
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.toObject = function(includeInstance, msg) {
|
|
2197
|
+
var f, obj = {
|
|
2198
|
+
enableddashboarditemsList: jspb.Message.getField(msg, 1),
|
|
2199
|
+
disableddashboarditemsList: jspb.Message.getField(msg, 2)
|
|
2200
|
+
};
|
|
2201
|
+
|
|
2202
|
+
if (includeInstance) {
|
|
2203
|
+
obj.$jspbMessageInstance = msg;
|
|
2204
|
+
}
|
|
2205
|
+
return obj;
|
|
2206
|
+
};
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
|
|
2210
|
+
/**
|
|
2211
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2212
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2213
|
+
* @return {!proto.sniipappappconfigapi.DashboardItemsRequest}
|
|
2214
|
+
*/
|
|
2215
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.deserializeBinary = function(bytes) {
|
|
2216
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2217
|
+
var msg = new proto.sniipappappconfigapi.DashboardItemsRequest;
|
|
2218
|
+
return proto.sniipappappconfigapi.DashboardItemsRequest.deserializeBinaryFromReader(msg, reader);
|
|
2219
|
+
};
|
|
2220
|
+
|
|
2221
|
+
|
|
2222
|
+
/**
|
|
2223
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2224
|
+
* given reader into the given message object.
|
|
2225
|
+
* @param {!proto.sniipappappconfigapi.DashboardItemsRequest} msg The message object to deserialize into.
|
|
2226
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2227
|
+
* @return {!proto.sniipappappconfigapi.DashboardItemsRequest}
|
|
2228
|
+
*/
|
|
2229
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2230
|
+
while (reader.nextField()) {
|
|
2231
|
+
if (reader.isEndGroup()) {
|
|
2232
|
+
break;
|
|
2233
|
+
}
|
|
2234
|
+
var field = reader.getFieldNumber();
|
|
2235
|
+
switch (field) {
|
|
2236
|
+
case 1:
|
|
2237
|
+
var value = /** @type {!Array.<!proto.sniipappappconfigapi.DashboardItem>} */ (reader.readPackedEnum());
|
|
2238
|
+
msg.setEnableddashboarditemsList(value);
|
|
2239
|
+
break;
|
|
2240
|
+
case 2:
|
|
2241
|
+
var value = /** @type {!Array.<!proto.sniipappappconfigapi.DashboardItem>} */ (reader.readPackedEnum());
|
|
2242
|
+
msg.setDisableddashboarditemsList(value);
|
|
2243
|
+
break;
|
|
2244
|
+
default:
|
|
2245
|
+
reader.skipField();
|
|
2246
|
+
break;
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
return msg;
|
|
2250
|
+
};
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* Class method variant: serializes the given message to binary data
|
|
2255
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2256
|
+
* @param {!proto.sniipappappconfigapi.DashboardItemsRequest} message
|
|
2257
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2258
|
+
*/
|
|
2259
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2260
|
+
message.serializeBinaryToWriter(writer);
|
|
2261
|
+
};
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2266
|
+
* @return {!Uint8Array}
|
|
2267
|
+
*/
|
|
2268
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.prototype.serializeBinary = function() {
|
|
2269
|
+
var writer = new jspb.BinaryWriter();
|
|
2270
|
+
this.serializeBinaryToWriter(writer);
|
|
2271
|
+
return writer.getResultBuffer();
|
|
2272
|
+
};
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
/**
|
|
2276
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2277
|
+
* writing to the given BinaryWriter.
|
|
2278
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2279
|
+
*/
|
|
2280
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
2281
|
+
var f = undefined;
|
|
2282
|
+
f = this.getEnableddashboarditemsList();
|
|
2283
|
+
if (f.length > 0) {
|
|
2284
|
+
writer.writePackedEnum(
|
|
2285
|
+
1,
|
|
2286
|
+
f
|
|
2287
|
+
);
|
|
2288
|
+
}
|
|
2289
|
+
f = this.getDisableddashboarditemsList();
|
|
2290
|
+
if (f.length > 0) {
|
|
2291
|
+
writer.writePackedEnum(
|
|
2292
|
+
2,
|
|
2293
|
+
f
|
|
2294
|
+
);
|
|
2295
|
+
}
|
|
2296
|
+
};
|
|
2297
|
+
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2301
|
+
* @return {!proto.sniipappappconfigapi.DashboardItemsRequest} The clone.
|
|
2302
|
+
*/
|
|
2303
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.prototype.cloneMessage = function() {
|
|
2304
|
+
return /** @type {!proto.sniipappappconfigapi.DashboardItemsRequest} */ (jspb.Message.cloneMessage(this));
|
|
2305
|
+
};
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
/**
|
|
2309
|
+
* repeated DashboardItem enabledDashboardItems = 1;
|
|
2310
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
2311
|
+
* replace the array itself, then you must call the setter to update it.
|
|
2312
|
+
* @return {!Array.<!proto.sniipappappconfigapi.DashboardItem>}
|
|
2313
|
+
*/
|
|
2314
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.prototype.getEnableddashboarditemsList = function() {
|
|
2315
|
+
return /** @type {!Array.<!proto.sniipappappconfigapi.DashboardItem>} */ (jspb.Message.getField(this, 1));
|
|
2316
|
+
};
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
/** @param {!Array.<!proto.sniipappappconfigapi.DashboardItem>} value */
|
|
2320
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.prototype.setEnableddashboarditemsList = function(value) {
|
|
2321
|
+
jspb.Message.setField(this, 1, value || []);
|
|
2322
|
+
};
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.prototype.clearEnableddashboarditemsList = function() {
|
|
2326
|
+
jspb.Message.setField(this, 1, []);
|
|
2327
|
+
};
|
|
2328
|
+
|
|
2329
|
+
|
|
2330
|
+
/**
|
|
2331
|
+
* repeated DashboardItem disabledDashboardItems = 2;
|
|
2332
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
2333
|
+
* replace the array itself, then you must call the setter to update it.
|
|
2334
|
+
* @return {!Array.<!proto.sniipappappconfigapi.DashboardItem>}
|
|
2335
|
+
*/
|
|
2336
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.prototype.getDisableddashboarditemsList = function() {
|
|
2337
|
+
return /** @type {!Array.<!proto.sniipappappconfigapi.DashboardItem>} */ (jspb.Message.getField(this, 2));
|
|
2338
|
+
};
|
|
2339
|
+
|
|
2340
|
+
|
|
2341
|
+
/** @param {!Array.<!proto.sniipappappconfigapi.DashboardItem>} value */
|
|
2342
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.prototype.setDisableddashboarditemsList = function(value) {
|
|
2343
|
+
jspb.Message.setField(this, 2, value || []);
|
|
2344
|
+
};
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.prototype.clearDisableddashboarditemsList = function() {
|
|
2348
|
+
jspb.Message.setField(this, 2, []);
|
|
2349
|
+
};
|
|
2350
|
+
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
/**
|
|
2354
|
+
* Generated by JsPbCodeGenerator.
|
|
2355
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2356
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2357
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2358
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2359
|
+
* valid.
|
|
2360
|
+
* @extends {jspb.Message}
|
|
2361
|
+
* @constructor
|
|
2362
|
+
*/
|
|
2363
|
+
proto.sniipappappconfigapi.DashboardItemsResponse = function(opt_data) {
|
|
2364
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipappappconfigapi.DashboardItemsResponse.repeatedFields_, null);
|
|
2365
|
+
};
|
|
2366
|
+
goog.inherits(proto.sniipappappconfigapi.DashboardItemsResponse, jspb.Message);
|
|
2367
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2368
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.displayName = 'proto.sniipappappconfigapi.DashboardItemsResponse';
|
|
2369
|
+
}
|
|
2370
|
+
/**
|
|
2371
|
+
* List of repeated fields within this message type.
|
|
2372
|
+
* @private {!Array<number>}
|
|
2373
|
+
* @const
|
|
2374
|
+
*/
|
|
2375
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.repeatedFields_ = [4,5];
|
|
2376
|
+
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2380
|
+
/**
|
|
2381
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2382
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2383
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2384
|
+
* For the list of reserved names please see:
|
|
2385
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2386
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2387
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2388
|
+
* @return {!Object}
|
|
2389
|
+
*/
|
|
2390
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2391
|
+
return proto.sniipappappconfigapi.DashboardItemsResponse.toObject(opt_includeInstance, this);
|
|
2392
|
+
};
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
/**
|
|
2396
|
+
* Static version of the {@see toObject} method.
|
|
2397
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2398
|
+
* instance for transitional soy proto support:
|
|
2399
|
+
* http://goto/soy-param-migration
|
|
2400
|
+
* @param {!proto.sniipappappconfigapi.DashboardItemsResponse} msg The msg instance to transform.
|
|
2401
|
+
* @return {!Object}
|
|
2402
|
+
*/
|
|
2403
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.toObject = function(includeInstance, msg) {
|
|
2404
|
+
var f, obj = {
|
|
2405
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipappappconfigapi.ResponseCode.toObject(includeInstance, f),
|
|
2406
|
+
dashboardid: msg.getDashboardid(),
|
|
2407
|
+
enableddashboarditemsList: jspb.Message.getField(msg, 4),
|
|
2408
|
+
disableddashboarditemsList: jspb.Message.getField(msg, 5)
|
|
2409
|
+
};
|
|
2410
|
+
|
|
2411
|
+
if (includeInstance) {
|
|
2412
|
+
obj.$jspbMessageInstance = msg;
|
|
2413
|
+
}
|
|
2414
|
+
return obj;
|
|
2415
|
+
};
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
/**
|
|
2420
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2421
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2422
|
+
* @return {!proto.sniipappappconfigapi.DashboardItemsResponse}
|
|
2423
|
+
*/
|
|
2424
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.deserializeBinary = function(bytes) {
|
|
2425
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2426
|
+
var msg = new proto.sniipappappconfigapi.DashboardItemsResponse;
|
|
2427
|
+
return proto.sniipappappconfigapi.DashboardItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
/**
|
|
2432
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2433
|
+
* given reader into the given message object.
|
|
2434
|
+
* @param {!proto.sniipappappconfigapi.DashboardItemsResponse} msg The message object to deserialize into.
|
|
2435
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2436
|
+
* @return {!proto.sniipappappconfigapi.DashboardItemsResponse}
|
|
2437
|
+
*/
|
|
2438
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2439
|
+
while (reader.nextField()) {
|
|
2440
|
+
if (reader.isEndGroup()) {
|
|
2441
|
+
break;
|
|
2442
|
+
}
|
|
2443
|
+
var field = reader.getFieldNumber();
|
|
2444
|
+
switch (field) {
|
|
2445
|
+
case 1:
|
|
2446
|
+
var value = new proto.sniipappappconfigapi.ResponseCode;
|
|
2447
|
+
reader.readMessage(value,proto.sniipappappconfigapi.ResponseCode.deserializeBinaryFromReader);
|
|
2448
|
+
msg.setResponsecode(value);
|
|
2449
|
+
break;
|
|
2450
|
+
case 2:
|
|
2451
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2452
|
+
msg.setDashboardid(value);
|
|
2453
|
+
break;
|
|
2454
|
+
case 4:
|
|
2455
|
+
var value = /** @type {!Array.<!proto.sniipappappconfigapi.DashboardItem>} */ (reader.readPackedEnum());
|
|
2456
|
+
msg.setEnableddashboarditemsList(value);
|
|
2457
|
+
break;
|
|
2458
|
+
case 5:
|
|
2459
|
+
var value = /** @type {!Array.<!proto.sniipappappconfigapi.DashboardItem>} */ (reader.readPackedEnum());
|
|
2460
|
+
msg.setDisableddashboarditemsList(value);
|
|
2461
|
+
break;
|
|
2462
|
+
default:
|
|
2463
|
+
reader.skipField();
|
|
2464
|
+
break;
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
return msg;
|
|
2468
|
+
};
|
|
2469
|
+
|
|
2470
|
+
|
|
2471
|
+
/**
|
|
2472
|
+
* Class method variant: serializes the given message to binary data
|
|
2473
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2474
|
+
* @param {!proto.sniipappappconfigapi.DashboardItemsResponse} message
|
|
2475
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2476
|
+
*/
|
|
2477
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2478
|
+
message.serializeBinaryToWriter(writer);
|
|
2479
|
+
};
|
|
2480
|
+
|
|
2481
|
+
|
|
2482
|
+
/**
|
|
2483
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2484
|
+
* @return {!Uint8Array}
|
|
2485
|
+
*/
|
|
2486
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.serializeBinary = function() {
|
|
2487
|
+
var writer = new jspb.BinaryWriter();
|
|
2488
|
+
this.serializeBinaryToWriter(writer);
|
|
2489
|
+
return writer.getResultBuffer();
|
|
2490
|
+
};
|
|
2491
|
+
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2495
|
+
* writing to the given BinaryWriter.
|
|
2496
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2497
|
+
*/
|
|
2498
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
2499
|
+
var f = undefined;
|
|
2500
|
+
f = this.getResponsecode();
|
|
2501
|
+
if (f != null) {
|
|
2502
|
+
writer.writeMessage(
|
|
2503
|
+
1,
|
|
2504
|
+
f,
|
|
2505
|
+
proto.sniipappappconfigapi.ResponseCode.serializeBinaryToWriter
|
|
2506
|
+
);
|
|
2507
|
+
}
|
|
2508
|
+
f = this.getDashboardid();
|
|
2509
|
+
if (f !== 0) {
|
|
2510
|
+
writer.writeInt64(
|
|
2511
|
+
2,
|
|
2512
|
+
f
|
|
2513
|
+
);
|
|
2514
|
+
}
|
|
2515
|
+
f = this.getEnableddashboarditemsList();
|
|
2516
|
+
if (f.length > 0) {
|
|
2517
|
+
writer.writePackedEnum(
|
|
2518
|
+
4,
|
|
2519
|
+
f
|
|
2520
|
+
);
|
|
2521
|
+
}
|
|
2522
|
+
f = this.getDisableddashboarditemsList();
|
|
2523
|
+
if (f.length > 0) {
|
|
2524
|
+
writer.writePackedEnum(
|
|
2525
|
+
5,
|
|
2526
|
+
f
|
|
2527
|
+
);
|
|
2528
|
+
}
|
|
2529
|
+
};
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
/**
|
|
2533
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2534
|
+
* @return {!proto.sniipappappconfigapi.DashboardItemsResponse} The clone.
|
|
2535
|
+
*/
|
|
2536
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.cloneMessage = function() {
|
|
2537
|
+
return /** @type {!proto.sniipappappconfigapi.DashboardItemsResponse} */ (jspb.Message.cloneMessage(this));
|
|
2538
|
+
};
|
|
2539
|
+
|
|
2540
|
+
|
|
2541
|
+
/**
|
|
2542
|
+
* optional ResponseCode responseCode = 1;
|
|
2543
|
+
* @return {proto.sniipappappconfigapi.ResponseCode}
|
|
2544
|
+
*/
|
|
2545
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.getResponsecode = function() {
|
|
2546
|
+
return /** @type{proto.sniipappappconfigapi.ResponseCode} */ (
|
|
2547
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ResponseCode, 1));
|
|
2548
|
+
};
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
/** @param {proto.sniipappappconfigapi.ResponseCode|undefined} value */
|
|
2552
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.setResponsecode = function(value) {
|
|
2553
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
2554
|
+
};
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.clearResponsecode = function() {
|
|
2558
|
+
this.setResponsecode(undefined);
|
|
2559
|
+
};
|
|
2560
|
+
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
* Returns whether this field is set.
|
|
2564
|
+
* @return{!boolean}
|
|
2565
|
+
*/
|
|
2566
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.hasResponsecode = function() {
|
|
2567
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2568
|
+
};
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* optional int64 dashboardId = 2;
|
|
2573
|
+
* @return {number}
|
|
2574
|
+
*/
|
|
2575
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.getDashboardid = function() {
|
|
2576
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
2577
|
+
};
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
/** @param {number} value */
|
|
2581
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.setDashboardid = function(value) {
|
|
2582
|
+
jspb.Message.setField(this, 2, value);
|
|
2583
|
+
};
|
|
2584
|
+
|
|
2585
|
+
|
|
2586
|
+
/**
|
|
2587
|
+
* repeated DashboardItem enabledDashboardItems = 4;
|
|
2588
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
2589
|
+
* replace the array itself, then you must call the setter to update it.
|
|
2590
|
+
* @return {!Array.<!proto.sniipappappconfigapi.DashboardItem>}
|
|
2591
|
+
*/
|
|
2592
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.getEnableddashboarditemsList = function() {
|
|
2593
|
+
return /** @type {!Array.<!proto.sniipappappconfigapi.DashboardItem>} */ (jspb.Message.getField(this, 4));
|
|
2594
|
+
};
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
/** @param {!Array.<!proto.sniipappappconfigapi.DashboardItem>} value */
|
|
2598
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.setEnableddashboarditemsList = function(value) {
|
|
2599
|
+
jspb.Message.setField(this, 4, value || []);
|
|
2600
|
+
};
|
|
2601
|
+
|
|
2602
|
+
|
|
2603
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.clearEnableddashboarditemsList = function() {
|
|
2604
|
+
jspb.Message.setField(this, 4, []);
|
|
2605
|
+
};
|
|
2606
|
+
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* repeated DashboardItem disabledDashboardItems = 5;
|
|
2610
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
2611
|
+
* replace the array itself, then you must call the setter to update it.
|
|
2612
|
+
* @return {!Array.<!proto.sniipappappconfigapi.DashboardItem>}
|
|
2613
|
+
*/
|
|
2614
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.getDisableddashboarditemsList = function() {
|
|
2615
|
+
return /** @type {!Array.<!proto.sniipappappconfigapi.DashboardItem>} */ (jspb.Message.getField(this, 5));
|
|
2616
|
+
};
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
/** @param {!Array.<!proto.sniipappappconfigapi.DashboardItem>} value */
|
|
2620
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.setDisableddashboarditemsList = function(value) {
|
|
2621
|
+
jspb.Message.setField(this, 5, value || []);
|
|
2622
|
+
};
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
proto.sniipappappconfigapi.DashboardItemsResponse.prototype.clearDisableddashboarditemsList = function() {
|
|
2626
|
+
jspb.Message.setField(this, 5, []);
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
|
|
2631
|
+
/**
|
|
2632
|
+
* Generated by JsPbCodeGenerator.
|
|
2633
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2634
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2635
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2636
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2637
|
+
* valid.
|
|
2638
|
+
* @extends {jspb.Message}
|
|
2639
|
+
* @constructor
|
|
2640
|
+
*/
|
|
2641
|
+
proto.sniipappappconfigapi.GetConfigRequest = function(opt_data) {
|
|
2642
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2643
|
+
};
|
|
2644
|
+
goog.inherits(proto.sniipappappconfigapi.GetConfigRequest, jspb.Message);
|
|
2645
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2646
|
+
proto.sniipappappconfigapi.GetConfigRequest.displayName = 'proto.sniipappappconfigapi.GetConfigRequest';
|
|
2647
|
+
}
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2651
|
+
/**
|
|
2652
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2653
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2654
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2655
|
+
* For the list of reserved names please see:
|
|
2656
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2657
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2658
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2659
|
+
* @return {!Object}
|
|
2660
|
+
*/
|
|
2661
|
+
proto.sniipappappconfigapi.GetConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2662
|
+
return proto.sniipappappconfigapi.GetConfigRequest.toObject(opt_includeInstance, this);
|
|
2663
|
+
};
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* Static version of the {@see toObject} method.
|
|
2668
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2669
|
+
* instance for transitional soy proto support:
|
|
2670
|
+
* http://goto/soy-param-migration
|
|
2671
|
+
* @param {!proto.sniipappappconfigapi.GetConfigRequest} msg The msg instance to transform.
|
|
2672
|
+
* @return {!Object}
|
|
2673
|
+
*/
|
|
2674
|
+
proto.sniipappappconfigapi.GetConfigRequest.toObject = function(includeInstance, msg) {
|
|
2675
|
+
var f, obj = {
|
|
2676
|
+
platform: msg.getPlatform(),
|
|
2677
|
+
version: msg.getVersion()
|
|
2678
|
+
};
|
|
2679
|
+
|
|
2680
|
+
if (includeInstance) {
|
|
2681
|
+
obj.$jspbMessageInstance = msg;
|
|
2682
|
+
}
|
|
2683
|
+
return obj;
|
|
2684
|
+
};
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
/**
|
|
2689
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2690
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2691
|
+
* @return {!proto.sniipappappconfigapi.GetConfigRequest}
|
|
2692
|
+
*/
|
|
2693
|
+
proto.sniipappappconfigapi.GetConfigRequest.deserializeBinary = function(bytes) {
|
|
2694
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2695
|
+
var msg = new proto.sniipappappconfigapi.GetConfigRequest;
|
|
2696
|
+
return proto.sniipappappconfigapi.GetConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
2697
|
+
};
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
/**
|
|
2701
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2702
|
+
* given reader into the given message object.
|
|
2703
|
+
* @param {!proto.sniipappappconfigapi.GetConfigRequest} msg The message object to deserialize into.
|
|
2704
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2705
|
+
* @return {!proto.sniipappappconfigapi.GetConfigRequest}
|
|
2706
|
+
*/
|
|
2707
|
+
proto.sniipappappconfigapi.GetConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2708
|
+
while (reader.nextField()) {
|
|
2709
|
+
if (reader.isEndGroup()) {
|
|
2710
|
+
break;
|
|
2711
|
+
}
|
|
2712
|
+
var field = reader.getFieldNumber();
|
|
2713
|
+
switch (field) {
|
|
2714
|
+
case 1:
|
|
2715
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2716
|
+
msg.setPlatform(value);
|
|
2717
|
+
break;
|
|
2718
|
+
case 2:
|
|
2719
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2720
|
+
msg.setVersion(value);
|
|
2721
|
+
break;
|
|
2722
|
+
default:
|
|
2723
|
+
reader.skipField();
|
|
2724
|
+
break;
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
return msg;
|
|
2728
|
+
};
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
/**
|
|
2732
|
+
* Class method variant: serializes the given message to binary data
|
|
2733
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2734
|
+
* @param {!proto.sniipappappconfigapi.GetConfigRequest} message
|
|
2735
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2736
|
+
*/
|
|
2737
|
+
proto.sniipappappconfigapi.GetConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2738
|
+
message.serializeBinaryToWriter(writer);
|
|
2739
|
+
};
|
|
2740
|
+
|
|
2741
|
+
|
|
2742
|
+
/**
|
|
2743
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2744
|
+
* @return {!Uint8Array}
|
|
2745
|
+
*/
|
|
2746
|
+
proto.sniipappappconfigapi.GetConfigRequest.prototype.serializeBinary = function() {
|
|
2747
|
+
var writer = new jspb.BinaryWriter();
|
|
2748
|
+
this.serializeBinaryToWriter(writer);
|
|
2749
|
+
return writer.getResultBuffer();
|
|
2750
|
+
};
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
/**
|
|
2754
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2755
|
+
* writing to the given BinaryWriter.
|
|
2756
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2757
|
+
*/
|
|
2758
|
+
proto.sniipappappconfigapi.GetConfigRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
2759
|
+
var f = undefined;
|
|
2760
|
+
f = this.getPlatform();
|
|
2761
|
+
if (f.length > 0) {
|
|
2762
|
+
writer.writeString(
|
|
2763
|
+
1,
|
|
2764
|
+
f
|
|
2765
|
+
);
|
|
2766
|
+
}
|
|
2767
|
+
f = this.getVersion();
|
|
2768
|
+
if (f.length > 0) {
|
|
2769
|
+
writer.writeString(
|
|
2770
|
+
2,
|
|
2771
|
+
f
|
|
2772
|
+
);
|
|
2773
|
+
}
|
|
2774
|
+
};
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
/**
|
|
2778
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2779
|
+
* @return {!proto.sniipappappconfigapi.GetConfigRequest} The clone.
|
|
2780
|
+
*/
|
|
2781
|
+
proto.sniipappappconfigapi.GetConfigRequest.prototype.cloneMessage = function() {
|
|
2782
|
+
return /** @type {!proto.sniipappappconfigapi.GetConfigRequest} */ (jspb.Message.cloneMessage(this));
|
|
2783
|
+
};
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* optional string platform = 1;
|
|
2788
|
+
* @return {string}
|
|
2789
|
+
*/
|
|
2790
|
+
proto.sniipappappconfigapi.GetConfigRequest.prototype.getPlatform = function() {
|
|
2791
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
2792
|
+
};
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
/** @param {string} value */
|
|
2796
|
+
proto.sniipappappconfigapi.GetConfigRequest.prototype.setPlatform = function(value) {
|
|
2797
|
+
jspb.Message.setField(this, 1, value);
|
|
2798
|
+
};
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
/**
|
|
2802
|
+
* optional string version = 2;
|
|
2803
|
+
* @return {string}
|
|
2804
|
+
*/
|
|
2805
|
+
proto.sniipappappconfigapi.GetConfigRequest.prototype.getVersion = function() {
|
|
2806
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
2807
|
+
};
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
/** @param {string} value */
|
|
2811
|
+
proto.sniipappappconfigapi.GetConfigRequest.prototype.setVersion = function(value) {
|
|
2812
|
+
jspb.Message.setField(this, 2, value);
|
|
2813
|
+
};
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
/**
|
|
2818
|
+
* Generated by JsPbCodeGenerator.
|
|
2819
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2820
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2821
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2822
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2823
|
+
* valid.
|
|
2824
|
+
* @extends {jspb.Message}
|
|
2825
|
+
* @constructor
|
|
2826
|
+
*/
|
|
2827
|
+
proto.sniipappappconfigapi.GetConfigResponse = function(opt_data) {
|
|
2828
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2829
|
+
};
|
|
2830
|
+
goog.inherits(proto.sniipappappconfigapi.GetConfigResponse, jspb.Message);
|
|
2831
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2832
|
+
proto.sniipappappconfigapi.GetConfigResponse.displayName = 'proto.sniipappappconfigapi.GetConfigResponse';
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2837
|
+
/**
|
|
2838
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2839
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2840
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2841
|
+
* For the list of reserved names please see:
|
|
2842
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2843
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2844
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2845
|
+
* @return {!Object}
|
|
2846
|
+
*/
|
|
2847
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2848
|
+
return proto.sniipappappconfigapi.GetConfigResponse.toObject(opt_includeInstance, this);
|
|
2849
|
+
};
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
/**
|
|
2853
|
+
* Static version of the {@see toObject} method.
|
|
2854
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2855
|
+
* instance for transitional soy proto support:
|
|
2856
|
+
* http://goto/soy-param-migration
|
|
2857
|
+
* @param {!proto.sniipappappconfigapi.GetConfigResponse} msg The msg instance to transform.
|
|
2858
|
+
* @return {!Object}
|
|
2859
|
+
*/
|
|
2860
|
+
proto.sniipappappconfigapi.GetConfigResponse.toObject = function(includeInstance, msg) {
|
|
2861
|
+
var f, obj = {
|
|
2862
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipappappconfigapi.ResponseCode.toObject(includeInstance, f),
|
|
2863
|
+
config: (f = msg.getConfig()) && proto.sniipappappconfigapi.AppConfig.toObject(includeInstance, f)
|
|
2864
|
+
};
|
|
2865
|
+
|
|
2866
|
+
if (includeInstance) {
|
|
2867
|
+
obj.$jspbMessageInstance = msg;
|
|
2868
|
+
}
|
|
2869
|
+
return obj;
|
|
2870
|
+
};
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2876
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2877
|
+
* @return {!proto.sniipappappconfigapi.GetConfigResponse}
|
|
2878
|
+
*/
|
|
2879
|
+
proto.sniipappappconfigapi.GetConfigResponse.deserializeBinary = function(bytes) {
|
|
2880
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2881
|
+
var msg = new proto.sniipappappconfigapi.GetConfigResponse;
|
|
2882
|
+
return proto.sniipappappconfigapi.GetConfigResponse.deserializeBinaryFromReader(msg, reader);
|
|
2883
|
+
};
|
|
2884
|
+
|
|
2885
|
+
|
|
2886
|
+
/**
|
|
2887
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2888
|
+
* given reader into the given message object.
|
|
2889
|
+
* @param {!proto.sniipappappconfigapi.GetConfigResponse} msg The message object to deserialize into.
|
|
2890
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2891
|
+
* @return {!proto.sniipappappconfigapi.GetConfigResponse}
|
|
2892
|
+
*/
|
|
2893
|
+
proto.sniipappappconfigapi.GetConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2894
|
+
while (reader.nextField()) {
|
|
2895
|
+
if (reader.isEndGroup()) {
|
|
2896
|
+
break;
|
|
2897
|
+
}
|
|
2898
|
+
var field = reader.getFieldNumber();
|
|
2899
|
+
switch (field) {
|
|
2900
|
+
case 1:
|
|
2901
|
+
var value = new proto.sniipappappconfigapi.ResponseCode;
|
|
2902
|
+
reader.readMessage(value,proto.sniipappappconfigapi.ResponseCode.deserializeBinaryFromReader);
|
|
2903
|
+
msg.setResponsecode(value);
|
|
2904
|
+
break;
|
|
2905
|
+
case 2:
|
|
2906
|
+
var value = new proto.sniipappappconfigapi.AppConfig;
|
|
2907
|
+
reader.readMessage(value,proto.sniipappappconfigapi.AppConfig.deserializeBinaryFromReader);
|
|
2908
|
+
msg.setConfig(value);
|
|
2909
|
+
break;
|
|
2910
|
+
default:
|
|
2911
|
+
reader.skipField();
|
|
2912
|
+
break;
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
return msg;
|
|
2916
|
+
};
|
|
2917
|
+
|
|
2918
|
+
|
|
2919
|
+
/**
|
|
2920
|
+
* Class method variant: serializes the given message to binary data
|
|
2921
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2922
|
+
* @param {!proto.sniipappappconfigapi.GetConfigResponse} message
|
|
2923
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2924
|
+
*/
|
|
2925
|
+
proto.sniipappappconfigapi.GetConfigResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2926
|
+
message.serializeBinaryToWriter(writer);
|
|
2927
|
+
};
|
|
2928
|
+
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2932
|
+
* @return {!Uint8Array}
|
|
2933
|
+
*/
|
|
2934
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.serializeBinary = function() {
|
|
2935
|
+
var writer = new jspb.BinaryWriter();
|
|
2936
|
+
this.serializeBinaryToWriter(writer);
|
|
2937
|
+
return writer.getResultBuffer();
|
|
2938
|
+
};
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
/**
|
|
2942
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2943
|
+
* writing to the given BinaryWriter.
|
|
2944
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2945
|
+
*/
|
|
2946
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
2947
|
+
var f = undefined;
|
|
2948
|
+
f = this.getResponsecode();
|
|
2949
|
+
if (f != null) {
|
|
2950
|
+
writer.writeMessage(
|
|
2951
|
+
1,
|
|
2952
|
+
f,
|
|
2953
|
+
proto.sniipappappconfigapi.ResponseCode.serializeBinaryToWriter
|
|
2954
|
+
);
|
|
2955
|
+
}
|
|
2956
|
+
f = this.getConfig();
|
|
2957
|
+
if (f != null) {
|
|
2958
|
+
writer.writeMessage(
|
|
2959
|
+
2,
|
|
2960
|
+
f,
|
|
2961
|
+
proto.sniipappappconfigapi.AppConfig.serializeBinaryToWriter
|
|
2962
|
+
);
|
|
2963
|
+
}
|
|
2964
|
+
};
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
/**
|
|
2968
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2969
|
+
* @return {!proto.sniipappappconfigapi.GetConfigResponse} The clone.
|
|
2970
|
+
*/
|
|
2971
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.cloneMessage = function() {
|
|
2972
|
+
return /** @type {!proto.sniipappappconfigapi.GetConfigResponse} */ (jspb.Message.cloneMessage(this));
|
|
2973
|
+
};
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
/**
|
|
2977
|
+
* optional ResponseCode responseCode = 1;
|
|
2978
|
+
* @return {proto.sniipappappconfigapi.ResponseCode}
|
|
2979
|
+
*/
|
|
2980
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.getResponsecode = function() {
|
|
2981
|
+
return /** @type{proto.sniipappappconfigapi.ResponseCode} */ (
|
|
2982
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ResponseCode, 1));
|
|
2983
|
+
};
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
/** @param {proto.sniipappappconfigapi.ResponseCode|undefined} value */
|
|
2987
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.setResponsecode = function(value) {
|
|
2988
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
2989
|
+
};
|
|
2990
|
+
|
|
2991
|
+
|
|
2992
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.clearResponsecode = function() {
|
|
2993
|
+
this.setResponsecode(undefined);
|
|
2994
|
+
};
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
/**
|
|
2998
|
+
* Returns whether this field is set.
|
|
2999
|
+
* @return{!boolean}
|
|
3000
|
+
*/
|
|
3001
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.hasResponsecode = function() {
|
|
3002
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3003
|
+
};
|
|
3004
|
+
|
|
3005
|
+
|
|
3006
|
+
/**
|
|
3007
|
+
* optional AppConfig config = 2;
|
|
3008
|
+
* @return {proto.sniipappappconfigapi.AppConfig}
|
|
3009
|
+
*/
|
|
3010
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.getConfig = function() {
|
|
3011
|
+
return /** @type{proto.sniipappappconfigapi.AppConfig} */ (
|
|
3012
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.AppConfig, 2));
|
|
3013
|
+
};
|
|
3014
|
+
|
|
3015
|
+
|
|
3016
|
+
/** @param {proto.sniipappappconfigapi.AppConfig|undefined} value */
|
|
3017
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.setConfig = function(value) {
|
|
3018
|
+
jspb.Message.setWrapperField(this, 2, value);
|
|
3019
|
+
};
|
|
3020
|
+
|
|
3021
|
+
|
|
3022
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.clearConfig = function() {
|
|
3023
|
+
this.setConfig(undefined);
|
|
3024
|
+
};
|
|
3025
|
+
|
|
3026
|
+
|
|
3027
|
+
/**
|
|
3028
|
+
* Returns whether this field is set.
|
|
3029
|
+
* @return{!boolean}
|
|
3030
|
+
*/
|
|
3031
|
+
proto.sniipappappconfigapi.GetConfigResponse.prototype.hasConfig = function() {
|
|
3032
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3033
|
+
};
|
|
3034
|
+
|
|
3035
|
+
|
|
3036
|
+
|
|
3037
|
+
/**
|
|
3038
|
+
* Generated by JsPbCodeGenerator.
|
|
3039
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3040
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3041
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3042
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3043
|
+
* valid.
|
|
3044
|
+
* @extends {jspb.Message}
|
|
3045
|
+
* @constructor
|
|
3046
|
+
*/
|
|
3047
|
+
proto.sniipappappconfigapi.OnboardingScreen = function(opt_data) {
|
|
3048
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3049
|
+
};
|
|
3050
|
+
goog.inherits(proto.sniipappappconfigapi.OnboardingScreen, jspb.Message);
|
|
3051
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3052
|
+
proto.sniipappappconfigapi.OnboardingScreen.displayName = 'proto.sniipappappconfigapi.OnboardingScreen';
|
|
3053
|
+
}
|
|
3054
|
+
|
|
3055
|
+
|
|
3056
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3057
|
+
/**
|
|
3058
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3059
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3060
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3061
|
+
* For the list of reserved names please see:
|
|
3062
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3063
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3064
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3065
|
+
* @return {!Object}
|
|
3066
|
+
*/
|
|
3067
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.toObject = function(opt_includeInstance) {
|
|
3068
|
+
return proto.sniipappappconfigapi.OnboardingScreen.toObject(opt_includeInstance, this);
|
|
3069
|
+
};
|
|
3070
|
+
|
|
3071
|
+
|
|
3072
|
+
/**
|
|
3073
|
+
* Static version of the {@see toObject} method.
|
|
3074
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3075
|
+
* instance for transitional soy proto support:
|
|
3076
|
+
* http://goto/soy-param-migration
|
|
3077
|
+
* @param {!proto.sniipappappconfigapi.OnboardingScreen} msg The msg instance to transform.
|
|
3078
|
+
* @return {!Object}
|
|
3079
|
+
*/
|
|
3080
|
+
proto.sniipappappconfigapi.OnboardingScreen.toObject = function(includeInstance, msg) {
|
|
3081
|
+
var f, obj = {
|
|
3082
|
+
onboardid: msg.getOnboardid(),
|
|
3083
|
+
key: msg.getKey(),
|
|
3084
|
+
url: msg.getUrl(),
|
|
3085
|
+
startconfigversion: msg.getStartconfigversion(),
|
|
3086
|
+
starttimestamp: msg.getStarttimestamp(),
|
|
3087
|
+
endtimestamp: msg.getEndtimestamp()
|
|
3088
|
+
};
|
|
3089
|
+
|
|
3090
|
+
if (includeInstance) {
|
|
3091
|
+
obj.$jspbMessageInstance = msg;
|
|
3092
|
+
}
|
|
3093
|
+
return obj;
|
|
3094
|
+
};
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
/**
|
|
3099
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3100
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3101
|
+
* @return {!proto.sniipappappconfigapi.OnboardingScreen}
|
|
3102
|
+
*/
|
|
3103
|
+
proto.sniipappappconfigapi.OnboardingScreen.deserializeBinary = function(bytes) {
|
|
3104
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3105
|
+
var msg = new proto.sniipappappconfigapi.OnboardingScreen;
|
|
3106
|
+
return proto.sniipappappconfigapi.OnboardingScreen.deserializeBinaryFromReader(msg, reader);
|
|
3107
|
+
};
|
|
3108
|
+
|
|
3109
|
+
|
|
3110
|
+
/**
|
|
3111
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3112
|
+
* given reader into the given message object.
|
|
3113
|
+
* @param {!proto.sniipappappconfigapi.OnboardingScreen} msg The message object to deserialize into.
|
|
3114
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3115
|
+
* @return {!proto.sniipappappconfigapi.OnboardingScreen}
|
|
3116
|
+
*/
|
|
3117
|
+
proto.sniipappappconfigapi.OnboardingScreen.deserializeBinaryFromReader = function(msg, reader) {
|
|
3118
|
+
while (reader.nextField()) {
|
|
3119
|
+
if (reader.isEndGroup()) {
|
|
3120
|
+
break;
|
|
3121
|
+
}
|
|
3122
|
+
var field = reader.getFieldNumber();
|
|
3123
|
+
switch (field) {
|
|
3124
|
+
case 1:
|
|
3125
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3126
|
+
msg.setOnboardid(value);
|
|
3127
|
+
break;
|
|
3128
|
+
case 2:
|
|
3129
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3130
|
+
msg.setKey(value);
|
|
3131
|
+
break;
|
|
3132
|
+
case 3:
|
|
3133
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3134
|
+
msg.setUrl(value);
|
|
3135
|
+
break;
|
|
3136
|
+
case 4:
|
|
3137
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3138
|
+
msg.setStartconfigversion(value);
|
|
3139
|
+
break;
|
|
3140
|
+
case 5:
|
|
3141
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3142
|
+
msg.setStarttimestamp(value);
|
|
3143
|
+
break;
|
|
3144
|
+
case 6:
|
|
3145
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3146
|
+
msg.setEndtimestamp(value);
|
|
3147
|
+
break;
|
|
3148
|
+
default:
|
|
3149
|
+
reader.skipField();
|
|
3150
|
+
break;
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
return msg;
|
|
3154
|
+
};
|
|
3155
|
+
|
|
3156
|
+
|
|
3157
|
+
/**
|
|
3158
|
+
* Class method variant: serializes the given message to binary data
|
|
3159
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3160
|
+
* @param {!proto.sniipappappconfigapi.OnboardingScreen} message
|
|
3161
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3162
|
+
*/
|
|
3163
|
+
proto.sniipappappconfigapi.OnboardingScreen.serializeBinaryToWriter = function(message, writer) {
|
|
3164
|
+
message.serializeBinaryToWriter(writer);
|
|
3165
|
+
};
|
|
3166
|
+
|
|
3167
|
+
|
|
3168
|
+
/**
|
|
3169
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3170
|
+
* @return {!Uint8Array}
|
|
3171
|
+
*/
|
|
3172
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.serializeBinary = function() {
|
|
3173
|
+
var writer = new jspb.BinaryWriter();
|
|
3174
|
+
this.serializeBinaryToWriter(writer);
|
|
3175
|
+
return writer.getResultBuffer();
|
|
3176
|
+
};
|
|
3177
|
+
|
|
3178
|
+
|
|
3179
|
+
/**
|
|
3180
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3181
|
+
* writing to the given BinaryWriter.
|
|
3182
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3183
|
+
*/
|
|
3184
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.serializeBinaryToWriter = function (writer) {
|
|
3185
|
+
var f = undefined;
|
|
3186
|
+
f = this.getOnboardid();
|
|
3187
|
+
if (f !== 0) {
|
|
3188
|
+
writer.writeInt64(
|
|
3189
|
+
1,
|
|
3190
|
+
f
|
|
3191
|
+
);
|
|
3192
|
+
}
|
|
3193
|
+
f = this.getKey();
|
|
3194
|
+
if (f.length > 0) {
|
|
3195
|
+
writer.writeString(
|
|
3196
|
+
2,
|
|
3197
|
+
f
|
|
3198
|
+
);
|
|
3199
|
+
}
|
|
3200
|
+
f = this.getUrl();
|
|
3201
|
+
if (f.length > 0) {
|
|
3202
|
+
writer.writeString(
|
|
3203
|
+
3,
|
|
3204
|
+
f
|
|
3205
|
+
);
|
|
3206
|
+
}
|
|
3207
|
+
f = this.getStartconfigversion();
|
|
3208
|
+
if (f.length > 0) {
|
|
3209
|
+
writer.writeString(
|
|
3210
|
+
4,
|
|
3211
|
+
f
|
|
3212
|
+
);
|
|
3213
|
+
}
|
|
3214
|
+
f = this.getStarttimestamp();
|
|
3215
|
+
if (f.length > 0) {
|
|
3216
|
+
writer.writeString(
|
|
3217
|
+
5,
|
|
3218
|
+
f
|
|
3219
|
+
);
|
|
3220
|
+
}
|
|
3221
|
+
f = this.getEndtimestamp();
|
|
3222
|
+
if (f.length > 0) {
|
|
3223
|
+
writer.writeString(
|
|
3224
|
+
6,
|
|
3225
|
+
f
|
|
3226
|
+
);
|
|
3227
|
+
}
|
|
3228
|
+
};
|
|
3229
|
+
|
|
3230
|
+
|
|
3231
|
+
/**
|
|
3232
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3233
|
+
* @return {!proto.sniipappappconfigapi.OnboardingScreen} The clone.
|
|
3234
|
+
*/
|
|
3235
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.cloneMessage = function() {
|
|
3236
|
+
return /** @type {!proto.sniipappappconfigapi.OnboardingScreen} */ (jspb.Message.cloneMessage(this));
|
|
3237
|
+
};
|
|
3238
|
+
|
|
3239
|
+
|
|
3240
|
+
/**
|
|
3241
|
+
* optional int64 onboardId = 1;
|
|
3242
|
+
* @return {number}
|
|
3243
|
+
*/
|
|
3244
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.getOnboardid = function() {
|
|
3245
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
3246
|
+
};
|
|
3247
|
+
|
|
3248
|
+
|
|
3249
|
+
/** @param {number} value */
|
|
3250
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.setOnboardid = function(value) {
|
|
3251
|
+
jspb.Message.setField(this, 1, value);
|
|
3252
|
+
};
|
|
3253
|
+
|
|
3254
|
+
|
|
3255
|
+
/**
|
|
3256
|
+
* optional string key = 2;
|
|
3257
|
+
* @return {string}
|
|
3258
|
+
*/
|
|
3259
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.getKey = function() {
|
|
3260
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
3261
|
+
};
|
|
3262
|
+
|
|
3263
|
+
|
|
3264
|
+
/** @param {string} value */
|
|
3265
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.setKey = function(value) {
|
|
3266
|
+
jspb.Message.setField(this, 2, value);
|
|
3267
|
+
};
|
|
3268
|
+
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* optional string url = 3;
|
|
3272
|
+
* @return {string}
|
|
3273
|
+
*/
|
|
3274
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.getUrl = function() {
|
|
3275
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
3276
|
+
};
|
|
3277
|
+
|
|
3278
|
+
|
|
3279
|
+
/** @param {string} value */
|
|
3280
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.setUrl = function(value) {
|
|
3281
|
+
jspb.Message.setField(this, 3, value);
|
|
3282
|
+
};
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* optional string startConfigVersion = 4;
|
|
3287
|
+
* @return {string}
|
|
3288
|
+
*/
|
|
3289
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.getStartconfigversion = function() {
|
|
3290
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
3291
|
+
};
|
|
3292
|
+
|
|
3293
|
+
|
|
3294
|
+
/** @param {string} value */
|
|
3295
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.setStartconfigversion = function(value) {
|
|
3296
|
+
jspb.Message.setField(this, 4, value);
|
|
3297
|
+
};
|
|
3298
|
+
|
|
3299
|
+
|
|
3300
|
+
/**
|
|
3301
|
+
* optional string startTimestamp = 5;
|
|
3302
|
+
* @return {string}
|
|
3303
|
+
*/
|
|
3304
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.getStarttimestamp = function() {
|
|
3305
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
|
|
3306
|
+
};
|
|
3307
|
+
|
|
3308
|
+
|
|
3309
|
+
/** @param {string} value */
|
|
3310
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.setStarttimestamp = function(value) {
|
|
3311
|
+
jspb.Message.setField(this, 5, value);
|
|
3312
|
+
};
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
/**
|
|
3316
|
+
* optional string endTimestamp = 6;
|
|
3317
|
+
* @return {string}
|
|
3318
|
+
*/
|
|
3319
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.getEndtimestamp = function() {
|
|
3320
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
|
|
3321
|
+
};
|
|
3322
|
+
|
|
3323
|
+
|
|
3324
|
+
/** @param {string} value */
|
|
3325
|
+
proto.sniipappappconfigapi.OnboardingScreen.prototype.setEndtimestamp = function(value) {
|
|
3326
|
+
jspb.Message.setField(this, 6, value);
|
|
3327
|
+
};
|
|
3328
|
+
|
|
3329
|
+
|
|
3330
|
+
|
|
3331
|
+
/**
|
|
3332
|
+
* Generated by JsPbCodeGenerator.
|
|
3333
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3334
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3335
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3336
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3337
|
+
* valid.
|
|
3338
|
+
* @extends {jspb.Message}
|
|
3339
|
+
* @constructor
|
|
3340
|
+
*/
|
|
3341
|
+
proto.sniipappappconfigapi.PatchConfigRequest = function(opt_data) {
|
|
3342
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3343
|
+
};
|
|
3344
|
+
goog.inherits(proto.sniipappappconfigapi.PatchConfigRequest, jspb.Message);
|
|
3345
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3346
|
+
proto.sniipappappconfigapi.PatchConfigRequest.displayName = 'proto.sniipappappconfigapi.PatchConfigRequest';
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3349
|
+
|
|
3350
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3351
|
+
/**
|
|
3352
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3353
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3354
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3355
|
+
* For the list of reserved names please see:
|
|
3356
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3357
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3358
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3359
|
+
* @return {!Object}
|
|
3360
|
+
*/
|
|
3361
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3362
|
+
return proto.sniipappappconfigapi.PatchConfigRequest.toObject(opt_includeInstance, this);
|
|
3363
|
+
};
|
|
3364
|
+
|
|
3365
|
+
|
|
3366
|
+
/**
|
|
3367
|
+
* Static version of the {@see toObject} method.
|
|
3368
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3369
|
+
* instance for transitional soy proto support:
|
|
3370
|
+
* http://goto/soy-param-migration
|
|
3371
|
+
* @param {!proto.sniipappappconfigapi.PatchConfigRequest} msg The msg instance to transform.
|
|
3372
|
+
* @return {!Object}
|
|
3373
|
+
*/
|
|
3374
|
+
proto.sniipappappconfigapi.PatchConfigRequest.toObject = function(includeInstance, msg) {
|
|
3375
|
+
var f, obj = {
|
|
3376
|
+
data: (f = msg.getData()) && proto.sniipappappconfigapi.AppConfig.toObject(includeInstance, f),
|
|
3377
|
+
platform: msg.getPlatform(),
|
|
3378
|
+
version: msg.getVersion()
|
|
3379
|
+
};
|
|
3380
|
+
|
|
3381
|
+
if (includeInstance) {
|
|
3382
|
+
obj.$jspbMessageInstance = msg;
|
|
3383
|
+
}
|
|
3384
|
+
return obj;
|
|
3385
|
+
};
|
|
3386
|
+
}
|
|
3387
|
+
|
|
3388
|
+
|
|
3389
|
+
/**
|
|
3390
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3391
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3392
|
+
* @return {!proto.sniipappappconfigapi.PatchConfigRequest}
|
|
3393
|
+
*/
|
|
3394
|
+
proto.sniipappappconfigapi.PatchConfigRequest.deserializeBinary = function(bytes) {
|
|
3395
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3396
|
+
var msg = new proto.sniipappappconfigapi.PatchConfigRequest;
|
|
3397
|
+
return proto.sniipappappconfigapi.PatchConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
3398
|
+
};
|
|
3399
|
+
|
|
3400
|
+
|
|
3401
|
+
/**
|
|
3402
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3403
|
+
* given reader into the given message object.
|
|
3404
|
+
* @param {!proto.sniipappappconfigapi.PatchConfigRequest} msg The message object to deserialize into.
|
|
3405
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3406
|
+
* @return {!proto.sniipappappconfigapi.PatchConfigRequest}
|
|
3407
|
+
*/
|
|
3408
|
+
proto.sniipappappconfigapi.PatchConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3409
|
+
while (reader.nextField()) {
|
|
3410
|
+
if (reader.isEndGroup()) {
|
|
3411
|
+
break;
|
|
3412
|
+
}
|
|
3413
|
+
var field = reader.getFieldNumber();
|
|
3414
|
+
switch (field) {
|
|
3415
|
+
case 1:
|
|
3416
|
+
var value = new proto.sniipappappconfigapi.AppConfig;
|
|
3417
|
+
reader.readMessage(value,proto.sniipappappconfigapi.AppConfig.deserializeBinaryFromReader);
|
|
3418
|
+
msg.setData(value);
|
|
3419
|
+
break;
|
|
3420
|
+
case 2:
|
|
3421
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3422
|
+
msg.setPlatform(value);
|
|
3423
|
+
break;
|
|
3424
|
+
case 3:
|
|
3425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3426
|
+
msg.setVersion(value);
|
|
3427
|
+
break;
|
|
3428
|
+
default:
|
|
3429
|
+
reader.skipField();
|
|
3430
|
+
break;
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
return msg;
|
|
3434
|
+
};
|
|
3435
|
+
|
|
3436
|
+
|
|
3437
|
+
/**
|
|
3438
|
+
* Class method variant: serializes the given message to binary data
|
|
3439
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3440
|
+
* @param {!proto.sniipappappconfigapi.PatchConfigRequest} message
|
|
3441
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3442
|
+
*/
|
|
3443
|
+
proto.sniipappappconfigapi.PatchConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3444
|
+
message.serializeBinaryToWriter(writer);
|
|
3445
|
+
};
|
|
3446
|
+
|
|
3447
|
+
|
|
3448
|
+
/**
|
|
3449
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3450
|
+
* @return {!Uint8Array}
|
|
3451
|
+
*/
|
|
3452
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.serializeBinary = function() {
|
|
3453
|
+
var writer = new jspb.BinaryWriter();
|
|
3454
|
+
this.serializeBinaryToWriter(writer);
|
|
3455
|
+
return writer.getResultBuffer();
|
|
3456
|
+
};
|
|
3457
|
+
|
|
3458
|
+
|
|
3459
|
+
/**
|
|
3460
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3461
|
+
* writing to the given BinaryWriter.
|
|
3462
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3463
|
+
*/
|
|
3464
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
3465
|
+
var f = undefined;
|
|
3466
|
+
f = this.getData();
|
|
3467
|
+
if (f != null) {
|
|
3468
|
+
writer.writeMessage(
|
|
3469
|
+
1,
|
|
3470
|
+
f,
|
|
3471
|
+
proto.sniipappappconfigapi.AppConfig.serializeBinaryToWriter
|
|
3472
|
+
);
|
|
3473
|
+
}
|
|
3474
|
+
f = this.getPlatform();
|
|
3475
|
+
if (f.length > 0) {
|
|
3476
|
+
writer.writeString(
|
|
3477
|
+
2,
|
|
3478
|
+
f
|
|
3479
|
+
);
|
|
3480
|
+
}
|
|
3481
|
+
f = this.getVersion();
|
|
3482
|
+
if (f.length > 0) {
|
|
3483
|
+
writer.writeString(
|
|
3484
|
+
3,
|
|
3485
|
+
f
|
|
3486
|
+
);
|
|
3487
|
+
}
|
|
3488
|
+
};
|
|
3489
|
+
|
|
3490
|
+
|
|
3491
|
+
/**
|
|
3492
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3493
|
+
* @return {!proto.sniipappappconfigapi.PatchConfigRequest} The clone.
|
|
3494
|
+
*/
|
|
3495
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.cloneMessage = function() {
|
|
3496
|
+
return /** @type {!proto.sniipappappconfigapi.PatchConfigRequest} */ (jspb.Message.cloneMessage(this));
|
|
3497
|
+
};
|
|
3498
|
+
|
|
3499
|
+
|
|
3500
|
+
/**
|
|
3501
|
+
* optional AppConfig data = 1;
|
|
3502
|
+
* @return {proto.sniipappappconfigapi.AppConfig}
|
|
3503
|
+
*/
|
|
3504
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.getData = function() {
|
|
3505
|
+
return /** @type{proto.sniipappappconfigapi.AppConfig} */ (
|
|
3506
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.AppConfig, 1));
|
|
3507
|
+
};
|
|
3508
|
+
|
|
3509
|
+
|
|
3510
|
+
/** @param {proto.sniipappappconfigapi.AppConfig|undefined} value */
|
|
3511
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.setData = function(value) {
|
|
3512
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
3513
|
+
};
|
|
3514
|
+
|
|
3515
|
+
|
|
3516
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.clearData = function() {
|
|
3517
|
+
this.setData(undefined);
|
|
3518
|
+
};
|
|
3519
|
+
|
|
3520
|
+
|
|
3521
|
+
/**
|
|
3522
|
+
* Returns whether this field is set.
|
|
3523
|
+
* @return{!boolean}
|
|
3524
|
+
*/
|
|
3525
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.hasData = function() {
|
|
3526
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3527
|
+
};
|
|
3528
|
+
|
|
3529
|
+
|
|
3530
|
+
/**
|
|
3531
|
+
* optional string platform = 2;
|
|
3532
|
+
* @return {string}
|
|
3533
|
+
*/
|
|
3534
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.getPlatform = function() {
|
|
3535
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
3536
|
+
};
|
|
3537
|
+
|
|
3538
|
+
|
|
3539
|
+
/** @param {string} value */
|
|
3540
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.setPlatform = function(value) {
|
|
3541
|
+
jspb.Message.setField(this, 2, value);
|
|
3542
|
+
};
|
|
3543
|
+
|
|
3544
|
+
|
|
3545
|
+
/**
|
|
3546
|
+
* optional string version = 3;
|
|
3547
|
+
* @return {string}
|
|
3548
|
+
*/
|
|
3549
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.getVersion = function() {
|
|
3550
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
3551
|
+
};
|
|
3552
|
+
|
|
3553
|
+
|
|
3554
|
+
/** @param {string} value */
|
|
3555
|
+
proto.sniipappappconfigapi.PatchConfigRequest.prototype.setVersion = function(value) {
|
|
3556
|
+
jspb.Message.setField(this, 3, value);
|
|
3557
|
+
};
|
|
3558
|
+
|
|
3559
|
+
|
|
3560
|
+
|
|
3561
|
+
/**
|
|
3562
|
+
* Generated by JsPbCodeGenerator.
|
|
3563
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3564
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3565
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3566
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3567
|
+
* valid.
|
|
3568
|
+
* @extends {jspb.Message}
|
|
3569
|
+
* @constructor
|
|
3570
|
+
*/
|
|
3571
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest = function(opt_data) {
|
|
3572
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3573
|
+
};
|
|
3574
|
+
goog.inherits(proto.sniipappappconfigapi.PutConfigExtraRequest, jspb.Message);
|
|
3575
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3576
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.displayName = 'proto.sniipappappconfigapi.PutConfigExtraRequest';
|
|
3577
|
+
}
|
|
3578
|
+
|
|
3579
|
+
|
|
3580
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3581
|
+
/**
|
|
3582
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3583
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3584
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3585
|
+
* For the list of reserved names please see:
|
|
3586
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3587
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3588
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3589
|
+
* @return {!Object}
|
|
3590
|
+
*/
|
|
3591
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3592
|
+
return proto.sniipappappconfigapi.PutConfigExtraRequest.toObject(opt_includeInstance, this);
|
|
3593
|
+
};
|
|
3594
|
+
|
|
3595
|
+
|
|
3596
|
+
/**
|
|
3597
|
+
* Static version of the {@see toObject} method.
|
|
3598
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3599
|
+
* instance for transitional soy proto support:
|
|
3600
|
+
* http://goto/soy-param-migration
|
|
3601
|
+
* @param {!proto.sniipappappconfigapi.PutConfigExtraRequest} msg The msg instance to transform.
|
|
3602
|
+
* @return {!Object}
|
|
3603
|
+
*/
|
|
3604
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.toObject = function(includeInstance, msg) {
|
|
3605
|
+
var f, obj = {
|
|
3606
|
+
data: (f = msg.getData()) && proto.sniipappappconfigapi.ConfigExtra.toObject(includeInstance, f),
|
|
3607
|
+
platform: msg.getPlatform(),
|
|
3608
|
+
version: msg.getVersion()
|
|
3609
|
+
};
|
|
3610
|
+
|
|
3611
|
+
if (includeInstance) {
|
|
3612
|
+
obj.$jspbMessageInstance = msg;
|
|
3613
|
+
}
|
|
3614
|
+
return obj;
|
|
3615
|
+
};
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
|
|
3619
|
+
/**
|
|
3620
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3621
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3622
|
+
* @return {!proto.sniipappappconfigapi.PutConfigExtraRequest}
|
|
3623
|
+
*/
|
|
3624
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.deserializeBinary = function(bytes) {
|
|
3625
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3626
|
+
var msg = new proto.sniipappappconfigapi.PutConfigExtraRequest;
|
|
3627
|
+
return proto.sniipappappconfigapi.PutConfigExtraRequest.deserializeBinaryFromReader(msg, reader);
|
|
3628
|
+
};
|
|
3629
|
+
|
|
3630
|
+
|
|
3631
|
+
/**
|
|
3632
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3633
|
+
* given reader into the given message object.
|
|
3634
|
+
* @param {!proto.sniipappappconfigapi.PutConfigExtraRequest} msg The message object to deserialize into.
|
|
3635
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3636
|
+
* @return {!proto.sniipappappconfigapi.PutConfigExtraRequest}
|
|
3637
|
+
*/
|
|
3638
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3639
|
+
while (reader.nextField()) {
|
|
3640
|
+
if (reader.isEndGroup()) {
|
|
3641
|
+
break;
|
|
3642
|
+
}
|
|
3643
|
+
var field = reader.getFieldNumber();
|
|
3644
|
+
switch (field) {
|
|
3645
|
+
case 1:
|
|
3646
|
+
var value = new proto.sniipappappconfigapi.ConfigExtra;
|
|
3647
|
+
reader.readMessage(value,proto.sniipappappconfigapi.ConfigExtra.deserializeBinaryFromReader);
|
|
3648
|
+
msg.setData(value);
|
|
3649
|
+
break;
|
|
3650
|
+
case 2:
|
|
3651
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3652
|
+
msg.setPlatform(value);
|
|
3653
|
+
break;
|
|
3654
|
+
case 3:
|
|
3655
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3656
|
+
msg.setVersion(value);
|
|
3657
|
+
break;
|
|
3658
|
+
default:
|
|
3659
|
+
reader.skipField();
|
|
3660
|
+
break;
|
|
3661
|
+
}
|
|
3662
|
+
}
|
|
3663
|
+
return msg;
|
|
3664
|
+
};
|
|
3665
|
+
|
|
3666
|
+
|
|
3667
|
+
/**
|
|
3668
|
+
* Class method variant: serializes the given message to binary data
|
|
3669
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3670
|
+
* @param {!proto.sniipappappconfigapi.PutConfigExtraRequest} message
|
|
3671
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3672
|
+
*/
|
|
3673
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3674
|
+
message.serializeBinaryToWriter(writer);
|
|
3675
|
+
};
|
|
3676
|
+
|
|
3677
|
+
|
|
3678
|
+
/**
|
|
3679
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3680
|
+
* @return {!Uint8Array}
|
|
3681
|
+
*/
|
|
3682
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.serializeBinary = function() {
|
|
3683
|
+
var writer = new jspb.BinaryWriter();
|
|
3684
|
+
this.serializeBinaryToWriter(writer);
|
|
3685
|
+
return writer.getResultBuffer();
|
|
3686
|
+
};
|
|
3687
|
+
|
|
3688
|
+
|
|
3689
|
+
/**
|
|
3690
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3691
|
+
* writing to the given BinaryWriter.
|
|
3692
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3693
|
+
*/
|
|
3694
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
3695
|
+
var f = undefined;
|
|
3696
|
+
f = this.getData();
|
|
3697
|
+
if (f != null) {
|
|
3698
|
+
writer.writeMessage(
|
|
3699
|
+
1,
|
|
3700
|
+
f,
|
|
3701
|
+
proto.sniipappappconfigapi.ConfigExtra.serializeBinaryToWriter
|
|
3702
|
+
);
|
|
3703
|
+
}
|
|
3704
|
+
f = this.getPlatform();
|
|
3705
|
+
if (f.length > 0) {
|
|
3706
|
+
writer.writeString(
|
|
3707
|
+
2,
|
|
3708
|
+
f
|
|
3709
|
+
);
|
|
3710
|
+
}
|
|
3711
|
+
f = this.getVersion();
|
|
3712
|
+
if (f.length > 0) {
|
|
3713
|
+
writer.writeString(
|
|
3714
|
+
3,
|
|
3715
|
+
f
|
|
3716
|
+
);
|
|
3717
|
+
}
|
|
3718
|
+
};
|
|
3719
|
+
|
|
3720
|
+
|
|
3721
|
+
/**
|
|
3722
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3723
|
+
* @return {!proto.sniipappappconfigapi.PutConfigExtraRequest} The clone.
|
|
3724
|
+
*/
|
|
3725
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.cloneMessage = function() {
|
|
3726
|
+
return /** @type {!proto.sniipappappconfigapi.PutConfigExtraRequest} */ (jspb.Message.cloneMessage(this));
|
|
3727
|
+
};
|
|
3728
|
+
|
|
3729
|
+
|
|
3730
|
+
/**
|
|
3731
|
+
* optional ConfigExtra data = 1;
|
|
3732
|
+
* @return {proto.sniipappappconfigapi.ConfigExtra}
|
|
3733
|
+
*/
|
|
3734
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.getData = function() {
|
|
3735
|
+
return /** @type{proto.sniipappappconfigapi.ConfigExtra} */ (
|
|
3736
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ConfigExtra, 1));
|
|
3737
|
+
};
|
|
3738
|
+
|
|
3739
|
+
|
|
3740
|
+
/** @param {proto.sniipappappconfigapi.ConfigExtra|undefined} value */
|
|
3741
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.setData = function(value) {
|
|
3742
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
3743
|
+
};
|
|
3744
|
+
|
|
3745
|
+
|
|
3746
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.clearData = function() {
|
|
3747
|
+
this.setData(undefined);
|
|
3748
|
+
};
|
|
3749
|
+
|
|
3750
|
+
|
|
3751
|
+
/**
|
|
3752
|
+
* Returns whether this field is set.
|
|
3753
|
+
* @return{!boolean}
|
|
3754
|
+
*/
|
|
3755
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.hasData = function() {
|
|
3756
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3757
|
+
};
|
|
3758
|
+
|
|
3759
|
+
|
|
3760
|
+
/**
|
|
3761
|
+
* optional string platform = 2;
|
|
3762
|
+
* @return {string}
|
|
3763
|
+
*/
|
|
3764
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.getPlatform = function() {
|
|
3765
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
3766
|
+
};
|
|
3767
|
+
|
|
3768
|
+
|
|
3769
|
+
/** @param {string} value */
|
|
3770
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.setPlatform = function(value) {
|
|
3771
|
+
jspb.Message.setField(this, 2, value);
|
|
3772
|
+
};
|
|
3773
|
+
|
|
3774
|
+
|
|
3775
|
+
/**
|
|
3776
|
+
* optional string version = 3;
|
|
3777
|
+
* @return {string}
|
|
3778
|
+
*/
|
|
3779
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.getVersion = function() {
|
|
3780
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
3781
|
+
};
|
|
3782
|
+
|
|
3783
|
+
|
|
3784
|
+
/** @param {string} value */
|
|
3785
|
+
proto.sniipappappconfigapi.PutConfigExtraRequest.prototype.setVersion = function(value) {
|
|
3786
|
+
jspb.Message.setField(this, 3, value);
|
|
3787
|
+
};
|
|
3788
|
+
|
|
3789
|
+
|
|
3790
|
+
|
|
3791
|
+
/**
|
|
3792
|
+
* Generated by JsPbCodeGenerator.
|
|
3793
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3794
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3795
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3796
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3797
|
+
* valid.
|
|
3798
|
+
* @extends {jspb.Message}
|
|
3799
|
+
* @constructor
|
|
3800
|
+
*/
|
|
3801
|
+
proto.sniipappappconfigapi.ResponseCode = function(opt_data) {
|
|
3802
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3803
|
+
};
|
|
3804
|
+
goog.inherits(proto.sniipappappconfigapi.ResponseCode, jspb.Message);
|
|
3805
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3806
|
+
proto.sniipappappconfigapi.ResponseCode.displayName = 'proto.sniipappappconfigapi.ResponseCode';
|
|
3807
|
+
}
|
|
3808
|
+
|
|
3809
|
+
|
|
3810
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3811
|
+
/**
|
|
3812
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3813
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3814
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3815
|
+
* For the list of reserved names please see:
|
|
3816
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3817
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3818
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3819
|
+
* @return {!Object}
|
|
3820
|
+
*/
|
|
3821
|
+
proto.sniipappappconfigapi.ResponseCode.prototype.toObject = function(opt_includeInstance) {
|
|
3822
|
+
return proto.sniipappappconfigapi.ResponseCode.toObject(opt_includeInstance, this);
|
|
3823
|
+
};
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
/**
|
|
3827
|
+
* Static version of the {@see toObject} method.
|
|
3828
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3829
|
+
* instance for transitional soy proto support:
|
|
3830
|
+
* http://goto/soy-param-migration
|
|
3831
|
+
* @param {!proto.sniipappappconfigapi.ResponseCode} msg The msg instance to transform.
|
|
3832
|
+
* @return {!Object}
|
|
3833
|
+
*/
|
|
3834
|
+
proto.sniipappappconfigapi.ResponseCode.toObject = function(includeInstance, msg) {
|
|
3835
|
+
var f, obj = {
|
|
3836
|
+
code: msg.getCode(),
|
|
3837
|
+
message: msg.getMessage()
|
|
3838
|
+
};
|
|
3839
|
+
|
|
3840
|
+
if (includeInstance) {
|
|
3841
|
+
obj.$jspbMessageInstance = msg;
|
|
3842
|
+
}
|
|
3843
|
+
return obj;
|
|
3844
|
+
};
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
|
|
3848
|
+
/**
|
|
3849
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3850
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3851
|
+
* @return {!proto.sniipappappconfigapi.ResponseCode}
|
|
3852
|
+
*/
|
|
3853
|
+
proto.sniipappappconfigapi.ResponseCode.deserializeBinary = function(bytes) {
|
|
3854
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3855
|
+
var msg = new proto.sniipappappconfigapi.ResponseCode;
|
|
3856
|
+
return proto.sniipappappconfigapi.ResponseCode.deserializeBinaryFromReader(msg, reader);
|
|
3857
|
+
};
|
|
3858
|
+
|
|
3859
|
+
|
|
3860
|
+
/**
|
|
3861
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3862
|
+
* given reader into the given message object.
|
|
3863
|
+
* @param {!proto.sniipappappconfigapi.ResponseCode} msg The message object to deserialize into.
|
|
3864
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3865
|
+
* @return {!proto.sniipappappconfigapi.ResponseCode}
|
|
3866
|
+
*/
|
|
3867
|
+
proto.sniipappappconfigapi.ResponseCode.deserializeBinaryFromReader = function(msg, reader) {
|
|
3868
|
+
while (reader.nextField()) {
|
|
3869
|
+
if (reader.isEndGroup()) {
|
|
3870
|
+
break;
|
|
3871
|
+
}
|
|
3872
|
+
var field = reader.getFieldNumber();
|
|
3873
|
+
switch (field) {
|
|
3874
|
+
case 1:
|
|
3875
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3876
|
+
msg.setCode(value);
|
|
3877
|
+
break;
|
|
3878
|
+
case 2:
|
|
3879
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3880
|
+
msg.setMessage(value);
|
|
3881
|
+
break;
|
|
3882
|
+
default:
|
|
3883
|
+
reader.skipField();
|
|
3884
|
+
break;
|
|
3885
|
+
}
|
|
3886
|
+
}
|
|
3887
|
+
return msg;
|
|
3888
|
+
};
|
|
3889
|
+
|
|
3890
|
+
|
|
3891
|
+
/**
|
|
3892
|
+
* Class method variant: serializes the given message to binary data
|
|
3893
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3894
|
+
* @param {!proto.sniipappappconfigapi.ResponseCode} message
|
|
3895
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3896
|
+
*/
|
|
3897
|
+
proto.sniipappappconfigapi.ResponseCode.serializeBinaryToWriter = function(message, writer) {
|
|
3898
|
+
message.serializeBinaryToWriter(writer);
|
|
3899
|
+
};
|
|
3900
|
+
|
|
3901
|
+
|
|
3902
|
+
/**
|
|
3903
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3904
|
+
* @return {!Uint8Array}
|
|
3905
|
+
*/
|
|
3906
|
+
proto.sniipappappconfigapi.ResponseCode.prototype.serializeBinary = function() {
|
|
3907
|
+
var writer = new jspb.BinaryWriter();
|
|
3908
|
+
this.serializeBinaryToWriter(writer);
|
|
3909
|
+
return writer.getResultBuffer();
|
|
3910
|
+
};
|
|
3911
|
+
|
|
3912
|
+
|
|
3913
|
+
/**
|
|
3914
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3915
|
+
* writing to the given BinaryWriter.
|
|
3916
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3917
|
+
*/
|
|
3918
|
+
proto.sniipappappconfigapi.ResponseCode.prototype.serializeBinaryToWriter = function (writer) {
|
|
3919
|
+
var f = undefined;
|
|
3920
|
+
f = this.getCode();
|
|
3921
|
+
if (f !== 0) {
|
|
3922
|
+
writer.writeInt32(
|
|
3923
|
+
1,
|
|
3924
|
+
f
|
|
3925
|
+
);
|
|
3926
|
+
}
|
|
3927
|
+
f = this.getMessage();
|
|
3928
|
+
if (f.length > 0) {
|
|
3929
|
+
writer.writeString(
|
|
3930
|
+
2,
|
|
3931
|
+
f
|
|
3932
|
+
);
|
|
3933
|
+
}
|
|
3934
|
+
};
|
|
3935
|
+
|
|
3936
|
+
|
|
3937
|
+
/**
|
|
3938
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3939
|
+
* @return {!proto.sniipappappconfigapi.ResponseCode} The clone.
|
|
3940
|
+
*/
|
|
3941
|
+
proto.sniipappappconfigapi.ResponseCode.prototype.cloneMessage = function() {
|
|
3942
|
+
return /** @type {!proto.sniipappappconfigapi.ResponseCode} */ (jspb.Message.cloneMessage(this));
|
|
3943
|
+
};
|
|
3944
|
+
|
|
3945
|
+
|
|
3946
|
+
/**
|
|
3947
|
+
* optional int32 code = 1;
|
|
3948
|
+
* @return {number}
|
|
3949
|
+
*/
|
|
3950
|
+
proto.sniipappappconfigapi.ResponseCode.prototype.getCode = function() {
|
|
3951
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
3952
|
+
};
|
|
3953
|
+
|
|
3954
|
+
|
|
3955
|
+
/** @param {number} value */
|
|
3956
|
+
proto.sniipappappconfigapi.ResponseCode.prototype.setCode = function(value) {
|
|
3957
|
+
jspb.Message.setField(this, 1, value);
|
|
3958
|
+
};
|
|
3959
|
+
|
|
3960
|
+
|
|
3961
|
+
/**
|
|
3962
|
+
* optional string message = 2;
|
|
3963
|
+
* @return {string}
|
|
3964
|
+
*/
|
|
3965
|
+
proto.sniipappappconfigapi.ResponseCode.prototype.getMessage = function() {
|
|
3966
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
3967
|
+
};
|
|
3968
|
+
|
|
3969
|
+
|
|
3970
|
+
/** @param {string} value */
|
|
3971
|
+
proto.sniipappappconfigapi.ResponseCode.prototype.setMessage = function(value) {
|
|
3972
|
+
jspb.Message.setField(this, 2, value);
|
|
3973
|
+
};
|
|
3974
|
+
|
|
3975
|
+
|
|
3976
|
+
|
|
3977
|
+
/**
|
|
3978
|
+
* Generated by JsPbCodeGenerator.
|
|
3979
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3980
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3981
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3982
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3983
|
+
* valid.
|
|
3984
|
+
* @extends {jspb.Message}
|
|
3985
|
+
* @constructor
|
|
3986
|
+
*/
|
|
3987
|
+
proto.sniipappappconfigapi.ScanCodes = function(opt_data) {
|
|
3988
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipappappconfigapi.ScanCodes.repeatedFields_, null);
|
|
3989
|
+
};
|
|
3990
|
+
goog.inherits(proto.sniipappappconfigapi.ScanCodes, jspb.Message);
|
|
3991
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3992
|
+
proto.sniipappappconfigapi.ScanCodes.displayName = 'proto.sniipappappconfigapi.ScanCodes';
|
|
3993
|
+
}
|
|
3994
|
+
/**
|
|
3995
|
+
* List of repeated fields within this message type.
|
|
3996
|
+
* @private {!Array<number>}
|
|
3997
|
+
* @const
|
|
3998
|
+
*/
|
|
3999
|
+
proto.sniipappappconfigapi.ScanCodes.repeatedFields_ = [1,2];
|
|
4000
|
+
|
|
4001
|
+
|
|
4002
|
+
|
|
4003
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4004
|
+
/**
|
|
4005
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
4006
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4007
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4008
|
+
* For the list of reserved names please see:
|
|
4009
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
4010
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
4011
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
4012
|
+
* @return {!Object}
|
|
4013
|
+
*/
|
|
4014
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.toObject = function(opt_includeInstance) {
|
|
4015
|
+
return proto.sniipappappconfigapi.ScanCodes.toObject(opt_includeInstance, this);
|
|
4016
|
+
};
|
|
4017
|
+
|
|
4018
|
+
|
|
4019
|
+
/**
|
|
4020
|
+
* Static version of the {@see toObject} method.
|
|
4021
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
4022
|
+
* instance for transitional soy proto support:
|
|
4023
|
+
* http://goto/soy-param-migration
|
|
4024
|
+
* @param {!proto.sniipappappconfigapi.ScanCodes} msg The msg instance to transform.
|
|
4025
|
+
* @return {!Object}
|
|
4026
|
+
*/
|
|
4027
|
+
proto.sniipappappconfigapi.ScanCodes.toObject = function(includeInstance, msg) {
|
|
4028
|
+
var f, obj = {
|
|
4029
|
+
referenceregextitlesList: jspb.Message.getField(msg, 1),
|
|
4030
|
+
billercoderegextitlesList: jspb.Message.getField(msg, 2),
|
|
4031
|
+
billercoderegexnumbers: msg.getBillercoderegexnumbers(),
|
|
4032
|
+
referenceregexnumbers: msg.getReferenceregexnumbers()
|
|
4033
|
+
};
|
|
4034
|
+
|
|
4035
|
+
if (includeInstance) {
|
|
4036
|
+
obj.$jspbMessageInstance = msg;
|
|
4037
|
+
}
|
|
4038
|
+
return obj;
|
|
4039
|
+
};
|
|
4040
|
+
}
|
|
4041
|
+
|
|
4042
|
+
|
|
4043
|
+
/**
|
|
4044
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4045
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4046
|
+
* @return {!proto.sniipappappconfigapi.ScanCodes}
|
|
4047
|
+
*/
|
|
4048
|
+
proto.sniipappappconfigapi.ScanCodes.deserializeBinary = function(bytes) {
|
|
4049
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4050
|
+
var msg = new proto.sniipappappconfigapi.ScanCodes;
|
|
4051
|
+
return proto.sniipappappconfigapi.ScanCodes.deserializeBinaryFromReader(msg, reader);
|
|
4052
|
+
};
|
|
4053
|
+
|
|
4054
|
+
|
|
4055
|
+
/**
|
|
4056
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4057
|
+
* given reader into the given message object.
|
|
4058
|
+
* @param {!proto.sniipappappconfigapi.ScanCodes} msg The message object to deserialize into.
|
|
4059
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4060
|
+
* @return {!proto.sniipappappconfigapi.ScanCodes}
|
|
4061
|
+
*/
|
|
4062
|
+
proto.sniipappappconfigapi.ScanCodes.deserializeBinaryFromReader = function(msg, reader) {
|
|
4063
|
+
while (reader.nextField()) {
|
|
4064
|
+
if (reader.isEndGroup()) {
|
|
4065
|
+
break;
|
|
4066
|
+
}
|
|
4067
|
+
var field = reader.getFieldNumber();
|
|
4068
|
+
switch (field) {
|
|
4069
|
+
case 1:
|
|
4070
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4071
|
+
msg.getReferenceregextitlesList().push(value);
|
|
4072
|
+
msg.setReferenceregextitlesList(msg.getReferenceregextitlesList());
|
|
4073
|
+
break;
|
|
4074
|
+
case 2:
|
|
4075
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4076
|
+
msg.getBillercoderegextitlesList().push(value);
|
|
4077
|
+
msg.setBillercoderegextitlesList(msg.getBillercoderegextitlesList());
|
|
4078
|
+
break;
|
|
4079
|
+
case 3:
|
|
4080
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4081
|
+
msg.setBillercoderegexnumbers(value);
|
|
4082
|
+
break;
|
|
4083
|
+
case 4:
|
|
4084
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4085
|
+
msg.setReferenceregexnumbers(value);
|
|
4086
|
+
break;
|
|
4087
|
+
default:
|
|
4088
|
+
reader.skipField();
|
|
4089
|
+
break;
|
|
4090
|
+
}
|
|
4091
|
+
}
|
|
4092
|
+
return msg;
|
|
4093
|
+
};
|
|
4094
|
+
|
|
4095
|
+
|
|
4096
|
+
/**
|
|
4097
|
+
* Class method variant: serializes the given message to binary data
|
|
4098
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
4099
|
+
* @param {!proto.sniipappappconfigapi.ScanCodes} message
|
|
4100
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4101
|
+
*/
|
|
4102
|
+
proto.sniipappappconfigapi.ScanCodes.serializeBinaryToWriter = function(message, writer) {
|
|
4103
|
+
message.serializeBinaryToWriter(writer);
|
|
4104
|
+
};
|
|
4105
|
+
|
|
4106
|
+
|
|
4107
|
+
/**
|
|
4108
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4109
|
+
* @return {!Uint8Array}
|
|
4110
|
+
*/
|
|
4111
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.serializeBinary = function() {
|
|
4112
|
+
var writer = new jspb.BinaryWriter();
|
|
4113
|
+
this.serializeBinaryToWriter(writer);
|
|
4114
|
+
return writer.getResultBuffer();
|
|
4115
|
+
};
|
|
4116
|
+
|
|
4117
|
+
|
|
4118
|
+
/**
|
|
4119
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
4120
|
+
* writing to the given BinaryWriter.
|
|
4121
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4122
|
+
*/
|
|
4123
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.serializeBinaryToWriter = function (writer) {
|
|
4124
|
+
var f = undefined;
|
|
4125
|
+
f = this.getReferenceregextitlesList();
|
|
4126
|
+
if (f.length > 0) {
|
|
4127
|
+
writer.writeRepeatedString(
|
|
4128
|
+
1,
|
|
4129
|
+
f
|
|
4130
|
+
);
|
|
4131
|
+
}
|
|
4132
|
+
f = this.getBillercoderegextitlesList();
|
|
4133
|
+
if (f.length > 0) {
|
|
4134
|
+
writer.writeRepeatedString(
|
|
4135
|
+
2,
|
|
4136
|
+
f
|
|
4137
|
+
);
|
|
4138
|
+
}
|
|
4139
|
+
f = this.getBillercoderegexnumbers();
|
|
4140
|
+
if (f.length > 0) {
|
|
4141
|
+
writer.writeString(
|
|
4142
|
+
3,
|
|
4143
|
+
f
|
|
4144
|
+
);
|
|
4145
|
+
}
|
|
4146
|
+
f = this.getReferenceregexnumbers();
|
|
4147
|
+
if (f.length > 0) {
|
|
4148
|
+
writer.writeString(
|
|
4149
|
+
4,
|
|
4150
|
+
f
|
|
4151
|
+
);
|
|
4152
|
+
}
|
|
4153
|
+
};
|
|
4154
|
+
|
|
4155
|
+
|
|
4156
|
+
/**
|
|
4157
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
4158
|
+
* @return {!proto.sniipappappconfigapi.ScanCodes} The clone.
|
|
4159
|
+
*/
|
|
4160
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.cloneMessage = function() {
|
|
4161
|
+
return /** @type {!proto.sniipappappconfigapi.ScanCodes} */ (jspb.Message.cloneMessage(this));
|
|
4162
|
+
};
|
|
4163
|
+
|
|
4164
|
+
|
|
4165
|
+
/**
|
|
4166
|
+
* repeated string referenceRegexTitles = 1;
|
|
4167
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
4168
|
+
* replace the array itself, then you must call the setter to update it.
|
|
4169
|
+
* @return {!Array.<string>}
|
|
4170
|
+
*/
|
|
4171
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.getReferenceregextitlesList = function() {
|
|
4172
|
+
return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 1));
|
|
4173
|
+
};
|
|
4174
|
+
|
|
4175
|
+
|
|
4176
|
+
/** @param {Array.<string>} value */
|
|
4177
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.setReferenceregextitlesList = function(value) {
|
|
4178
|
+
jspb.Message.setField(this, 1, value || []);
|
|
4179
|
+
};
|
|
4180
|
+
|
|
4181
|
+
|
|
4182
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.clearReferenceregextitlesList = function() {
|
|
4183
|
+
jspb.Message.setField(this, 1, []);
|
|
4184
|
+
};
|
|
4185
|
+
|
|
4186
|
+
|
|
4187
|
+
/**
|
|
4188
|
+
* repeated string billerCodeRegexTitles = 2;
|
|
4189
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
4190
|
+
* replace the array itself, then you must call the setter to update it.
|
|
4191
|
+
* @return {!Array.<string>}
|
|
4192
|
+
*/
|
|
4193
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.getBillercoderegextitlesList = function() {
|
|
4194
|
+
return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 2));
|
|
4195
|
+
};
|
|
4196
|
+
|
|
4197
|
+
|
|
4198
|
+
/** @param {Array.<string>} value */
|
|
4199
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.setBillercoderegextitlesList = function(value) {
|
|
4200
|
+
jspb.Message.setField(this, 2, value || []);
|
|
4201
|
+
};
|
|
4202
|
+
|
|
4203
|
+
|
|
4204
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.clearBillercoderegextitlesList = function() {
|
|
4205
|
+
jspb.Message.setField(this, 2, []);
|
|
4206
|
+
};
|
|
4207
|
+
|
|
4208
|
+
|
|
4209
|
+
/**
|
|
4210
|
+
* optional string billerCodeRegexNumbers = 3;
|
|
4211
|
+
* @return {string}
|
|
4212
|
+
*/
|
|
4213
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.getBillercoderegexnumbers = function() {
|
|
4214
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
4215
|
+
};
|
|
4216
|
+
|
|
4217
|
+
|
|
4218
|
+
/** @param {string} value */
|
|
4219
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.setBillercoderegexnumbers = function(value) {
|
|
4220
|
+
jspb.Message.setField(this, 3, value);
|
|
4221
|
+
};
|
|
4222
|
+
|
|
4223
|
+
|
|
4224
|
+
/**
|
|
4225
|
+
* optional string referenceRegexNumbers = 4;
|
|
4226
|
+
* @return {string}
|
|
4227
|
+
*/
|
|
4228
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.getReferenceregexnumbers = function() {
|
|
4229
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
4230
|
+
};
|
|
4231
|
+
|
|
4232
|
+
|
|
4233
|
+
/** @param {string} value */
|
|
4234
|
+
proto.sniipappappconfigapi.ScanCodes.prototype.setReferenceregexnumbers = function(value) {
|
|
4235
|
+
jspb.Message.setField(this, 4, value);
|
|
4236
|
+
};
|
|
4237
|
+
|
|
4238
|
+
|
|
4239
|
+
|
|
4240
|
+
/**
|
|
4241
|
+
* Generated by JsPbCodeGenerator.
|
|
4242
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4243
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4244
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4245
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4246
|
+
* valid.
|
|
4247
|
+
* @extends {jspb.Message}
|
|
4248
|
+
* @constructor
|
|
4249
|
+
*/
|
|
4250
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest = function(opt_data) {
|
|
4251
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4252
|
+
};
|
|
4253
|
+
goog.inherits(proto.sniipappappconfigapi.TermsAndConditionsRequest, jspb.Message);
|
|
4254
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4255
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.displayName = 'proto.sniipappappconfigapi.TermsAndConditionsRequest';
|
|
4256
|
+
}
|
|
4257
|
+
|
|
4258
|
+
|
|
4259
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4260
|
+
/**
|
|
4261
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
4262
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4263
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4264
|
+
* For the list of reserved names please see:
|
|
4265
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
4266
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
4267
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
4268
|
+
* @return {!Object}
|
|
4269
|
+
*/
|
|
4270
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4271
|
+
return proto.sniipappappconfigapi.TermsAndConditionsRequest.toObject(opt_includeInstance, this);
|
|
4272
|
+
};
|
|
4273
|
+
|
|
4274
|
+
|
|
4275
|
+
/**
|
|
4276
|
+
* Static version of the {@see toObject} method.
|
|
4277
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
4278
|
+
* instance for transitional soy proto support:
|
|
4279
|
+
* http://goto/soy-param-migration
|
|
4280
|
+
* @param {!proto.sniipappappconfigapi.TermsAndConditionsRequest} msg The msg instance to transform.
|
|
4281
|
+
* @return {!Object}
|
|
4282
|
+
*/
|
|
4283
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.toObject = function(includeInstance, msg) {
|
|
4284
|
+
var f, obj = {
|
|
4285
|
+
url: msg.getUrl(),
|
|
4286
|
+
version: msg.getVersion()
|
|
4287
|
+
};
|
|
4288
|
+
|
|
4289
|
+
if (includeInstance) {
|
|
4290
|
+
obj.$jspbMessageInstance = msg;
|
|
4291
|
+
}
|
|
4292
|
+
return obj;
|
|
4293
|
+
};
|
|
4294
|
+
}
|
|
4295
|
+
|
|
4296
|
+
|
|
4297
|
+
/**
|
|
4298
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4299
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4300
|
+
* @return {!proto.sniipappappconfigapi.TermsAndConditionsRequest}
|
|
4301
|
+
*/
|
|
4302
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.deserializeBinary = function(bytes) {
|
|
4303
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4304
|
+
var msg = new proto.sniipappappconfigapi.TermsAndConditionsRequest;
|
|
4305
|
+
return proto.sniipappappconfigapi.TermsAndConditionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
4306
|
+
};
|
|
4307
|
+
|
|
4308
|
+
|
|
4309
|
+
/**
|
|
4310
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4311
|
+
* given reader into the given message object.
|
|
4312
|
+
* @param {!proto.sniipappappconfigapi.TermsAndConditionsRequest} msg The message object to deserialize into.
|
|
4313
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4314
|
+
* @return {!proto.sniipappappconfigapi.TermsAndConditionsRequest}
|
|
4315
|
+
*/
|
|
4316
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4317
|
+
while (reader.nextField()) {
|
|
4318
|
+
if (reader.isEndGroup()) {
|
|
4319
|
+
break;
|
|
4320
|
+
}
|
|
4321
|
+
var field = reader.getFieldNumber();
|
|
4322
|
+
switch (field) {
|
|
4323
|
+
case 1:
|
|
4324
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4325
|
+
msg.setUrl(value);
|
|
4326
|
+
break;
|
|
4327
|
+
case 2:
|
|
4328
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4329
|
+
msg.setVersion(value);
|
|
4330
|
+
break;
|
|
4331
|
+
default:
|
|
4332
|
+
reader.skipField();
|
|
4333
|
+
break;
|
|
4334
|
+
}
|
|
4335
|
+
}
|
|
4336
|
+
return msg;
|
|
4337
|
+
};
|
|
4338
|
+
|
|
4339
|
+
|
|
4340
|
+
/**
|
|
4341
|
+
* Class method variant: serializes the given message to binary data
|
|
4342
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
4343
|
+
* @param {!proto.sniipappappconfigapi.TermsAndConditionsRequest} message
|
|
4344
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4345
|
+
*/
|
|
4346
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4347
|
+
message.serializeBinaryToWriter(writer);
|
|
4348
|
+
};
|
|
4349
|
+
|
|
4350
|
+
|
|
4351
|
+
/**
|
|
4352
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4353
|
+
* @return {!Uint8Array}
|
|
4354
|
+
*/
|
|
4355
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.serializeBinary = function() {
|
|
4356
|
+
var writer = new jspb.BinaryWriter();
|
|
4357
|
+
this.serializeBinaryToWriter(writer);
|
|
4358
|
+
return writer.getResultBuffer();
|
|
4359
|
+
};
|
|
4360
|
+
|
|
4361
|
+
|
|
4362
|
+
/**
|
|
4363
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
4364
|
+
* writing to the given BinaryWriter.
|
|
4365
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4366
|
+
*/
|
|
4367
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
4368
|
+
var f = undefined;
|
|
4369
|
+
f = this.getUrl();
|
|
4370
|
+
if (f.length > 0) {
|
|
4371
|
+
writer.writeString(
|
|
4372
|
+
1,
|
|
4373
|
+
f
|
|
4374
|
+
);
|
|
4375
|
+
}
|
|
4376
|
+
f = this.getVersion();
|
|
4377
|
+
if (f.length > 0) {
|
|
4378
|
+
writer.writeString(
|
|
4379
|
+
2,
|
|
4380
|
+
f
|
|
4381
|
+
);
|
|
4382
|
+
}
|
|
4383
|
+
};
|
|
4384
|
+
|
|
4385
|
+
|
|
4386
|
+
/**
|
|
4387
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
4388
|
+
* @return {!proto.sniipappappconfigapi.TermsAndConditionsRequest} The clone.
|
|
4389
|
+
*/
|
|
4390
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.cloneMessage = function() {
|
|
4391
|
+
return /** @type {!proto.sniipappappconfigapi.TermsAndConditionsRequest} */ (jspb.Message.cloneMessage(this));
|
|
4392
|
+
};
|
|
4393
|
+
|
|
4394
|
+
|
|
4395
|
+
/**
|
|
4396
|
+
* optional string url = 1;
|
|
4397
|
+
* @return {string}
|
|
4398
|
+
*/
|
|
4399
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.getUrl = function() {
|
|
4400
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
4401
|
+
};
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
/** @param {string} value */
|
|
4405
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.setUrl = function(value) {
|
|
4406
|
+
jspb.Message.setField(this, 1, value);
|
|
4407
|
+
};
|
|
4408
|
+
|
|
4409
|
+
|
|
4410
|
+
/**
|
|
4411
|
+
* optional string version = 2;
|
|
4412
|
+
* @return {string}
|
|
4413
|
+
*/
|
|
4414
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.getVersion = function() {
|
|
4415
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
4416
|
+
};
|
|
4417
|
+
|
|
4418
|
+
|
|
4419
|
+
/** @param {string} value */
|
|
4420
|
+
proto.sniipappappconfigapi.TermsAndConditionsRequest.prototype.setVersion = function(value) {
|
|
4421
|
+
jspb.Message.setField(this, 2, value);
|
|
4422
|
+
};
|
|
4423
|
+
|
|
4424
|
+
|
|
4425
|
+
|
|
4426
|
+
/**
|
|
4427
|
+
* Generated by JsPbCodeGenerator.
|
|
4428
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4429
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4430
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4431
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4432
|
+
* valid.
|
|
4433
|
+
* @extends {jspb.Message}
|
|
4434
|
+
* @constructor
|
|
4435
|
+
*/
|
|
4436
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse = function(opt_data) {
|
|
4437
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4438
|
+
};
|
|
4439
|
+
goog.inherits(proto.sniipappappconfigapi.TermsAndConditionsResponse, jspb.Message);
|
|
4440
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4441
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.displayName = 'proto.sniipappappconfigapi.TermsAndConditionsResponse';
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4444
|
+
|
|
4445
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4446
|
+
/**
|
|
4447
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
4448
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4449
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4450
|
+
* For the list of reserved names please see:
|
|
4451
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
4452
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
4453
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
4454
|
+
* @return {!Object}
|
|
4455
|
+
*/
|
|
4456
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4457
|
+
return proto.sniipappappconfigapi.TermsAndConditionsResponse.toObject(opt_includeInstance, this);
|
|
4458
|
+
};
|
|
4459
|
+
|
|
4460
|
+
|
|
4461
|
+
/**
|
|
4462
|
+
* Static version of the {@see toObject} method.
|
|
4463
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
4464
|
+
* instance for transitional soy proto support:
|
|
4465
|
+
* http://goto/soy-param-migration
|
|
4466
|
+
* @param {!proto.sniipappappconfigapi.TermsAndConditionsResponse} msg The msg instance to transform.
|
|
4467
|
+
* @return {!Object}
|
|
4468
|
+
*/
|
|
4469
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.toObject = function(includeInstance, msg) {
|
|
4470
|
+
var f, obj = {
|
|
4471
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipappappconfigapi.ResponseCode.toObject(includeInstance, f),
|
|
4472
|
+
url: msg.getUrl(),
|
|
4473
|
+
version: msg.getVersion()
|
|
4474
|
+
};
|
|
4475
|
+
|
|
4476
|
+
if (includeInstance) {
|
|
4477
|
+
obj.$jspbMessageInstance = msg;
|
|
4478
|
+
}
|
|
4479
|
+
return obj;
|
|
4480
|
+
};
|
|
4481
|
+
}
|
|
4482
|
+
|
|
4483
|
+
|
|
4484
|
+
/**
|
|
4485
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4486
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4487
|
+
* @return {!proto.sniipappappconfigapi.TermsAndConditionsResponse}
|
|
4488
|
+
*/
|
|
4489
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.deserializeBinary = function(bytes) {
|
|
4490
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4491
|
+
var msg = new proto.sniipappappconfigapi.TermsAndConditionsResponse;
|
|
4492
|
+
return proto.sniipappappconfigapi.TermsAndConditionsResponse.deserializeBinaryFromReader(msg, reader);
|
|
4493
|
+
};
|
|
4494
|
+
|
|
4495
|
+
|
|
4496
|
+
/**
|
|
4497
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4498
|
+
* given reader into the given message object.
|
|
4499
|
+
* @param {!proto.sniipappappconfigapi.TermsAndConditionsResponse} msg The message object to deserialize into.
|
|
4500
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4501
|
+
* @return {!proto.sniipappappconfigapi.TermsAndConditionsResponse}
|
|
4502
|
+
*/
|
|
4503
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4504
|
+
while (reader.nextField()) {
|
|
4505
|
+
if (reader.isEndGroup()) {
|
|
4506
|
+
break;
|
|
4507
|
+
}
|
|
4508
|
+
var field = reader.getFieldNumber();
|
|
4509
|
+
switch (field) {
|
|
4510
|
+
case 1:
|
|
4511
|
+
var value = new proto.sniipappappconfigapi.ResponseCode;
|
|
4512
|
+
reader.readMessage(value,proto.sniipappappconfigapi.ResponseCode.deserializeBinaryFromReader);
|
|
4513
|
+
msg.setResponsecode(value);
|
|
4514
|
+
break;
|
|
4515
|
+
case 2:
|
|
4516
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4517
|
+
msg.setUrl(value);
|
|
4518
|
+
break;
|
|
4519
|
+
case 3:
|
|
4520
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4521
|
+
msg.setVersion(value);
|
|
4522
|
+
break;
|
|
4523
|
+
default:
|
|
4524
|
+
reader.skipField();
|
|
4525
|
+
break;
|
|
4526
|
+
}
|
|
4527
|
+
}
|
|
4528
|
+
return msg;
|
|
4529
|
+
};
|
|
4530
|
+
|
|
4531
|
+
|
|
4532
|
+
/**
|
|
4533
|
+
* Class method variant: serializes the given message to binary data
|
|
4534
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
4535
|
+
* @param {!proto.sniipappappconfigapi.TermsAndConditionsResponse} message
|
|
4536
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4537
|
+
*/
|
|
4538
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4539
|
+
message.serializeBinaryToWriter(writer);
|
|
4540
|
+
};
|
|
4541
|
+
|
|
4542
|
+
|
|
4543
|
+
/**
|
|
4544
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4545
|
+
* @return {!Uint8Array}
|
|
4546
|
+
*/
|
|
4547
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.serializeBinary = function() {
|
|
4548
|
+
var writer = new jspb.BinaryWriter();
|
|
4549
|
+
this.serializeBinaryToWriter(writer);
|
|
4550
|
+
return writer.getResultBuffer();
|
|
4551
|
+
};
|
|
4552
|
+
|
|
4553
|
+
|
|
4554
|
+
/**
|
|
4555
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
4556
|
+
* writing to the given BinaryWriter.
|
|
4557
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4558
|
+
*/
|
|
4559
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
4560
|
+
var f = undefined;
|
|
4561
|
+
f = this.getResponsecode();
|
|
4562
|
+
if (f != null) {
|
|
4563
|
+
writer.writeMessage(
|
|
4564
|
+
1,
|
|
4565
|
+
f,
|
|
4566
|
+
proto.sniipappappconfigapi.ResponseCode.serializeBinaryToWriter
|
|
4567
|
+
);
|
|
4568
|
+
}
|
|
4569
|
+
f = this.getUrl();
|
|
4570
|
+
if (f.length > 0) {
|
|
4571
|
+
writer.writeString(
|
|
4572
|
+
2,
|
|
4573
|
+
f
|
|
4574
|
+
);
|
|
4575
|
+
}
|
|
4576
|
+
f = this.getVersion();
|
|
4577
|
+
if (f.length > 0) {
|
|
4578
|
+
writer.writeString(
|
|
4579
|
+
3,
|
|
4580
|
+
f
|
|
4581
|
+
);
|
|
4582
|
+
}
|
|
4583
|
+
};
|
|
4584
|
+
|
|
4585
|
+
|
|
4586
|
+
/**
|
|
4587
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
4588
|
+
* @return {!proto.sniipappappconfigapi.TermsAndConditionsResponse} The clone.
|
|
4589
|
+
*/
|
|
4590
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.cloneMessage = function() {
|
|
4591
|
+
return /** @type {!proto.sniipappappconfigapi.TermsAndConditionsResponse} */ (jspb.Message.cloneMessage(this));
|
|
4592
|
+
};
|
|
4593
|
+
|
|
4594
|
+
|
|
4595
|
+
/**
|
|
4596
|
+
* optional ResponseCode responseCode = 1;
|
|
4597
|
+
* @return {proto.sniipappappconfigapi.ResponseCode}
|
|
4598
|
+
*/
|
|
4599
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.getResponsecode = function() {
|
|
4600
|
+
return /** @type{proto.sniipappappconfigapi.ResponseCode} */ (
|
|
4601
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ResponseCode, 1));
|
|
4602
|
+
};
|
|
4603
|
+
|
|
4604
|
+
|
|
4605
|
+
/** @param {proto.sniipappappconfigapi.ResponseCode|undefined} value */
|
|
4606
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.setResponsecode = function(value) {
|
|
4607
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
4608
|
+
};
|
|
4609
|
+
|
|
4610
|
+
|
|
4611
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.clearResponsecode = function() {
|
|
4612
|
+
this.setResponsecode(undefined);
|
|
4613
|
+
};
|
|
4614
|
+
|
|
4615
|
+
|
|
4616
|
+
/**
|
|
4617
|
+
* Returns whether this field is set.
|
|
4618
|
+
* @return{!boolean}
|
|
4619
|
+
*/
|
|
4620
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.hasResponsecode = function() {
|
|
4621
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4622
|
+
};
|
|
4623
|
+
|
|
4624
|
+
|
|
4625
|
+
/**
|
|
4626
|
+
* optional string url = 2;
|
|
4627
|
+
* @return {string}
|
|
4628
|
+
*/
|
|
4629
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.getUrl = function() {
|
|
4630
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
4631
|
+
};
|
|
4632
|
+
|
|
4633
|
+
|
|
4634
|
+
/** @param {string} value */
|
|
4635
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.setUrl = function(value) {
|
|
4636
|
+
jspb.Message.setField(this, 2, value);
|
|
4637
|
+
};
|
|
4638
|
+
|
|
4639
|
+
|
|
4640
|
+
/**
|
|
4641
|
+
* optional string version = 3;
|
|
4642
|
+
* @return {string}
|
|
4643
|
+
*/
|
|
4644
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.getVersion = function() {
|
|
4645
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
4646
|
+
};
|
|
4647
|
+
|
|
4648
|
+
|
|
4649
|
+
/** @param {string} value */
|
|
4650
|
+
proto.sniipappappconfigapi.TermsAndConditionsResponse.prototype.setVersion = function(value) {
|
|
4651
|
+
jspb.Message.setField(this, 3, value);
|
|
4652
|
+
};
|
|
4653
|
+
|
|
4654
|
+
|
|
4655
|
+
|
|
4656
|
+
/**
|
|
4657
|
+
* Generated by JsPbCodeGenerator.
|
|
4658
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4659
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4660
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4661
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4662
|
+
* valid.
|
|
4663
|
+
* @extends {jspb.Message}
|
|
4664
|
+
* @constructor
|
|
4665
|
+
*/
|
|
4666
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest = function(opt_data) {
|
|
4667
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4668
|
+
};
|
|
4669
|
+
goog.inherits(proto.sniipappappconfigapi.UpdateDashboardItemsRequest, jspb.Message);
|
|
4670
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4671
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.displayName = 'proto.sniipappappconfigapi.UpdateDashboardItemsRequest';
|
|
4672
|
+
}
|
|
4673
|
+
|
|
4674
|
+
|
|
4675
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4676
|
+
/**
|
|
4677
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
4678
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4679
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4680
|
+
* For the list of reserved names please see:
|
|
4681
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
4682
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
4683
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
4684
|
+
* @return {!Object}
|
|
4685
|
+
*/
|
|
4686
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4687
|
+
return proto.sniipappappconfigapi.UpdateDashboardItemsRequest.toObject(opt_includeInstance, this);
|
|
4688
|
+
};
|
|
4689
|
+
|
|
4690
|
+
|
|
4691
|
+
/**
|
|
4692
|
+
* Static version of the {@see toObject} method.
|
|
4693
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
4694
|
+
* instance for transitional soy proto support:
|
|
4695
|
+
* http://goto/soy-param-migration
|
|
4696
|
+
* @param {!proto.sniipappappconfigapi.UpdateDashboardItemsRequest} msg The msg instance to transform.
|
|
4697
|
+
* @return {!Object}
|
|
4698
|
+
*/
|
|
4699
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.toObject = function(includeInstance, msg) {
|
|
4700
|
+
var f, obj = {
|
|
4701
|
+
data: (f = msg.getData()) && proto.sniipappappconfigapi.DashboardItemsRequest.toObject(includeInstance, f)
|
|
4702
|
+
};
|
|
4703
|
+
|
|
4704
|
+
if (includeInstance) {
|
|
4705
|
+
obj.$jspbMessageInstance = msg;
|
|
4706
|
+
}
|
|
4707
|
+
return obj;
|
|
4708
|
+
};
|
|
4709
|
+
}
|
|
4710
|
+
|
|
4711
|
+
|
|
4712
|
+
/**
|
|
4713
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4714
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4715
|
+
* @return {!proto.sniipappappconfigapi.UpdateDashboardItemsRequest}
|
|
4716
|
+
*/
|
|
4717
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.deserializeBinary = function(bytes) {
|
|
4718
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4719
|
+
var msg = new proto.sniipappappconfigapi.UpdateDashboardItemsRequest;
|
|
4720
|
+
return proto.sniipappappconfigapi.UpdateDashboardItemsRequest.deserializeBinaryFromReader(msg, reader);
|
|
4721
|
+
};
|
|
4722
|
+
|
|
4723
|
+
|
|
4724
|
+
/**
|
|
4725
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4726
|
+
* given reader into the given message object.
|
|
4727
|
+
* @param {!proto.sniipappappconfigapi.UpdateDashboardItemsRequest} msg The message object to deserialize into.
|
|
4728
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4729
|
+
* @return {!proto.sniipappappconfigapi.UpdateDashboardItemsRequest}
|
|
4730
|
+
*/
|
|
4731
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4732
|
+
while (reader.nextField()) {
|
|
4733
|
+
if (reader.isEndGroup()) {
|
|
4734
|
+
break;
|
|
4735
|
+
}
|
|
4736
|
+
var field = reader.getFieldNumber();
|
|
4737
|
+
switch (field) {
|
|
4738
|
+
case 1:
|
|
4739
|
+
var value = new proto.sniipappappconfigapi.DashboardItemsRequest;
|
|
4740
|
+
reader.readMessage(value,proto.sniipappappconfigapi.DashboardItemsRequest.deserializeBinaryFromReader);
|
|
4741
|
+
msg.setData(value);
|
|
4742
|
+
break;
|
|
4743
|
+
default:
|
|
4744
|
+
reader.skipField();
|
|
4745
|
+
break;
|
|
4746
|
+
}
|
|
4747
|
+
}
|
|
4748
|
+
return msg;
|
|
4749
|
+
};
|
|
4750
|
+
|
|
4751
|
+
|
|
4752
|
+
/**
|
|
4753
|
+
* Class method variant: serializes the given message to binary data
|
|
4754
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
4755
|
+
* @param {!proto.sniipappappconfigapi.UpdateDashboardItemsRequest} message
|
|
4756
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4757
|
+
*/
|
|
4758
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4759
|
+
message.serializeBinaryToWriter(writer);
|
|
4760
|
+
};
|
|
4761
|
+
|
|
4762
|
+
|
|
4763
|
+
/**
|
|
4764
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4765
|
+
* @return {!Uint8Array}
|
|
4766
|
+
*/
|
|
4767
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.prototype.serializeBinary = function() {
|
|
4768
|
+
var writer = new jspb.BinaryWriter();
|
|
4769
|
+
this.serializeBinaryToWriter(writer);
|
|
4770
|
+
return writer.getResultBuffer();
|
|
4771
|
+
};
|
|
4772
|
+
|
|
4773
|
+
|
|
4774
|
+
/**
|
|
4775
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
4776
|
+
* writing to the given BinaryWriter.
|
|
4777
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4778
|
+
*/
|
|
4779
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
4780
|
+
var f = undefined;
|
|
4781
|
+
f = this.getData();
|
|
4782
|
+
if (f != null) {
|
|
4783
|
+
writer.writeMessage(
|
|
4784
|
+
1,
|
|
4785
|
+
f,
|
|
4786
|
+
proto.sniipappappconfigapi.DashboardItemsRequest.serializeBinaryToWriter
|
|
4787
|
+
);
|
|
4788
|
+
}
|
|
4789
|
+
};
|
|
4790
|
+
|
|
4791
|
+
|
|
4792
|
+
/**
|
|
4793
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
4794
|
+
* @return {!proto.sniipappappconfigapi.UpdateDashboardItemsRequest} The clone.
|
|
4795
|
+
*/
|
|
4796
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.prototype.cloneMessage = function() {
|
|
4797
|
+
return /** @type {!proto.sniipappappconfigapi.UpdateDashboardItemsRequest} */ (jspb.Message.cloneMessage(this));
|
|
4798
|
+
};
|
|
4799
|
+
|
|
4800
|
+
|
|
4801
|
+
/**
|
|
4802
|
+
* optional DashboardItemsRequest data = 1;
|
|
4803
|
+
* @return {proto.sniipappappconfigapi.DashboardItemsRequest}
|
|
4804
|
+
*/
|
|
4805
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.prototype.getData = function() {
|
|
4806
|
+
return /** @type{proto.sniipappappconfigapi.DashboardItemsRequest} */ (
|
|
4807
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.DashboardItemsRequest, 1));
|
|
4808
|
+
};
|
|
4809
|
+
|
|
4810
|
+
|
|
4811
|
+
/** @param {proto.sniipappappconfigapi.DashboardItemsRequest|undefined} value */
|
|
4812
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.prototype.setData = function(value) {
|
|
4813
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
4814
|
+
};
|
|
4815
|
+
|
|
4816
|
+
|
|
4817
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.prototype.clearData = function() {
|
|
4818
|
+
this.setData(undefined);
|
|
4819
|
+
};
|
|
4820
|
+
|
|
4821
|
+
|
|
4822
|
+
/**
|
|
4823
|
+
* Returns whether this field is set.
|
|
4824
|
+
* @return{!boolean}
|
|
4825
|
+
*/
|
|
4826
|
+
proto.sniipappappconfigapi.UpdateDashboardItemsRequest.prototype.hasData = function() {
|
|
4827
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4828
|
+
};
|
|
4829
|
+
|
|
4830
|
+
|
|
4831
|
+
/**
|
|
4832
|
+
* @enum {number}
|
|
4833
|
+
*/
|
|
4834
|
+
proto.sniipappappconfigapi.DashboardItem = {
|
|
4835
|
+
GET_STARTED: 0,
|
|
4836
|
+
BILLS_SUMMARY: 1,
|
|
4837
|
+
PAYMENTS_SUMMARY: 2,
|
|
4838
|
+
OFFERS: 3,
|
|
4839
|
+
TIPS: 4
|
|
4840
|
+
};
|
|
4841
|
+
|
|
4842
|
+
goog.object.extend(exports, proto.sniipappappconfigapi);
|