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

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