@aceplus/smartace-api 3.6.0-alpha.16 → 3.6.0-alpha.17

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 -336
  223. package/spic.alarm_pb.js +0 -2562
  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 -791
  231. package/spic.cabinet_pb.js +0 -5733
  232. package/spic.cabinet_pb_service.d.ts +0 -158
  233. package/spic.cabinet_pb_service.js +0 -261
  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,1130 +0,0 @@
1
- // source: spic.history.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_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
- goog.object.extend(proto, google_protobuf_timestamp_pb);
26
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
- goog.object.extend(proto, google_api_annotations_pb);
28
- goog.exportSymbol('proto.Spic.HistoryProto', null, global);
29
- goog.exportSymbol('proto.Spic.HistoryProto.ComponentHistory', null, global);
30
- goog.exportSymbol('proto.Spic.HistoryProto.SearchReply', null, global);
31
- goog.exportSymbol('proto.Spic.HistoryProto.SearchRequest', null, global);
32
- goog.exportSymbol('proto.Spic.HistoryProto.StateSnapshot', null, global);
33
- /**
34
- * Generated by JsPbCodeGenerator.
35
- * @param {Array=} opt_data Optional initial data array, typically from a
36
- * server response, or constructed directly in Javascript. The array is used
37
- * in place and becomes part of the constructed object. It is not cloned.
38
- * If no data is provided, the constructed object will be empty, but still
39
- * valid.
40
- * @extends {jspb.Message}
41
- * @constructor
42
- */
43
- proto.Spic.HistoryProto = function(opt_data) {
44
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
45
- };
46
- goog.inherits(proto.Spic.HistoryProto, jspb.Message);
47
- if (goog.DEBUG && !COMPILED) {
48
- /**
49
- * @public
50
- * @override
51
- */
52
- proto.Spic.HistoryProto.displayName = 'proto.Spic.HistoryProto';
53
- }
54
- /**
55
- * Generated by JsPbCodeGenerator.
56
- * @param {Array=} opt_data Optional initial data array, typically from a
57
- * server response, or constructed directly in Javascript. The array is used
58
- * in place and becomes part of the constructed object. It is not cloned.
59
- * If no data is provided, the constructed object will be empty, but still
60
- * valid.
61
- * @extends {jspb.Message}
62
- * @constructor
63
- */
64
- proto.Spic.HistoryProto.StateSnapshot = function(opt_data) {
65
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
66
- };
67
- goog.inherits(proto.Spic.HistoryProto.StateSnapshot, jspb.Message);
68
- if (goog.DEBUG && !COMPILED) {
69
- /**
70
- * @public
71
- * @override
72
- */
73
- proto.Spic.HistoryProto.StateSnapshot.displayName = 'proto.Spic.HistoryProto.StateSnapshot';
74
- }
75
- /**
76
- * Generated by JsPbCodeGenerator.
77
- * @param {Array=} opt_data Optional initial data array, typically from a
78
- * server response, or constructed directly in Javascript. The array is used
79
- * in place and becomes part of the constructed object. It is not cloned.
80
- * If no data is provided, the constructed object will be empty, but still
81
- * valid.
82
- * @extends {jspb.Message}
83
- * @constructor
84
- */
85
- proto.Spic.HistoryProto.ComponentHistory = function(opt_data) {
86
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.HistoryProto.ComponentHistory.repeatedFields_, null);
87
- };
88
- goog.inherits(proto.Spic.HistoryProto.ComponentHistory, jspb.Message);
89
- if (goog.DEBUG && !COMPILED) {
90
- /**
91
- * @public
92
- * @override
93
- */
94
- proto.Spic.HistoryProto.ComponentHistory.displayName = 'proto.Spic.HistoryProto.ComponentHistory';
95
- }
96
- /**
97
- * Generated by JsPbCodeGenerator.
98
- * @param {Array=} opt_data Optional initial data array, typically from a
99
- * server response, or constructed directly in Javascript. The array is used
100
- * in place and becomes part of the constructed object. It is not cloned.
101
- * If no data is provided, the constructed object will be empty, but still
102
- * valid.
103
- * @extends {jspb.Message}
104
- * @constructor
105
- */
106
- proto.Spic.HistoryProto.SearchRequest = function(opt_data) {
107
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.HistoryProto.SearchRequest.repeatedFields_, null);
108
- };
109
- goog.inherits(proto.Spic.HistoryProto.SearchRequest, jspb.Message);
110
- if (goog.DEBUG && !COMPILED) {
111
- /**
112
- * @public
113
- * @override
114
- */
115
- proto.Spic.HistoryProto.SearchRequest.displayName = 'proto.Spic.HistoryProto.SearchRequest';
116
- }
117
- /**
118
- * Generated by JsPbCodeGenerator.
119
- * @param {Array=} opt_data Optional initial data array, typically from a
120
- * server response, or constructed directly in Javascript. The array is used
121
- * in place and becomes part of the constructed object. It is not cloned.
122
- * If no data is provided, the constructed object will be empty, but still
123
- * valid.
124
- * @extends {jspb.Message}
125
- * @constructor
126
- */
127
- proto.Spic.HistoryProto.SearchReply = function(opt_data) {
128
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
129
- };
130
- goog.inherits(proto.Spic.HistoryProto.SearchReply, jspb.Message);
131
- if (goog.DEBUG && !COMPILED) {
132
- /**
133
- * @public
134
- * @override
135
- */
136
- proto.Spic.HistoryProto.SearchReply.displayName = 'proto.Spic.HistoryProto.SearchReply';
137
- }
138
-
139
-
140
-
141
- if (jspb.Message.GENERATE_TO_OBJECT) {
142
- /**
143
- * Creates an object representation of this proto.
144
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
145
- * Optional fields that are not set will be set to undefined.
146
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
147
- * For the list of reserved names please see:
148
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
149
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
150
- * JSPB instance for transitional soy proto support:
151
- * http://goto/soy-param-migration
152
- * @return {!Object}
153
- */
154
- proto.Spic.HistoryProto.prototype.toObject = function(opt_includeInstance) {
155
- return proto.Spic.HistoryProto.toObject(opt_includeInstance, this);
156
- };
157
-
158
-
159
- /**
160
- * Static version of the {@see toObject} method.
161
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
162
- * the JSPB instance for transitional soy proto support:
163
- * http://goto/soy-param-migration
164
- * @param {!proto.Spic.HistoryProto} msg The msg instance to transform.
165
- * @return {!Object}
166
- * @suppress {unusedLocalVariables} f is only used for nested messages
167
- */
168
- proto.Spic.HistoryProto.toObject = function(includeInstance, msg) {
169
- var f, obj = {
170
-
171
- };
172
-
173
- if (includeInstance) {
174
- obj.$jspbMessageInstance = msg;
175
- }
176
- return obj;
177
- };
178
- }
179
-
180
-
181
- /**
182
- * Deserializes binary data (in protobuf wire format).
183
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
184
- * @return {!proto.Spic.HistoryProto}
185
- */
186
- proto.Spic.HistoryProto.deserializeBinary = function(bytes) {
187
- var reader = new jspb.BinaryReader(bytes);
188
- var msg = new proto.Spic.HistoryProto;
189
- return proto.Spic.HistoryProto.deserializeBinaryFromReader(msg, reader);
190
- };
191
-
192
-
193
- /**
194
- * Deserializes binary data (in protobuf wire format) from the
195
- * given reader into the given message object.
196
- * @param {!proto.Spic.HistoryProto} msg The message object to deserialize into.
197
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
198
- * @return {!proto.Spic.HistoryProto}
199
- */
200
- proto.Spic.HistoryProto.deserializeBinaryFromReader = function(msg, reader) {
201
- while (reader.nextField()) {
202
- if (reader.isEndGroup()) {
203
- break;
204
- }
205
- var field = reader.getFieldNumber();
206
- switch (field) {
207
- default:
208
- reader.skipField();
209
- break;
210
- }
211
- }
212
- return msg;
213
- };
214
-
215
-
216
- /**
217
- * Serializes the message to binary data (in protobuf wire format).
218
- * @return {!Uint8Array}
219
- */
220
- proto.Spic.HistoryProto.prototype.serializeBinary = function() {
221
- var writer = new jspb.BinaryWriter();
222
- proto.Spic.HistoryProto.serializeBinaryToWriter(this, writer);
223
- return writer.getResultBuffer();
224
- };
225
-
226
-
227
- /**
228
- * Serializes the given message to binary data (in protobuf wire
229
- * format), writing to the given BinaryWriter.
230
- * @param {!proto.Spic.HistoryProto} message
231
- * @param {!jspb.BinaryWriter} writer
232
- * @suppress {unusedLocalVariables} f is only used for nested messages
233
- */
234
- proto.Spic.HistoryProto.serializeBinaryToWriter = function(message, writer) {
235
- var f = undefined;
236
- };
237
-
238
-
239
-
240
-
241
-
242
- if (jspb.Message.GENERATE_TO_OBJECT) {
243
- /**
244
- * Creates an object representation of this proto.
245
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
246
- * Optional fields that are not set will be set to undefined.
247
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
248
- * For the list of reserved names please see:
249
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
250
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
251
- * JSPB instance for transitional soy proto support:
252
- * http://goto/soy-param-migration
253
- * @return {!Object}
254
- */
255
- proto.Spic.HistoryProto.StateSnapshot.prototype.toObject = function(opt_includeInstance) {
256
- return proto.Spic.HistoryProto.StateSnapshot.toObject(opt_includeInstance, this);
257
- };
258
-
259
-
260
- /**
261
- * Static version of the {@see toObject} method.
262
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
263
- * the JSPB instance for transitional soy proto support:
264
- * http://goto/soy-param-migration
265
- * @param {!proto.Spic.HistoryProto.StateSnapshot} msg The msg instance to transform.
266
- * @return {!Object}
267
- * @suppress {unusedLocalVariables} f is only used for nested messages
268
- */
269
- proto.Spic.HistoryProto.StateSnapshot.toObject = function(includeInstance, msg) {
270
- var f, obj = {
271
- value: jspb.Message.getFieldWithDefault(msg, 1, ""),
272
- metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [],
273
- dateTime: (f = msg.getDateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
274
- };
275
-
276
- if (includeInstance) {
277
- obj.$jspbMessageInstance = msg;
278
- }
279
- return obj;
280
- };
281
- }
282
-
283
-
284
- /**
285
- * Deserializes binary data (in protobuf wire format).
286
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
287
- * @return {!proto.Spic.HistoryProto.StateSnapshot}
288
- */
289
- proto.Spic.HistoryProto.StateSnapshot.deserializeBinary = function(bytes) {
290
- var reader = new jspb.BinaryReader(bytes);
291
- var msg = new proto.Spic.HistoryProto.StateSnapshot;
292
- return proto.Spic.HistoryProto.StateSnapshot.deserializeBinaryFromReader(msg, reader);
293
- };
294
-
295
-
296
- /**
297
- * Deserializes binary data (in protobuf wire format) from the
298
- * given reader into the given message object.
299
- * @param {!proto.Spic.HistoryProto.StateSnapshot} msg The message object to deserialize into.
300
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
301
- * @return {!proto.Spic.HistoryProto.StateSnapshot}
302
- */
303
- proto.Spic.HistoryProto.StateSnapshot.deserializeBinaryFromReader = function(msg, reader) {
304
- while (reader.nextField()) {
305
- if (reader.isEndGroup()) {
306
- break;
307
- }
308
- var field = reader.getFieldNumber();
309
- switch (field) {
310
- case 1:
311
- var value = /** @type {string} */ (reader.readString());
312
- msg.setValue(value);
313
- break;
314
- case 2:
315
- var value = msg.getMetadataMap();
316
- reader.readMessage(value, function(message, reader) {
317
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
318
- });
319
- break;
320
- case 3:
321
- var value = new google_protobuf_timestamp_pb.Timestamp;
322
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
323
- msg.setDateTime(value);
324
- break;
325
- default:
326
- reader.skipField();
327
- break;
328
- }
329
- }
330
- return msg;
331
- };
332
-
333
-
334
- /**
335
- * Serializes the message to binary data (in protobuf wire format).
336
- * @return {!Uint8Array}
337
- */
338
- proto.Spic.HistoryProto.StateSnapshot.prototype.serializeBinary = function() {
339
- var writer = new jspb.BinaryWriter();
340
- proto.Spic.HistoryProto.StateSnapshot.serializeBinaryToWriter(this, writer);
341
- return writer.getResultBuffer();
342
- };
343
-
344
-
345
- /**
346
- * Serializes the given message to binary data (in protobuf wire
347
- * format), writing to the given BinaryWriter.
348
- * @param {!proto.Spic.HistoryProto.StateSnapshot} message
349
- * @param {!jspb.BinaryWriter} writer
350
- * @suppress {unusedLocalVariables} f is only used for nested messages
351
- */
352
- proto.Spic.HistoryProto.StateSnapshot.serializeBinaryToWriter = function(message, writer) {
353
- var f = undefined;
354
- f = message.getValue();
355
- if (f.length > 0) {
356
- writer.writeString(
357
- 1,
358
- f
359
- );
360
- }
361
- f = message.getMetadataMap(true);
362
- if (f && f.getLength() > 0) {
363
- f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
364
- }
365
- f = message.getDateTime();
366
- if (f != null) {
367
- writer.writeMessage(
368
- 3,
369
- f,
370
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
371
- );
372
- }
373
- };
374
-
375
-
376
- /**
377
- * optional string value = 1;
378
- * @return {string}
379
- */
380
- proto.Spic.HistoryProto.StateSnapshot.prototype.getValue = function() {
381
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
382
- };
383
-
384
-
385
- /**
386
- * @param {string} value
387
- * @return {!proto.Spic.HistoryProto.StateSnapshot} returns this
388
- */
389
- proto.Spic.HistoryProto.StateSnapshot.prototype.setValue = function(value) {
390
- return jspb.Message.setProto3StringField(this, 1, value);
391
- };
392
-
393
-
394
- /**
395
- * map<string, string> metadata = 2;
396
- * @param {boolean=} opt_noLazyCreate Do not create the map if
397
- * empty, instead returning `undefined`
398
- * @return {!jspb.Map<string,string>}
399
- */
400
- proto.Spic.HistoryProto.StateSnapshot.prototype.getMetadataMap = function(opt_noLazyCreate) {
401
- return /** @type {!jspb.Map<string,string>} */ (
402
- jspb.Message.getMapField(this, 2, opt_noLazyCreate,
403
- null));
404
- };
405
-
406
-
407
- /**
408
- * Clears values from the map. The map will be non-null.
409
- * @return {!proto.Spic.HistoryProto.StateSnapshot} returns this
410
- */
411
- proto.Spic.HistoryProto.StateSnapshot.prototype.clearMetadataMap = function() {
412
- this.getMetadataMap().clear();
413
- return this;
414
- };
415
-
416
-
417
- /**
418
- * optional google.protobuf.Timestamp date_time = 3;
419
- * @return {?proto.google.protobuf.Timestamp}
420
- */
421
- proto.Spic.HistoryProto.StateSnapshot.prototype.getDateTime = function() {
422
- return /** @type{?proto.google.protobuf.Timestamp} */ (
423
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
424
- };
425
-
426
-
427
- /**
428
- * @param {?proto.google.protobuf.Timestamp|undefined} value
429
- * @return {!proto.Spic.HistoryProto.StateSnapshot} returns this
430
- */
431
- proto.Spic.HistoryProto.StateSnapshot.prototype.setDateTime = function(value) {
432
- return jspb.Message.setWrapperField(this, 3, value);
433
- };
434
-
435
-
436
- /**
437
- * Clears the message field making it undefined.
438
- * @return {!proto.Spic.HistoryProto.StateSnapshot} returns this
439
- */
440
- proto.Spic.HistoryProto.StateSnapshot.prototype.clearDateTime = function() {
441
- return this.setDateTime(undefined);
442
- };
443
-
444
-
445
- /**
446
- * Returns whether this field is set.
447
- * @return {boolean}
448
- */
449
- proto.Spic.HistoryProto.StateSnapshot.prototype.hasDateTime = function() {
450
- return jspb.Message.getField(this, 3) != null;
451
- };
452
-
453
-
454
-
455
- /**
456
- * List of repeated fields within this message type.
457
- * @private {!Array<number>}
458
- * @const
459
- */
460
- proto.Spic.HistoryProto.ComponentHistory.repeatedFields_ = [1];
461
-
462
-
463
-
464
- if (jspb.Message.GENERATE_TO_OBJECT) {
465
- /**
466
- * Creates an object representation of this proto.
467
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
468
- * Optional fields that are not set will be set to undefined.
469
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
470
- * For the list of reserved names please see:
471
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
472
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
473
- * JSPB instance for transitional soy proto support:
474
- * http://goto/soy-param-migration
475
- * @return {!Object}
476
- */
477
- proto.Spic.HistoryProto.ComponentHistory.prototype.toObject = function(opt_includeInstance) {
478
- return proto.Spic.HistoryProto.ComponentHistory.toObject(opt_includeInstance, this);
479
- };
480
-
481
-
482
- /**
483
- * Static version of the {@see toObject} method.
484
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
485
- * the JSPB instance for transitional soy proto support:
486
- * http://goto/soy-param-migration
487
- * @param {!proto.Spic.HistoryProto.ComponentHistory} msg The msg instance to transform.
488
- * @return {!Object}
489
- * @suppress {unusedLocalVariables} f is only used for nested messages
490
- */
491
- proto.Spic.HistoryProto.ComponentHistory.toObject = function(includeInstance, msg) {
492
- var f, obj = {
493
- statesList: jspb.Message.toObjectList(msg.getStatesList(),
494
- proto.Spic.HistoryProto.StateSnapshot.toObject, includeInstance),
495
- componentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
496
- componentClass: jspb.Message.getFieldWithDefault(msg, 3, ""),
497
- attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, undefined) : [],
498
- initialValue: jspb.Message.getFieldWithDefault(msg, 5, "")
499
- };
500
-
501
- if (includeInstance) {
502
- obj.$jspbMessageInstance = msg;
503
- }
504
- return obj;
505
- };
506
- }
507
-
508
-
509
- /**
510
- * Deserializes binary data (in protobuf wire format).
511
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
512
- * @return {!proto.Spic.HistoryProto.ComponentHistory}
513
- */
514
- proto.Spic.HistoryProto.ComponentHistory.deserializeBinary = function(bytes) {
515
- var reader = new jspb.BinaryReader(bytes);
516
- var msg = new proto.Spic.HistoryProto.ComponentHistory;
517
- return proto.Spic.HistoryProto.ComponentHistory.deserializeBinaryFromReader(msg, reader);
518
- };
519
-
520
-
521
- /**
522
- * Deserializes binary data (in protobuf wire format) from the
523
- * given reader into the given message object.
524
- * @param {!proto.Spic.HistoryProto.ComponentHistory} msg The message object to deserialize into.
525
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
526
- * @return {!proto.Spic.HistoryProto.ComponentHistory}
527
- */
528
- proto.Spic.HistoryProto.ComponentHistory.deserializeBinaryFromReader = function(msg, reader) {
529
- while (reader.nextField()) {
530
- if (reader.isEndGroup()) {
531
- break;
532
- }
533
- var field = reader.getFieldNumber();
534
- switch (field) {
535
- case 1:
536
- var value = new proto.Spic.HistoryProto.StateSnapshot;
537
- reader.readMessage(value,proto.Spic.HistoryProto.StateSnapshot.deserializeBinaryFromReader);
538
- msg.addStates(value);
539
- break;
540
- case 2:
541
- var value = /** @type {string} */ (reader.readString());
542
- msg.setComponentId(value);
543
- break;
544
- case 3:
545
- var value = /** @type {string} */ (reader.readString());
546
- msg.setComponentClass(value);
547
- break;
548
- case 4:
549
- var value = msg.getAttributesMap();
550
- reader.readMessage(value, function(message, reader) {
551
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
552
- });
553
- break;
554
- case 5:
555
- var value = /** @type {string} */ (reader.readString());
556
- msg.setInitialValue(value);
557
- break;
558
- default:
559
- reader.skipField();
560
- break;
561
- }
562
- }
563
- return msg;
564
- };
565
-
566
-
567
- /**
568
- * Serializes the message to binary data (in protobuf wire format).
569
- * @return {!Uint8Array}
570
- */
571
- proto.Spic.HistoryProto.ComponentHistory.prototype.serializeBinary = function() {
572
- var writer = new jspb.BinaryWriter();
573
- proto.Spic.HistoryProto.ComponentHistory.serializeBinaryToWriter(this, writer);
574
- return writer.getResultBuffer();
575
- };
576
-
577
-
578
- /**
579
- * Serializes the given message to binary data (in protobuf wire
580
- * format), writing to the given BinaryWriter.
581
- * @param {!proto.Spic.HistoryProto.ComponentHistory} message
582
- * @param {!jspb.BinaryWriter} writer
583
- * @suppress {unusedLocalVariables} f is only used for nested messages
584
- */
585
- proto.Spic.HistoryProto.ComponentHistory.serializeBinaryToWriter = function(message, writer) {
586
- var f = undefined;
587
- f = message.getStatesList();
588
- if (f.length > 0) {
589
- writer.writeRepeatedMessage(
590
- 1,
591
- f,
592
- proto.Spic.HistoryProto.StateSnapshot.serializeBinaryToWriter
593
- );
594
- }
595
- f = message.getComponentId();
596
- if (f.length > 0) {
597
- writer.writeString(
598
- 2,
599
- f
600
- );
601
- }
602
- f = message.getComponentClass();
603
- if (f.length > 0) {
604
- writer.writeString(
605
- 3,
606
- f
607
- );
608
- }
609
- f = message.getAttributesMap(true);
610
- if (f && f.getLength() > 0) {
611
- f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
612
- }
613
- f = message.getInitialValue();
614
- if (f.length > 0) {
615
- writer.writeString(
616
- 5,
617
- f
618
- );
619
- }
620
- };
621
-
622
-
623
- /**
624
- * repeated StateSnapshot states = 1;
625
- * @return {!Array<!proto.Spic.HistoryProto.StateSnapshot>}
626
- */
627
- proto.Spic.HistoryProto.ComponentHistory.prototype.getStatesList = function() {
628
- return /** @type{!Array<!proto.Spic.HistoryProto.StateSnapshot>} */ (
629
- jspb.Message.getRepeatedWrapperField(this, proto.Spic.HistoryProto.StateSnapshot, 1));
630
- };
631
-
632
-
633
- /**
634
- * @param {!Array<!proto.Spic.HistoryProto.StateSnapshot>} value
635
- * @return {!proto.Spic.HistoryProto.ComponentHistory} returns this
636
- */
637
- proto.Spic.HistoryProto.ComponentHistory.prototype.setStatesList = function(value) {
638
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
639
- };
640
-
641
-
642
- /**
643
- * @param {!proto.Spic.HistoryProto.StateSnapshot=} opt_value
644
- * @param {number=} opt_index
645
- * @return {!proto.Spic.HistoryProto.StateSnapshot}
646
- */
647
- proto.Spic.HistoryProto.ComponentHistory.prototype.addStates = function(opt_value, opt_index) {
648
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Spic.HistoryProto.StateSnapshot, opt_index);
649
- };
650
-
651
-
652
- /**
653
- * Clears the list making it empty but non-null.
654
- * @return {!proto.Spic.HistoryProto.ComponentHistory} returns this
655
- */
656
- proto.Spic.HistoryProto.ComponentHistory.prototype.clearStatesList = function() {
657
- return this.setStatesList([]);
658
- };
659
-
660
-
661
- /**
662
- * optional string component_id = 2;
663
- * @return {string}
664
- */
665
- proto.Spic.HistoryProto.ComponentHistory.prototype.getComponentId = function() {
666
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
667
- };
668
-
669
-
670
- /**
671
- * @param {string} value
672
- * @return {!proto.Spic.HistoryProto.ComponentHistory} returns this
673
- */
674
- proto.Spic.HistoryProto.ComponentHistory.prototype.setComponentId = function(value) {
675
- return jspb.Message.setProto3StringField(this, 2, value);
676
- };
677
-
678
-
679
- /**
680
- * optional string component_class = 3;
681
- * @return {string}
682
- */
683
- proto.Spic.HistoryProto.ComponentHistory.prototype.getComponentClass = function() {
684
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
685
- };
686
-
687
-
688
- /**
689
- * @param {string} value
690
- * @return {!proto.Spic.HistoryProto.ComponentHistory} returns this
691
- */
692
- proto.Spic.HistoryProto.ComponentHistory.prototype.setComponentClass = function(value) {
693
- return jspb.Message.setProto3StringField(this, 3, value);
694
- };
695
-
696
-
697
- /**
698
- * map<string, string> attributes = 4;
699
- * @param {boolean=} opt_noLazyCreate Do not create the map if
700
- * empty, instead returning `undefined`
701
- * @return {!jspb.Map<string,string>}
702
- */
703
- proto.Spic.HistoryProto.ComponentHistory.prototype.getAttributesMap = function(opt_noLazyCreate) {
704
- return /** @type {!jspb.Map<string,string>} */ (
705
- jspb.Message.getMapField(this, 4, opt_noLazyCreate,
706
- null));
707
- };
708
-
709
-
710
- /**
711
- * Clears values from the map. The map will be non-null.
712
- * @return {!proto.Spic.HistoryProto.ComponentHistory} returns this
713
- */
714
- proto.Spic.HistoryProto.ComponentHistory.prototype.clearAttributesMap = function() {
715
- this.getAttributesMap().clear();
716
- return this;
717
- };
718
-
719
-
720
- /**
721
- * optional string initial_value = 5;
722
- * @return {string}
723
- */
724
- proto.Spic.HistoryProto.ComponentHistory.prototype.getInitialValue = function() {
725
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
726
- };
727
-
728
-
729
- /**
730
- * @param {string} value
731
- * @return {!proto.Spic.HistoryProto.ComponentHistory} returns this
732
- */
733
- proto.Spic.HistoryProto.ComponentHistory.prototype.setInitialValue = function(value) {
734
- return jspb.Message.setProto3StringField(this, 5, value);
735
- };
736
-
737
-
738
-
739
- /**
740
- * List of repeated fields within this message type.
741
- * @private {!Array<number>}
742
- * @const
743
- */
744
- proto.Spic.HistoryProto.SearchRequest.repeatedFields_ = [1];
745
-
746
-
747
-
748
- if (jspb.Message.GENERATE_TO_OBJECT) {
749
- /**
750
- * Creates an object representation of this proto.
751
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
752
- * Optional fields that are not set will be set to undefined.
753
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
754
- * For the list of reserved names please see:
755
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
756
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
757
- * JSPB instance for transitional soy proto support:
758
- * http://goto/soy-param-migration
759
- * @return {!Object}
760
- */
761
- proto.Spic.HistoryProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
762
- return proto.Spic.HistoryProto.SearchRequest.toObject(opt_includeInstance, this);
763
- };
764
-
765
-
766
- /**
767
- * Static version of the {@see toObject} method.
768
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
769
- * the JSPB instance for transitional soy proto support:
770
- * http://goto/soy-param-migration
771
- * @param {!proto.Spic.HistoryProto.SearchRequest} msg The msg instance to transform.
772
- * @return {!Object}
773
- * @suppress {unusedLocalVariables} f is only used for nested messages
774
- */
775
- proto.Spic.HistoryProto.SearchRequest.toObject = function(includeInstance, msg) {
776
- var f, obj = {
777
- componentIdList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
778
- dateFrom: (f = msg.getDateFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
779
- dateTo: (f = msg.getDateTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
780
- };
781
-
782
- if (includeInstance) {
783
- obj.$jspbMessageInstance = msg;
784
- }
785
- return obj;
786
- };
787
- }
788
-
789
-
790
- /**
791
- * Deserializes binary data (in protobuf wire format).
792
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
793
- * @return {!proto.Spic.HistoryProto.SearchRequest}
794
- */
795
- proto.Spic.HistoryProto.SearchRequest.deserializeBinary = function(bytes) {
796
- var reader = new jspb.BinaryReader(bytes);
797
- var msg = new proto.Spic.HistoryProto.SearchRequest;
798
- return proto.Spic.HistoryProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
799
- };
800
-
801
-
802
- /**
803
- * Deserializes binary data (in protobuf wire format) from the
804
- * given reader into the given message object.
805
- * @param {!proto.Spic.HistoryProto.SearchRequest} msg The message object to deserialize into.
806
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
807
- * @return {!proto.Spic.HistoryProto.SearchRequest}
808
- */
809
- proto.Spic.HistoryProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
810
- while (reader.nextField()) {
811
- if (reader.isEndGroup()) {
812
- break;
813
- }
814
- var field = reader.getFieldNumber();
815
- switch (field) {
816
- case 1:
817
- var value = /** @type {string} */ (reader.readString());
818
- msg.addComponentId(value);
819
- break;
820
- case 2:
821
- var value = new google_protobuf_timestamp_pb.Timestamp;
822
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
823
- msg.setDateFrom(value);
824
- break;
825
- case 3:
826
- var value = new google_protobuf_timestamp_pb.Timestamp;
827
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
828
- msg.setDateTo(value);
829
- break;
830
- default:
831
- reader.skipField();
832
- break;
833
- }
834
- }
835
- return msg;
836
- };
837
-
838
-
839
- /**
840
- * Serializes the message to binary data (in protobuf wire format).
841
- * @return {!Uint8Array}
842
- */
843
- proto.Spic.HistoryProto.SearchRequest.prototype.serializeBinary = function() {
844
- var writer = new jspb.BinaryWriter();
845
- proto.Spic.HistoryProto.SearchRequest.serializeBinaryToWriter(this, writer);
846
- return writer.getResultBuffer();
847
- };
848
-
849
-
850
- /**
851
- * Serializes the given message to binary data (in protobuf wire
852
- * format), writing to the given BinaryWriter.
853
- * @param {!proto.Spic.HistoryProto.SearchRequest} message
854
- * @param {!jspb.BinaryWriter} writer
855
- * @suppress {unusedLocalVariables} f is only used for nested messages
856
- */
857
- proto.Spic.HistoryProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
858
- var f = undefined;
859
- f = message.getComponentIdList();
860
- if (f.length > 0) {
861
- writer.writeRepeatedString(
862
- 1,
863
- f
864
- );
865
- }
866
- f = message.getDateFrom();
867
- if (f != null) {
868
- writer.writeMessage(
869
- 2,
870
- f,
871
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
872
- );
873
- }
874
- f = message.getDateTo();
875
- if (f != null) {
876
- writer.writeMessage(
877
- 3,
878
- f,
879
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
880
- );
881
- }
882
- };
883
-
884
-
885
- /**
886
- * repeated string component_id = 1;
887
- * @return {!Array<string>}
888
- */
889
- proto.Spic.HistoryProto.SearchRequest.prototype.getComponentIdList = function() {
890
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
891
- };
892
-
893
-
894
- /**
895
- * @param {!Array<string>} value
896
- * @return {!proto.Spic.HistoryProto.SearchRequest} returns this
897
- */
898
- proto.Spic.HistoryProto.SearchRequest.prototype.setComponentIdList = function(value) {
899
- return jspb.Message.setField(this, 1, value || []);
900
- };
901
-
902
-
903
- /**
904
- * @param {string} value
905
- * @param {number=} opt_index
906
- * @return {!proto.Spic.HistoryProto.SearchRequest} returns this
907
- */
908
- proto.Spic.HistoryProto.SearchRequest.prototype.addComponentId = function(value, opt_index) {
909
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
910
- };
911
-
912
-
913
- /**
914
- * Clears the list making it empty but non-null.
915
- * @return {!proto.Spic.HistoryProto.SearchRequest} returns this
916
- */
917
- proto.Spic.HistoryProto.SearchRequest.prototype.clearComponentIdList = function() {
918
- return this.setComponentIdList([]);
919
- };
920
-
921
-
922
- /**
923
- * optional google.protobuf.Timestamp date_from = 2;
924
- * @return {?proto.google.protobuf.Timestamp}
925
- */
926
- proto.Spic.HistoryProto.SearchRequest.prototype.getDateFrom = function() {
927
- return /** @type{?proto.google.protobuf.Timestamp} */ (
928
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
929
- };
930
-
931
-
932
- /**
933
- * @param {?proto.google.protobuf.Timestamp|undefined} value
934
- * @return {!proto.Spic.HistoryProto.SearchRequest} returns this
935
- */
936
- proto.Spic.HistoryProto.SearchRequest.prototype.setDateFrom = function(value) {
937
- return jspb.Message.setWrapperField(this, 2, value);
938
- };
939
-
940
-
941
- /**
942
- * Clears the message field making it undefined.
943
- * @return {!proto.Spic.HistoryProto.SearchRequest} returns this
944
- */
945
- proto.Spic.HistoryProto.SearchRequest.prototype.clearDateFrom = function() {
946
- return this.setDateFrom(undefined);
947
- };
948
-
949
-
950
- /**
951
- * Returns whether this field is set.
952
- * @return {boolean}
953
- */
954
- proto.Spic.HistoryProto.SearchRequest.prototype.hasDateFrom = function() {
955
- return jspb.Message.getField(this, 2) != null;
956
- };
957
-
958
-
959
- /**
960
- * optional google.protobuf.Timestamp date_to = 3;
961
- * @return {?proto.google.protobuf.Timestamp}
962
- */
963
- proto.Spic.HistoryProto.SearchRequest.prototype.getDateTo = function() {
964
- return /** @type{?proto.google.protobuf.Timestamp} */ (
965
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
966
- };
967
-
968
-
969
- /**
970
- * @param {?proto.google.protobuf.Timestamp|undefined} value
971
- * @return {!proto.Spic.HistoryProto.SearchRequest} returns this
972
- */
973
- proto.Spic.HistoryProto.SearchRequest.prototype.setDateTo = function(value) {
974
- return jspb.Message.setWrapperField(this, 3, value);
975
- };
976
-
977
-
978
- /**
979
- * Clears the message field making it undefined.
980
- * @return {!proto.Spic.HistoryProto.SearchRequest} returns this
981
- */
982
- proto.Spic.HistoryProto.SearchRequest.prototype.clearDateTo = function() {
983
- return this.setDateTo(undefined);
984
- };
985
-
986
-
987
- /**
988
- * Returns whether this field is set.
989
- * @return {boolean}
990
- */
991
- proto.Spic.HistoryProto.SearchRequest.prototype.hasDateTo = function() {
992
- return jspb.Message.getField(this, 3) != null;
993
- };
994
-
995
-
996
-
997
-
998
-
999
- if (jspb.Message.GENERATE_TO_OBJECT) {
1000
- /**
1001
- * Creates an object representation of this proto.
1002
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1003
- * Optional fields that are not set will be set to undefined.
1004
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1005
- * For the list of reserved names please see:
1006
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1007
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1008
- * JSPB instance for transitional soy proto support:
1009
- * http://goto/soy-param-migration
1010
- * @return {!Object}
1011
- */
1012
- proto.Spic.HistoryProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1013
- return proto.Spic.HistoryProto.SearchReply.toObject(opt_includeInstance, this);
1014
- };
1015
-
1016
-
1017
- /**
1018
- * Static version of the {@see toObject} method.
1019
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1020
- * the JSPB instance for transitional soy proto support:
1021
- * http://goto/soy-param-migration
1022
- * @param {!proto.Spic.HistoryProto.SearchReply} msg The msg instance to transform.
1023
- * @return {!Object}
1024
- * @suppress {unusedLocalVariables} f is only used for nested messages
1025
- */
1026
- proto.Spic.HistoryProto.SearchReply.toObject = function(includeInstance, msg) {
1027
- var f, obj = {
1028
- componentsMap: (f = msg.getComponentsMap()) ? f.toObject(includeInstance, proto.Spic.HistoryProto.ComponentHistory.toObject) : []
1029
- };
1030
-
1031
- if (includeInstance) {
1032
- obj.$jspbMessageInstance = msg;
1033
- }
1034
- return obj;
1035
- };
1036
- }
1037
-
1038
-
1039
- /**
1040
- * Deserializes binary data (in protobuf wire format).
1041
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1042
- * @return {!proto.Spic.HistoryProto.SearchReply}
1043
- */
1044
- proto.Spic.HistoryProto.SearchReply.deserializeBinary = function(bytes) {
1045
- var reader = new jspb.BinaryReader(bytes);
1046
- var msg = new proto.Spic.HistoryProto.SearchReply;
1047
- return proto.Spic.HistoryProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1048
- };
1049
-
1050
-
1051
- /**
1052
- * Deserializes binary data (in protobuf wire format) from the
1053
- * given reader into the given message object.
1054
- * @param {!proto.Spic.HistoryProto.SearchReply} msg The message object to deserialize into.
1055
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1056
- * @return {!proto.Spic.HistoryProto.SearchReply}
1057
- */
1058
- proto.Spic.HistoryProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1059
- while (reader.nextField()) {
1060
- if (reader.isEndGroup()) {
1061
- break;
1062
- }
1063
- var field = reader.getFieldNumber();
1064
- switch (field) {
1065
- case 1:
1066
- var value = msg.getComponentsMap();
1067
- reader.readMessage(value, function(message, reader) {
1068
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.Spic.HistoryProto.ComponentHistory.deserializeBinaryFromReader, "", new proto.Spic.HistoryProto.ComponentHistory());
1069
- });
1070
- break;
1071
- default:
1072
- reader.skipField();
1073
- break;
1074
- }
1075
- }
1076
- return msg;
1077
- };
1078
-
1079
-
1080
- /**
1081
- * Serializes the message to binary data (in protobuf wire format).
1082
- * @return {!Uint8Array}
1083
- */
1084
- proto.Spic.HistoryProto.SearchReply.prototype.serializeBinary = function() {
1085
- var writer = new jspb.BinaryWriter();
1086
- proto.Spic.HistoryProto.SearchReply.serializeBinaryToWriter(this, writer);
1087
- return writer.getResultBuffer();
1088
- };
1089
-
1090
-
1091
- /**
1092
- * Serializes the given message to binary data (in protobuf wire
1093
- * format), writing to the given BinaryWriter.
1094
- * @param {!proto.Spic.HistoryProto.SearchReply} message
1095
- * @param {!jspb.BinaryWriter} writer
1096
- * @suppress {unusedLocalVariables} f is only used for nested messages
1097
- */
1098
- proto.Spic.HistoryProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1099
- var f = undefined;
1100
- f = message.getComponentsMap(true);
1101
- if (f && f.getLength() > 0) {
1102
- f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.Spic.HistoryProto.ComponentHistory.serializeBinaryToWriter);
1103
- }
1104
- };
1105
-
1106
-
1107
- /**
1108
- * map<string, ComponentHistory> components = 1;
1109
- * @param {boolean=} opt_noLazyCreate Do not create the map if
1110
- * empty, instead returning `undefined`
1111
- * @return {!jspb.Map<string,!proto.Spic.HistoryProto.ComponentHistory>}
1112
- */
1113
- proto.Spic.HistoryProto.SearchReply.prototype.getComponentsMap = function(opt_noLazyCreate) {
1114
- return /** @type {!jspb.Map<string,!proto.Spic.HistoryProto.ComponentHistory>} */ (
1115
- jspb.Message.getMapField(this, 1, opt_noLazyCreate,
1116
- proto.Spic.HistoryProto.ComponentHistory));
1117
- };
1118
-
1119
-
1120
- /**
1121
- * Clears values from the map. The map will be non-null.
1122
- * @return {!proto.Spic.HistoryProto.SearchReply} returns this
1123
- */
1124
- proto.Spic.HistoryProto.SearchReply.prototype.clearComponentsMap = function() {
1125
- this.getComponentsMap().clear();
1126
- return this;
1127
- };
1128
-
1129
-
1130
- goog.object.extend(exports, proto.Spic);