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

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