@aceplus/smartace-api 3.6.0-alpha.19 → 3.6.0-alpha.20

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.
Files changed (249) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -582
  3. package/auth.account_pb.js +0 -4287
  4. package/auth.account_pb_service.d.ts +0 -340
  5. package/auth.account_pb_service.js +0 -637
  6. package/auth.account_two_factor_pb.d.ts +0 -159
  7. package/auth.account_two_factor_pb.js +0 -1184
  8. package/auth.account_two_factor_pb_service.d.ts +0 -121
  9. package/auth.account_two_factor_pb_service.js +0 -182
  10. package/auth.app_account_pb.d.ts +0 -156
  11. package/auth.app_account_pb.js +0 -1153
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -172
  15. package/auth.app_authn_pb.js +0 -1233
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -95
  23. package/auth.authn_pb.js +0 -637
  24. package/auth.authn_pb_service.d.ts +0 -82
  25. package/auth.authn_pb_service.js +0 -101
  26. package/auth.cluster_pb.d.ts +0 -142
  27. package/auth.cluster_pb.js +0 -1050
  28. package/auth.cluster_pb_service.d.ts +0 -82
  29. package/auth.cluster_pb_service.js +0 -101
  30. package/auth.distribution_pb.d.ts +0 -233
  31. package/auth.distribution_pb.js +0 -1785
  32. package/auth.distribution_pb_service.d.ts +0 -82
  33. package/auth.distribution_pb_service.js +0 -101
  34. package/auth.email_pb.d.ts +0 -217
  35. package/auth.email_pb.js +0 -1508
  36. package/auth.email_pb_service.d.ts +0 -102
  37. package/auth.email_pb_service.js +0 -142
  38. package/auth.firmware_pb.d.ts +0 -256
  39. package/auth.firmware_pb.js +0 -1997
  40. package/auth.firmware_pb_service.d.ts +0 -120
  41. package/auth.firmware_pb_service.js +0 -181
  42. package/auth.push_notification_pb.d.ts +0 -69
  43. package/auth.push_notification_pb.js +0 -411
  44. package/auth.push_notification_pb_service.d.ts +0 -64
  45. package/auth.push_notification_pb_service.js +0 -62
  46. package/auth.sms_pb.d.ts +0 -79
  47. package/auth.sms_pb.js +0 -575
  48. package/auth.sms_pb_service.d.ts +0 -83
  49. package/auth.sms_pb_service.js +0 -102
  50. package/google/api/annotations_pb.d.ts +0 -9
  51. package/google/api/annotations_pb.js +0 -54
  52. package/google/api/annotations_pb_service.d.ts +0 -3
  53. package/google/api/annotations_pb_service.js +0 -3
  54. package/google/api/auth_pb.d.ts +0 -150
  55. package/google/api/auth_pb.js +0 -1160
  56. package/google/api/auth_pb_service.d.ts +0 -3
  57. package/google/api/auth_pb_service.js +0 -3
  58. package/google/api/backend_pb.d.ts +0 -59
  59. package/google/api/backend_pb.js +0 -448
  60. package/google/api/backend_pb_service.d.ts +0 -3
  61. package/google/api/backend_pb_service.js +0 -3
  62. package/google/api/billing_pb.d.ts +0 -54
  63. package/google/api/billing_pb.js +0 -416
  64. package/google/api/billing_pb_service.d.ts +0 -3
  65. package/google/api/billing_pb_service.js +0 -3
  66. package/google/api/client_pb.d.ts +0 -12
  67. package/google/api/client_pb.js +0 -104
  68. package/google/api/client_pb_service.d.ts +0 -3
  69. package/google/api/client_pb_service.js +0 -3
  70. package/google/api/config_change_pb.d.ts +0 -72
  71. package/google/api/config_change_pb.js +0 -489
  72. package/google/api/config_change_pb_service.d.ts +0 -3
  73. package/google/api/config_change_pb_service.js +0 -3
  74. package/google/api/consumer_pb.d.ts +0 -65
  75. package/google/api/consumer_pb.js +0 -430
  76. package/google/api/consumer_pb_service.d.ts +0 -3
  77. package/google/api/consumer_pb_service.js +0 -3
  78. package/google/api/context_pb.d.ts +0 -59
  79. package/google/api/context_pb.js +0 -463
  80. package/google/api/context_pb_service.d.ts +0 -3
  81. package/google/api/context_pb_service.js +0 -3
  82. package/google/api/control_pb.d.ts +0 -25
  83. package/google/api/control_pb.js +0 -176
  84. package/google/api/control_pb_service.d.ts +0 -3
  85. package/google/api/control_pb_service.js +0 -3
  86. package/google/api/distribution_pb.d.ts +0 -235
  87. package/google/api/distribution_pb.js +0 -1805
  88. package/google/api/distribution_pb_service.d.ts +0 -3
  89. package/google/api/distribution_pb_service.js +0 -3
  90. package/google/api/documentation_pb.d.ts +0 -103
  91. package/google/api/documentation_pb.js +0 -803
  92. package/google/api/documentation_pb_service.d.ts +0 -3
  93. package/google/api/documentation_pb_service.js +0 -3
  94. package/google/api/endpoint_pb.d.ts +0 -46
  95. package/google/api/endpoint_pb.js +0 -343
  96. package/google/api/endpoint_pb_service.d.ts +0 -3
  97. package/google/api/endpoint_pb_service.js +0 -3
  98. package/google/api/error_reason_pb.d.ts +0 -40
  99. package/google/api/error_reason_pb.js +0 -61
  100. package/google/api/error_reason_pb_service.d.ts +0 -3
  101. package/google/api/error_reason_pb_service.js +0 -3
  102. package/google/api/field_behavior_pb.d.ts +0 -20
  103. package/google/api/field_behavior_pb.js +0 -66
  104. package/google/api/field_behavior_pb_service.d.ts +0 -3
  105. package/google/api/field_behavior_pb_service.js +0 -3
  106. package/google/api/http_pb.d.ts +0 -136
  107. package/google/api/http_pb.js +0 -1012
  108. package/google/api/http_pb_service.d.ts +0 -3
  109. package/google/api/http_pb_service.js +0 -3
  110. package/google/api/httpbody_pb.d.ts +0 -38
  111. package/google/api/httpbody_pb.js +0 -292
  112. package/google/api/httpbody_pb_service.d.ts +0 -3
  113. package/google/api/httpbody_pb_service.js +0 -3
  114. package/google/api/label_pb.d.ts +0 -41
  115. package/google/api/label_pb.js +0 -246
  116. package/google/api/label_pb_service.d.ts +0 -3
  117. package/google/api/label_pb_service.js +0 -3
  118. package/google/api/launch_stage_pb.d.ts +0 -16
  119. package/google/api/launch_stage_pb.js +0 -37
  120. package/google/api/launch_stage_pb_service.d.ts +0 -3
  121. package/google/api/launch_stage_pb_service.js +0 -3
  122. package/google/api/log_pb.d.ts +0 -40
  123. package/google/api/log_pb.js +0 -298
  124. package/google/api/log_pb_service.d.ts +0 -3
  125. package/google/api/log_pb_service.js +0 -3
  126. package/google/api/logging_pb.d.ts +0 -60
  127. package/google/api/logging_pb.js +0 -469
  128. package/google/api/logging_pb_service.d.ts +0 -3
  129. package/google/api/logging_pb_service.js +0 -3
  130. package/google/api/metric_pb.d.ts +0 -100
  131. package/google/api/metric_pb.js +0 -629
  132. package/google/api/metric_pb_service.d.ts +0 -3
  133. package/google/api/metric_pb_service.js +0 -3
  134. package/google/api/monitored_resource_pb.d.ts +0 -93
  135. package/google/api/monitored_resource_pb.js +0 -723
  136. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  137. package/google/api/monitored_resource_pb_service.js +0 -3
  138. package/google/api/monitoring_pb.d.ts +0 -60
  139. package/google/api/monitoring_pb.js +0 -469
  140. package/google/api/monitoring_pb_service.d.ts +0 -3
  141. package/google/api/monitoring_pb_service.js +0 -3
  142. package/google/api/policy_pb.d.ts +0 -64
  143. package/google/api/policy_pb.js +0 -502
  144. package/google/api/policy_pb_service.d.ts +0 -3
  145. package/google/api/policy_pb_service.js +0 -3
  146. package/google/api/quota_pb.d.ts +0 -112
  147. package/google/api/quota_pb.js +0 -873
  148. package/google/api/quota_pb_service.d.ts +0 -3
  149. package/google/api/quota_pb_service.js +0 -3
  150. package/google/api/resource_pb.d.ts +0 -99
  151. package/google/api/resource_pb.js +0 -684
  152. package/google/api/resource_pb_service.d.ts +0 -3
  153. package/google/api/resource_pb_service.js +0 -3
  154. package/google/api/routing_pb.d.ts +0 -54
  155. package/google/api/routing_pb.js +0 -416
  156. package/google/api/routing_pb_service.d.ts +0 -3
  157. package/google/api/routing_pb_service.js +0 -3
  158. package/google/api/service_pb.d.ts +0 -184
  159. package/google/api/service_pb.js +0 -1400
  160. package/google/api/service_pb_service.d.ts +0 -3
  161. package/google/api/service_pb_service.js +0 -3
  162. package/google/api/source_info_pb.d.ts +0 -28
  163. package/google/api/source_info_pb.js +0 -208
  164. package/google/api/source_info_pb_service.d.ts +0 -3
  165. package/google/api/source_info_pb_service.js +0 -3
  166. package/google/api/system_parameter_pb.d.ts +0 -81
  167. package/google/api/system_parameter_pb.js +0 -630
  168. package/google/api/system_parameter_pb_service.d.ts +0 -3
  169. package/google/api/system_parameter_pb_service.js +0 -3
  170. package/google/api/usage_pb.d.ts +0 -66
  171. package/google/api/usage_pb.js +0 -499
  172. package/google/api/usage_pb_service.d.ts +0 -3
  173. package/google/api/usage_pb_service.js +0 -3
  174. package/google/api/visibility_pb.d.ts +0 -64
  175. package/google/api/visibility_pb.js +0 -546
  176. package/google/api/visibility_pb_service.d.ts +0 -3
  177. package/google/api/visibility_pb_service.js +0 -3
  178. package/meta.client_pb.d.ts +0 -167
  179. package/meta.client_pb.js +0 -1266
  180. package/meta.client_pb_service.d.ts +0 -122
  181. package/meta.client_pb_service.js +0 -183
  182. package/meta.spic_config_pb.d.ts +0 -184
  183. package/meta.spic_config_pb.js +0 -1382
  184. package/meta.spic_config_pb_service.d.ts +0 -122
  185. package/meta.spic_config_pb_service.js +0 -183
  186. package/platform.activity_log_pb.d.ts +0 -177
  187. package/platform.activity_log_pb.js +0 -1294
  188. package/platform.activity_log_pb_service.d.ts +0 -82
  189. package/platform.activity_log_pb_service.js +0 -101
  190. package/platform.client_pb.d.ts +0 -350
  191. package/platform.client_pb.js +0 -2663
  192. package/platform.client_pb_service.d.ts +0 -158
  193. package/platform.client_pb_service.js +0 -261
  194. package/platform.group_pb.d.ts +0 -195
  195. package/platform.group_pb.js +0 -1476
  196. package/platform.group_pb_service.d.ts +0 -139
  197. package/platform.group_pb_service.js +0 -221
  198. package/platform.local_account_internal_pb.d.ts +0 -125
  199. package/platform.local_account_internal_pb.js +0 -933
  200. package/platform.local_account_internal_pb_service.d.ts +0 -121
  201. package/platform.local_account_internal_pb_service.js +0 -182
  202. package/platform.local_account_pb.d.ts +0 -446
  203. package/platform.local_account_pb.js +0 -3337
  204. package/platform.local_account_pb_service.d.ts +0 -331
  205. package/platform.local_account_pb_service.js +0 -623
  206. package/platform.local_distribution_pb.d.ts +0 -73
  207. package/platform.local_distribution_pb.js +0 -536
  208. package/platform.local_distribution_pb_service.d.ts +0 -63
  209. package/platform.local_distribution_pb_service.js +0 -61
  210. package/platform.location_pb.d.ts +0 -271
  211. package/platform.location_pb.js +0 -2046
  212. package/platform.location_pb_service.d.ts +0 -139
  213. package/platform.location_pb_service.js +0 -221
  214. package/platform.pagination_pb.d.ts +0 -45
  215. package/platform.pagination_pb.js +0 -276
  216. package/platform.pagination_pb_service.d.ts +0 -3
  217. package/platform.pagination_pb_service.js +0 -3
  218. package/spic.admin_alert_pb.d.ts +0 -91
  219. package/spic.admin_alert_pb.js +0 -666
  220. package/spic.admin_alert_pb_service.d.ts +0 -102
  221. package/spic.admin_alert_pb_service.js +0 -142
  222. package/spic.alarm_pb.d.ts +0 -344
  223. package/spic.alarm_pb.js +0 -2622
  224. package/spic.alarm_pb_service.d.ts +0 -101
  225. package/spic.alarm_pb_service.js +0 -141
  226. package/spic.asset_pb.d.ts +0 -652
  227. package/spic.asset_pb.js +0 -4669
  228. package/spic.asset_pb_service.d.ts +0 -197
  229. package/spic.asset_pb_service.js +0 -342
  230. package/spic.cabinet_pb.d.ts +0 -951
  231. package/spic.cabinet_pb.js +0 -6875
  232. package/spic.cabinet_pb_service.d.ts +0 -177
  233. package/spic.cabinet_pb_service.js +0 -301
  234. package/spic.config_pb.d.ts +0 -249
  235. package/spic.config_pb.js +0 -1891
  236. package/spic.config_pb_service.d.ts +0 -120
  237. package/spic.config_pb_service.js +0 -181
  238. package/spic.contractor_pb.d.ts +0 -195
  239. package/spic.contractor_pb.js +0 -1476
  240. package/spic.contractor_pb_service.d.ts +0 -139
  241. package/spic.contractor_pb_service.js +0 -221
  242. package/spic.history_pb.d.ts +0 -142
  243. package/spic.history_pb.js +0 -1130
  244. package/spic.history_pb_service.d.ts +0 -63
  245. package/spic.history_pb_service.js +0 -61
  246. package/spic.open_request_pb.d.ts +0 -237
  247. package/spic.open_request_pb.js +0 -1784
  248. package/spic.open_request_pb_service.d.ts +0 -101
  249. package/spic.open_request_pb_service.js +0 -141
