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