@aceplus/smartace-api 2.13.0-alpha.9 → 3.0.0
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.account_pb.d.ts +4 -44
- package/auth.account_pb.js +31 -335
- package/auth.account_pb_service.d.ts +0 -57
- package/auth.account_pb_service.js +0 -120
- package/auth.authn_pb.d.ts +1 -0
- package/auth.authn_pb.js +2 -1
- package/meta.spic_config_pb.d.ts +0 -67
- package/meta.spic_config_pb.js +1 -439
- package/meta.spic_config_pb_service.d.ts +0 -19
- package/meta.spic_config_pb_service.js +0 -40
- package/package.json +1 -1
- package/platform.local_account_internal_pb.d.ts +14 -44
- package/platform.local_account_internal_pb.js +39 -272
- package/platform.local_account_pb.d.ts +73 -15
- package/platform.local_account_pb.js +402 -28
- package/platform.local_account_pb_service.d.ts +3 -3
- package/platform.local_account_pb_service.js +1 -1
- package/spic.cabinet_pb.d.ts +26 -0
- package/spic.cabinet_pb.js +138 -6
|
@@ -8,15 +8,10 @@ import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
|
8
8
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
9
9
|
|
|
10
10
|
export class LocalAccountExtendedProto extends jspb.Message {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
clearClientGroupsList(): void;
|
|
17
|
-
getClientGroupsList(): Array<LocalAccountExtendedProto.ClientGroupProto>;
|
|
18
|
-
setClientGroupsList(value: Array<LocalAccountExtendedProto.ClientGroupProto>): void;
|
|
19
|
-
addClientGroups(value?: LocalAccountExtendedProto.ClientGroupProto, index?: number): LocalAccountExtendedProto.ClientGroupProto;
|
|
11
|
+
clearAccountList(): void;
|
|
12
|
+
getAccountList(): Array<platform_local_account_pb.LocalAccountProto>;
|
|
13
|
+
setAccountList(value: Array<platform_local_account_pb.LocalAccountProto>): void;
|
|
14
|
+
addAccount(value?: platform_local_account_pb.LocalAccountProto, index?: number): platform_local_account_pb.LocalAccountProto;
|
|
20
15
|
|
|
21
16
|
serializeBinary(): Uint8Array;
|
|
22
17
|
toObject(includeInstance?: boolean): LocalAccountExtendedProto.AsObject;
|
|
@@ -30,13 +25,12 @@ export class LocalAccountExtendedProto extends jspb.Message {
|
|
|
30
25
|
|
|
31
26
|
export namespace LocalAccountExtendedProto {
|
|
32
27
|
export type AsObject = {
|
|
33
|
-
|
|
34
|
-
clientGroupsList: Array<LocalAccountExtendedProto.ClientGroupProto.AsObject>,
|
|
28
|
+
accountList: Array<platform_local_account_pb.LocalAccountProto.AsObject>,
|
|
35
29
|
}
|
|
36
30
|
|
|
37
31
|
export class RetrieveRequest extends jspb.Message {
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
getAuthId(): number;
|
|
33
|
+
setAuthId(value: number): void;
|
|
40
34
|
|
|
41
35
|
serializeBinary(): Uint8Array;
|
|
42
36
|
toObject(includeInstance?: boolean): RetrieveRequest.AsObject;
|
|
@@ -50,13 +44,13 @@ export namespace LocalAccountExtendedProto {
|
|
|
50
44
|
|
|
51
45
|
export namespace RetrieveRequest {
|
|
52
46
|
export type AsObject = {
|
|
53
|
-
|
|
47
|
+
authId: number,
|
|
54
48
|
}
|
|
55
49
|
}
|
|
56
50
|
|
|
57
51
|
export class DeleteRequest extends jspb.Message {
|
|
58
|
-
|
|
59
|
-
|
|
52
|
+
getAuthId(): number;
|
|
53
|
+
setAuthId(value: number): void;
|
|
60
54
|
|
|
61
55
|
serializeBinary(): Uint8Array;
|
|
62
56
|
toObject(includeInstance?: boolean): DeleteRequest.AsObject;
|
|
@@ -70,7 +64,7 @@ export namespace LocalAccountExtendedProto {
|
|
|
70
64
|
|
|
71
65
|
export namespace DeleteRequest {
|
|
72
66
|
export type AsObject = {
|
|
73
|
-
|
|
67
|
+
authId: number,
|
|
74
68
|
}
|
|
75
69
|
}
|
|
76
70
|
|
|
@@ -101,8 +95,8 @@ export namespace LocalAccountExtendedProto {
|
|
|
101
95
|
}
|
|
102
96
|
|
|
103
97
|
export class RemoveClientRequest extends jspb.Message {
|
|
104
|
-
|
|
105
|
-
|
|
98
|
+
getAuthId(): number;
|
|
99
|
+
setAuthId(value: number): void;
|
|
106
100
|
|
|
107
101
|
getClientId(): number;
|
|
108
102
|
setClientId(value: number): void;
|
|
@@ -119,32 +113,8 @@ export namespace LocalAccountExtendedProto {
|
|
|
119
113
|
|
|
120
114
|
export namespace RemoveClientRequest {
|
|
121
115
|
export type AsObject = {
|
|
122
|
-
|
|
123
|
-
clientId: number,
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export class ClientGroupProto extends jspb.Message {
|
|
128
|
-
getClientId(): number;
|
|
129
|
-
setClientId(value: number): void;
|
|
130
|
-
|
|
131
|
-
getGroupId(): string;
|
|
132
|
-
setGroupId(value: string): void;
|
|
133
|
-
|
|
134
|
-
serializeBinary(): Uint8Array;
|
|
135
|
-
toObject(includeInstance?: boolean): ClientGroupProto.AsObject;
|
|
136
|
-
static toObject(includeInstance: boolean, msg: ClientGroupProto): ClientGroupProto.AsObject;
|
|
137
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
138
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
139
|
-
static serializeBinaryToWriter(message: ClientGroupProto, writer: jspb.BinaryWriter): void;
|
|
140
|
-
static deserializeBinary(bytes: Uint8Array): ClientGroupProto;
|
|
141
|
-
static deserializeBinaryFromReader(message: ClientGroupProto, reader: jspb.BinaryReader): ClientGroupProto;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export namespace ClientGroupProto {
|
|
145
|
-
export type AsObject = {
|
|
116
|
+
authId: number,
|
|
146
117
|
clientId: number,
|
|
147
|
-
groupId: string,
|
|
148
118
|
}
|
|
149
119
|
}
|
|
150
120
|
}
|
|
@@ -31,7 +31,6 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
|
|
|
31
31
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
32
32
|
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto', null, global);
|
|
33
33
|
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.AddClientRequest', null, global);
|
|
34
|
-
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.ClientGroupProto', null, global);
|
|
35
34
|
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.DeleteRequest', null, global);
|
|
36
35
|
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.RemoveClientRequest', null, global);
|
|
37
36
|
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.RetrieveRequest', null, global);
|
|
@@ -140,34 +139,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
140
139
|
*/
|
|
141
140
|
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.displayName = 'proto.Platform.LocalAccountExtendedProto.RemoveClientRequest';
|
|
142
141
|
}
|
|
143
|
-
/**
|
|
144
|
-
* Generated by JsPbCodeGenerator.
|
|
145
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
146
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
147
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
148
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
149
|
-
* valid.
|
|
150
|
-
* @extends {jspb.Message}
|
|
151
|
-
* @constructor
|
|
152
|
-
*/
|
|
153
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto = function(opt_data) {
|
|
154
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
155
|
-
};
|
|
156
|
-
goog.inherits(proto.Platform.LocalAccountExtendedProto.ClientGroupProto, jspb.Message);
|
|
157
|
-
if (goog.DEBUG && !COMPILED) {
|
|
158
|
-
/**
|
|
159
|
-
* @public
|
|
160
|
-
* @override
|
|
161
|
-
*/
|
|
162
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.displayName = 'proto.Platform.LocalAccountExtendedProto.ClientGroupProto';
|
|
163
|
-
}
|
|
164
142
|
|
|
165
143
|
/**
|
|
166
144
|
* List of repeated fields within this message type.
|
|
167
145
|
* @private {!Array<number>}
|
|
168
146
|
* @const
|
|
169
147
|
*/
|
|
170
|
-
proto.Platform.LocalAccountExtendedProto.repeatedFields_ = [
|
|
148
|
+
proto.Platform.LocalAccountExtendedProto.repeatedFields_ = [1];
|
|
171
149
|
|
|
172
150
|
|
|
173
151
|
|
|
@@ -200,9 +178,8 @@ proto.Platform.LocalAccountExtendedProto.prototype.toObject = function(opt_inclu
|
|
|
200
178
|
*/
|
|
201
179
|
proto.Platform.LocalAccountExtendedProto.toObject = function(includeInstance, msg) {
|
|
202
180
|
var f, obj = {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.toObject, includeInstance)
|
|
181
|
+
accountList: jspb.Message.toObjectList(msg.getAccountList(),
|
|
182
|
+
platform_local_account_pb.LocalAccountProto.toObject, includeInstance)
|
|
206
183
|
};
|
|
207
184
|
|
|
208
185
|
if (includeInstance) {
|
|
@@ -242,12 +219,7 @@ proto.Platform.LocalAccountExtendedProto.deserializeBinaryFromReader = function(
|
|
|
242
219
|
case 1:
|
|
243
220
|
var value = new platform_local_account_pb.LocalAccountProto;
|
|
244
221
|
reader.readMessage(value,platform_local_account_pb.LocalAccountProto.deserializeBinaryFromReader);
|
|
245
|
-
msg.
|
|
246
|
-
break;
|
|
247
|
-
case 2:
|
|
248
|
-
var value = new proto.Platform.LocalAccountExtendedProto.ClientGroupProto;
|
|
249
|
-
reader.readMessage(value,proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinaryFromReader);
|
|
250
|
-
msg.addClientGroups(value);
|
|
222
|
+
msg.addAccount(value);
|
|
251
223
|
break;
|
|
252
224
|
default:
|
|
253
225
|
reader.skipField();
|
|
@@ -278,20 +250,12 @@ proto.Platform.LocalAccountExtendedProto.prototype.serializeBinary = function()
|
|
|
278
250
|
*/
|
|
279
251
|
proto.Platform.LocalAccountExtendedProto.serializeBinaryToWriter = function(message, writer) {
|
|
280
252
|
var f = undefined;
|
|
281
|
-
f = message.
|
|
282
|
-
if (f != null) {
|
|
283
|
-
writer.writeMessage(
|
|
284
|
-
1,
|
|
285
|
-
f,
|
|
286
|
-
platform_local_account_pb.LocalAccountProto.serializeBinaryToWriter
|
|
287
|
-
);
|
|
288
|
-
}
|
|
289
|
-
f = message.getClientGroupsList();
|
|
253
|
+
f = message.getAccountList();
|
|
290
254
|
if (f.length > 0) {
|
|
291
255
|
writer.writeRepeatedMessage(
|
|
292
|
-
|
|
256
|
+
1,
|
|
293
257
|
f,
|
|
294
|
-
|
|
258
|
+
platform_local_account_pb.LocalAccountProto.serializeBinaryToWriter
|
|
295
259
|
);
|
|
296
260
|
}
|
|
297
261
|
};
|
|
@@ -329,7 +293,7 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.toObject = fu
|
|
|
329
293
|
*/
|
|
330
294
|
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.toObject = function(includeInstance, msg) {
|
|
331
295
|
var f, obj = {
|
|
332
|
-
|
|
296
|
+
authId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
333
297
|
};
|
|
334
298
|
|
|
335
299
|
if (includeInstance) {
|
|
@@ -368,7 +332,7 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.deserializeBinaryFromRe
|
|
|
368
332
|
switch (field) {
|
|
369
333
|
case 1:
|
|
370
334
|
var value = /** @type {number} */ (reader.readInt64());
|
|
371
|
-
msg.
|
|
335
|
+
msg.setAuthId(value);
|
|
372
336
|
break;
|
|
373
337
|
default:
|
|
374
338
|
reader.skipField();
|
|
@@ -399,7 +363,7 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.serializeBina
|
|
|
399
363
|
*/
|
|
400
364
|
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
401
365
|
var f = undefined;
|
|
402
|
-
f = message.
|
|
366
|
+
f = message.getAuthId();
|
|
403
367
|
if (f !== 0) {
|
|
404
368
|
writer.writeInt64(
|
|
405
369
|
1,
|
|
@@ -410,10 +374,10 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.serializeBinaryToWriter
|
|
|
410
374
|
|
|
411
375
|
|
|
412
376
|
/**
|
|
413
|
-
* optional int64
|
|
377
|
+
* optional int64 auth_id = 1;
|
|
414
378
|
* @return {number}
|
|
415
379
|
*/
|
|
416
|
-
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.
|
|
380
|
+
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.getAuthId = function() {
|
|
417
381
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
418
382
|
};
|
|
419
383
|
|
|
@@ -422,7 +386,7 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.getId = funct
|
|
|
422
386
|
* @param {number} value
|
|
423
387
|
* @return {!proto.Platform.LocalAccountExtendedProto.RetrieveRequest} returns this
|
|
424
388
|
*/
|
|
425
|
-
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.
|
|
389
|
+
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.setAuthId = function(value) {
|
|
426
390
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
427
391
|
};
|
|
428
392
|
|
|
@@ -459,7 +423,7 @@ proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.toObject = func
|
|
|
459
423
|
*/
|
|
460
424
|
proto.Platform.LocalAccountExtendedProto.DeleteRequest.toObject = function(includeInstance, msg) {
|
|
461
425
|
var f, obj = {
|
|
462
|
-
|
|
426
|
+
authId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
463
427
|
};
|
|
464
428
|
|
|
465
429
|
if (includeInstance) {
|
|
@@ -498,7 +462,7 @@ proto.Platform.LocalAccountExtendedProto.DeleteRequest.deserializeBinaryFromRead
|
|
|
498
462
|
switch (field) {
|
|
499
463
|
case 1:
|
|
500
464
|
var value = /** @type {number} */ (reader.readInt64());
|
|
501
|
-
msg.
|
|
465
|
+
msg.setAuthId(value);
|
|
502
466
|
break;
|
|
503
467
|
default:
|
|
504
468
|
reader.skipField();
|
|
@@ -529,7 +493,7 @@ proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.serializeBinary
|
|
|
529
493
|
*/
|
|
530
494
|
proto.Platform.LocalAccountExtendedProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
531
495
|
var f = undefined;
|
|
532
|
-
f = message.
|
|
496
|
+
f = message.getAuthId();
|
|
533
497
|
if (f !== 0) {
|
|
534
498
|
writer.writeInt64(
|
|
535
499
|
1,
|
|
@@ -540,10 +504,10 @@ proto.Platform.LocalAccountExtendedProto.DeleteRequest.serializeBinaryToWriter =
|
|
|
540
504
|
|
|
541
505
|
|
|
542
506
|
/**
|
|
543
|
-
* optional int64
|
|
507
|
+
* optional int64 auth_id = 1;
|
|
544
508
|
* @return {number}
|
|
545
509
|
*/
|
|
546
|
-
proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.
|
|
510
|
+
proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.getAuthId = function() {
|
|
547
511
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
548
512
|
};
|
|
549
513
|
|
|
@@ -552,7 +516,7 @@ proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.getId = functio
|
|
|
552
516
|
* @param {number} value
|
|
553
517
|
* @return {!proto.Platform.LocalAccountExtendedProto.DeleteRequest} returns this
|
|
554
518
|
*/
|
|
555
|
-
proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.
|
|
519
|
+
proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.setAuthId = function(value) {
|
|
556
520
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
557
521
|
};
|
|
558
522
|
|
|
@@ -770,7 +734,7 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.toObject
|
|
|
770
734
|
*/
|
|
771
735
|
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.toObject = function(includeInstance, msg) {
|
|
772
736
|
var f, obj = {
|
|
773
|
-
|
|
737
|
+
authId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
774
738
|
clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
775
739
|
};
|
|
776
740
|
|
|
@@ -810,7 +774,7 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.deserializeBinaryFr
|
|
|
810
774
|
switch (field) {
|
|
811
775
|
case 1:
|
|
812
776
|
var value = /** @type {number} */ (reader.readInt64());
|
|
813
|
-
msg.
|
|
777
|
+
msg.setAuthId(value);
|
|
814
778
|
break;
|
|
815
779
|
case 2:
|
|
816
780
|
var value = /** @type {number} */ (reader.readInt64());
|
|
@@ -845,7 +809,7 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.serialize
|
|
|
845
809
|
*/
|
|
846
810
|
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.serializeBinaryToWriter = function(message, writer) {
|
|
847
811
|
var f = undefined;
|
|
848
|
-
f = message.
|
|
812
|
+
f = message.getAuthId();
|
|
849
813
|
if (f !== 0) {
|
|
850
814
|
writer.writeInt64(
|
|
851
815
|
1,
|
|
@@ -863,10 +827,10 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.serializeBinaryToWr
|
|
|
863
827
|
|
|
864
828
|
|
|
865
829
|
/**
|
|
866
|
-
* optional int64
|
|
830
|
+
* optional int64 auth_id = 1;
|
|
867
831
|
* @return {number}
|
|
868
832
|
*/
|
|
869
|
-
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.
|
|
833
|
+
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.getAuthId = function() {
|
|
870
834
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
871
835
|
};
|
|
872
836
|
|
|
@@ -875,7 +839,7 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.getId = f
|
|
|
875
839
|
* @param {number} value
|
|
876
840
|
* @return {!proto.Platform.LocalAccountExtendedProto.RemoveClientRequest} returns this
|
|
877
841
|
*/
|
|
878
|
-
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.
|
|
842
|
+
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.setAuthId = function(value) {
|
|
879
843
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
880
844
|
};
|
|
881
845
|
|
|
@@ -898,229 +862,32 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.setClient
|
|
|
898
862
|
};
|
|
899
863
|
|
|
900
864
|
|
|
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.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.toObject = function(opt_includeInstance) {
|
|
918
|
-
return proto.Platform.LocalAccountExtendedProto.ClientGroupProto.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.Platform.LocalAccountExtendedProto.ClientGroupProto} msg The msg instance to transform.
|
|
928
|
-
* @return {!Object}
|
|
929
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
930
|
-
*/
|
|
931
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.toObject = function(includeInstance, msg) {
|
|
932
|
-
var f, obj = {
|
|
933
|
-
clientId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
934
|
-
groupId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
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.Platform.LocalAccountExtendedProto.ClientGroupProto}
|
|
949
|
-
*/
|
|
950
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinary = function(bytes) {
|
|
951
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
952
|
-
var msg = new proto.Platform.LocalAccountExtendedProto.ClientGroupProto;
|
|
953
|
-
return proto.Platform.LocalAccountExtendedProto.ClientGroupProto.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.Platform.LocalAccountExtendedProto.ClientGroupProto} msg The message object to deserialize into.
|
|
961
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
962
|
-
* @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto}
|
|
963
|
-
*/
|
|
964
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.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 {number} */ (reader.readInt64());
|
|
973
|
-
msg.setClientId(value);
|
|
974
|
-
break;
|
|
975
|
-
case 2:
|
|
976
|
-
var value = /** @type {string} */ (reader.readString());
|
|
977
|
-
msg.setGroupId(value);
|
|
978
|
-
break;
|
|
979
|
-
default:
|
|
980
|
-
reader.skipField();
|
|
981
|
-
break;
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
return msg;
|
|
985
|
-
};
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
/**
|
|
989
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
990
|
-
* @return {!Uint8Array}
|
|
991
|
-
*/
|
|
992
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.serializeBinary = function() {
|
|
993
|
-
var writer = new jspb.BinaryWriter();
|
|
994
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.serializeBinaryToWriter(this, writer);
|
|
995
|
-
return writer.getResultBuffer();
|
|
996
|
-
};
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
/**
|
|
1000
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1001
|
-
* format), writing to the given BinaryWriter.
|
|
1002
|
-
* @param {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} message
|
|
1003
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1004
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1005
|
-
*/
|
|
1006
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.serializeBinaryToWriter = function(message, writer) {
|
|
1007
|
-
var f = undefined;
|
|
1008
|
-
f = message.getClientId();
|
|
1009
|
-
if (f !== 0) {
|
|
1010
|
-
writer.writeInt64(
|
|
1011
|
-
1,
|
|
1012
|
-
f
|
|
1013
|
-
);
|
|
1014
|
-
}
|
|
1015
|
-
f = message.getGroupId();
|
|
1016
|
-
if (f.length > 0) {
|
|
1017
|
-
writer.writeString(
|
|
1018
|
-
2,
|
|
1019
|
-
f
|
|
1020
|
-
);
|
|
1021
|
-
}
|
|
1022
|
-
};
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
/**
|
|
1026
|
-
* optional int64 client_id = 1;
|
|
1027
|
-
* @return {number}
|
|
1028
|
-
*/
|
|
1029
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.getClientId = function() {
|
|
1030
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1031
|
-
};
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* @param {number} value
|
|
1036
|
-
* @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} returns this
|
|
1037
|
-
*/
|
|
1038
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.setClientId = function(value) {
|
|
1039
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1040
|
-
};
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
/**
|
|
1044
|
-
* optional string group_id = 2;
|
|
1045
|
-
* @return {string}
|
|
1046
|
-
*/
|
|
1047
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.getGroupId = function() {
|
|
1048
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1049
|
-
};
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
/**
|
|
1053
|
-
* @param {string} value
|
|
1054
|
-
* @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} returns this
|
|
1055
|
-
*/
|
|
1056
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.setGroupId = function(value) {
|
|
1057
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1058
|
-
};
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* optional LocalAccountProto account = 1;
|
|
1063
|
-
* @return {?proto.Platform.LocalAccountProto}
|
|
1064
|
-
*/
|
|
1065
|
-
proto.Platform.LocalAccountExtendedProto.prototype.getAccount = function() {
|
|
1066
|
-
return /** @type{?proto.Platform.LocalAccountProto} */ (
|
|
1067
|
-
jspb.Message.getWrapperField(this, platform_local_account_pb.LocalAccountProto, 1));
|
|
1068
|
-
};
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* @param {?proto.Platform.LocalAccountProto|undefined} value
|
|
1073
|
-
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1074
|
-
*/
|
|
1075
|
-
proto.Platform.LocalAccountExtendedProto.prototype.setAccount = function(value) {
|
|
1076
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
1077
|
-
};
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
/**
|
|
1081
|
-
* Clears the message field making it undefined.
|
|
1082
|
-
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1083
|
-
*/
|
|
1084
|
-
proto.Platform.LocalAccountExtendedProto.prototype.clearAccount = function() {
|
|
1085
|
-
return this.setAccount(undefined);
|
|
1086
|
-
};
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
/**
|
|
1090
|
-
* Returns whether this field is set.
|
|
1091
|
-
* @return {boolean}
|
|
1092
|
-
*/
|
|
1093
|
-
proto.Platform.LocalAccountExtendedProto.prototype.hasAccount = function() {
|
|
1094
|
-
return jspb.Message.getField(this, 1) != null;
|
|
1095
|
-
};
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
865
|
/**
|
|
1099
|
-
* repeated
|
|
1100
|
-
* @return {!Array<!proto.Platform.
|
|
866
|
+
* repeated LocalAccountProto account = 1;
|
|
867
|
+
* @return {!Array<!proto.Platform.LocalAccountProto>}
|
|
1101
868
|
*/
|
|
1102
|
-
proto.Platform.LocalAccountExtendedProto.prototype.
|
|
1103
|
-
return /** @type{!Array<!proto.Platform.
|
|
1104
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
869
|
+
proto.Platform.LocalAccountExtendedProto.prototype.getAccountList = function() {
|
|
870
|
+
return /** @type{!Array<!proto.Platform.LocalAccountProto>} */ (
|
|
871
|
+
jspb.Message.getRepeatedWrapperField(this, platform_local_account_pb.LocalAccountProto, 1));
|
|
1105
872
|
};
|
|
1106
873
|
|
|
1107
874
|
|
|
1108
875
|
/**
|
|
1109
|
-
* @param {!Array<!proto.Platform.
|
|
876
|
+
* @param {!Array<!proto.Platform.LocalAccountProto>} value
|
|
1110
877
|
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1111
878
|
*/
|
|
1112
|
-
proto.Platform.LocalAccountExtendedProto.prototype.
|
|
1113
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
879
|
+
proto.Platform.LocalAccountExtendedProto.prototype.setAccountList = function(value) {
|
|
880
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1114
881
|
};
|
|
1115
882
|
|
|
1116
883
|
|
|
1117
884
|
/**
|
|
1118
|
-
* @param {!proto.Platform.
|
|
885
|
+
* @param {!proto.Platform.LocalAccountProto=} opt_value
|
|
1119
886
|
* @param {number=} opt_index
|
|
1120
|
-
* @return {!proto.Platform.
|
|
887
|
+
* @return {!proto.Platform.LocalAccountProto}
|
|
1121
888
|
*/
|
|
1122
|
-
proto.Platform.LocalAccountExtendedProto.prototype.
|
|
1123
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
889
|
+
proto.Platform.LocalAccountExtendedProto.prototype.addAccount = function(opt_value, opt_index) {
|
|
890
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Platform.LocalAccountProto, opt_index);
|
|
1124
891
|
};
|
|
1125
892
|
|
|
1126
893
|
|
|
@@ -1128,8 +895,8 @@ proto.Platform.LocalAccountExtendedProto.prototype.addClientGroups = function(op
|
|
|
1128
895
|
* Clears the list making it empty but non-null.
|
|
1129
896
|
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1130
897
|
*/
|
|
1131
|
-
proto.Platform.LocalAccountExtendedProto.prototype.
|
|
1132
|
-
return this.
|
|
898
|
+
proto.Platform.LocalAccountExtendedProto.prototype.clearAccountList = function() {
|
|
899
|
+
return this.setAccountList([]);
|
|
1133
900
|
};
|
|
1134
901
|
|
|
1135
902
|
|