@@ -1,1476 +0,0 @@
1
- // source: platform.group.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 =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
23
-
24
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
25
- goog.object.extend(proto, google_api_annotations_pb);
26
- var platform_pagination_pb = require('./platform.pagination_pb.js');
27
- goog.object.extend(proto, platform_pagination_pb);
28
- goog.exportSymbol('proto.Platform.GroupProto', null, global);
29
- goog.exportSymbol('proto.Platform.GroupProto.CreateRequest', null, global);
30
- goog.exportSymbol('proto.Platform.GroupProto.DeleteReply', null, global);
31
- goog.exportSymbol('proto.Platform.GroupProto.DeleteRequest', null, global);
32
- goog.exportSymbol('proto.Platform.GroupProto.RetrieveRequest', null, global);
33
- goog.exportSymbol('proto.Platform.GroupProto.SearchReply', null, global);
34
- goog.exportSymbol('proto.Platform.GroupProto.SearchRequest', null, global);
35
- goog.exportSymbol('proto.Platform.GroupProto.UpdateRequest', null, global);
36
- /**
37
- * Generated by JsPbCodeGenerator.
38
- * @param {Array=} opt_data Optional initial data array, typically from a
39
- * server response, or constructed directly in Javascript. The array is used
40
- * in place and becomes part of the constructed object. It is not cloned.
41
- * If no data is provided, the constructed object will be empty, but still
42
- * valid.
43
- * @extends {jspb.Message}
44
- * @constructor
45
- */
46
- proto.Platform.GroupProto = function(opt_data) {
47
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
48
- };
49
- goog.inherits(proto.Platform.GroupProto, jspb.Message);
50
- if (goog.DEBUG && !COMPILED) {
51
- /**
52
- * @public
53
- * @override
54
- */
55
- proto.Platform.GroupProto.displayName = 'proto.Platform.GroupProto';
56
- }
57
- /**
58
- * Generated by JsPbCodeGenerator.
59
- * @param {Array=} opt_data Optional initial data array, typically from a
60
- * server response, or constructed directly in Javascript. The array is used
61
- * in place and becomes part of the constructed object. It is not cloned.
62
- * If no data is provided, the constructed object will be empty, but still
63
- * valid.
64
- * @extends {jspb.Message}
65
- * @constructor
66
- */
67
- proto.Platform.GroupProto.CreateRequest = function(opt_data) {
68
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
69
- };
70
- goog.inherits(proto.Platform.GroupProto.CreateRequest, jspb.Message);
71
- if (goog.DEBUG && !COMPILED) {
72
- /**
73
- * @public
74
- * @override
75
- */
76
- proto.Platform.GroupProto.CreateRequest.displayName = 'proto.Platform.GroupProto.CreateRequest';
77
- }
78
- /**
79
- * Generated by JsPbCodeGenerator.
80
- * @param {Array=} opt_data Optional initial data array, typically from a
81
- * server response, or constructed directly in Javascript. The array is used
82
- * in place and becomes part of the constructed object. It is not cloned.
83
- * If no data is provided, the constructed object will be empty, but still
84
- * valid.
85
- * @extends {jspb.Message}
86
- * @constructor
87
- */
88
- proto.Platform.GroupProto.UpdateRequest = function(opt_data) {
89
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
90
- };
91
- goog.inherits(proto.Platform.GroupProto.UpdateRequest, jspb.Message);
92
- if (goog.DEBUG && !COMPILED) {
93
- /**
94
- * @public
95
- * @override
96
- */
97
- proto.Platform.GroupProto.UpdateRequest.displayName = 'proto.Platform.GroupProto.UpdateRequest';
98
- }
99
- /**
100
- * Generated by JsPbCodeGenerator.
101
- * @param {Array=} opt_data Optional initial data array, typically from a
102
- * server response, or constructed directly in Javascript. The array is used
103
- * in place and becomes part of the constructed object. It is not cloned.
104
- * If no data is provided, the constructed object will be empty, but still
105
- * valid.
106
- * @extends {jspb.Message}
107
- * @constructor
108
- */
109
- proto.Platform.GroupProto.DeleteRequest = function(opt_data) {
110
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
111
- };
112
- goog.inherits(proto.Platform.GroupProto.DeleteRequest, jspb.Message);
113
- if (goog.DEBUG && !COMPILED) {
114
- /**
115
- * @public
116
- * @override
117
- */
118
- proto.Platform.GroupProto.DeleteRequest.displayName = 'proto.Platform.GroupProto.DeleteRequest';
119
- }
120
- /**
121
- * Generated by JsPbCodeGenerator.
122
- * @param {Array=} opt_data Optional initial data array, typically from a
123
- * server response, or constructed directly in Javascript. The array is used
124
- * in place and becomes part of the constructed object. It is not cloned.
125
- * If no data is provided, the constructed object will be empty, but still
126
- * valid.
127
- * @extends {jspb.Message}
128
- * @constructor
129
- */
130
- proto.Platform.GroupProto.DeleteReply = function(opt_data) {
131
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
132
- };
133
- goog.inherits(proto.Platform.GroupProto.DeleteReply, jspb.Message);
134
- if (goog.DEBUG && !COMPILED) {
135
- /**
136
- * @public
137
- * @override
138
- */
139
- proto.Platform.GroupProto.DeleteReply.displayName = 'proto.Platform.GroupProto.DeleteReply';
140
- }
141
- /**
142
- * Generated by JsPbCodeGenerator.
143
- * @param {Array=} opt_data Optional initial data array, typically from a
144
- * server response, or constructed directly in Javascript. The array is used
145
- * in place and becomes part of the constructed object. It is not cloned.
146
- * If no data is provided, the constructed object will be empty, but still
147
- * valid.
148
- * @extends {jspb.Message}
149
- * @constructor
150
- */
151
- proto.Platform.GroupProto.RetrieveRequest = function(opt_data) {
152
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
153
- };
154
- goog.inherits(proto.Platform.GroupProto.RetrieveRequest, jspb.Message);
155
- if (goog.DEBUG && !COMPILED) {
156
- /**
157
- * @public
158
- * @override
159
- */
160
- proto.Platform.GroupProto.RetrieveRequest.displayName = 'proto.Platform.GroupProto.RetrieveRequest';
161
- }
162
- /**
163
- * Generated by JsPbCodeGenerator.
164
- * @param {Array=} opt_data Optional initial data array, typically from a
165
- * server response, or constructed directly in Javascript. The array is used
166
- * in place and becomes part of the constructed object. It is not cloned.
167
- * If no data is provided, the constructed object will be empty, but still
168
- * valid.
169
- * @extends {jspb.Message}
170
- * @constructor
171
- */
172
- proto.Platform.GroupProto.SearchReply = function(opt_data) {
173
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Platform.GroupProto.SearchReply.repeatedFields_, null);
174
- };
175
- goog.inherits(proto.Platform.GroupProto.SearchReply, jspb.Message);
176
- if (goog.DEBUG && !COMPILED) {
177
- /**
178
- * @public
179
- * @override
180
- */
181
- proto.Platform.GroupProto.SearchReply.displayName = 'proto.Platform.GroupProto.SearchReply';
182
- }
183
- /**
184
- * Generated by JsPbCodeGenerator.
185
- * @param {Array=} opt_data Optional initial data array, typically from a
186
- * server response, or constructed directly in Javascript. The array is used
187
- * in place and becomes part of the constructed object. It is not cloned.
188
- * If no data is provided, the constructed object will be empty, but still
189
- * valid.
190
- * @extends {jspb.Message}
191
- * @constructor
192
- */
193
- proto.Platform.GroupProto.SearchRequest = function(opt_data) {
194
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
195
- };
196
- goog.inherits(proto.Platform.GroupProto.SearchRequest, jspb.Message);
197
- if (goog.DEBUG && !COMPILED) {
198
- /**
199
- * @public
200
- * @override
201
- */
202
- proto.Platform.GroupProto.SearchRequest.displayName = 'proto.Platform.GroupProto.SearchRequest';
203
- }
204
-
205
-
206
-
207
- if (jspb.Message.GENERATE_TO_OBJECT) {
208
- /**
209
- * Creates an object representation of this proto.
210
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
211
- * Optional fields that are not set will be set to undefined.
212
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
213
- * For the list of reserved names please see:
214
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
215
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
216
- * JSPB instance for transitional soy proto support:
217
- * http://goto/soy-param-migration
218
- * @return {!Object}
219
- */
220
- proto.Platform.GroupProto.prototype.toObject = function(opt_includeInstance) {
221
- return proto.Platform.GroupProto.toObject(opt_includeInstance, this);
222
- };
223
-
224
-
225
- /**
226
- * Static version of the {@see toObject} method.
227
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
228
- * the JSPB instance for transitional soy proto support:
229
- * http://goto/soy-param-migration
230
- * @param {!proto.Platform.GroupProto} msg The msg instance to transform.
231
- * @return {!Object}
232
- * @suppress {unusedLocalVariables} f is only used for nested messages
233
- */
234
- proto.Platform.GroupProto.toObject = function(includeInstance, msg) {
235
- var f, obj = {
236
- id: jspb.Message.getFieldWithDefault(msg, 1, ""),
237
- name: jspb.Message.getFieldWithDefault(msg, 2, "")
238
- };
239
-
240
- if (includeInstance) {
241
- obj.$jspbMessageInstance = msg;
242
- }
243
- return obj;
244
- };
245
- }
246
-
247
-
248
- /**
249
- * Deserializes binary data (in protobuf wire format).
250
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
251
- * @return {!proto.Platform.GroupProto}
252
- */
253
- proto.Platform.GroupProto.deserializeBinary = function(bytes) {
254
- var reader = new jspb.BinaryReader(bytes);
255
- var msg = new proto.Platform.GroupProto;
256
- return proto.Platform.GroupProto.deserializeBinaryFromReader(msg, reader);
257
- };
258
-
259
-
260
- /**
261
- * Deserializes binary data (in protobuf wire format) from the
262
- * given reader into the given message object.
263
- * @param {!proto.Platform.GroupProto} msg The message object to deserialize into.
264
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
265
- * @return {!proto.Platform.GroupProto}
266
- */
267
- proto.Platform.GroupProto.deserializeBinaryFromReader = function(msg, reader) {
268
- while (reader.nextField()) {
269
- if (reader.isEndGroup()) {
270
- break;
271
- }
272
- var field = reader.getFieldNumber();
273
- switch (field) {
274
- case 1:
275
- var value = /** @type {string} */ (reader.readString());
276
- msg.setId(value);
277
- break;
278
- case 2:
279
- var value = /** @type {string} */ (reader.readString());
280
- msg.setName(value);
281
- break;
282
- default:
283
- reader.skipField();
284
- break;
285
- }
286
- }
287
- return msg;
288
- };
289
-
290
-
291
- /**
292
- * Serializes the message to binary data (in protobuf wire format).
293
- * @return {!Uint8Array}
294
- */
295
- proto.Platform.GroupProto.prototype.serializeBinary = function() {
296
- var writer = new jspb.BinaryWriter();
297
- proto.Platform.GroupProto.serializeBinaryToWriter(this, writer);
298
- return writer.getResultBuffer();
299
- };
300
-
301
-
302
- /**
303
- * Serializes the given message to binary data (in protobuf wire
304
- * format), writing to the given BinaryWriter.
305
- * @param {!proto.Platform.GroupProto} message
306
- * @param {!jspb.BinaryWriter} writer
307
- * @suppress {unusedLocalVariables} f is only used for nested messages
308
- */
309
- proto.Platform.GroupProto.serializeBinaryToWriter = function(message, writer) {
310
- var f = undefined;
311
- f = message.getId();
312
- if (f.length > 0) {
313
- writer.writeString(
314
- 1,
315
- f
316
- );
317
- }
318
- f = message.getName();
319
- if (f.length > 0) {
320
- writer.writeString(
321
- 2,
322
- f
323
- );
324
- }
325
- };
326
-
327
-
328
-
329
-
330
-
331
- if (jspb.Message.GENERATE_TO_OBJECT) {
332
- /**
333
- * Creates an object representation of this proto.
334
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
335
- * Optional fields that are not set will be set to undefined.
336
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
337
- * For the list of reserved names please see:
338
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
339
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
340
- * JSPB instance for transitional soy proto support:
341
- * http://goto/soy-param-migration
342
- * @return {!Object}
343
- */
344
- proto.Platform.GroupProto.CreateRequest.prototype.toObject = function(opt_includeInstance) {
345
- return proto.Platform.GroupProto.CreateRequest.toObject(opt_includeInstance, this);
346
- };
347
-
348
-
349
- /**
350
- * Static version of the {@see toObject} method.
351
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
352
- * the JSPB instance for transitional soy proto support:
353
- * http://goto/soy-param-migration
354
- * @param {!proto.Platform.GroupProto.CreateRequest} msg The msg instance to transform.
355
- * @return {!Object}
356
- * @suppress {unusedLocalVariables} f is only used for nested messages
357
- */
358
- proto.Platform.GroupProto.CreateRequest.toObject = function(includeInstance, msg) {
359
- var f, obj = {
360
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
361
- parentId: jspb.Message.getFieldWithDefault(msg, 2, "")
362
- };
363
-
364
- if (includeInstance) {
365
- obj.$jspbMessageInstance = msg;
366
- }
367
- return obj;
368
- };
369
- }
370
-
371
-
372
- /**
373
- * Deserializes binary data (in protobuf wire format).
374
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
375
- * @return {!proto.Platform.GroupProto.CreateRequest}
376
- */
377
- proto.Platform.GroupProto.CreateRequest.deserializeBinary = function(bytes) {
378
- var reader = new jspb.BinaryReader(bytes);
379
- var msg = new proto.Platform.GroupProto.CreateRequest;
380
- return proto.Platform.GroupProto.CreateRequest.deserializeBinaryFromReader(msg, reader);
381
- };
382
-
383
-
384
- /**
385
- * Deserializes binary data (in protobuf wire format) from the
386
- * given reader into the given message object.
387
- * @param {!proto.Platform.GroupProto.CreateRequest} msg The message object to deserialize into.
388
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
389
- * @return {!proto.Platform.GroupProto.CreateRequest}
390
- */
391
- proto.Platform.GroupProto.CreateRequest.deserializeBinaryFromReader = function(msg, reader) {
392
- while (reader.nextField()) {
393
- if (reader.isEndGroup()) {
394
- break;
395
- }
396
- var field = reader.getFieldNumber();
397
- switch (field) {
398
- case 1:
399
- var value = /** @type {string} */ (reader.readString());
400
- msg.setName(value);
401
- break;
402
- case 2:
403
- var value = /** @type {string} */ (reader.readString());
404
- msg.setParentId(value);
405
- break;
406
- default:
407
- reader.skipField();
408
- break;
409
- }
410
- }
411
- return msg;
412
- };
413
-
414
-
415
- /**
416
- * Serializes the message to binary data (in protobuf wire format).
417
- * @return {!Uint8Array}
418
- */
419
- proto.Platform.GroupProto.CreateRequest.prototype.serializeBinary = function() {
420
- var writer = new jspb.BinaryWriter();
421
- proto.Platform.GroupProto.CreateRequest.serializeBinaryToWriter(this, writer);
422
- return writer.getResultBuffer();
423
- };
424
-
425
-
426
- /**
427
- * Serializes the given message to binary data (in protobuf wire
428
- * format), writing to the given BinaryWriter.
429
- * @param {!proto.Platform.GroupProto.CreateRequest} message
430
- * @param {!jspb.BinaryWriter} writer
431
- * @suppress {unusedLocalVariables} f is only used for nested messages
432
- */
433
- proto.Platform.GroupProto.CreateRequest.serializeBinaryToWriter = function(message, writer) {
434
- var f = undefined;
435
- f = message.getName();
436
- if (f.length > 0) {
437
- writer.writeString(
438
- 1,
439
- f
440
- );
441
- }
442
- f = message.getParentId();
443
- if (f.length > 0) {
444
- writer.writeString(
445
- 2,
446
- f
447
- );
448
- }
449
- };
450
-
451
-
452
- /**
453
- * optional string name = 1;
454
- * @return {string}
455
- */
456
- proto.Platform.GroupProto.CreateRequest.prototype.getName = function() {
457
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
458
- };
459
-
460
-
461
- /**
462
- * @param {string} value
463
- * @return {!proto.Platform.GroupProto.CreateRequest} returns this
464
- */
465
- proto.Platform.GroupProto.CreateRequest.prototype.setName = function(value) {
466
- return jspb.Message.setProto3StringField(this, 1, value);
467
- };
468
-
469
-
470
- /**
471
- * optional string parent_id = 2;
472
- * @return {string}
473
- */
474
- proto.Platform.GroupProto.CreateRequest.prototype.getParentId = function() {
475
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
476
- };
477
-
478
-
479
- /**
480
- * @param {string} value
481
- * @return {!proto.Platform.GroupProto.CreateRequest} returns this
482
- */
483
- proto.Platform.GroupProto.CreateRequest.prototype.setParentId = function(value) {
484
- return jspb.Message.setProto3StringField(this, 2, value);
485
- };
486
-
487
-
488
-
489
-
490
-
491
- if (jspb.Message.GENERATE_TO_OBJECT) {
492
- /**
493
- * Creates an object representation of this proto.
494
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
495
- * Optional fields that are not set will be set to undefined.
496
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
497
- * For the list of reserved names please see:
498
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
499
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
500
- * JSPB instance for transitional soy proto support:
501
- * http://goto/soy-param-migration
502
- * @return {!Object}
503
- */
504
- proto.Platform.GroupProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
505
- return proto.Platform.GroupProto.UpdateRequest.toObject(opt_includeInstance, this);
506
- };
507
-
508
-
509
- /**
510
- * Static version of the {@see toObject} method.
511
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
512
- * the JSPB instance for transitional soy proto support:
513
- * http://goto/soy-param-migration
514
- * @param {!proto.Platform.GroupProto.UpdateRequest} msg The msg instance to transform.
515
- * @return {!Object}
516
- * @suppress {unusedLocalVariables} f is only used for nested messages
517
- */
518
- proto.Platform.GroupProto.UpdateRequest.toObject = function(includeInstance, msg) {
519
- var f, obj = {
520
- id: jspb.Message.getFieldWithDefault(msg, 1, ""),
521
- name: jspb.Message.getFieldWithDefault(msg, 2, "")
522
- };
523
-
524
- if (includeInstance) {
525
- obj.$jspbMessageInstance = msg;
526
- }
527
- return obj;
528
- };
529
- }
530
-
531
-
532
- /**
533
- * Deserializes binary data (in protobuf wire format).
534
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
535
- * @return {!proto.Platform.GroupProto.UpdateRequest}
536
- */
537
- proto.Platform.GroupProto.UpdateRequest.deserializeBinary = function(bytes) {
538
- var reader = new jspb.BinaryReader(bytes);
539
- var msg = new proto.Platform.GroupProto.UpdateRequest;
540
- return proto.Platform.GroupProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
541
- };
542
-
543
-
544
- /**
545
- * Deserializes binary data (in protobuf wire format) from the
546
- * given reader into the given message object.
547
- * @param {!proto.Platform.GroupProto.UpdateRequest} msg The message object to deserialize into.
548
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
549
- * @return {!proto.Platform.GroupProto.UpdateRequest}
550
- */
551
- proto.Platform.GroupProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
552
- while (reader.nextField()) {
553
- if (reader.isEndGroup()) {
554
- break;
555
- }
556
- var field = reader.getFieldNumber();
557
- switch (field) {
558
- case 1:
559
- var value = /** @type {string} */ (reader.readString());
560
- msg.setId(value);
561
- break;
562
- case 2:
563
- var value = /** @type {string} */ (reader.readString());
564
- msg.setName(value);
565
- break;
566
- default:
567
- reader.skipField();
568
- break;
569
- }
570
- }
571
- return msg;
572
- };
573
-
574
-
575
- /**
576
- * Serializes the message to binary data (in protobuf wire format).
577
- * @return {!Uint8Array}
578
- */
579
- proto.Platform.GroupProto.UpdateRequest.prototype.serializeBinary = function() {
580
- var writer = new jspb.BinaryWriter();
581
- proto.Platform.GroupProto.UpdateRequest.serializeBinaryToWriter(this, writer);
582
- return writer.getResultBuffer();
583
- };
584
-
585
-
586
- /**
587
- * Serializes the given message to binary data (in protobuf wire
588
- * format), writing to the given BinaryWriter.
589
- * @param {!proto.Platform.GroupProto.UpdateRequest} message
590
- * @param {!jspb.BinaryWriter} writer
591
- * @suppress {unusedLocalVariables} f is only used for nested messages
592
- */
593
- proto.Platform.GroupProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
594
- var f = undefined;
595
- f = message.getId();
596
- if (f.length > 0) {
597
- writer.writeString(
598
- 1,
599
- f
600
- );
601
- }
602
- f = message.getName();
603
- if (f.length > 0) {
604
- writer.writeString(
605
- 2,
606
- f
607
- );
608
- }
609
- };
610
-
611
-
612
- /**
613
- * optional string id = 1;
614
- * @return {string}
615
- */
616
- proto.Platform.GroupProto.UpdateRequest.prototype.getId = function() {
617
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
618
- };
619
-
620
-
621
- /**
622
- * @param {string} value
623
- * @return {!proto.Platform.GroupProto.UpdateRequest} returns this
624
- */
625
- proto.Platform.GroupProto.UpdateRequest.prototype.setId = function(value) {
626
- return jspb.Message.setProto3StringField(this, 1, value);
627
- };
628
-
629
-
630
- /**
631
- * optional string name = 2;
632
- * @return {string}
633
- */
634
- proto.Platform.GroupProto.UpdateRequest.prototype.getName = function() {
635
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
636
- };
637
-
638
-
639
- /**
640
- * @param {string} value
641
- * @return {!proto.Platform.GroupProto.UpdateRequest} returns this
642
- */
643
- proto.Platform.GroupProto.UpdateRequest.prototype.setName = function(value) {
644
- return jspb.Message.setProto3StringField(this, 2, value);
645
- };
646
-
647
-
648
-
649
-
650
-
651
- if (jspb.Message.GENERATE_TO_OBJECT) {
652
- /**
653
- * Creates an object representation of this proto.
654
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
655
- * Optional fields that are not set will be set to undefined.
656
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
657
- * For the list of reserved names please see:
658
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
659
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
660
- * JSPB instance for transitional soy proto support:
661
- * http://goto/soy-param-migration
662
- * @return {!Object}
663
- */
664
- proto.Platform.GroupProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
665
- return proto.Platform.GroupProto.DeleteRequest.toObject(opt_includeInstance, this);
666
- };
667
-
668
-
669
- /**
670
- * Static version of the {@see toObject} method.
671
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
672
- * the JSPB instance for transitional soy proto support:
673
- * http://goto/soy-param-migration
674
- * @param {!proto.Platform.GroupProto.DeleteRequest} msg The msg instance to transform.
675
- * @return {!Object}
676
- * @suppress {unusedLocalVariables} f is only used for nested messages
677
- */
678
- proto.Platform.GroupProto.DeleteRequest.toObject = function(includeInstance, msg) {
679
- var f, obj = {
680
- id: jspb.Message.getFieldWithDefault(msg, 1, "")
681
- };
682
-
683
- if (includeInstance) {
684
- obj.$jspbMessageInstance = msg;
685
- }
686
- return obj;
687
- };
688
- }
689
-
690
-
691
- /**
692
- * Deserializes binary data (in protobuf wire format).
693
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
694
- * @return {!proto.Platform.GroupProto.DeleteRequest}
695
- */
696
- proto.Platform.GroupProto.DeleteRequest.deserializeBinary = function(bytes) {
697
- var reader = new jspb.BinaryReader(bytes);
698
- var msg = new proto.Platform.GroupProto.DeleteRequest;
699
- return proto.Platform.GroupProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
700
- };
701
-
702
-
703
- /**
704
- * Deserializes binary data (in protobuf wire format) from the
705
- * given reader into the given message object.
706
- * @param {!proto.Platform.GroupProto.DeleteRequest} msg The message object to deserialize into.
707
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
708
- * @return {!proto.Platform.GroupProto.DeleteRequest}
709
- */
710
- proto.Platform.GroupProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
711
- while (reader.nextField()) {
712
- if (reader.isEndGroup()) {
713
- break;
714
- }
715
- var field = reader.getFieldNumber();
716
- switch (field) {
717
- case 1:
718
- var value = /** @type {string} */ (reader.readString());
719
- msg.setId(value);
720
- break;
721
- default:
722
- reader.skipField();
723
- break;
724
- }
725
- }
726
- return msg;
727
- };
728
-
729
-
730
- /**
731
- * Serializes the message to binary data (in protobuf wire format).
732
- * @return {!Uint8Array}
733
- */
734
- proto.Platform.GroupProto.DeleteRequest.prototype.serializeBinary = function() {
735
- var writer = new jspb.BinaryWriter();
736
- proto.Platform.GroupProto.DeleteRequest.serializeBinaryToWriter(this, writer);
737
- return writer.getResultBuffer();
738
- };
739
-
740
-
741
- /**
742
- * Serializes the given message to binary data (in protobuf wire
743
- * format), writing to the given BinaryWriter.
744
- * @param {!proto.Platform.GroupProto.DeleteRequest} message
745
- * @param {!jspb.BinaryWriter} writer
746
- * @suppress {unusedLocalVariables} f is only used for nested messages
747
- */
748
- proto.Platform.GroupProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
749
- var f = undefined;
750
- f = message.getId();
751
- if (f.length > 0) {
752
- writer.writeString(
753
- 1,
754
- f
755
- );
756
- }
757
- };
758
-
759
-
760
- /**
761
- * optional string id = 1;
762
- * @return {string}
763
- */
764
- proto.Platform.GroupProto.DeleteRequest.prototype.getId = function() {
765
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
766
- };
767
-
768
-
769
- /**
770
- * @param {string} value
771
- * @return {!proto.Platform.GroupProto.DeleteRequest} returns this
772
- */
773
- proto.Platform.GroupProto.DeleteRequest.prototype.setId = function(value) {
774
- return jspb.Message.setProto3StringField(this, 1, value);
775
- };
776
-
777
-
778
-
779
-
780
-
781
- if (jspb.Message.GENERATE_TO_OBJECT) {
782
- /**
783
- * Creates an object representation of this proto.
784
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
785
- * Optional fields that are not set will be set to undefined.
786
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
787
- * For the list of reserved names please see:
788
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
789
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
790
- * JSPB instance for transitional soy proto support:
791
- * http://goto/soy-param-migration
792
- * @return {!Object}
793
- */
794
- proto.Platform.GroupProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
795
- return proto.Platform.GroupProto.DeleteReply.toObject(opt_includeInstance, this);
796
- };
797
-
798
-
799
- /**
800
- * Static version of the {@see toObject} method.
801
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
802
- * the JSPB instance for transitional soy proto support:
803
- * http://goto/soy-param-migration
804
- * @param {!proto.Platform.GroupProto.DeleteReply} msg The msg instance to transform.
805
- * @return {!Object}
806
- * @suppress {unusedLocalVariables} f is only used for nested messages
807
- */
808
- proto.Platform.GroupProto.DeleteReply.toObject = function(includeInstance, msg) {
809
- var f, obj = {
810
-
811
- };
812
-
813
- if (includeInstance) {
814
- obj.$jspbMessageInstance = msg;
815
- }
816
- return obj;
817
- };
818
- }
819
-
820
-
821
- /**
822
- * Deserializes binary data (in protobuf wire format).
823
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
824
- * @return {!proto.Platform.GroupProto.DeleteReply}
825
- */
826
- proto.Platform.GroupProto.DeleteReply.deserializeBinary = function(bytes) {
827
- var reader = new jspb.BinaryReader(bytes);
828
- var msg = new proto.Platform.GroupProto.DeleteReply;
829
- return proto.Platform.GroupProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
830
- };
831
-
832
-
833
- /**
834
- * Deserializes binary data (in protobuf wire format) from the
835
- * given reader into the given message object.
836
- * @param {!proto.Platform.GroupProto.DeleteReply} msg The message object to deserialize into.
837
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
838
- * @return {!proto.Platform.GroupProto.DeleteReply}
839
- */
840
- proto.Platform.GroupProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
841
- while (reader.nextField()) {
842
- if (reader.isEndGroup()) {
843
- break;
844
- }
845
- var field = reader.getFieldNumber();
846
- switch (field) {
847
- default:
848
- reader.skipField();
849
- break;
850
- }
851
- }
852
- return msg;
853
- };
854
-
855
-
856
- /**
857
- * Serializes the message to binary data (in protobuf wire format).
858
- * @return {!Uint8Array}
859
- */
860
- proto.Platform.GroupProto.DeleteReply.prototype.serializeBinary = function() {
861
- var writer = new jspb.BinaryWriter();
862
- proto.Platform.GroupProto.DeleteReply.serializeBinaryToWriter(this, writer);
863
- return writer.getResultBuffer();
864
- };
865
-
866
-
867
- /**
868
- * Serializes the given message to binary data (in protobuf wire
869
- * format), writing to the given BinaryWriter.
870
- * @param {!proto.Platform.GroupProto.DeleteReply} message
871
- * @param {!jspb.BinaryWriter} writer
872
- * @suppress {unusedLocalVariables} f is only used for nested messages
873
- */
874
- proto.Platform.GroupProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
875
- var f = undefined;
876
- };
877
-
878
-
879
-
880
-
881
-
882
- if (jspb.Message.GENERATE_TO_OBJECT) {
883
- /**
884
- * Creates an object representation of this proto.
885
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
886
- * Optional fields that are not set will be set to undefined.
887
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
888
- * For the list of reserved names please see:
889
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
890
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
891
- * JSPB instance for transitional soy proto support:
892
- * http://goto/soy-param-migration
893
- * @return {!Object}
894
- */
895
- proto.Platform.GroupProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
896
- return proto.Platform.GroupProto.RetrieveRequest.toObject(opt_includeInstance, this);
897
- };
898
-
899
-
900
- /**
901
- * Static version of the {@see toObject} method.
902
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
903
- * the JSPB instance for transitional soy proto support:
904
- * http://goto/soy-param-migration
905
- * @param {!proto.Platform.GroupProto.RetrieveRequest} msg The msg instance to transform.
906
- * @return {!Object}
907
- * @suppress {unusedLocalVariables} f is only used for nested messages
908
- */
909
- proto.Platform.GroupProto.RetrieveRequest.toObject = function(includeInstance, msg) {
910
- var f, obj = {
911
- id: jspb.Message.getFieldWithDefault(msg, 1, "")
912
- };
913
-
914
- if (includeInstance) {
915
- obj.$jspbMessageInstance = msg;
916
- }
917
- return obj;
918
- };
919
- }
920
-
921
-
922
- /**
923
- * Deserializes binary data (in protobuf wire format).
924
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
925
- * @return {!proto.Platform.GroupProto.RetrieveRequest}
926
- */
927
- proto.Platform.GroupProto.RetrieveRequest.deserializeBinary = function(bytes) {
928
- var reader = new jspb.BinaryReader(bytes);
929
- var msg = new proto.Platform.GroupProto.RetrieveRequest;
930
- return proto.Platform.GroupProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
931
- };
932
-
933
-
934
- /**
935
- * Deserializes binary data (in protobuf wire format) from the
936
- * given reader into the given message object.
937
- * @param {!proto.Platform.GroupProto.RetrieveRequest} msg The message object to deserialize into.
938
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
939
- * @return {!proto.Platform.GroupProto.RetrieveRequest}
940
- */
941
- proto.Platform.GroupProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
942
- while (reader.nextField()) {
943
- if (reader.isEndGroup()) {
944
- break;
945
- }
946
- var field = reader.getFieldNumber();
947
- switch (field) {
948
- case 1:
949
- var value = /** @type {string} */ (reader.readString());
950
- msg.setId(value);
951
- break;
952
- default:
953
- reader.skipField();
954
- break;
955
- }
956
- }
957
- return msg;
958
- };
959
-
960
-
961
- /**
962
- * Serializes the message to binary data (in protobuf wire format).
963
- * @return {!Uint8Array}
964
- */
965
- proto.Platform.GroupProto.RetrieveRequest.prototype.serializeBinary = function() {
966
- var writer = new jspb.BinaryWriter();
967
- proto.Platform.GroupProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
968
- return writer.getResultBuffer();
969
- };
970
-
971
-
972
- /**
973
- * Serializes the given message to binary data (in protobuf wire
974
- * format), writing to the given BinaryWriter.
975
- * @param {!proto.Platform.GroupProto.RetrieveRequest} message
976
- * @param {!jspb.BinaryWriter} writer
977
- * @suppress {unusedLocalVariables} f is only used for nested messages
978
- */
979
- proto.Platform.GroupProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
980
- var f = undefined;
981
- f = message.getId();
982
- if (f.length > 0) {
983
- writer.writeString(
984
- 1,
985
- f
986
- );
987
- }
988
- };
989
-
990
-
991
- /**
992
- * optional string id = 1;
993
- * @return {string}
994
- */
995
- proto.Platform.GroupProto.RetrieveRequest.prototype.getId = function() {
996
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
997
- };
998
-
999
-
1000
- /**
1001
- * @param {string} value
1002
- * @return {!proto.Platform.GroupProto.RetrieveRequest} returns this
1003
- */
1004
- proto.Platform.GroupProto.RetrieveRequest.prototype.setId = function(value) {
1005
- return jspb.Message.setProto3StringField(this, 1, value);
1006
- };
1007
-
1008
-
1009
-
1010
- /**
1011
- * List of repeated fields within this message type.
1012
- * @private {!Array<number>}
1013
- * @const
1014
- */
1015
- proto.Platform.GroupProto.SearchReply.repeatedFields_ = [1];
1016
-
1017
-
1018
-
1019
- if (jspb.Message.GENERATE_TO_OBJECT) {
1020
- /**
1021
- * Creates an object representation of this proto.
1022
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1023
- * Optional fields that are not set will be set to undefined.
1024
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1025
- * For the list of reserved names please see:
1026
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1027
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1028
- * JSPB instance for transitional soy proto support:
1029
- * http://goto/soy-param-migration
1030
- * @return {!Object}
1031
- */
1032
- proto.Platform.GroupProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1033
- return proto.Platform.GroupProto.SearchReply.toObject(opt_includeInstance, this);
1034
- };
1035
-
1036
-
1037
- /**
1038
- * Static version of the {@see toObject} method.
1039
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1040
- * the JSPB instance for transitional soy proto support:
1041
- * http://goto/soy-param-migration
1042
- * @param {!proto.Platform.GroupProto.SearchReply} msg The msg instance to transform.
1043
- * @return {!Object}
1044
- * @suppress {unusedLocalVariables} f is only used for nested messages
1045
- */
1046
- proto.Platform.GroupProto.SearchReply.toObject = function(includeInstance, msg) {
1047
- var f, obj = {
1048
- groupsList: jspb.Message.toObjectList(msg.getGroupsList(),
1049
- proto.Platform.GroupProto.toObject, includeInstance),
1050
- pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1051
- };
1052
-
1053
- if (includeInstance) {
1054
- obj.$jspbMessageInstance = msg;
1055
- }
1056
- return obj;
1057
- };
1058
- }
1059
-
1060
-
1061
- /**
1062
- * Deserializes binary data (in protobuf wire format).
1063
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1064
- * @return {!proto.Platform.GroupProto.SearchReply}
1065
- */
1066
- proto.Platform.GroupProto.SearchReply.deserializeBinary = function(bytes) {
1067
- var reader = new jspb.BinaryReader(bytes);
1068
- var msg = new proto.Platform.GroupProto.SearchReply;
1069
- return proto.Platform.GroupProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1070
- };
1071
-
1072
-
1073
- /**
1074
- * Deserializes binary data (in protobuf wire format) from the
1075
- * given reader into the given message object.
1076
- * @param {!proto.Platform.GroupProto.SearchReply} msg The message object to deserialize into.
1077
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1078
- * @return {!proto.Platform.GroupProto.SearchReply}
1079
- */
1080
- proto.Platform.GroupProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1081
- while (reader.nextField()) {
1082
- if (reader.isEndGroup()) {
1083
- break;
1084
- }
1085
- var field = reader.getFieldNumber();
1086
- switch (field) {
1087
- case 1:
1088
- var value = new proto.Platform.GroupProto;
1089
- reader.readMessage(value,proto.Platform.GroupProto.deserializeBinaryFromReader);
1090
- msg.addGroups(value);
1091
- break;
1092
- case 2:
1093
- var value = new platform_pagination_pb.PaginationProto;
1094
- reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1095
- msg.setPagination(value);
1096
- break;
1097
- default:
1098
- reader.skipField();
1099
- break;
1100
- }
1101
- }
1102
- return msg;
1103
- };
1104
-
1105
-
1106
- /**
1107
- * Serializes the message to binary data (in protobuf wire format).
1108
- * @return {!Uint8Array}
1109
- */
1110
- proto.Platform.GroupProto.SearchReply.prototype.serializeBinary = function() {
1111
- var writer = new jspb.BinaryWriter();
1112
- proto.Platform.GroupProto.SearchReply.serializeBinaryToWriter(this, writer);
1113
- return writer.getResultBuffer();
1114
- };
1115
-
1116
-
1117
- /**
1118
- * Serializes the given message to binary data (in protobuf wire
1119
- * format), writing to the given BinaryWriter.
1120
- * @param {!proto.Platform.GroupProto.SearchReply} message
1121
- * @param {!jspb.BinaryWriter} writer
1122
- * @suppress {unusedLocalVariables} f is only used for nested messages
1123
- */
1124
- proto.Platform.GroupProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1125
- var f = undefined;
1126
- f = message.getGroupsList();
1127
- if (f.length > 0) {
1128
- writer.writeRepeatedMessage(
1129
- 1,
1130
- f,
1131
- proto.Platform.GroupProto.serializeBinaryToWriter
1132
- );
1133
- }
1134
- f = message.getPagination();
1135
- if (f != null) {
1136
- writer.writeMessage(
1137
- 2,
1138
- f,
1139
- platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1140
- );
1141
- }
1142
- };
1143
-
1144
-
1145
- /**
1146
- * repeated GroupProto groups = 1;
1147
- * @return {!Array<!proto.Platform.GroupProto>}
1148
- */
1149
- proto.Platform.GroupProto.SearchReply.prototype.getGroupsList = function() {
1150
- return /** @type{!Array<!proto.Platform.GroupProto>} */ (
1151
- jspb.Message.getRepeatedWrapperField(this, proto.Platform.GroupProto, 1));
1152
- };
1153
-
1154
-
1155
- /**
1156
- * @param {!Array<!proto.Platform.GroupProto>} value
1157
- * @return {!proto.Platform.GroupProto.SearchReply} returns this
1158
- */
1159
- proto.Platform.GroupProto.SearchReply.prototype.setGroupsList = function(value) {
1160
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1161
- };
1162
-
1163
-
1164
- /**
1165
- * @param {!proto.Platform.GroupProto=} opt_value
1166
- * @param {number=} opt_index
1167
- * @return {!proto.Platform.GroupProto}
1168
- */
1169
- proto.Platform.GroupProto.SearchReply.prototype.addGroups = function(opt_value, opt_index) {
1170
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Platform.GroupProto, opt_index);
1171
- };
1172
-
1173
-
1174
- /**
1175
- * Clears the list making it empty but non-null.
1176
- * @return {!proto.Platform.GroupProto.SearchReply} returns this
1177
- */
1178
- proto.Platform.GroupProto.SearchReply.prototype.clearGroupsList = function() {
1179
- return this.setGroupsList([]);
1180
- };
1181
-
1182
-
1183
- /**
1184
- * optional PaginationProto pagination = 2;
1185
- * @return {?proto.Platform.PaginationProto}
1186
- */
1187
- proto.Platform.GroupProto.SearchReply.prototype.getPagination = function() {
1188
- return /** @type{?proto.Platform.PaginationProto} */ (
1189
- jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1190
- };
1191
-
1192
-
1193
- /**
1194
- * @param {?proto.Platform.PaginationProto|undefined} value
1195
- * @return {!proto.Platform.GroupProto.SearchReply} returns this
1196
- */
1197
- proto.Platform.GroupProto.SearchReply.prototype.setPagination = function(value) {
1198
- return jspb.Message.setWrapperField(this, 2, value);
1199
- };
1200
-
1201
-
1202
- /**
1203
- * Clears the message field making it undefined.
1204
- * @return {!proto.Platform.GroupProto.SearchReply} returns this
1205
- */
1206
- proto.Platform.GroupProto.SearchReply.prototype.clearPagination = function() {
1207
- return this.setPagination(undefined);
1208
- };
1209
-
1210
-
1211
- /**
1212
- * Returns whether this field is set.
1213
- * @return {boolean}
1214
- */
1215
- proto.Platform.GroupProto.SearchReply.prototype.hasPagination = function() {
1216
- return jspb.Message.getField(this, 2) != null;
1217
- };
1218
-
1219
-
1220
-
1221
-
1222
-
1223
- if (jspb.Message.GENERATE_TO_OBJECT) {
1224
- /**
1225
- * Creates an object representation of this proto.
1226
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1227
- * Optional fields that are not set will be set to undefined.
1228
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1229
- * For the list of reserved names please see:
1230
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1231
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1232
- * JSPB instance for transitional soy proto support:
1233
- * http://goto/soy-param-migration
1234
- * @return {!Object}
1235
- */
1236
- proto.Platform.GroupProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
1237
- return proto.Platform.GroupProto.SearchRequest.toObject(opt_includeInstance, this);
1238
- };
1239
-
1240
-
1241
- /**
1242
- * Static version of the {@see toObject} method.
1243
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1244
- * the JSPB instance for transitional soy proto support:
1245
- * http://goto/soy-param-migration
1246
- * @param {!proto.Platform.GroupProto.SearchRequest} msg The msg instance to transform.
1247
- * @return {!Object}
1248
- * @suppress {unusedLocalVariables} f is only used for nested messages
1249
- */
1250
- proto.Platform.GroupProto.SearchRequest.toObject = function(includeInstance, msg) {
1251
- var f, obj = {
1252
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1253
- parentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
1254
- page: jspb.Message.getFieldWithDefault(msg, 4, 0),
1255
- count: jspb.Message.getFieldWithDefault(msg, 5, 0)
1256
- };
1257
-
1258
- if (includeInstance) {
1259
- obj.$jspbMessageInstance = msg;
1260
- }
1261
- return obj;
1262
- };
1263
- }
1264
-
1265
-
1266
- /**
1267
- * Deserializes binary data (in protobuf wire format).
1268
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1269
- * @return {!proto.Platform.GroupProto.SearchRequest}
1270
- */
1271
- proto.Platform.GroupProto.SearchRequest.deserializeBinary = function(bytes) {
1272
- var reader = new jspb.BinaryReader(bytes);
1273
- var msg = new proto.Platform.GroupProto.SearchRequest;
1274
- return proto.Platform.GroupProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
1275
- };
1276
-
1277
-
1278
- /**
1279
- * Deserializes binary data (in protobuf wire format) from the
1280
- * given reader into the given message object.
1281
- * @param {!proto.Platform.GroupProto.SearchRequest} msg The message object to deserialize into.
1282
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1283
- * @return {!proto.Platform.GroupProto.SearchRequest}
1284
- */
1285
- proto.Platform.GroupProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
1286
- while (reader.nextField()) {
1287
- if (reader.isEndGroup()) {
1288
- break;
1289
- }
1290
- var field = reader.getFieldNumber();
1291
- switch (field) {
1292
- case 1:
1293
- var value = /** @type {string} */ (reader.readString());
1294
- msg.setName(value);
1295
- break;
1296
- case 2:
1297
- var value = /** @type {string} */ (reader.readString());
1298
- msg.setParentId(value);
1299
- break;
1300
- case 4:
1301
- var value = /** @type {number} */ (reader.readInt32());
1302
- msg.setPage(value);
1303
- break;
1304
- case 5:
1305
- var value = /** @type {number} */ (reader.readInt32());
1306
- msg.setCount(value);
1307
- break;
1308
- default:
1309
- reader.skipField();
1310
- break;
1311
- }
1312
- }
1313
- return msg;
1314
- };
1315
-
1316
-
1317
- /**
1318
- * Serializes the message to binary data (in protobuf wire format).
1319
- * @return {!Uint8Array}
1320
- */
1321
- proto.Platform.GroupProto.SearchRequest.prototype.serializeBinary = function() {
1322
- var writer = new jspb.BinaryWriter();
1323
- proto.Platform.GroupProto.SearchRequest.serializeBinaryToWriter(this, writer);
1324
- return writer.getResultBuffer();
1325
- };
1326
-
1327
-
1328
- /**
1329
- * Serializes the given message to binary data (in protobuf wire
1330
- * format), writing to the given BinaryWriter.
1331
- * @param {!proto.Platform.GroupProto.SearchRequest} message
1332
- * @param {!jspb.BinaryWriter} writer
1333
- * @suppress {unusedLocalVariables} f is only used for nested messages
1334
- */
1335
- proto.Platform.GroupProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
1336
- var f = undefined;
1337
- f = message.getName();
1338
- if (f.length > 0) {
1339
- writer.writeString(
1340
- 1,
1341
- f
1342
- );
1343
- }
1344
- f = message.getParentId();
1345
- if (f.length > 0) {
1346
- writer.writeString(
1347
- 2,
1348
- f
1349
- );
1350
- }
1351
- f = message.getPage();
1352
- if (f !== 0) {
1353
- writer.writeInt32(
1354
- 4,
1355
- f
1356
- );
1357
- }
1358
- f = message.getCount();
1359
- if (f !== 0) {
1360
- writer.writeInt32(
1361
- 5,
1362
- f
1363
- );
1364
- }
1365
- };
1366
-
1367
-
1368
- /**
1369
- * optional string name = 1;
1370
- * @return {string}
1371
- */
1372
- proto.Platform.GroupProto.SearchRequest.prototype.getName = function() {
1373
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1374
- };
1375
-
1376
-
1377
- /**
1378
- * @param {string} value
1379
- * @return {!proto.Platform.GroupProto.SearchRequest} returns this
1380
- */
1381
- proto.Platform.GroupProto.SearchRequest.prototype.setName = function(value) {
1382
- return jspb.Message.setProto3StringField(this, 1, value);
1383
- };
1384
-
1385
-
1386
- /**
1387
- * optional string parent_id = 2;
1388
- * @return {string}
1389
- */
1390
- proto.Platform.GroupProto.SearchRequest.prototype.getParentId = function() {
1391
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1392
- };
1393
-
1394
-
1395
- /**
1396
- * @param {string} value
1397
- * @return {!proto.Platform.GroupProto.SearchRequest} returns this
1398
- */
1399
- proto.Platform.GroupProto.SearchRequest.prototype.setParentId = function(value) {
1400
- return jspb.Message.setProto3StringField(this, 2, value);
1401
- };
1402
-
1403
-
1404
- /**
1405
- * optional int32 page = 4;
1406
- * @return {number}
1407
- */
1408
- proto.Platform.GroupProto.SearchRequest.prototype.getPage = function() {
1409
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1410
- };
1411
-
1412
-
1413
- /**
1414
- * @param {number} value
1415
- * @return {!proto.Platform.GroupProto.SearchRequest} returns this
1416
- */
1417
- proto.Platform.GroupProto.SearchRequest.prototype.setPage = function(value) {
1418
- return jspb.Message.setProto3IntField(this, 4, value);
1419
- };
1420
-
1421
-
1422
- /**
1423
- * optional int32 count = 5;
1424
- * @return {number}
1425
- */
1426
- proto.Platform.GroupProto.SearchRequest.prototype.getCount = function() {
1427
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
1428
- };
1429
-
1430
-
1431
- /**
1432
- * @param {number} value
1433
- * @return {!proto.Platform.GroupProto.SearchRequest} returns this
1434
- */
1435
- proto.Platform.GroupProto.SearchRequest.prototype.setCount = function(value) {
1436
- return jspb.Message.setProto3IntField(this, 5, value);
1437
- };
1438
-
1439
-
1440
- /**
1441
- * optional string id = 1;
1442
- * @return {string}
1443
- */
1444
- proto.Platform.GroupProto.prototype.getId = function() {
1445
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1446
- };
1447
-
1448
-
1449
- /**
1450
- * @param {string} value
1451
- * @return {!proto.Platform.GroupProto} returns this
1452
- */
1453
- proto.Platform.GroupProto.prototype.setId = function(value) {
1454
- return jspb.Message.setProto3StringField(this, 1, value);
1455
- };
1456
-
1457
-
1458
- /**
1459
- * optional string name = 2;
1460
- * @return {string}
1461
- */
1462
- proto.Platform.GroupProto.prototype.getName = function() {
1463
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1464
- };
1465
-
1466
-
1467
- /**
1468
- * @param {string} value
1469
- * @return {!proto.Platform.GroupProto} returns this
1470
- */
1471
- proto.Platform.GroupProto.prototype.setName = function(value) {
1472
- return jspb.Message.setProto3StringField(this, 2, value);
1473
- };
1474
-
1475
-
1476
- goog.object.extend(exports, proto.Platform);