@aceplus/smartace-api 3.2.0 → 3.3.0-alpha.1
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/auth.cluster_pb.d.ts +0 -116
- package/auth.cluster_pb.js +97 -976
- package/auth.cluster_pb_service.d.ts +0 -57
- package/auth.cluster_pb_service.js +0 -120
- package/auth.email_pb.d.ts +0 -60
- package/auth.email_pb.js +0 -452
- package/auth.email_pb_service.d.ts +0 -19
- package/auth.email_pb_service.js +0 -40
- package/package.json +1 -1
package/auth.cluster_pb.js
CHANGED
|
@@ -26,14 +26,10 @@ goog.object.extend(proto, platform_pagination_pb);
|
|
|
26
26
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
27
27
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
28
28
|
goog.exportSymbol('proto.Auth.ClusterProto', null, global);
|
|
29
|
-
goog.exportSymbol('proto.Auth.ClusterProto.CreateRequest', null, global);
|
|
30
|
-
goog.exportSymbol('proto.Auth.ClusterProto.DeleteReply', null, global);
|
|
31
|
-
goog.exportSymbol('proto.Auth.ClusterProto.DeleteRequest', null, global);
|
|
32
29
|
goog.exportSymbol('proto.Auth.ClusterProto.RetrieveRequest', null, global);
|
|
33
30
|
goog.exportSymbol('proto.Auth.ClusterProto.RetrieveRequest.SearchCase', null, global);
|
|
34
31
|
goog.exportSymbol('proto.Auth.ClusterProto.SearchReply', null, global);
|
|
35
32
|
goog.exportSymbol('proto.Auth.ClusterProto.SearchRequest', null, global);
|
|
36
|
-
goog.exportSymbol('proto.Auth.ClusterProto.UpdateRequest', null, global);
|
|
37
33
|
/**
|
|
38
34
|
* Generated by JsPbCodeGenerator.
|
|
39
35
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -55,27 +51,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
55
51
|
*/
|
|
56
52
|
proto.Auth.ClusterProto.displayName = 'proto.Auth.ClusterProto';
|
|
57
53
|
}
|
|
58
|
-
/**
|
|
59
|
-
* Generated by JsPbCodeGenerator.
|
|
60
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
61
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
62
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
63
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
64
|
-
* valid.
|
|
65
|
-
* @extends {jspb.Message}
|
|
66
|
-
* @constructor
|
|
67
|
-
*/
|
|
68
|
-
proto.Auth.ClusterProto.CreateRequest = function(opt_data) {
|
|
69
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
70
|
-
};
|
|
71
|
-
goog.inherits(proto.Auth.ClusterProto.CreateRequest, jspb.Message);
|
|
72
|
-
if (goog.DEBUG && !COMPILED) {
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
* @override
|
|
76
|
-
*/
|
|
77
|
-
proto.Auth.ClusterProto.CreateRequest.displayName = 'proto.Auth.ClusterProto.CreateRequest';
|
|
78
|
-
}
|
|
79
54
|
/**
|
|
80
55
|
* Generated by JsPbCodeGenerator.
|
|
81
56
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -97,69 +72,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
97
72
|
*/
|
|
98
73
|
proto.Auth.ClusterProto.RetrieveRequest.displayName = 'proto.Auth.ClusterProto.RetrieveRequest';
|
|
99
74
|
}
|
|
100
|
-
/**
|
|
101
|
-
* Generated by JsPbCodeGenerator.
|
|
102
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
103
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
104
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
105
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
106
|
-
* valid.
|
|
107
|
-
* @extends {jspb.Message}
|
|
108
|
-
* @constructor
|
|
109
|
-
*/
|
|
110
|
-
proto.Auth.ClusterProto.UpdateRequest = function(opt_data) {
|
|
111
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
112
|
-
};
|
|
113
|
-
goog.inherits(proto.Auth.ClusterProto.UpdateRequest, jspb.Message);
|
|
114
|
-
if (goog.DEBUG && !COMPILED) {
|
|
115
|
-
/**
|
|
116
|
-
* @public
|
|
117
|
-
* @override
|
|
118
|
-
*/
|
|
119
|
-
proto.Auth.ClusterProto.UpdateRequest.displayName = 'proto.Auth.ClusterProto.UpdateRequest';
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Generated by JsPbCodeGenerator.
|
|
123
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
124
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
125
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
126
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
127
|
-
* valid.
|
|
128
|
-
* @extends {jspb.Message}
|
|
129
|
-
* @constructor
|
|
130
|
-
*/
|
|
131
|
-
proto.Auth.ClusterProto.DeleteRequest = function(opt_data) {
|
|
132
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
133
|
-
};
|
|
134
|
-
goog.inherits(proto.Auth.ClusterProto.DeleteRequest, jspb.Message);
|
|
135
|
-
if (goog.DEBUG && !COMPILED) {
|
|
136
|
-
/**
|
|
137
|
-
* @public
|
|
138
|
-
* @override
|
|
139
|
-
*/
|
|
140
|
-
proto.Auth.ClusterProto.DeleteRequest.displayName = 'proto.Auth.ClusterProto.DeleteRequest';
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Generated by JsPbCodeGenerator.
|
|
144
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
145
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
146
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
147
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
148
|
-
* valid.
|
|
149
|
-
* @extends {jspb.Message}
|
|
150
|
-
* @constructor
|
|
151
|
-
*/
|
|
152
|
-
proto.Auth.ClusterProto.DeleteReply = function(opt_data) {
|
|
153
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
154
|
-
};
|
|
155
|
-
goog.inherits(proto.Auth.ClusterProto.DeleteReply, jspb.Message);
|
|
156
|
-
if (goog.DEBUG && !COMPILED) {
|
|
157
|
-
/**
|
|
158
|
-
* @public
|
|
159
|
-
* @override
|
|
160
|
-
*/
|
|
161
|
-
proto.Auth.ClusterProto.DeleteReply.displayName = 'proto.Auth.ClusterProto.DeleteReply';
|
|
162
|
-
}
|
|
163
75
|
/**
|
|
164
76
|
* Generated by JsPbCodeGenerator.
|
|
165
77
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -192,660 +104,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
192
104
|
* @constructor
|
|
193
105
|
*/
|
|
194
106
|
proto.Auth.ClusterProto.SearchReply = function(opt_data) {
|
|
195
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.ClusterProto.SearchReply.repeatedFields_, null);
|
|
196
|
-
};
|
|
197
|
-
goog.inherits(proto.Auth.ClusterProto.SearchReply, jspb.Message);
|
|
198
|
-
if (goog.DEBUG && !COMPILED) {
|
|
199
|
-
/**
|
|
200
|
-
* @public
|
|
201
|
-
* @override
|
|
202
|
-
*/
|
|
203
|
-
proto.Auth.ClusterProto.SearchReply.displayName = 'proto.Auth.ClusterProto.SearchReply';
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
209
|
-
/**
|
|
210
|
-
* Creates an object representation of this proto.
|
|
211
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
212
|
-
* Optional fields that are not set will be set to undefined.
|
|
213
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
214
|
-
* For the list of reserved names please see:
|
|
215
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
216
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
217
|
-
* JSPB instance for transitional soy proto support:
|
|
218
|
-
* http://goto/soy-param-migration
|
|
219
|
-
* @return {!Object}
|
|
220
|
-
*/
|
|
221
|
-
proto.Auth.ClusterProto.prototype.toObject = function(opt_includeInstance) {
|
|
222
|
-
return proto.Auth.ClusterProto.toObject(opt_includeInstance, this);
|
|
223
|
-
};
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Static version of the {@see toObject} method.
|
|
228
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
229
|
-
* the JSPB instance for transitional soy proto support:
|
|
230
|
-
* http://goto/soy-param-migration
|
|
231
|
-
* @param {!proto.Auth.ClusterProto} msg The msg instance to transform.
|
|
232
|
-
* @return {!Object}
|
|
233
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
234
|
-
*/
|
|
235
|
-
proto.Auth.ClusterProto.toObject = function(includeInstance, msg) {
|
|
236
|
-
var f, obj = {
|
|
237
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
238
|
-
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
239
|
-
customName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
240
|
-
endpoint: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
241
|
-
deviceEndpoint: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
242
|
-
country: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
if (includeInstance) {
|
|
246
|
-
obj.$jspbMessageInstance = msg;
|
|
247
|
-
}
|
|
248
|
-
return obj;
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Deserializes binary data (in protobuf wire format).
|
|
255
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
256
|
-
* @return {!proto.Auth.ClusterProto}
|
|
257
|
-
*/
|
|
258
|
-
proto.Auth.ClusterProto.deserializeBinary = function(bytes) {
|
|
259
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
260
|
-
var msg = new proto.Auth.ClusterProto;
|
|
261
|
-
return proto.Auth.ClusterProto.deserializeBinaryFromReader(msg, reader);
|
|
262
|
-
};
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
267
|
-
* given reader into the given message object.
|
|
268
|
-
* @param {!proto.Auth.ClusterProto} msg The message object to deserialize into.
|
|
269
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
270
|
-
* @return {!proto.Auth.ClusterProto}
|
|
271
|
-
*/
|
|
272
|
-
proto.Auth.ClusterProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
273
|
-
while (reader.nextField()) {
|
|
274
|
-
if (reader.isEndGroup()) {
|
|
275
|
-
break;
|
|
276
|
-
}
|
|
277
|
-
var field = reader.getFieldNumber();
|
|
278
|
-
switch (field) {
|
|
279
|
-
case 1:
|
|
280
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
281
|
-
msg.setId(value);
|
|
282
|
-
break;
|
|
283
|
-
case 2:
|
|
284
|
-
var value = /** @type {string} */ (reader.readString());
|
|
285
|
-
msg.setName(value);
|
|
286
|
-
break;
|
|
287
|
-
case 3:
|
|
288
|
-
var value = /** @type {string} */ (reader.readString());
|
|
289
|
-
msg.setCustomName(value);
|
|
290
|
-
break;
|
|
291
|
-
case 4:
|
|
292
|
-
var value = /** @type {string} */ (reader.readString());
|
|
293
|
-
msg.setEndpoint(value);
|
|
294
|
-
break;
|
|
295
|
-
case 5:
|
|
296
|
-
var value = /** @type {string} */ (reader.readString());
|
|
297
|
-
msg.setDeviceEndpoint(value);
|
|
298
|
-
break;
|
|
299
|
-
case 6:
|
|
300
|
-
var value = /** @type {string} */ (reader.readString());
|
|
301
|
-
msg.setCountry(value);
|
|
302
|
-
break;
|
|
303
|
-
default:
|
|
304
|
-
reader.skipField();
|
|
305
|
-
break;
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
return msg;
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
314
|
-
* @return {!Uint8Array}
|
|
315
|
-
*/
|
|
316
|
-
proto.Auth.ClusterProto.prototype.serializeBinary = function() {
|
|
317
|
-
var writer = new jspb.BinaryWriter();
|
|
318
|
-
proto.Auth.ClusterProto.serializeBinaryToWriter(this, writer);
|
|
319
|
-
return writer.getResultBuffer();
|
|
320
|
-
};
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
325
|
-
* format), writing to the given BinaryWriter.
|
|
326
|
-
* @param {!proto.Auth.ClusterProto} message
|
|
327
|
-
* @param {!jspb.BinaryWriter} writer
|
|
328
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
329
|
-
*/
|
|
330
|
-
proto.Auth.ClusterProto.serializeBinaryToWriter = function(message, writer) {
|
|
331
|
-
var f = undefined;
|
|
332
|
-
f = message.getId();
|
|
333
|
-
if (f !== 0) {
|
|
334
|
-
writer.writeInt64(
|
|
335
|
-
1,
|
|
336
|
-
f
|
|
337
|
-
);
|
|
338
|
-
}
|
|
339
|
-
f = message.getName();
|
|
340
|
-
if (f.length > 0) {
|
|
341
|
-
writer.writeString(
|
|
342
|
-
2,
|
|
343
|
-
f
|
|
344
|
-
);
|
|
345
|
-
}
|
|
346
|
-
f = message.getCustomName();
|
|
347
|
-
if (f.length > 0) {
|
|
348
|
-
writer.writeString(
|
|
349
|
-
3,
|
|
350
|
-
f
|
|
351
|
-
);
|
|
352
|
-
}
|
|
353
|
-
f = message.getEndpoint();
|
|
354
|
-
if (f.length > 0) {
|
|
355
|
-
writer.writeString(
|
|
356
|
-
4,
|
|
357
|
-
f
|
|
358
|
-
);
|
|
359
|
-
}
|
|
360
|
-
f = message.getDeviceEndpoint();
|
|
361
|
-
if (f.length > 0) {
|
|
362
|
-
writer.writeString(
|
|
363
|
-
5,
|
|
364
|
-
f
|
|
365
|
-
);
|
|
366
|
-
}
|
|
367
|
-
f = message.getCountry();
|
|
368
|
-
if (f.length > 0) {
|
|
369
|
-
writer.writeString(
|
|
370
|
-
6,
|
|
371
|
-
f
|
|
372
|
-
);
|
|
373
|
-
}
|
|
374
|
-
};
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
381
|
-
/**
|
|
382
|
-
* Creates an object representation of this proto.
|
|
383
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
384
|
-
* Optional fields that are not set will be set to undefined.
|
|
385
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
386
|
-
* For the list of reserved names please see:
|
|
387
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
388
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
389
|
-
* JSPB instance for transitional soy proto support:
|
|
390
|
-
* http://goto/soy-param-migration
|
|
391
|
-
* @return {!Object}
|
|
392
|
-
*/
|
|
393
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
394
|
-
return proto.Auth.ClusterProto.CreateRequest.toObject(opt_includeInstance, this);
|
|
395
|
-
};
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Static version of the {@see toObject} method.
|
|
400
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
401
|
-
* the JSPB instance for transitional soy proto support:
|
|
402
|
-
* http://goto/soy-param-migration
|
|
403
|
-
* @param {!proto.Auth.ClusterProto.CreateRequest} msg The msg instance to transform.
|
|
404
|
-
* @return {!Object}
|
|
405
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
406
|
-
*/
|
|
407
|
-
proto.Auth.ClusterProto.CreateRequest.toObject = function(includeInstance, msg) {
|
|
408
|
-
var f, obj = {
|
|
409
|
-
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
410
|
-
customName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
411
|
-
endpoint: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
412
|
-
deviceEndpoint: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
413
|
-
country: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
414
|
-
};
|
|
415
|
-
|
|
416
|
-
if (includeInstance) {
|
|
417
|
-
obj.$jspbMessageInstance = msg;
|
|
418
|
-
}
|
|
419
|
-
return obj;
|
|
420
|
-
};
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Deserializes binary data (in protobuf wire format).
|
|
426
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
427
|
-
* @return {!proto.Auth.ClusterProto.CreateRequest}
|
|
428
|
-
*/
|
|
429
|
-
proto.Auth.ClusterProto.CreateRequest.deserializeBinary = function(bytes) {
|
|
430
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
431
|
-
var msg = new proto.Auth.ClusterProto.CreateRequest;
|
|
432
|
-
return proto.Auth.ClusterProto.CreateRequest.deserializeBinaryFromReader(msg, reader);
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
438
|
-
* given reader into the given message object.
|
|
439
|
-
* @param {!proto.Auth.ClusterProto.CreateRequest} msg The message object to deserialize into.
|
|
440
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
441
|
-
* @return {!proto.Auth.ClusterProto.CreateRequest}
|
|
442
|
-
*/
|
|
443
|
-
proto.Auth.ClusterProto.CreateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
444
|
-
while (reader.nextField()) {
|
|
445
|
-
if (reader.isEndGroup()) {
|
|
446
|
-
break;
|
|
447
|
-
}
|
|
448
|
-
var field = reader.getFieldNumber();
|
|
449
|
-
switch (field) {
|
|
450
|
-
case 1:
|
|
451
|
-
var value = /** @type {string} */ (reader.readString());
|
|
452
|
-
msg.setName(value);
|
|
453
|
-
break;
|
|
454
|
-
case 2:
|
|
455
|
-
var value = /** @type {string} */ (reader.readString());
|
|
456
|
-
msg.setCustomName(value);
|
|
457
|
-
break;
|
|
458
|
-
case 3:
|
|
459
|
-
var value = /** @type {string} */ (reader.readString());
|
|
460
|
-
msg.setEndpoint(value);
|
|
461
|
-
break;
|
|
462
|
-
case 4:
|
|
463
|
-
var value = /** @type {string} */ (reader.readString());
|
|
464
|
-
msg.setDeviceEndpoint(value);
|
|
465
|
-
break;
|
|
466
|
-
case 5:
|
|
467
|
-
var value = /** @type {string} */ (reader.readString());
|
|
468
|
-
msg.setCountry(value);
|
|
469
|
-
break;
|
|
470
|
-
default:
|
|
471
|
-
reader.skipField();
|
|
472
|
-
break;
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
return msg;
|
|
476
|
-
};
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
481
|
-
* @return {!Uint8Array}
|
|
482
|
-
*/
|
|
483
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.serializeBinary = function() {
|
|
484
|
-
var writer = new jspb.BinaryWriter();
|
|
485
|
-
proto.Auth.ClusterProto.CreateRequest.serializeBinaryToWriter(this, writer);
|
|
486
|
-
return writer.getResultBuffer();
|
|
487
|
-
};
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
492
|
-
* format), writing to the given BinaryWriter.
|
|
493
|
-
* @param {!proto.Auth.ClusterProto.CreateRequest} message
|
|
494
|
-
* @param {!jspb.BinaryWriter} writer
|
|
495
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
496
|
-
*/
|
|
497
|
-
proto.Auth.ClusterProto.CreateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
498
|
-
var f = undefined;
|
|
499
|
-
f = message.getName();
|
|
500
|
-
if (f.length > 0) {
|
|
501
|
-
writer.writeString(
|
|
502
|
-
1,
|
|
503
|
-
f
|
|
504
|
-
);
|
|
505
|
-
}
|
|
506
|
-
f = message.getCustomName();
|
|
507
|
-
if (f.length > 0) {
|
|
508
|
-
writer.writeString(
|
|
509
|
-
2,
|
|
510
|
-
f
|
|
511
|
-
);
|
|
512
|
-
}
|
|
513
|
-
f = message.getEndpoint();
|
|
514
|
-
if (f.length > 0) {
|
|
515
|
-
writer.writeString(
|
|
516
|
-
3,
|
|
517
|
-
f
|
|
518
|
-
);
|
|
519
|
-
}
|
|
520
|
-
f = message.getDeviceEndpoint();
|
|
521
|
-
if (f.length > 0) {
|
|
522
|
-
writer.writeString(
|
|
523
|
-
4,
|
|
524
|
-
f
|
|
525
|
-
);
|
|
526
|
-
}
|
|
527
|
-
f = message.getCountry();
|
|
528
|
-
if (f.length > 0) {
|
|
529
|
-
writer.writeString(
|
|
530
|
-
5,
|
|
531
|
-
f
|
|
532
|
-
);
|
|
533
|
-
}
|
|
534
|
-
};
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* optional string name = 1;
|
|
539
|
-
* @return {string}
|
|
540
|
-
*/
|
|
541
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.getName = function() {
|
|
542
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
543
|
-
};
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* @param {string} value
|
|
548
|
-
* @return {!proto.Auth.ClusterProto.CreateRequest} returns this
|
|
549
|
-
*/
|
|
550
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.setName = function(value) {
|
|
551
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
552
|
-
};
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
/**
|
|
556
|
-
* optional string custom_name = 2;
|
|
557
|
-
* @return {string}
|
|
558
|
-
*/
|
|
559
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.getCustomName = function() {
|
|
560
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
561
|
-
};
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
/**
|
|
565
|
-
* @param {string} value
|
|
566
|
-
* @return {!proto.Auth.ClusterProto.CreateRequest} returns this
|
|
567
|
-
*/
|
|
568
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.setCustomName = function(value) {
|
|
569
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
570
|
-
};
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
/**
|
|
574
|
-
* optional string endpoint = 3;
|
|
575
|
-
* @return {string}
|
|
576
|
-
*/
|
|
577
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.getEndpoint = function() {
|
|
578
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
579
|
-
};
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
/**
|
|
583
|
-
* @param {string} value
|
|
584
|
-
* @return {!proto.Auth.ClusterProto.CreateRequest} returns this
|
|
585
|
-
*/
|
|
586
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.setEndpoint = function(value) {
|
|
587
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
588
|
-
};
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* optional string device_endpoint = 4;
|
|
593
|
-
* @return {string}
|
|
594
|
-
*/
|
|
595
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.getDeviceEndpoint = function() {
|
|
596
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
597
|
-
};
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* @param {string} value
|
|
602
|
-
* @return {!proto.Auth.ClusterProto.CreateRequest} returns this
|
|
603
|
-
*/
|
|
604
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.setDeviceEndpoint = function(value) {
|
|
605
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
606
|
-
};
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* optional string country = 5;
|
|
611
|
-
* @return {string}
|
|
612
|
-
*/
|
|
613
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.getCountry = function() {
|
|
614
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
615
|
-
};
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* @param {string} value
|
|
620
|
-
* @return {!proto.Auth.ClusterProto.CreateRequest} returns this
|
|
621
|
-
*/
|
|
622
|
-
proto.Auth.ClusterProto.CreateRequest.prototype.setCountry = function(value) {
|
|
623
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
624
|
-
};
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
630
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
631
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
632
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
633
|
-
* @private {!Array<!Array<number>>}
|
|
634
|
-
* @const
|
|
635
|
-
*/
|
|
636
|
-
proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_ = [[1,2]];
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
* @enum {number}
|
|
640
|
-
*/
|
|
641
|
-
proto.Auth.ClusterProto.RetrieveRequest.SearchCase = {
|
|
642
|
-
SEARCH_NOT_SET: 0,
|
|
643
|
-
ID: 1,
|
|
644
|
-
NAME: 2
|
|
645
|
-
};
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* @return {proto.Auth.ClusterProto.RetrieveRequest.SearchCase}
|
|
649
|
-
*/
|
|
650
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.getSearchCase = function() {
|
|
651
|
-
return /** @type {proto.Auth.ClusterProto.RetrieveRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0]));
|
|
652
|
-
};
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
657
|
-
/**
|
|
658
|
-
* Creates an object representation of this proto.
|
|
659
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
660
|
-
* Optional fields that are not set will be set to undefined.
|
|
661
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
662
|
-
* For the list of reserved names please see:
|
|
663
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
664
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
665
|
-
* JSPB instance for transitional soy proto support:
|
|
666
|
-
* http://goto/soy-param-migration
|
|
667
|
-
* @return {!Object}
|
|
668
|
-
*/
|
|
669
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
670
|
-
return proto.Auth.ClusterProto.RetrieveRequest.toObject(opt_includeInstance, this);
|
|
671
|
-
};
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Static version of the {@see toObject} method.
|
|
676
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
677
|
-
* the JSPB instance for transitional soy proto support:
|
|
678
|
-
* http://goto/soy-param-migration
|
|
679
|
-
* @param {!proto.Auth.ClusterProto.RetrieveRequest} msg The msg instance to transform.
|
|
680
|
-
* @return {!Object}
|
|
681
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
682
|
-
*/
|
|
683
|
-
proto.Auth.ClusterProto.RetrieveRequest.toObject = function(includeInstance, msg) {
|
|
684
|
-
var f, obj = {
|
|
685
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
686
|
-
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
687
|
-
};
|
|
688
|
-
|
|
689
|
-
if (includeInstance) {
|
|
690
|
-
obj.$jspbMessageInstance = msg;
|
|
691
|
-
}
|
|
692
|
-
return obj;
|
|
693
|
-
};
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
/**
|
|
698
|
-
* Deserializes binary data (in protobuf wire format).
|
|
699
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
700
|
-
* @return {!proto.Auth.ClusterProto.RetrieveRequest}
|
|
701
|
-
*/
|
|
702
|
-
proto.Auth.ClusterProto.RetrieveRequest.deserializeBinary = function(bytes) {
|
|
703
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
704
|
-
var msg = new proto.Auth.ClusterProto.RetrieveRequest;
|
|
705
|
-
return proto.Auth.ClusterProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
|
|
706
|
-
};
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
/**
|
|
710
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
711
|
-
* given reader into the given message object.
|
|
712
|
-
* @param {!proto.Auth.ClusterProto.RetrieveRequest} msg The message object to deserialize into.
|
|
713
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
714
|
-
* @return {!proto.Auth.ClusterProto.RetrieveRequest}
|
|
715
|
-
*/
|
|
716
|
-
proto.Auth.ClusterProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
717
|
-
while (reader.nextField()) {
|
|
718
|
-
if (reader.isEndGroup()) {
|
|
719
|
-
break;
|
|
720
|
-
}
|
|
721
|
-
var field = reader.getFieldNumber();
|
|
722
|
-
switch (field) {
|
|
723
|
-
case 1:
|
|
724
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
725
|
-
msg.setId(value);
|
|
726
|
-
break;
|
|
727
|
-
case 2:
|
|
728
|
-
var value = /** @type {string} */ (reader.readString());
|
|
729
|
-
msg.setName(value);
|
|
730
|
-
break;
|
|
731
|
-
default:
|
|
732
|
-
reader.skipField();
|
|
733
|
-
break;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
return msg;
|
|
737
|
-
};
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
/**
|
|
741
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
742
|
-
* @return {!Uint8Array}
|
|
743
|
-
*/
|
|
744
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.serializeBinary = function() {
|
|
745
|
-
var writer = new jspb.BinaryWriter();
|
|
746
|
-
proto.Auth.ClusterProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
|
|
747
|
-
return writer.getResultBuffer();
|
|
748
|
-
};
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
753
|
-
* format), writing to the given BinaryWriter.
|
|
754
|
-
* @param {!proto.Auth.ClusterProto.RetrieveRequest} message
|
|
755
|
-
* @param {!jspb.BinaryWriter} writer
|
|
756
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
757
|
-
*/
|
|
758
|
-
proto.Auth.ClusterProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
759
|
-
var f = undefined;
|
|
760
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
761
|
-
if (f != null) {
|
|
762
|
-
writer.writeInt64(
|
|
763
|
-
1,
|
|
764
|
-
f
|
|
765
|
-
);
|
|
766
|
-
}
|
|
767
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
768
|
-
if (f != null) {
|
|
769
|
-
writer.writeString(
|
|
770
|
-
2,
|
|
771
|
-
f
|
|
772
|
-
);
|
|
773
|
-
}
|
|
774
|
-
};
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
* optional int64 id = 1;
|
|
779
|
-
* @return {number}
|
|
780
|
-
*/
|
|
781
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.getId = function() {
|
|
782
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
783
|
-
};
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* @param {number} value
|
|
788
|
-
* @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
|
|
789
|
-
*/
|
|
790
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.setId = function(value) {
|
|
791
|
-
return jspb.Message.setOneofField(this, 1, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], value);
|
|
792
|
-
};
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
* Clears the field making it undefined.
|
|
797
|
-
* @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
|
|
798
|
-
*/
|
|
799
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.clearId = function() {
|
|
800
|
-
return jspb.Message.setOneofField(this, 1, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
801
|
-
};
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* Returns whether this field is set.
|
|
806
|
-
* @return {boolean}
|
|
807
|
-
*/
|
|
808
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.hasId = function() {
|
|
809
|
-
return jspb.Message.getField(this, 1) != null;
|
|
810
|
-
};
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* optional string name = 2;
|
|
815
|
-
* @return {string}
|
|
816
|
-
*/
|
|
817
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.getName = function() {
|
|
818
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
819
|
-
};
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
/**
|
|
823
|
-
* @param {string} value
|
|
824
|
-
* @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
|
|
825
|
-
*/
|
|
826
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.setName = function(value) {
|
|
827
|
-
return jspb.Message.setOneofField(this, 2, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], value);
|
|
828
|
-
};
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
* Clears the field making it undefined.
|
|
833
|
-
* @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
|
|
834
|
-
*/
|
|
835
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.clearName = function() {
|
|
836
|
-
return jspb.Message.setOneofField(this, 2, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
837
|
-
};
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* Returns whether this field is set.
|
|
842
|
-
* @return {boolean}
|
|
843
|
-
*/
|
|
844
|
-
proto.Auth.ClusterProto.RetrieveRequest.prototype.hasName = function() {
|
|
845
|
-
return jspb.Message.getField(this, 2) != null;
|
|
107
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.ClusterProto.SearchReply.repeatedFields_, null);
|
|
846
108
|
};
|
|
847
|
-
|
|
848
|
-
|
|
109
|
+
goog.inherits(proto.Auth.ClusterProto.SearchReply, jspb.Message);
|
|
110
|
+
if (goog.DEBUG && !COMPILED) {
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
* @override
|
|
114
|
+
*/
|
|
115
|
+
proto.Auth.ClusterProto.SearchReply.displayName = 'proto.Auth.ClusterProto.SearchReply';
|
|
116
|
+
}
|
|
849
117
|
|
|
850
118
|
|
|
851
119
|
|
|
@@ -862,8 +130,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
862
130
|
* http://goto/soy-param-migration
|
|
863
131
|
* @return {!Object}
|
|
864
132
|
*/
|
|
865
|
-
proto.Auth.ClusterProto.
|
|
866
|
-
return proto.Auth.ClusterProto.
|
|
133
|
+
proto.Auth.ClusterProto.prototype.toObject = function(opt_includeInstance) {
|
|
134
|
+
return proto.Auth.ClusterProto.toObject(opt_includeInstance, this);
|
|
867
135
|
};
|
|
868
136
|
|
|
869
137
|
|
|
@@ -872,17 +140,16 @@ proto.Auth.ClusterProto.UpdateRequest.prototype.toObject = function(opt_includeI
|
|
|
872
140
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
873
141
|
* the JSPB instance for transitional soy proto support:
|
|
874
142
|
* http://goto/soy-param-migration
|
|
875
|
-
* @param {!proto.Auth.ClusterProto
|
|
143
|
+
* @param {!proto.Auth.ClusterProto} msg The msg instance to transform.
|
|
876
144
|
* @return {!Object}
|
|
877
145
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
878
146
|
*/
|
|
879
|
-
proto.Auth.ClusterProto.
|
|
147
|
+
proto.Auth.ClusterProto.toObject = function(includeInstance, msg) {
|
|
880
148
|
var f, obj = {
|
|
881
149
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
882
150
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
883
151
|
customName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
884
152
|
endpoint: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
885
|
-
deviceEndpoint: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
886
153
|
country: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
887
154
|
};
|
|
888
155
|
|
|
@@ -897,23 +164,23 @@ proto.Auth.ClusterProto.UpdateRequest.toObject = function(includeInstance, msg)
|
|
|
897
164
|
/**
|
|
898
165
|
* Deserializes binary data (in protobuf wire format).
|
|
899
166
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
900
|
-
* @return {!proto.Auth.ClusterProto
|
|
167
|
+
* @return {!proto.Auth.ClusterProto}
|
|
901
168
|
*/
|
|
902
|
-
proto.Auth.ClusterProto.
|
|
169
|
+
proto.Auth.ClusterProto.deserializeBinary = function(bytes) {
|
|
903
170
|
var reader = new jspb.BinaryReader(bytes);
|
|
904
|
-
var msg = new proto.Auth.ClusterProto
|
|
905
|
-
return proto.Auth.ClusterProto.
|
|
171
|
+
var msg = new proto.Auth.ClusterProto;
|
|
172
|
+
return proto.Auth.ClusterProto.deserializeBinaryFromReader(msg, reader);
|
|
906
173
|
};
|
|
907
174
|
|
|
908
175
|
|
|
909
176
|
/**
|
|
910
177
|
* Deserializes binary data (in protobuf wire format) from the
|
|
911
178
|
* given reader into the given message object.
|
|
912
|
-
* @param {!proto.Auth.ClusterProto
|
|
179
|
+
* @param {!proto.Auth.ClusterProto} msg The message object to deserialize into.
|
|
913
180
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
914
|
-
* @return {!proto.Auth.ClusterProto
|
|
181
|
+
* @return {!proto.Auth.ClusterProto}
|
|
915
182
|
*/
|
|
916
|
-
proto.Auth.ClusterProto.
|
|
183
|
+
proto.Auth.ClusterProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
917
184
|
while (reader.nextField()) {
|
|
918
185
|
if (reader.isEndGroup()) {
|
|
919
186
|
break;
|
|
@@ -936,10 +203,6 @@ proto.Auth.ClusterProto.UpdateRequest.deserializeBinaryFromReader = function(msg
|
|
|
936
203
|
var value = /** @type {string} */ (reader.readString());
|
|
937
204
|
msg.setEndpoint(value);
|
|
938
205
|
break;
|
|
939
|
-
case 5:
|
|
940
|
-
var value = /** @type {string} */ (reader.readString());
|
|
941
|
-
msg.setDeviceEndpoint(value);
|
|
942
|
-
break;
|
|
943
206
|
case 6:
|
|
944
207
|
var value = /** @type {string} */ (reader.readString());
|
|
945
208
|
msg.setCountry(value);
|
|
@@ -957,9 +220,9 @@ proto.Auth.ClusterProto.UpdateRequest.deserializeBinaryFromReader = function(msg
|
|
|
957
220
|
* Serializes the message to binary data (in protobuf wire format).
|
|
958
221
|
* @return {!Uint8Array}
|
|
959
222
|
*/
|
|
960
|
-
proto.Auth.ClusterProto.
|
|
223
|
+
proto.Auth.ClusterProto.prototype.serializeBinary = function() {
|
|
961
224
|
var writer = new jspb.BinaryWriter();
|
|
962
|
-
proto.Auth.ClusterProto.
|
|
225
|
+
proto.Auth.ClusterProto.serializeBinaryToWriter(this, writer);
|
|
963
226
|
return writer.getResultBuffer();
|
|
964
227
|
};
|
|
965
228
|
|
|
@@ -967,11 +230,11 @@ proto.Auth.ClusterProto.UpdateRequest.prototype.serializeBinary = function() {
|
|
|
967
230
|
/**
|
|
968
231
|
* Serializes the given message to binary data (in protobuf wire
|
|
969
232
|
* format), writing to the given BinaryWriter.
|
|
970
|
-
* @param {!proto.Auth.ClusterProto
|
|
233
|
+
* @param {!proto.Auth.ClusterProto} message
|
|
971
234
|
* @param {!jspb.BinaryWriter} writer
|
|
972
235
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
973
236
|
*/
|
|
974
|
-
proto.Auth.ClusterProto.
|
|
237
|
+
proto.Auth.ClusterProto.serializeBinaryToWriter = function(message, writer) {
|
|
975
238
|
var f = undefined;
|
|
976
239
|
f = message.getId();
|
|
977
240
|
if (f !== 0) {
|
|
@@ -1001,13 +264,6 @@ proto.Auth.ClusterProto.UpdateRequest.serializeBinaryToWriter = function(message
|
|
|
1001
264
|
f
|
|
1002
265
|
);
|
|
1003
266
|
}
|
|
1004
|
-
f = message.getDeviceEndpoint();
|
|
1005
|
-
if (f.length > 0) {
|
|
1006
|
-
writer.writeString(
|
|
1007
|
-
5,
|
|
1008
|
-
f
|
|
1009
|
-
);
|
|
1010
|
-
}
|
|
1011
267
|
f = message.getCountry();
|
|
1012
268
|
if (f.length > 0) {
|
|
1013
269
|
writer.writeString(
|
|
@@ -1018,117 +274,35 @@ proto.Auth.ClusterProto.UpdateRequest.serializeBinaryToWriter = function(message
|
|
|
1018
274
|
};
|
|
1019
275
|
|
|
1020
276
|
|
|
1021
|
-
/**
|
|
1022
|
-
* optional int64 id = 1;
|
|
1023
|
-
* @return {number}
|
|
1024
|
-
*/
|
|
1025
|
-
proto.Auth.ClusterProto.UpdateRequest.prototype.getId = function() {
|
|
1026
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1027
|
-
};
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
/**
|
|
1031
|
-
* @param {number} value
|
|
1032
|
-
* @return {!proto.Auth.ClusterProto.UpdateRequest} returns this
|
|
1033
|
-
*/
|
|
1034
|
-
proto.Auth.ClusterProto.UpdateRequest.prototype.setId = function(value) {
|
|
1035
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1036
|
-
};
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* optional string name = 2;
|
|
1041
|
-
* @return {string}
|
|
1042
|
-
*/
|
|
1043
|
-
proto.Auth.ClusterProto.UpdateRequest.prototype.getName = function() {
|
|
1044
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1045
|
-
};
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* @param {string} value
|
|
1050
|
-
* @return {!proto.Auth.ClusterProto.UpdateRequest} returns this
|
|
1051
|
-
*/
|
|
1052
|
-
proto.Auth.ClusterProto.UpdateRequest.prototype.setName = function(value) {
|
|
1053
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1054
|
-
};
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* optional string custom_name = 3;
|
|
1059
|
-
* @return {string}
|
|
1060
|
-
*/
|
|
1061
|
-
proto.Auth.ClusterProto.UpdateRequest.prototype.getCustomName = function() {
|
|
1062
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1063
|
-
};
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* @param {string} value
|
|
1068
|
-
* @return {!proto.Auth.ClusterProto.UpdateRequest} returns this
|
|
1069
|
-
*/
|
|
1070
|
-
proto.Auth.ClusterProto.UpdateRequest.prototype.setCustomName = function(value) {
|
|
1071
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1072
|
-
};
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
/**
|
|
1076
|
-
* optional string endpoint = 4;
|
|
1077
|
-
* @return {string}
|
|
1078
|
-
*/
|
|
1079
|
-
proto.Auth.ClusterProto.UpdateRequest.prototype.getEndpoint = function() {
|
|
1080
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1081
|
-
};
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
/**
|
|
1085
|
-
* @param {string} value
|
|
1086
|
-
* @return {!proto.Auth.ClusterProto.UpdateRequest} returns this
|
|
1087
|
-
*/
|
|
1088
|
-
proto.Auth.ClusterProto.UpdateRequest.prototype.setEndpoint = function(value) {
|
|
1089
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1090
|
-
};
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
/**
|
|
1094
|
-
* optional string device_endpoint = 5;
|
|
1095
|
-
* @return {string}
|
|
1096
|
-
*/
|
|
1097
|
-
proto.Auth.ClusterProto.UpdateRequest.prototype.getDeviceEndpoint = function() {
|
|
1098
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1099
|
-
};
|
|
1100
|
-
|
|
1101
277
|
|
|
1102
278
|
/**
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
279
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
280
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
281
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
282
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
283
|
+
* @private {!Array<!Array<number>>}
|
|
284
|
+
* @const
|
|
1105
285
|
*/
|
|
1106
|
-
proto.Auth.ClusterProto.
|
|
1107
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1108
|
-
};
|
|
1109
|
-
|
|
286
|
+
proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_ = [[1,2]];
|
|
1110
287
|
|
|
1111
288
|
/**
|
|
1112
|
-
*
|
|
1113
|
-
* @return {string}
|
|
289
|
+
* @enum {number}
|
|
1114
290
|
*/
|
|
1115
|
-
proto.Auth.ClusterProto.
|
|
1116
|
-
|
|
291
|
+
proto.Auth.ClusterProto.RetrieveRequest.SearchCase = {
|
|
292
|
+
SEARCH_NOT_SET: 0,
|
|
293
|
+
ID: 1,
|
|
294
|
+
NAME: 2
|
|
1117
295
|
};
|
|
1118
296
|
|
|
1119
|
-
|
|
1120
297
|
/**
|
|
1121
|
-
* @
|
|
1122
|
-
* @return {!proto.Auth.ClusterProto.UpdateRequest} returns this
|
|
298
|
+
* @return {proto.Auth.ClusterProto.RetrieveRequest.SearchCase}
|
|
1123
299
|
*/
|
|
1124
|
-
proto.Auth.ClusterProto.
|
|
1125
|
-
return jspb.Message.
|
|
300
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.getSearchCase = function() {
|
|
301
|
+
return /** @type {proto.Auth.ClusterProto.RetrieveRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0]));
|
|
1126
302
|
};
|
|
1127
303
|
|
|
1128
304
|
|
|
1129
305
|
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
306
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1133
307
|
/**
|
|
1134
308
|
* Creates an object representation of this proto.
|
|
@@ -1142,8 +316,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1142
316
|
* http://goto/soy-param-migration
|
|
1143
317
|
* @return {!Object}
|
|
1144
318
|
*/
|
|
1145
|
-
proto.Auth.ClusterProto.
|
|
1146
|
-
return proto.Auth.ClusterProto.
|
|
319
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
320
|
+
return proto.Auth.ClusterProto.RetrieveRequest.toObject(opt_includeInstance, this);
|
|
1147
321
|
};
|
|
1148
322
|
|
|
1149
323
|
|
|
@@ -1152,13 +326,14 @@ proto.Auth.ClusterProto.DeleteRequest.prototype.toObject = function(opt_includeI
|
|
|
1152
326
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1153
327
|
* the JSPB instance for transitional soy proto support:
|
|
1154
328
|
* http://goto/soy-param-migration
|
|
1155
|
-
* @param {!proto.Auth.ClusterProto.
|
|
329
|
+
* @param {!proto.Auth.ClusterProto.RetrieveRequest} msg The msg instance to transform.
|
|
1156
330
|
* @return {!Object}
|
|
1157
331
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1158
332
|
*/
|
|
1159
|
-
proto.Auth.ClusterProto.
|
|
333
|
+
proto.Auth.ClusterProto.RetrieveRequest.toObject = function(includeInstance, msg) {
|
|
1160
334
|
var f, obj = {
|
|
1161
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
335
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
336
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1162
337
|
};
|
|
1163
338
|
|
|
1164
339
|
if (includeInstance) {
|
|
@@ -1172,23 +347,23 @@ proto.Auth.ClusterProto.DeleteRequest.toObject = function(includeInstance, msg)
|
|
|
1172
347
|
/**
|
|
1173
348
|
* Deserializes binary data (in protobuf wire format).
|
|
1174
349
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1175
|
-
* @return {!proto.Auth.ClusterProto.
|
|
350
|
+
* @return {!proto.Auth.ClusterProto.RetrieveRequest}
|
|
1176
351
|
*/
|
|
1177
|
-
proto.Auth.ClusterProto.
|
|
352
|
+
proto.Auth.ClusterProto.RetrieveRequest.deserializeBinary = function(bytes) {
|
|
1178
353
|
var reader = new jspb.BinaryReader(bytes);
|
|
1179
|
-
var msg = new proto.Auth.ClusterProto.
|
|
1180
|
-
return proto.Auth.ClusterProto.
|
|
354
|
+
var msg = new proto.Auth.ClusterProto.RetrieveRequest;
|
|
355
|
+
return proto.Auth.ClusterProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
|
|
1181
356
|
};
|
|
1182
357
|
|
|
1183
358
|
|
|
1184
359
|
/**
|
|
1185
360
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1186
361
|
* given reader into the given message object.
|
|
1187
|
-
* @param {!proto.Auth.ClusterProto.
|
|
362
|
+
* @param {!proto.Auth.ClusterProto.RetrieveRequest} msg The message object to deserialize into.
|
|
1188
363
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1189
|
-
* @return {!proto.Auth.ClusterProto.
|
|
364
|
+
* @return {!proto.Auth.ClusterProto.RetrieveRequest}
|
|
1190
365
|
*/
|
|
1191
|
-
proto.Auth.ClusterProto.
|
|
366
|
+
proto.Auth.ClusterProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1192
367
|
while (reader.nextField()) {
|
|
1193
368
|
if (reader.isEndGroup()) {
|
|
1194
369
|
break;
|
|
@@ -1199,6 +374,10 @@ proto.Auth.ClusterProto.DeleteRequest.deserializeBinaryFromReader = function(msg
|
|
|
1199
374
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1200
375
|
msg.setId(value);
|
|
1201
376
|
break;
|
|
377
|
+
case 2:
|
|
378
|
+
var value = /** @type {string} */ (reader.readString());
|
|
379
|
+
msg.setName(value);
|
|
380
|
+
break;
|
|
1202
381
|
default:
|
|
1203
382
|
reader.skipField();
|
|
1204
383
|
break;
|
|
@@ -1212,9 +391,9 @@ proto.Auth.ClusterProto.DeleteRequest.deserializeBinaryFromReader = function(msg
|
|
|
1212
391
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1213
392
|
* @return {!Uint8Array}
|
|
1214
393
|
*/
|
|
1215
|
-
proto.Auth.ClusterProto.
|
|
394
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.serializeBinary = function() {
|
|
1216
395
|
var writer = new jspb.BinaryWriter();
|
|
1217
|
-
proto.Auth.ClusterProto.
|
|
396
|
+
proto.Auth.ClusterProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
|
|
1218
397
|
return writer.getResultBuffer();
|
|
1219
398
|
};
|
|
1220
399
|
|
|
@@ -1222,19 +401,26 @@ proto.Auth.ClusterProto.DeleteRequest.prototype.serializeBinary = function() {
|
|
|
1222
401
|
/**
|
|
1223
402
|
* Serializes the given message to binary data (in protobuf wire
|
|
1224
403
|
* format), writing to the given BinaryWriter.
|
|
1225
|
-
* @param {!proto.Auth.ClusterProto.
|
|
404
|
+
* @param {!proto.Auth.ClusterProto.RetrieveRequest} message
|
|
1226
405
|
* @param {!jspb.BinaryWriter} writer
|
|
1227
406
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1228
407
|
*/
|
|
1229
|
-
proto.Auth.ClusterProto.
|
|
408
|
+
proto.Auth.ClusterProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1230
409
|
var f = undefined;
|
|
1231
|
-
f =
|
|
1232
|
-
if (f
|
|
410
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
411
|
+
if (f != null) {
|
|
1233
412
|
writer.writeInt64(
|
|
1234
413
|
1,
|
|
1235
414
|
f
|
|
1236
415
|
);
|
|
1237
416
|
}
|
|
417
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
418
|
+
if (f != null) {
|
|
419
|
+
writer.writeString(
|
|
420
|
+
2,
|
|
421
|
+
f
|
|
422
|
+
);
|
|
423
|
+
}
|
|
1238
424
|
};
|
|
1239
425
|
|
|
1240
426
|
|
|
@@ -1242,118 +428,71 @@ proto.Auth.ClusterProto.DeleteRequest.serializeBinaryToWriter = function(message
|
|
|
1242
428
|
* optional int64 id = 1;
|
|
1243
429
|
* @return {number}
|
|
1244
430
|
*/
|
|
1245
|
-
proto.Auth.ClusterProto.
|
|
431
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.getId = function() {
|
|
1246
432
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1247
433
|
};
|
|
1248
434
|
|
|
1249
435
|
|
|
1250
436
|
/**
|
|
1251
437
|
* @param {number} value
|
|
1252
|
-
* @return {!proto.Auth.ClusterProto.
|
|
438
|
+
* @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
|
|
1253
439
|
*/
|
|
1254
|
-
proto.Auth.ClusterProto.
|
|
1255
|
-
return jspb.Message.
|
|
440
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.setId = function(value) {
|
|
441
|
+
return jspb.Message.setOneofField(this, 1, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], value);
|
|
1256
442
|
};
|
|
1257
443
|
|
|
1258
444
|
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1263
445
|
/**
|
|
1264
|
-
*
|
|
1265
|
-
*
|
|
1266
|
-
* Optional fields that are not set will be set to undefined.
|
|
1267
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1268
|
-
* For the list of reserved names please see:
|
|
1269
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1270
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1271
|
-
* JSPB instance for transitional soy proto support:
|
|
1272
|
-
* http://goto/soy-param-migration
|
|
1273
|
-
* @return {!Object}
|
|
446
|
+
* Clears the field making it undefined.
|
|
447
|
+
* @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
|
|
1274
448
|
*/
|
|
1275
|
-
proto.Auth.ClusterProto.
|
|
1276
|
-
return proto.Auth.ClusterProto.
|
|
449
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.clearId = function() {
|
|
450
|
+
return jspb.Message.setOneofField(this, 1, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
1277
451
|
};
|
|
1278
452
|
|
|
1279
453
|
|
|
1280
454
|
/**
|
|
1281
|
-
*
|
|
1282
|
-
* @
|
|
1283
|
-
* the JSPB instance for transitional soy proto support:
|
|
1284
|
-
* http://goto/soy-param-migration
|
|
1285
|
-
* @param {!proto.Auth.ClusterProto.DeleteReply} msg The msg instance to transform.
|
|
1286
|
-
* @return {!Object}
|
|
1287
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
455
|
+
* Returns whether this field is set.
|
|
456
|
+
* @return {boolean}
|
|
1288
457
|
*/
|
|
1289
|
-
proto.Auth.ClusterProto.
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
};
|
|
1293
|
-
|
|
1294
|
-
if (includeInstance) {
|
|
1295
|
-
obj.$jspbMessageInstance = msg;
|
|
1296
|
-
}
|
|
1297
|
-
return obj;
|
|
458
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.hasId = function() {
|
|
459
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1298
460
|
};
|
|
1299
|
-
}
|
|
1300
461
|
|
|
1301
462
|
|
|
1302
463
|
/**
|
|
1303
|
-
*
|
|
1304
|
-
* @
|
|
1305
|
-
* @return {!proto.Auth.ClusterProto.DeleteReply}
|
|
464
|
+
* optional string name = 2;
|
|
465
|
+
* @return {string}
|
|
1306
466
|
*/
|
|
1307
|
-
proto.Auth.ClusterProto.
|
|
1308
|
-
|
|
1309
|
-
var msg = new proto.Auth.ClusterProto.DeleteReply;
|
|
1310
|
-
return proto.Auth.ClusterProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
|
|
467
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.getName = function() {
|
|
468
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1311
469
|
};
|
|
1312
470
|
|
|
1313
471
|
|
|
1314
472
|
/**
|
|
1315
|
-
*
|
|
1316
|
-
*
|
|
1317
|
-
* @param {!proto.Auth.ClusterProto.DeleteReply} msg The message object to deserialize into.
|
|
1318
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1319
|
-
* @return {!proto.Auth.ClusterProto.DeleteReply}
|
|
473
|
+
* @param {string} value
|
|
474
|
+
* @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
|
|
1320
475
|
*/
|
|
1321
|
-
proto.Auth.ClusterProto.
|
|
1322
|
-
|
|
1323
|
-
if (reader.isEndGroup()) {
|
|
1324
|
-
break;
|
|
1325
|
-
}
|
|
1326
|
-
var field = reader.getFieldNumber();
|
|
1327
|
-
switch (field) {
|
|
1328
|
-
default:
|
|
1329
|
-
reader.skipField();
|
|
1330
|
-
break;
|
|
1331
|
-
}
|
|
1332
|
-
}
|
|
1333
|
-
return msg;
|
|
476
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.setName = function(value) {
|
|
477
|
+
return jspb.Message.setOneofField(this, 2, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], value);
|
|
1334
478
|
};
|
|
1335
479
|
|
|
1336
480
|
|
|
1337
481
|
/**
|
|
1338
|
-
*
|
|
1339
|
-
* @return {!
|
|
482
|
+
* Clears the field making it undefined.
|
|
483
|
+
* @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
|
|
1340
484
|
*/
|
|
1341
|
-
proto.Auth.ClusterProto.
|
|
1342
|
-
|
|
1343
|
-
proto.Auth.ClusterProto.DeleteReply.serializeBinaryToWriter(this, writer);
|
|
1344
|
-
return writer.getResultBuffer();
|
|
485
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.clearName = function() {
|
|
486
|
+
return jspb.Message.setOneofField(this, 2, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
1345
487
|
};
|
|
1346
488
|
|
|
1347
489
|
|
|
1348
490
|
/**
|
|
1349
|
-
*
|
|
1350
|
-
*
|
|
1351
|
-
* @param {!proto.Auth.ClusterProto.DeleteReply} message
|
|
1352
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1353
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
491
|
+
* Returns whether this field is set.
|
|
492
|
+
* @return {boolean}
|
|
1354
493
|
*/
|
|
1355
|
-
proto.Auth.ClusterProto.
|
|
1356
|
-
|
|
494
|
+
proto.Auth.ClusterProto.RetrieveRequest.prototype.hasName = function() {
|
|
495
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1357
496
|
};
|
|
1358
497
|
|
|
1359
498
|
|
|
@@ -1890,24 +1029,6 @@ proto.Auth.ClusterProto.prototype.setEndpoint = function(value) {
|
|
|
1890
1029
|
};
|
|
1891
1030
|
|
|
1892
1031
|
|
|
1893
|
-
/**
|
|
1894
|
-
* optional string device_endpoint = 5;
|
|
1895
|
-
* @return {string}
|
|
1896
|
-
*/
|
|
1897
|
-
proto.Auth.ClusterProto.prototype.getDeviceEndpoint = function() {
|
|
1898
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1899
|
-
};
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
/**
|
|
1903
|
-
* @param {string} value
|
|
1904
|
-
* @return {!proto.Auth.ClusterProto} returns this
|
|
1905
|
-
*/
|
|
1906
|
-
proto.Auth.ClusterProto.prototype.setDeviceEndpoint = function(value) {
|
|
1907
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1908
|
-
};
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
1032
|
/**
|
|
1912
1033
|
* optional string country = 6;
|
|
1913
1034
|
* @return {string}
|