@aceplus/smartace-api 3.4.0-alpha.1 → 3.4.0-alpha.4

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