@aceplus/smartace-api 3.6.0-alpha.2 → 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 (237) 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.asset_pb.d.ts +0 -668
  219. package/spic.asset_pb.js +0 -4789
  220. package/spic.asset_pb_service.d.ts +0 -197
  221. package/spic.asset_pb_service.js +0 -342
  222. package/spic.cabinet_pb.d.ts +0 -1407
  223. package/spic.cabinet_pb.js +0 -10370
  224. package/spic.cabinet_pb_service.d.ts +0 -378
  225. package/spic.cabinet_pb_service.js +0 -717
  226. package/spic.config_pb.d.ts +0 -249
  227. package/spic.config_pb.js +0 -1891
  228. package/spic.config_pb_service.d.ts +0 -120
  229. package/spic.config_pb_service.js +0 -181
  230. package/spic.contractor_pb.d.ts +0 -195
  231. package/spic.contractor_pb.js +0 -1476
  232. package/spic.contractor_pb_service.d.ts +0 -139
  233. package/spic.contractor_pb_service.js +0 -221
  234. package/spic.history_pb.d.ts +0 -142
  235. package/spic.history_pb.js +0 -1130
  236. package/spic.history_pb_service.d.ts +0 -63
  237. package/spic.history_pb_service.js +0 -61
package/spic.config_pb.js DELETED
@@ -1,1891 +0,0 @@
1
- // source: spic.config.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 platform_pagination_pb = require('./platform.pagination_pb.js');
25
- goog.object.extend(proto, platform_pagination_pb);
26
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
- goog.object.extend(proto, google_api_annotations_pb);
28
- var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
29
- goog.object.extend(proto, google_protobuf_timestamp_pb);
30
- goog.exportSymbol('proto.Spic.ConfigProto', null, global);
31
- goog.exportSymbol('proto.Spic.ConfigProto.ConfigFilters', null, global);
32
- goog.exportSymbol('proto.Spic.ConfigProto.ConfigStatusType', null, global);
33
- goog.exportSymbol('proto.Spic.ConfigProto.CreateRequest', null, global);
34
- goog.exportSymbol('proto.Spic.ConfigProto.RetrieveRequest', null, global);
35
- goog.exportSymbol('proto.Spic.ConfigProto.SearchReply', null, global);
36
- goog.exportSymbol('proto.Spic.ConfigProto.SearchRequest', null, global);
37
- goog.exportSymbol('proto.Spic.ConfigProto.UpdateRequest', null, global);
38
- /**
39
- * Generated by JsPbCodeGenerator.
40
- * @param {Array=} opt_data Optional initial data array, typically from a
41
- * server response, or constructed directly in Javascript. The array is used
42
- * in place and becomes part of the constructed object. It is not cloned.
43
- * If no data is provided, the constructed object will be empty, but still
44
- * valid.
45
- * @extends {jspb.Message}
46
- * @constructor
47
- */
48
- proto.Spic.ConfigProto = function(opt_data) {
49
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.ConfigProto.repeatedFields_, null);
50
- };
51
- goog.inherits(proto.Spic.ConfigProto, jspb.Message);
52
- if (goog.DEBUG && !COMPILED) {
53
- /**
54
- * @public
55
- * @override
56
- */
57
- proto.Spic.ConfigProto.displayName = 'proto.Spic.ConfigProto';
58
- }
59
- /**
60
- * Generated by JsPbCodeGenerator.
61
- * @param {Array=} opt_data Optional initial data array, typically from a
62
- * server response, or constructed directly in Javascript. The array is used
63
- * in place and becomes part of the constructed object. It is not cloned.
64
- * If no data is provided, the constructed object will be empty, but still
65
- * valid.
66
- * @extends {jspb.Message}
67
- * @constructor
68
- */
69
- proto.Spic.ConfigProto.CreateRequest = function(opt_data) {
70
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.ConfigProto.CreateRequest.repeatedFields_, null);
71
- };
72
- goog.inherits(proto.Spic.ConfigProto.CreateRequest, jspb.Message);
73
- if (goog.DEBUG && !COMPILED) {
74
- /**
75
- * @public
76
- * @override
77
- */
78
- proto.Spic.ConfigProto.CreateRequest.displayName = 'proto.Spic.ConfigProto.CreateRequest';
79
- }
80
- /**
81
- * Generated by JsPbCodeGenerator.
82
- * @param {Array=} opt_data Optional initial data array, typically from a
83
- * server response, or constructed directly in Javascript. The array is used
84
- * in place and becomes part of the constructed object. It is not cloned.
85
- * If no data is provided, the constructed object will be empty, but still
86
- * valid.
87
- * @extends {jspb.Message}
88
- * @constructor
89
- */
90
- proto.Spic.ConfigProto.RetrieveRequest = function(opt_data) {
91
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
92
- };
93
- goog.inherits(proto.Spic.ConfigProto.RetrieveRequest, jspb.Message);
94
- if (goog.DEBUG && !COMPILED) {
95
- /**
96
- * @public
97
- * @override
98
- */
99
- proto.Spic.ConfigProto.RetrieveRequest.displayName = 'proto.Spic.ConfigProto.RetrieveRequest';
100
- }
101
- /**
102
- * Generated by JsPbCodeGenerator.
103
- * @param {Array=} opt_data Optional initial data array, typically from a
104
- * server response, or constructed directly in Javascript. The array is used
105
- * in place and becomes part of the constructed object. It is not cloned.
106
- * If no data is provided, the constructed object will be empty, but still
107
- * valid.
108
- * @extends {jspb.Message}
109
- * @constructor
110
- */
111
- proto.Spic.ConfigProto.UpdateRequest = function(opt_data) {
112
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.ConfigProto.UpdateRequest.repeatedFields_, null);
113
- };
114
- goog.inherits(proto.Spic.ConfigProto.UpdateRequest, jspb.Message);
115
- if (goog.DEBUG && !COMPILED) {
116
- /**
117
- * @public
118
- * @override
119
- */
120
- proto.Spic.ConfigProto.UpdateRequest.displayName = 'proto.Spic.ConfigProto.UpdateRequest';
121
- }
122
- /**
123
- * Generated by JsPbCodeGenerator.
124
- * @param {Array=} opt_data Optional initial data array, typically from a
125
- * server response, or constructed directly in Javascript. The array is used
126
- * in place and becomes part of the constructed object. It is not cloned.
127
- * If no data is provided, the constructed object will be empty, but still
128
- * valid.
129
- * @extends {jspb.Message}
130
- * @constructor
131
- */
132
- proto.Spic.ConfigProto.SearchRequest = function(opt_data) {
133
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
134
- };
135
- goog.inherits(proto.Spic.ConfigProto.SearchRequest, jspb.Message);
136
- if (goog.DEBUG && !COMPILED) {
137
- /**
138
- * @public
139
- * @override
140
- */
141
- proto.Spic.ConfigProto.SearchRequest.displayName = 'proto.Spic.ConfigProto.SearchRequest';
142
- }
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.Spic.ConfigProto.SearchReply = function(opt_data) {
154
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.ConfigProto.SearchReply.repeatedFields_, null);
155
- };
156
- goog.inherits(proto.Spic.ConfigProto.SearchReply, jspb.Message);
157
- if (goog.DEBUG && !COMPILED) {
158
- /**
159
- * @public
160
- * @override
161
- */
162
- proto.Spic.ConfigProto.SearchReply.displayName = 'proto.Spic.ConfigProto.SearchReply';
163
- }
164
- /**
165
- * Generated by JsPbCodeGenerator.
166
- * @param {Array=} opt_data Optional initial data array, typically from a
167
- * server response, or constructed directly in Javascript. The array is used
168
- * in place and becomes part of the constructed object. It is not cloned.
169
- * If no data is provided, the constructed object will be empty, but still
170
- * valid.
171
- * @extends {jspb.Message}
172
- * @constructor
173
- */
174
- proto.Spic.ConfigProto.ConfigFilters = function(opt_data) {
175
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
176
- };
177
- goog.inherits(proto.Spic.ConfigProto.ConfigFilters, jspb.Message);
178
- if (goog.DEBUG && !COMPILED) {
179
- /**
180
- * @public
181
- * @override
182
- */
183
- proto.Spic.ConfigProto.ConfigFilters.displayName = 'proto.Spic.ConfigProto.ConfigFilters';
184
- }
185
-
186
- /**
187
- * List of repeated fields within this message type.
188
- * @private {!Array<number>}
189
- * @const
190
- */
191
- proto.Spic.ConfigProto.repeatedFields_ = [8];
192
-
193
-
194
-
195
- if (jspb.Message.GENERATE_TO_OBJECT) {
196
- /**
197
- * Creates an object representation of this proto.
198
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
199
- * Optional fields that are not set will be set to undefined.
200
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
201
- * For the list of reserved names please see:
202
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
203
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
204
- * JSPB instance for transitional soy proto support:
205
- * http://goto/soy-param-migration
206
- * @return {!Object}
207
- */
208
- proto.Spic.ConfigProto.prototype.toObject = function(opt_includeInstance) {
209
- return proto.Spic.ConfigProto.toObject(opt_includeInstance, this);
210
- };
211
-
212
-
213
- /**
214
- * Static version of the {@see toObject} method.
215
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
216
- * the JSPB instance for transitional soy proto support:
217
- * http://goto/soy-param-migration
218
- * @param {!proto.Spic.ConfigProto} msg The msg instance to transform.
219
- * @return {!Object}
220
- * @suppress {unusedLocalVariables} f is only used for nested messages
221
- */
222
- proto.Spic.ConfigProto.toObject = function(includeInstance, msg) {
223
- var f, obj = {
224
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
225
- uid: jspb.Message.getFieldWithDefault(msg, 2, ""),
226
- config: jspb.Message.getFieldWithDefault(msg, 3, ""),
227
- createdDate: (f = msg.getCreatedDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
228
- updatedDate: (f = msg.getUpdatedDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
229
- pushedDate: (f = msg.getPushedDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
230
- installedDate: (f = msg.getInstalledDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
231
- fromCrcsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
232
- };
233
-
234
- if (includeInstance) {
235
- obj.$jspbMessageInstance = msg;
236
- }
237
- return obj;
238
- };
239
- }
240
-
241
-
242
- /**
243
- * Deserializes binary data (in protobuf wire format).
244
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
245
- * @return {!proto.Spic.ConfigProto}
246
- */
247
- proto.Spic.ConfigProto.deserializeBinary = function(bytes) {
248
- var reader = new jspb.BinaryReader(bytes);
249
- var msg = new proto.Spic.ConfigProto;
250
- return proto.Spic.ConfigProto.deserializeBinaryFromReader(msg, reader);
251
- };
252
-
253
-
254
- /**
255
- * Deserializes binary data (in protobuf wire format) from the
256
- * given reader into the given message object.
257
- * @param {!proto.Spic.ConfigProto} msg The message object to deserialize into.
258
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
259
- * @return {!proto.Spic.ConfigProto}
260
- */
261
- proto.Spic.ConfigProto.deserializeBinaryFromReader = function(msg, reader) {
262
- while (reader.nextField()) {
263
- if (reader.isEndGroup()) {
264
- break;
265
- }
266
- var field = reader.getFieldNumber();
267
- switch (field) {
268
- case 1:
269
- var value = /** @type {number} */ (reader.readInt32());
270
- msg.setId(value);
271
- break;
272
- case 2:
273
- var value = /** @type {string} */ (reader.readString());
274
- msg.setUid(value);
275
- break;
276
- case 3:
277
- var value = /** @type {string} */ (reader.readString());
278
- msg.setConfig(value);
279
- break;
280
- case 4:
281
- var value = new google_protobuf_timestamp_pb.Timestamp;
282
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
283
- msg.setCreatedDate(value);
284
- break;
285
- case 5:
286
- var value = new google_protobuf_timestamp_pb.Timestamp;
287
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
288
- msg.setUpdatedDate(value);
289
- break;
290
- case 6:
291
- var value = new google_protobuf_timestamp_pb.Timestamp;
292
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
293
- msg.setPushedDate(value);
294
- break;
295
- case 7:
296
- var value = new google_protobuf_timestamp_pb.Timestamp;
297
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
298
- msg.setInstalledDate(value);
299
- break;
300
- case 8:
301
- var value = /** @type {string} */ (reader.readString());
302
- msg.addFromCrcs(value);
303
- break;
304
- default:
305
- reader.skipField();
306
- break;
307
- }
308
- }
309
- return msg;
310
- };
311
-
312
-
313
- /**
314
- * Serializes the message to binary data (in protobuf wire format).
315
- * @return {!Uint8Array}
316
- */
317
- proto.Spic.ConfigProto.prototype.serializeBinary = function() {
318
- var writer = new jspb.BinaryWriter();
319
- proto.Spic.ConfigProto.serializeBinaryToWriter(this, writer);
320
- return writer.getResultBuffer();
321
- };
322
-
323
-
324
- /**
325
- * Serializes the given message to binary data (in protobuf wire
326
- * format), writing to the given BinaryWriter.
327
- * @param {!proto.Spic.ConfigProto} message
328
- * @param {!jspb.BinaryWriter} writer
329
- * @suppress {unusedLocalVariables} f is only used for nested messages
330
- */
331
- proto.Spic.ConfigProto.serializeBinaryToWriter = function(message, writer) {
332
- var f = undefined;
333
- f = message.getId();
334
- if (f !== 0) {
335
- writer.writeInt32(
336
- 1,
337
- f
338
- );
339
- }
340
- f = message.getUid();
341
- if (f.length > 0) {
342
- writer.writeString(
343
- 2,
344
- f
345
- );
346
- }
347
- f = message.getConfig();
348
- if (f.length > 0) {
349
- writer.writeString(
350
- 3,
351
- f
352
- );
353
- }
354
- f = message.getCreatedDate();
355
- if (f != null) {
356
- writer.writeMessage(
357
- 4,
358
- f,
359
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
360
- );
361
- }
362
- f = message.getUpdatedDate();
363
- if (f != null) {
364
- writer.writeMessage(
365
- 5,
366
- f,
367
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
368
- );
369
- }
370
- f = message.getPushedDate();
371
- if (f != null) {
372
- writer.writeMessage(
373
- 6,
374
- f,
375
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
376
- );
377
- }
378
- f = message.getInstalledDate();
379
- if (f != null) {
380
- writer.writeMessage(
381
- 7,
382
- f,
383
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
384
- );
385
- }
386
- f = message.getFromCrcsList();
387
- if (f.length > 0) {
388
- writer.writeRepeatedString(
389
- 8,
390
- f
391
- );
392
- }
393
- };
394
-
395
-
396
- /**
397
- * @enum {number}
398
- */
399
- proto.Spic.ConfigProto.ConfigStatusType = {
400
- WAITING: 0,
401
- PUSHED: 1,
402
- INSTALLED: 2,
403
- EXPIRED: 3
404
- };
405
-
406
-
407
- /**
408
- * List of repeated fields within this message type.
409
- * @private {!Array<number>}
410
- * @const
411
- */
412
- proto.Spic.ConfigProto.CreateRequest.repeatedFields_ = [3];
413
-
414
-
415
-
416
- if (jspb.Message.GENERATE_TO_OBJECT) {
417
- /**
418
- * Creates an object representation of this proto.
419
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
420
- * Optional fields that are not set will be set to undefined.
421
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
422
- * For the list of reserved names please see:
423
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
424
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
425
- * JSPB instance for transitional soy proto support:
426
- * http://goto/soy-param-migration
427
- * @return {!Object}
428
- */
429
- proto.Spic.ConfigProto.CreateRequest.prototype.toObject = function(opt_includeInstance) {
430
- return proto.Spic.ConfigProto.CreateRequest.toObject(opt_includeInstance, this);
431
- };
432
-
433
-
434
- /**
435
- * Static version of the {@see toObject} method.
436
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
437
- * the JSPB instance for transitional soy proto support:
438
- * http://goto/soy-param-migration
439
- * @param {!proto.Spic.ConfigProto.CreateRequest} msg The msg instance to transform.
440
- * @return {!Object}
441
- * @suppress {unusedLocalVariables} f is only used for nested messages
442
- */
443
- proto.Spic.ConfigProto.CreateRequest.toObject = function(includeInstance, msg) {
444
- var f, obj = {
445
- uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
446
- config: jspb.Message.getFieldWithDefault(msg, 2, ""),
447
- fromCrcsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
448
- };
449
-
450
- if (includeInstance) {
451
- obj.$jspbMessageInstance = msg;
452
- }
453
- return obj;
454
- };
455
- }
456
-
457
-
458
- /**
459
- * Deserializes binary data (in protobuf wire format).
460
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
461
- * @return {!proto.Spic.ConfigProto.CreateRequest}
462
- */
463
- proto.Spic.ConfigProto.CreateRequest.deserializeBinary = function(bytes) {
464
- var reader = new jspb.BinaryReader(bytes);
465
- var msg = new proto.Spic.ConfigProto.CreateRequest;
466
- return proto.Spic.ConfigProto.CreateRequest.deserializeBinaryFromReader(msg, reader);
467
- };
468
-
469
-
470
- /**
471
- * Deserializes binary data (in protobuf wire format) from the
472
- * given reader into the given message object.
473
- * @param {!proto.Spic.ConfigProto.CreateRequest} msg The message object to deserialize into.
474
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
475
- * @return {!proto.Spic.ConfigProto.CreateRequest}
476
- */
477
- proto.Spic.ConfigProto.CreateRequest.deserializeBinaryFromReader = function(msg, reader) {
478
- while (reader.nextField()) {
479
- if (reader.isEndGroup()) {
480
- break;
481
- }
482
- var field = reader.getFieldNumber();
483
- switch (field) {
484
- case 1:
485
- var value = /** @type {string} */ (reader.readString());
486
- msg.setUid(value);
487
- break;
488
- case 2:
489
- var value = /** @type {string} */ (reader.readString());
490
- msg.setConfig(value);
491
- break;
492
- case 3:
493
- var value = /** @type {string} */ (reader.readString());
494
- msg.addFromCrcs(value);
495
- break;
496
- default:
497
- reader.skipField();
498
- break;
499
- }
500
- }
501
- return msg;
502
- };
503
-
504
-
505
- /**
506
- * Serializes the message to binary data (in protobuf wire format).
507
- * @return {!Uint8Array}
508
- */
509
- proto.Spic.ConfigProto.CreateRequest.prototype.serializeBinary = function() {
510
- var writer = new jspb.BinaryWriter();
511
- proto.Spic.ConfigProto.CreateRequest.serializeBinaryToWriter(this, writer);
512
- return writer.getResultBuffer();
513
- };
514
-
515
-
516
- /**
517
- * Serializes the given message to binary data (in protobuf wire
518
- * format), writing to the given BinaryWriter.
519
- * @param {!proto.Spic.ConfigProto.CreateRequest} message
520
- * @param {!jspb.BinaryWriter} writer
521
- * @suppress {unusedLocalVariables} f is only used for nested messages
522
- */
523
- proto.Spic.ConfigProto.CreateRequest.serializeBinaryToWriter = function(message, writer) {
524
- var f = undefined;
525
- f = message.getUid();
526
- if (f.length > 0) {
527
- writer.writeString(
528
- 1,
529
- f
530
- );
531
- }
532
- f = message.getConfig();
533
- if (f.length > 0) {
534
- writer.writeString(
535
- 2,
536
- f
537
- );
538
- }
539
- f = message.getFromCrcsList();
540
- if (f.length > 0) {
541
- writer.writeRepeatedString(
542
- 3,
543
- f
544
- );
545
- }
546
- };
547
-
548
-
549
- /**
550
- * optional string uid = 1;
551
- * @return {string}
552
- */
553
- proto.Spic.ConfigProto.CreateRequest.prototype.getUid = function() {
554
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
555
- };
556
-
557
-
558
- /**
559
- * @param {string} value
560
- * @return {!proto.Spic.ConfigProto.CreateRequest} returns this
561
- */
562
- proto.Spic.ConfigProto.CreateRequest.prototype.setUid = function(value) {
563
- return jspb.Message.setProto3StringField(this, 1, value);
564
- };
565
-
566
-
567
- /**
568
- * optional string config = 2;
569
- * @return {string}
570
- */
571
- proto.Spic.ConfigProto.CreateRequest.prototype.getConfig = function() {
572
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
573
- };
574
-
575
-
576
- /**
577
- * @param {string} value
578
- * @return {!proto.Spic.ConfigProto.CreateRequest} returns this
579
- */
580
- proto.Spic.ConfigProto.CreateRequest.prototype.setConfig = function(value) {
581
- return jspb.Message.setProto3StringField(this, 2, value);
582
- };
583
-
584
-
585
- /**
586
- * repeated string from_crcs = 3;
587
- * @return {!Array<string>}
588
- */
589
- proto.Spic.ConfigProto.CreateRequest.prototype.getFromCrcsList = function() {
590
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
591
- };
592
-
593
-
594
- /**
595
- * @param {!Array<string>} value
596
- * @return {!proto.Spic.ConfigProto.CreateRequest} returns this
597
- */
598
- proto.Spic.ConfigProto.CreateRequest.prototype.setFromCrcsList = function(value) {
599
- return jspb.Message.setField(this, 3, value || []);
600
- };
601
-
602
-
603
- /**
604
- * @param {string} value
605
- * @param {number=} opt_index
606
- * @return {!proto.Spic.ConfigProto.CreateRequest} returns this
607
- */
608
- proto.Spic.ConfigProto.CreateRequest.prototype.addFromCrcs = function(value, opt_index) {
609
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
610
- };
611
-
612
-
613
- /**
614
- * Clears the list making it empty but non-null.
615
- * @return {!proto.Spic.ConfigProto.CreateRequest} returns this
616
- */
617
- proto.Spic.ConfigProto.CreateRequest.prototype.clearFromCrcsList = function() {
618
- return this.setFromCrcsList([]);
619
- };
620
-
621
-
622
-
623
-
624
-
625
- if (jspb.Message.GENERATE_TO_OBJECT) {
626
- /**
627
- * Creates an object representation of this proto.
628
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
629
- * Optional fields that are not set will be set to undefined.
630
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
631
- * For the list of reserved names please see:
632
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
633
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
634
- * JSPB instance for transitional soy proto support:
635
- * http://goto/soy-param-migration
636
- * @return {!Object}
637
- */
638
- proto.Spic.ConfigProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
639
- return proto.Spic.ConfigProto.RetrieveRequest.toObject(opt_includeInstance, this);
640
- };
641
-
642
-
643
- /**
644
- * Static version of the {@see toObject} method.
645
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
646
- * the JSPB instance for transitional soy proto support:
647
- * http://goto/soy-param-migration
648
- * @param {!proto.Spic.ConfigProto.RetrieveRequest} msg The msg instance to transform.
649
- * @return {!Object}
650
- * @suppress {unusedLocalVariables} f is only used for nested messages
651
- */
652
- proto.Spic.ConfigProto.RetrieveRequest.toObject = function(includeInstance, msg) {
653
- var f, obj = {
654
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
655
- };
656
-
657
- if (includeInstance) {
658
- obj.$jspbMessageInstance = msg;
659
- }
660
- return obj;
661
- };
662
- }
663
-
664
-
665
- /**
666
- * Deserializes binary data (in protobuf wire format).
667
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
668
- * @return {!proto.Spic.ConfigProto.RetrieveRequest}
669
- */
670
- proto.Spic.ConfigProto.RetrieveRequest.deserializeBinary = function(bytes) {
671
- var reader = new jspb.BinaryReader(bytes);
672
- var msg = new proto.Spic.ConfigProto.RetrieveRequest;
673
- return proto.Spic.ConfigProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
674
- };
675
-
676
-
677
- /**
678
- * Deserializes binary data (in protobuf wire format) from the
679
- * given reader into the given message object.
680
- * @param {!proto.Spic.ConfigProto.RetrieveRequest} msg The message object to deserialize into.
681
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
682
- * @return {!proto.Spic.ConfigProto.RetrieveRequest}
683
- */
684
- proto.Spic.ConfigProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
685
- while (reader.nextField()) {
686
- if (reader.isEndGroup()) {
687
- break;
688
- }
689
- var field = reader.getFieldNumber();
690
- switch (field) {
691
- case 1:
692
- var value = /** @type {number} */ (reader.readInt32());
693
- msg.setId(value);
694
- break;
695
- default:
696
- reader.skipField();
697
- break;
698
- }
699
- }
700
- return msg;
701
- };
702
-
703
-
704
- /**
705
- * Serializes the message to binary data (in protobuf wire format).
706
- * @return {!Uint8Array}
707
- */
708
- proto.Spic.ConfigProto.RetrieveRequest.prototype.serializeBinary = function() {
709
- var writer = new jspb.BinaryWriter();
710
- proto.Spic.ConfigProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
711
- return writer.getResultBuffer();
712
- };
713
-
714
-
715
- /**
716
- * Serializes the given message to binary data (in protobuf wire
717
- * format), writing to the given BinaryWriter.
718
- * @param {!proto.Spic.ConfigProto.RetrieveRequest} message
719
- * @param {!jspb.BinaryWriter} writer
720
- * @suppress {unusedLocalVariables} f is only used for nested messages
721
- */
722
- proto.Spic.ConfigProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
723
- var f = undefined;
724
- f = message.getId();
725
- if (f !== 0) {
726
- writer.writeInt32(
727
- 1,
728
- f
729
- );
730
- }
731
- };
732
-
733
-
734
- /**
735
- * optional int32 id = 1;
736
- * @return {number}
737
- */
738
- proto.Spic.ConfigProto.RetrieveRequest.prototype.getId = function() {
739
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
740
- };
741
-
742
-
743
- /**
744
- * @param {number} value
745
- * @return {!proto.Spic.ConfigProto.RetrieveRequest} returns this
746
- */
747
- proto.Spic.ConfigProto.RetrieveRequest.prototype.setId = function(value) {
748
- return jspb.Message.setProto3IntField(this, 1, value);
749
- };
750
-
751
-
752
-
753
- /**
754
- * List of repeated fields within this message type.
755
- * @private {!Array<number>}
756
- * @const
757
- */
758
- proto.Spic.ConfigProto.UpdateRequest.repeatedFields_ = [3];
759
-
760
-
761
-
762
- if (jspb.Message.GENERATE_TO_OBJECT) {
763
- /**
764
- * Creates an object representation of this proto.
765
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
766
- * Optional fields that are not set will be set to undefined.
767
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
768
- * For the list of reserved names please see:
769
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
770
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
771
- * JSPB instance for transitional soy proto support:
772
- * http://goto/soy-param-migration
773
- * @return {!Object}
774
- */
775
- proto.Spic.ConfigProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
776
- return proto.Spic.ConfigProto.UpdateRequest.toObject(opt_includeInstance, this);
777
- };
778
-
779
-
780
- /**
781
- * Static version of the {@see toObject} method.
782
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
783
- * the JSPB instance for transitional soy proto support:
784
- * http://goto/soy-param-migration
785
- * @param {!proto.Spic.ConfigProto.UpdateRequest} msg The msg instance to transform.
786
- * @return {!Object}
787
- * @suppress {unusedLocalVariables} f is only used for nested messages
788
- */
789
- proto.Spic.ConfigProto.UpdateRequest.toObject = function(includeInstance, msg) {
790
- var f, obj = {
791
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
792
- config: jspb.Message.getFieldWithDefault(msg, 2, ""),
793
- fromCrcsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
794
- };
795
-
796
- if (includeInstance) {
797
- obj.$jspbMessageInstance = msg;
798
- }
799
- return obj;
800
- };
801
- }
802
-
803
-
804
- /**
805
- * Deserializes binary data (in protobuf wire format).
806
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
807
- * @return {!proto.Spic.ConfigProto.UpdateRequest}
808
- */
809
- proto.Spic.ConfigProto.UpdateRequest.deserializeBinary = function(bytes) {
810
- var reader = new jspb.BinaryReader(bytes);
811
- var msg = new proto.Spic.ConfigProto.UpdateRequest;
812
- return proto.Spic.ConfigProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
813
- };
814
-
815
-
816
- /**
817
- * Deserializes binary data (in protobuf wire format) from the
818
- * given reader into the given message object.
819
- * @param {!proto.Spic.ConfigProto.UpdateRequest} msg The message object to deserialize into.
820
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
821
- * @return {!proto.Spic.ConfigProto.UpdateRequest}
822
- */
823
- proto.Spic.ConfigProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
824
- while (reader.nextField()) {
825
- if (reader.isEndGroup()) {
826
- break;
827
- }
828
- var field = reader.getFieldNumber();
829
- switch (field) {
830
- case 1:
831
- var value = /** @type {number} */ (reader.readInt32());
832
- msg.setId(value);
833
- break;
834
- case 2:
835
- var value = /** @type {string} */ (reader.readString());
836
- msg.setConfig(value);
837
- break;
838
- case 3:
839
- var value = /** @type {string} */ (reader.readString());
840
- msg.addFromCrcs(value);
841
- break;
842
- default:
843
- reader.skipField();
844
- break;
845
- }
846
- }
847
- return msg;
848
- };
849
-
850
-
851
- /**
852
- * Serializes the message to binary data (in protobuf wire format).
853
- * @return {!Uint8Array}
854
- */
855
- proto.Spic.ConfigProto.UpdateRequest.prototype.serializeBinary = function() {
856
- var writer = new jspb.BinaryWriter();
857
- proto.Spic.ConfigProto.UpdateRequest.serializeBinaryToWriter(this, writer);
858
- return writer.getResultBuffer();
859
- };
860
-
861
-
862
- /**
863
- * Serializes the given message to binary data (in protobuf wire
864
- * format), writing to the given BinaryWriter.
865
- * @param {!proto.Spic.ConfigProto.UpdateRequest} message
866
- * @param {!jspb.BinaryWriter} writer
867
- * @suppress {unusedLocalVariables} f is only used for nested messages
868
- */
869
- proto.Spic.ConfigProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
870
- var f = undefined;
871
- f = message.getId();
872
- if (f !== 0) {
873
- writer.writeInt32(
874
- 1,
875
- f
876
- );
877
- }
878
- f = message.getConfig();
879
- if (f.length > 0) {
880
- writer.writeString(
881
- 2,
882
- f
883
- );
884
- }
885
- f = message.getFromCrcsList();
886
- if (f.length > 0) {
887
- writer.writeRepeatedString(
888
- 3,
889
- f
890
- );
891
- }
892
- };
893
-
894
-
895
- /**
896
- * optional int32 id = 1;
897
- * @return {number}
898
- */
899
- proto.Spic.ConfigProto.UpdateRequest.prototype.getId = function() {
900
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
901
- };
902
-
903
-
904
- /**
905
- * @param {number} value
906
- * @return {!proto.Spic.ConfigProto.UpdateRequest} returns this
907
- */
908
- proto.Spic.ConfigProto.UpdateRequest.prototype.setId = function(value) {
909
- return jspb.Message.setProto3IntField(this, 1, value);
910
- };
911
-
912
-
913
- /**
914
- * optional string config = 2;
915
- * @return {string}
916
- */
917
- proto.Spic.ConfigProto.UpdateRequest.prototype.getConfig = function() {
918
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
919
- };
920
-
921
-
922
- /**
923
- * @param {string} value
924
- * @return {!proto.Spic.ConfigProto.UpdateRequest} returns this
925
- */
926
- proto.Spic.ConfigProto.UpdateRequest.prototype.setConfig = function(value) {
927
- return jspb.Message.setProto3StringField(this, 2, value);
928
- };
929
-
930
-
931
- /**
932
- * repeated string from_crcs = 3;
933
- * @return {!Array<string>}
934
- */
935
- proto.Spic.ConfigProto.UpdateRequest.prototype.getFromCrcsList = function() {
936
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
937
- };
938
-
939
-
940
- /**
941
- * @param {!Array<string>} value
942
- * @return {!proto.Spic.ConfigProto.UpdateRequest} returns this
943
- */
944
- proto.Spic.ConfigProto.UpdateRequest.prototype.setFromCrcsList = function(value) {
945
- return jspb.Message.setField(this, 3, value || []);
946
- };
947
-
948
-
949
- /**
950
- * @param {string} value
951
- * @param {number=} opt_index
952
- * @return {!proto.Spic.ConfigProto.UpdateRequest} returns this
953
- */
954
- proto.Spic.ConfigProto.UpdateRequest.prototype.addFromCrcs = function(value, opt_index) {
955
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
956
- };
957
-
958
-
959
- /**
960
- * Clears the list making it empty but non-null.
961
- * @return {!proto.Spic.ConfigProto.UpdateRequest} returns this
962
- */
963
- proto.Spic.ConfigProto.UpdateRequest.prototype.clearFromCrcsList = function() {
964
- return this.setFromCrcsList([]);
965
- };
966
-
967
-
968
-
969
-
970
-
971
- if (jspb.Message.GENERATE_TO_OBJECT) {
972
- /**
973
- * Creates an object representation of this proto.
974
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
975
- * Optional fields that are not set will be set to undefined.
976
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
977
- * For the list of reserved names please see:
978
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
979
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
980
- * JSPB instance for transitional soy proto support:
981
- * http://goto/soy-param-migration
982
- * @return {!Object}
983
- */
984
- proto.Spic.ConfigProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
985
- return proto.Spic.ConfigProto.SearchRequest.toObject(opt_includeInstance, this);
986
- };
987
-
988
-
989
- /**
990
- * Static version of the {@see toObject} method.
991
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
992
- * the JSPB instance for transitional soy proto support:
993
- * http://goto/soy-param-migration
994
- * @param {!proto.Spic.ConfigProto.SearchRequest} msg The msg instance to transform.
995
- * @return {!Object}
996
- * @suppress {unusedLocalVariables} f is only used for nested messages
997
- */
998
- proto.Spic.ConfigProto.SearchRequest.toObject = function(includeInstance, msg) {
999
- var f, obj = {
1000
- filters: (f = msg.getFilters()) && proto.Spic.ConfigProto.ConfigFilters.toObject(includeInstance, f),
1001
- page: jspb.Message.getFieldWithDefault(msg, 2, 0),
1002
- count: jspb.Message.getFieldWithDefault(msg, 3, 0)
1003
- };
1004
-
1005
- if (includeInstance) {
1006
- obj.$jspbMessageInstance = msg;
1007
- }
1008
- return obj;
1009
- };
1010
- }
1011
-
1012
-
1013
- /**
1014
- * Deserializes binary data (in protobuf wire format).
1015
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1016
- * @return {!proto.Spic.ConfigProto.SearchRequest}
1017
- */
1018
- proto.Spic.ConfigProto.SearchRequest.deserializeBinary = function(bytes) {
1019
- var reader = new jspb.BinaryReader(bytes);
1020
- var msg = new proto.Spic.ConfigProto.SearchRequest;
1021
- return proto.Spic.ConfigProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
1022
- };
1023
-
1024
-
1025
- /**
1026
- * Deserializes binary data (in protobuf wire format) from the
1027
- * given reader into the given message object.
1028
- * @param {!proto.Spic.ConfigProto.SearchRequest} msg The message object to deserialize into.
1029
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1030
- * @return {!proto.Spic.ConfigProto.SearchRequest}
1031
- */
1032
- proto.Spic.ConfigProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
1033
- while (reader.nextField()) {
1034
- if (reader.isEndGroup()) {
1035
- break;
1036
- }
1037
- var field = reader.getFieldNumber();
1038
- switch (field) {
1039
- case 1:
1040
- var value = new proto.Spic.ConfigProto.ConfigFilters;
1041
- reader.readMessage(value,proto.Spic.ConfigProto.ConfigFilters.deserializeBinaryFromReader);
1042
- msg.setFilters(value);
1043
- break;
1044
- case 2:
1045
- var value = /** @type {number} */ (reader.readInt32());
1046
- msg.setPage(value);
1047
- break;
1048
- case 3:
1049
- var value = /** @type {number} */ (reader.readInt32());
1050
- msg.setCount(value);
1051
- break;
1052
- default:
1053
- reader.skipField();
1054
- break;
1055
- }
1056
- }
1057
- return msg;
1058
- };
1059
-
1060
-
1061
- /**
1062
- * Serializes the message to binary data (in protobuf wire format).
1063
- * @return {!Uint8Array}
1064
- */
1065
- proto.Spic.ConfigProto.SearchRequest.prototype.serializeBinary = function() {
1066
- var writer = new jspb.BinaryWriter();
1067
- proto.Spic.ConfigProto.SearchRequest.serializeBinaryToWriter(this, writer);
1068
- return writer.getResultBuffer();
1069
- };
1070
-
1071
-
1072
- /**
1073
- * Serializes the given message to binary data (in protobuf wire
1074
- * format), writing to the given BinaryWriter.
1075
- * @param {!proto.Spic.ConfigProto.SearchRequest} message
1076
- * @param {!jspb.BinaryWriter} writer
1077
- * @suppress {unusedLocalVariables} f is only used for nested messages
1078
- */
1079
- proto.Spic.ConfigProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
1080
- var f = undefined;
1081
- f = message.getFilters();
1082
- if (f != null) {
1083
- writer.writeMessage(
1084
- 1,
1085
- f,
1086
- proto.Spic.ConfigProto.ConfigFilters.serializeBinaryToWriter
1087
- );
1088
- }
1089
- f = message.getPage();
1090
- if (f !== 0) {
1091
- writer.writeInt32(
1092
- 2,
1093
- f
1094
- );
1095
- }
1096
- f = message.getCount();
1097
- if (f !== 0) {
1098
- writer.writeInt32(
1099
- 3,
1100
- f
1101
- );
1102
- }
1103
- };
1104
-
1105
-
1106
- /**
1107
- * optional ConfigFilters filters = 1;
1108
- * @return {?proto.Spic.ConfigProto.ConfigFilters}
1109
- */
1110
- proto.Spic.ConfigProto.SearchRequest.prototype.getFilters = function() {
1111
- return /** @type{?proto.Spic.ConfigProto.ConfigFilters} */ (
1112
- jspb.Message.getWrapperField(this, proto.Spic.ConfigProto.ConfigFilters, 1));
1113
- };
1114
-
1115
-
1116
- /**
1117
- * @param {?proto.Spic.ConfigProto.ConfigFilters|undefined} value
1118
- * @return {!proto.Spic.ConfigProto.SearchRequest} returns this
1119
- */
1120
- proto.Spic.ConfigProto.SearchRequest.prototype.setFilters = function(value) {
1121
- return jspb.Message.setWrapperField(this, 1, value);
1122
- };
1123
-
1124
-
1125
- /**
1126
- * Clears the message field making it undefined.
1127
- * @return {!proto.Spic.ConfigProto.SearchRequest} returns this
1128
- */
1129
- proto.Spic.ConfigProto.SearchRequest.prototype.clearFilters = function() {
1130
- return this.setFilters(undefined);
1131
- };
1132
-
1133
-
1134
- /**
1135
- * Returns whether this field is set.
1136
- * @return {boolean}
1137
- */
1138
- proto.Spic.ConfigProto.SearchRequest.prototype.hasFilters = function() {
1139
- return jspb.Message.getField(this, 1) != null;
1140
- };
1141
-
1142
-
1143
- /**
1144
- * optional int32 page = 2;
1145
- * @return {number}
1146
- */
1147
- proto.Spic.ConfigProto.SearchRequest.prototype.getPage = function() {
1148
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1149
- };
1150
-
1151
-
1152
- /**
1153
- * @param {number} value
1154
- * @return {!proto.Spic.ConfigProto.SearchRequest} returns this
1155
- */
1156
- proto.Spic.ConfigProto.SearchRequest.prototype.setPage = function(value) {
1157
- return jspb.Message.setProto3IntField(this, 2, value);
1158
- };
1159
-
1160
-
1161
- /**
1162
- * optional int32 count = 3;
1163
- * @return {number}
1164
- */
1165
- proto.Spic.ConfigProto.SearchRequest.prototype.getCount = function() {
1166
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1167
- };
1168
-
1169
-
1170
- /**
1171
- * @param {number} value
1172
- * @return {!proto.Spic.ConfigProto.SearchRequest} returns this
1173
- */
1174
- proto.Spic.ConfigProto.SearchRequest.prototype.setCount = function(value) {
1175
- return jspb.Message.setProto3IntField(this, 3, value);
1176
- };
1177
-
1178
-
1179
-
1180
- /**
1181
- * List of repeated fields within this message type.
1182
- * @private {!Array<number>}
1183
- * @const
1184
- */
1185
- proto.Spic.ConfigProto.SearchReply.repeatedFields_ = [1];
1186
-
1187
-
1188
-
1189
- if (jspb.Message.GENERATE_TO_OBJECT) {
1190
- /**
1191
- * Creates an object representation of this proto.
1192
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1193
- * Optional fields that are not set will be set to undefined.
1194
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1195
- * For the list of reserved names please see:
1196
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1197
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1198
- * JSPB instance for transitional soy proto support:
1199
- * http://goto/soy-param-migration
1200
- * @return {!Object}
1201
- */
1202
- proto.Spic.ConfigProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1203
- return proto.Spic.ConfigProto.SearchReply.toObject(opt_includeInstance, this);
1204
- };
1205
-
1206
-
1207
- /**
1208
- * Static version of the {@see toObject} method.
1209
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1210
- * the JSPB instance for transitional soy proto support:
1211
- * http://goto/soy-param-migration
1212
- * @param {!proto.Spic.ConfigProto.SearchReply} msg The msg instance to transform.
1213
- * @return {!Object}
1214
- * @suppress {unusedLocalVariables} f is only used for nested messages
1215
- */
1216
- proto.Spic.ConfigProto.SearchReply.toObject = function(includeInstance, msg) {
1217
- var f, obj = {
1218
- configsList: jspb.Message.toObjectList(msg.getConfigsList(),
1219
- proto.Spic.ConfigProto.toObject, includeInstance),
1220
- pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1221
- };
1222
-
1223
- if (includeInstance) {
1224
- obj.$jspbMessageInstance = msg;
1225
- }
1226
- return obj;
1227
- };
1228
- }
1229
-
1230
-
1231
- /**
1232
- * Deserializes binary data (in protobuf wire format).
1233
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1234
- * @return {!proto.Spic.ConfigProto.SearchReply}
1235
- */
1236
- proto.Spic.ConfigProto.SearchReply.deserializeBinary = function(bytes) {
1237
- var reader = new jspb.BinaryReader(bytes);
1238
- var msg = new proto.Spic.ConfigProto.SearchReply;
1239
- return proto.Spic.ConfigProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1240
- };
1241
-
1242
-
1243
- /**
1244
- * Deserializes binary data (in protobuf wire format) from the
1245
- * given reader into the given message object.
1246
- * @param {!proto.Spic.ConfigProto.SearchReply} msg The message object to deserialize into.
1247
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1248
- * @return {!proto.Spic.ConfigProto.SearchReply}
1249
- */
1250
- proto.Spic.ConfigProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1251
- while (reader.nextField()) {
1252
- if (reader.isEndGroup()) {
1253
- break;
1254
- }
1255
- var field = reader.getFieldNumber();
1256
- switch (field) {
1257
- case 1:
1258
- var value = new proto.Spic.ConfigProto;
1259
- reader.readMessage(value,proto.Spic.ConfigProto.deserializeBinaryFromReader);
1260
- msg.addConfigs(value);
1261
- break;
1262
- case 2:
1263
- var value = new platform_pagination_pb.PaginationProto;
1264
- reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1265
- msg.setPagination(value);
1266
- break;
1267
- default:
1268
- reader.skipField();
1269
- break;
1270
- }
1271
- }
1272
- return msg;
1273
- };
1274
-
1275
-
1276
- /**
1277
- * Serializes the message to binary data (in protobuf wire format).
1278
- * @return {!Uint8Array}
1279
- */
1280
- proto.Spic.ConfigProto.SearchReply.prototype.serializeBinary = function() {
1281
- var writer = new jspb.BinaryWriter();
1282
- proto.Spic.ConfigProto.SearchReply.serializeBinaryToWriter(this, writer);
1283
- return writer.getResultBuffer();
1284
- };
1285
-
1286
-
1287
- /**
1288
- * Serializes the given message to binary data (in protobuf wire
1289
- * format), writing to the given BinaryWriter.
1290
- * @param {!proto.Spic.ConfigProto.SearchReply} message
1291
- * @param {!jspb.BinaryWriter} writer
1292
- * @suppress {unusedLocalVariables} f is only used for nested messages
1293
- */
1294
- proto.Spic.ConfigProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1295
- var f = undefined;
1296
- f = message.getConfigsList();
1297
- if (f.length > 0) {
1298
- writer.writeRepeatedMessage(
1299
- 1,
1300
- f,
1301
- proto.Spic.ConfigProto.serializeBinaryToWriter
1302
- );
1303
- }
1304
- f = message.getPagination();
1305
- if (f != null) {
1306
- writer.writeMessage(
1307
- 2,
1308
- f,
1309
- platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1310
- );
1311
- }
1312
- };
1313
-
1314
-
1315
- /**
1316
- * repeated ConfigProto configs = 1;
1317
- * @return {!Array<!proto.Spic.ConfigProto>}
1318
- */
1319
- proto.Spic.ConfigProto.SearchReply.prototype.getConfigsList = function() {
1320
- return /** @type{!Array<!proto.Spic.ConfigProto>} */ (
1321
- jspb.Message.getRepeatedWrapperField(this, proto.Spic.ConfigProto, 1));
1322
- };
1323
-
1324
-
1325
- /**
1326
- * @param {!Array<!proto.Spic.ConfigProto>} value
1327
- * @return {!proto.Spic.ConfigProto.SearchReply} returns this
1328
- */
1329
- proto.Spic.ConfigProto.SearchReply.prototype.setConfigsList = function(value) {
1330
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1331
- };
1332
-
1333
-
1334
- /**
1335
- * @param {!proto.Spic.ConfigProto=} opt_value
1336
- * @param {number=} opt_index
1337
- * @return {!proto.Spic.ConfigProto}
1338
- */
1339
- proto.Spic.ConfigProto.SearchReply.prototype.addConfigs = function(opt_value, opt_index) {
1340
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Spic.ConfigProto, opt_index);
1341
- };
1342
-
1343
-
1344
- /**
1345
- * Clears the list making it empty but non-null.
1346
- * @return {!proto.Spic.ConfigProto.SearchReply} returns this
1347
- */
1348
- proto.Spic.ConfigProto.SearchReply.prototype.clearConfigsList = function() {
1349
- return this.setConfigsList([]);
1350
- };
1351
-
1352
-
1353
- /**
1354
- * optional Platform.PaginationProto pagination = 2;
1355
- * @return {?proto.Platform.PaginationProto}
1356
- */
1357
- proto.Spic.ConfigProto.SearchReply.prototype.getPagination = function() {
1358
- return /** @type{?proto.Platform.PaginationProto} */ (
1359
- jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1360
- };
1361
-
1362
-
1363
- /**
1364
- * @param {?proto.Platform.PaginationProto|undefined} value
1365
- * @return {!proto.Spic.ConfigProto.SearchReply} returns this
1366
- */
1367
- proto.Spic.ConfigProto.SearchReply.prototype.setPagination = function(value) {
1368
- return jspb.Message.setWrapperField(this, 2, value);
1369
- };
1370
-
1371
-
1372
- /**
1373
- * Clears the message field making it undefined.
1374
- * @return {!proto.Spic.ConfigProto.SearchReply} returns this
1375
- */
1376
- proto.Spic.ConfigProto.SearchReply.prototype.clearPagination = function() {
1377
- return this.setPagination(undefined);
1378
- };
1379
-
1380
-
1381
- /**
1382
- * Returns whether this field is set.
1383
- * @return {boolean}
1384
- */
1385
- proto.Spic.ConfigProto.SearchReply.prototype.hasPagination = function() {
1386
- return jspb.Message.getField(this, 2) != null;
1387
- };
1388
-
1389
-
1390
-
1391
-
1392
-
1393
- if (jspb.Message.GENERATE_TO_OBJECT) {
1394
- /**
1395
- * Creates an object representation of this proto.
1396
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1397
- * Optional fields that are not set will be set to undefined.
1398
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1399
- * For the list of reserved names please see:
1400
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1401
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1402
- * JSPB instance for transitional soy proto support:
1403
- * http://goto/soy-param-migration
1404
- * @return {!Object}
1405
- */
1406
- proto.Spic.ConfigProto.ConfigFilters.prototype.toObject = function(opt_includeInstance) {
1407
- return proto.Spic.ConfigProto.ConfigFilters.toObject(opt_includeInstance, this);
1408
- };
1409
-
1410
-
1411
- /**
1412
- * Static version of the {@see toObject} method.
1413
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1414
- * the JSPB instance for transitional soy proto support:
1415
- * http://goto/soy-param-migration
1416
- * @param {!proto.Spic.ConfigProto.ConfigFilters} msg The msg instance to transform.
1417
- * @return {!Object}
1418
- * @suppress {unusedLocalVariables} f is only used for nested messages
1419
- */
1420
- proto.Spic.ConfigProto.ConfigFilters.toObject = function(includeInstance, msg) {
1421
- var f, obj = {
1422
- uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
1423
- status: jspb.Message.getFieldWithDefault(msg, 2, 0),
1424
- installedDateFrom: (f = msg.getInstalledDateFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1425
- installedDateTo: (f = msg.getInstalledDateTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
1426
- };
1427
-
1428
- if (includeInstance) {
1429
- obj.$jspbMessageInstance = msg;
1430
- }
1431
- return obj;
1432
- };
1433
- }
1434
-
1435
-
1436
- /**
1437
- * Deserializes binary data (in protobuf wire format).
1438
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1439
- * @return {!proto.Spic.ConfigProto.ConfigFilters}
1440
- */
1441
- proto.Spic.ConfigProto.ConfigFilters.deserializeBinary = function(bytes) {
1442
- var reader = new jspb.BinaryReader(bytes);
1443
- var msg = new proto.Spic.ConfigProto.ConfigFilters;
1444
- return proto.Spic.ConfigProto.ConfigFilters.deserializeBinaryFromReader(msg, reader);
1445
- };
1446
-
1447
-
1448
- /**
1449
- * Deserializes binary data (in protobuf wire format) from the
1450
- * given reader into the given message object.
1451
- * @param {!proto.Spic.ConfigProto.ConfigFilters} msg The message object to deserialize into.
1452
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1453
- * @return {!proto.Spic.ConfigProto.ConfigFilters}
1454
- */
1455
- proto.Spic.ConfigProto.ConfigFilters.deserializeBinaryFromReader = function(msg, reader) {
1456
- while (reader.nextField()) {
1457
- if (reader.isEndGroup()) {
1458
- break;
1459
- }
1460
- var field = reader.getFieldNumber();
1461
- switch (field) {
1462
- case 1:
1463
- var value = /** @type {string} */ (reader.readString());
1464
- msg.setUid(value);
1465
- break;
1466
- case 2:
1467
- var value = /** @type {!proto.Spic.ConfigProto.ConfigStatusType} */ (reader.readEnum());
1468
- msg.setStatus(value);
1469
- break;
1470
- case 3:
1471
- var value = new google_protobuf_timestamp_pb.Timestamp;
1472
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1473
- msg.setInstalledDateFrom(value);
1474
- break;
1475
- case 4:
1476
- var value = new google_protobuf_timestamp_pb.Timestamp;
1477
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1478
- msg.setInstalledDateTo(value);
1479
- break;
1480
- default:
1481
- reader.skipField();
1482
- break;
1483
- }
1484
- }
1485
- return msg;
1486
- };
1487
-
1488
-
1489
- /**
1490
- * Serializes the message to binary data (in protobuf wire format).
1491
- * @return {!Uint8Array}
1492
- */
1493
- proto.Spic.ConfigProto.ConfigFilters.prototype.serializeBinary = function() {
1494
- var writer = new jspb.BinaryWriter();
1495
- proto.Spic.ConfigProto.ConfigFilters.serializeBinaryToWriter(this, writer);
1496
- return writer.getResultBuffer();
1497
- };
1498
-
1499
-
1500
- /**
1501
- * Serializes the given message to binary data (in protobuf wire
1502
- * format), writing to the given BinaryWriter.
1503
- * @param {!proto.Spic.ConfigProto.ConfigFilters} message
1504
- * @param {!jspb.BinaryWriter} writer
1505
- * @suppress {unusedLocalVariables} f is only used for nested messages
1506
- */
1507
- proto.Spic.ConfigProto.ConfigFilters.serializeBinaryToWriter = function(message, writer) {
1508
- var f = undefined;
1509
- f = message.getUid();
1510
- if (f.length > 0) {
1511
- writer.writeString(
1512
- 1,
1513
- f
1514
- );
1515
- }
1516
- f = message.getStatus();
1517
- if (f !== 0.0) {
1518
- writer.writeEnum(
1519
- 2,
1520
- f
1521
- );
1522
- }
1523
- f = message.getInstalledDateFrom();
1524
- if (f != null) {
1525
- writer.writeMessage(
1526
- 3,
1527
- f,
1528
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1529
- );
1530
- }
1531
- f = message.getInstalledDateTo();
1532
- if (f != null) {
1533
- writer.writeMessage(
1534
- 4,
1535
- f,
1536
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1537
- );
1538
- }
1539
- };
1540
-
1541
-
1542
- /**
1543
- * optional string uid = 1;
1544
- * @return {string}
1545
- */
1546
- proto.Spic.ConfigProto.ConfigFilters.prototype.getUid = function() {
1547
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1548
- };
1549
-
1550
-
1551
- /**
1552
- * @param {string} value
1553
- * @return {!proto.Spic.ConfigProto.ConfigFilters} returns this
1554
- */
1555
- proto.Spic.ConfigProto.ConfigFilters.prototype.setUid = function(value) {
1556
- return jspb.Message.setProto3StringField(this, 1, value);
1557
- };
1558
-
1559
-
1560
- /**
1561
- * optional ConfigStatusType status = 2;
1562
- * @return {!proto.Spic.ConfigProto.ConfigStatusType}
1563
- */
1564
- proto.Spic.ConfigProto.ConfigFilters.prototype.getStatus = function() {
1565
- return /** @type {!proto.Spic.ConfigProto.ConfigStatusType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1566
- };
1567
-
1568
-
1569
- /**
1570
- * @param {!proto.Spic.ConfigProto.ConfigStatusType} value
1571
- * @return {!proto.Spic.ConfigProto.ConfigFilters} returns this
1572
- */
1573
- proto.Spic.ConfigProto.ConfigFilters.prototype.setStatus = function(value) {
1574
- return jspb.Message.setProto3EnumField(this, 2, value);
1575
- };
1576
-
1577
-
1578
- /**
1579
- * optional google.protobuf.Timestamp installed_date_from = 3;
1580
- * @return {?proto.google.protobuf.Timestamp}
1581
- */
1582
- proto.Spic.ConfigProto.ConfigFilters.prototype.getInstalledDateFrom = function() {
1583
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1584
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
1585
- };
1586
-
1587
-
1588
- /**
1589
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1590
- * @return {!proto.Spic.ConfigProto.ConfigFilters} returns this
1591
- */
1592
- proto.Spic.ConfigProto.ConfigFilters.prototype.setInstalledDateFrom = function(value) {
1593
- return jspb.Message.setWrapperField(this, 3, value);
1594
- };
1595
-
1596
-
1597
- /**
1598
- * Clears the message field making it undefined.
1599
- * @return {!proto.Spic.ConfigProto.ConfigFilters} returns this
1600
- */
1601
- proto.Spic.ConfigProto.ConfigFilters.prototype.clearInstalledDateFrom = function() {
1602
- return this.setInstalledDateFrom(undefined);
1603
- };
1604
-
1605
-
1606
- /**
1607
- * Returns whether this field is set.
1608
- * @return {boolean}
1609
- */
1610
- proto.Spic.ConfigProto.ConfigFilters.prototype.hasInstalledDateFrom = function() {
1611
- return jspb.Message.getField(this, 3) != null;
1612
- };
1613
-
1614
-
1615
- /**
1616
- * optional google.protobuf.Timestamp installed_date_to = 4;
1617
- * @return {?proto.google.protobuf.Timestamp}
1618
- */
1619
- proto.Spic.ConfigProto.ConfigFilters.prototype.getInstalledDateTo = function() {
1620
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1621
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
1622
- };
1623
-
1624
-
1625
- /**
1626
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1627
- * @return {!proto.Spic.ConfigProto.ConfigFilters} returns this
1628
- */
1629
- proto.Spic.ConfigProto.ConfigFilters.prototype.setInstalledDateTo = function(value) {
1630
- return jspb.Message.setWrapperField(this, 4, value);
1631
- };
1632
-
1633
-
1634
- /**
1635
- * Clears the message field making it undefined.
1636
- * @return {!proto.Spic.ConfigProto.ConfigFilters} returns this
1637
- */
1638
- proto.Spic.ConfigProto.ConfigFilters.prototype.clearInstalledDateTo = function() {
1639
- return this.setInstalledDateTo(undefined);
1640
- };
1641
-
1642
-
1643
- /**
1644
- * Returns whether this field is set.
1645
- * @return {boolean}
1646
- */
1647
- proto.Spic.ConfigProto.ConfigFilters.prototype.hasInstalledDateTo = function() {
1648
- return jspb.Message.getField(this, 4) != null;
1649
- };
1650
-
1651
-
1652
- /**
1653
- * optional int32 id = 1;
1654
- * @return {number}
1655
- */
1656
- proto.Spic.ConfigProto.prototype.getId = function() {
1657
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1658
- };
1659
-
1660
-
1661
- /**
1662
- * @param {number} value
1663
- * @return {!proto.Spic.ConfigProto} returns this
1664
- */
1665
- proto.Spic.ConfigProto.prototype.setId = function(value) {
1666
- return jspb.Message.setProto3IntField(this, 1, value);
1667
- };
1668
-
1669
-
1670
- /**
1671
- * optional string uid = 2;
1672
- * @return {string}
1673
- */
1674
- proto.Spic.ConfigProto.prototype.getUid = function() {
1675
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1676
- };
1677
-
1678
-
1679
- /**
1680
- * @param {string} value
1681
- * @return {!proto.Spic.ConfigProto} returns this
1682
- */
1683
- proto.Spic.ConfigProto.prototype.setUid = function(value) {
1684
- return jspb.Message.setProto3StringField(this, 2, value);
1685
- };
1686
-
1687
-
1688
- /**
1689
- * optional string config = 3;
1690
- * @return {string}
1691
- */
1692
- proto.Spic.ConfigProto.prototype.getConfig = function() {
1693
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1694
- };
1695
-
1696
-
1697
- /**
1698
- * @param {string} value
1699
- * @return {!proto.Spic.ConfigProto} returns this
1700
- */
1701
- proto.Spic.ConfigProto.prototype.setConfig = function(value) {
1702
- return jspb.Message.setProto3StringField(this, 3, value);
1703
- };
1704
-
1705
-
1706
- /**
1707
- * optional google.protobuf.Timestamp created_date = 4;
1708
- * @return {?proto.google.protobuf.Timestamp}
1709
- */
1710
- proto.Spic.ConfigProto.prototype.getCreatedDate = function() {
1711
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1712
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
1713
- };
1714
-
1715
-
1716
- /**
1717
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1718
- * @return {!proto.Spic.ConfigProto} returns this
1719
- */
1720
- proto.Spic.ConfigProto.prototype.setCreatedDate = function(value) {
1721
- return jspb.Message.setWrapperField(this, 4, value);
1722
- };
1723
-
1724
-
1725
- /**
1726
- * Clears the message field making it undefined.
1727
- * @return {!proto.Spic.ConfigProto} returns this
1728
- */
1729
- proto.Spic.ConfigProto.prototype.clearCreatedDate = function() {
1730
- return this.setCreatedDate(undefined);
1731
- };
1732
-
1733
-
1734
- /**
1735
- * Returns whether this field is set.
1736
- * @return {boolean}
1737
- */
1738
- proto.Spic.ConfigProto.prototype.hasCreatedDate = function() {
1739
- return jspb.Message.getField(this, 4) != null;
1740
- };
1741
-
1742
-
1743
- /**
1744
- * optional google.protobuf.Timestamp updated_date = 5;
1745
- * @return {?proto.google.protobuf.Timestamp}
1746
- */
1747
- proto.Spic.ConfigProto.prototype.getUpdatedDate = function() {
1748
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1749
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
1750
- };
1751
-
1752
-
1753
- /**
1754
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1755
- * @return {!proto.Spic.ConfigProto} returns this
1756
- */
1757
- proto.Spic.ConfigProto.prototype.setUpdatedDate = function(value) {
1758
- return jspb.Message.setWrapperField(this, 5, value);
1759
- };
1760
-
1761
-
1762
- /**
1763
- * Clears the message field making it undefined.
1764
- * @return {!proto.Spic.ConfigProto} returns this
1765
- */
1766
- proto.Spic.ConfigProto.prototype.clearUpdatedDate = function() {
1767
- return this.setUpdatedDate(undefined);
1768
- };
1769
-
1770
-
1771
- /**
1772
- * Returns whether this field is set.
1773
- * @return {boolean}
1774
- */
1775
- proto.Spic.ConfigProto.prototype.hasUpdatedDate = function() {
1776
- return jspb.Message.getField(this, 5) != null;
1777
- };
1778
-
1779
-
1780
- /**
1781
- * optional google.protobuf.Timestamp pushed_date = 6;
1782
- * @return {?proto.google.protobuf.Timestamp}
1783
- */
1784
- proto.Spic.ConfigProto.prototype.getPushedDate = function() {
1785
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1786
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
1787
- };
1788
-
1789
-
1790
- /**
1791
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1792
- * @return {!proto.Spic.ConfigProto} returns this
1793
- */
1794
- proto.Spic.ConfigProto.prototype.setPushedDate = function(value) {
1795
- return jspb.Message.setWrapperField(this, 6, value);
1796
- };
1797
-
1798
-
1799
- /**
1800
- * Clears the message field making it undefined.
1801
- * @return {!proto.Spic.ConfigProto} returns this
1802
- */
1803
- proto.Spic.ConfigProto.prototype.clearPushedDate = function() {
1804
- return this.setPushedDate(undefined);
1805
- };
1806
-
1807
-
1808
- /**
1809
- * Returns whether this field is set.
1810
- * @return {boolean}
1811
- */
1812
- proto.Spic.ConfigProto.prototype.hasPushedDate = function() {
1813
- return jspb.Message.getField(this, 6) != null;
1814
- };
1815
-
1816
-
1817
- /**
1818
- * optional google.protobuf.Timestamp installed_date = 7;
1819
- * @return {?proto.google.protobuf.Timestamp}
1820
- */
1821
- proto.Spic.ConfigProto.prototype.getInstalledDate = function() {
1822
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1823
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
1824
- };
1825
-
1826
-
1827
- /**
1828
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1829
- * @return {!proto.Spic.ConfigProto} returns this
1830
- */
1831
- proto.Spic.ConfigProto.prototype.setInstalledDate = function(value) {
1832
- return jspb.Message.setWrapperField(this, 7, value);
1833
- };
1834
-
1835
-
1836
- /**
1837
- * Clears the message field making it undefined.
1838
- * @return {!proto.Spic.ConfigProto} returns this
1839
- */
1840
- proto.Spic.ConfigProto.prototype.clearInstalledDate = function() {
1841
- return this.setInstalledDate(undefined);
1842
- };
1843
-
1844
-
1845
- /**
1846
- * Returns whether this field is set.
1847
- * @return {boolean}
1848
- */
1849
- proto.Spic.ConfigProto.prototype.hasInstalledDate = function() {
1850
- return jspb.Message.getField(this, 7) != null;
1851
- };
1852
-
1853
-
1854
- /**
1855
- * repeated string from_crcs = 8;
1856
- * @return {!Array<string>}
1857
- */
1858
- proto.Spic.ConfigProto.prototype.getFromCrcsList = function() {
1859
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
1860
- };
1861
-
1862
-
1863
- /**
1864
- * @param {!Array<string>} value
1865
- * @return {!proto.Spic.ConfigProto} returns this
1866
- */
1867
- proto.Spic.ConfigProto.prototype.setFromCrcsList = function(value) {
1868
- return jspb.Message.setField(this, 8, value || []);
1869
- };
1870
-
1871
-
1872
- /**
1873
- * @param {string} value
1874
- * @param {number=} opt_index
1875
- * @return {!proto.Spic.ConfigProto} returns this
1876
- */
1877
- proto.Spic.ConfigProto.prototype.addFromCrcs = function(value, opt_index) {
1878
- return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
1879
- };
1880
-
1881
-
1882
- /**
1883
- * Clears the list making it empty but non-null.
1884
- * @return {!proto.Spic.ConfigProto} returns this
1885
- */
1886
- proto.Spic.ConfigProto.prototype.clearFromCrcsList = function() {
1887
- return this.setFromCrcsList([]);
1888
- };
1889
-
1890
-
1891
- goog.object.extend(exports, proto.Spic);