@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,1289 @@
1
+ // source: auth.push_notification.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
+ goog.object.extend(proto, google_protobuf_empty_pb);
26
+ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
+ goog.object.extend(proto, google_api_annotations_pb);
28
+ goog.exportSymbol('proto.Auth.PushNotificationProto', null, global);
29
+ goog.exportSymbol('proto.Auth.PushNotificationProto.ActiveRequest', null, global);
30
+ goog.exportSymbol('proto.Auth.PushNotificationProto.ExpiredOpeningRequest', null, global);
31
+ goog.exportSymbol('proto.Auth.PushNotificationProto.InfoPushRequest', null, global);
32
+ goog.exportSymbol('proto.Auth.PushNotificationProto.OpenRequest', null, global);
33
+ goog.exportSymbol('proto.Auth.PushNotificationProto.PushType', null, global);
34
+ goog.exportSymbol('proto.Auth.PushNotificationProto.Tag', null, global);
35
+ /**
36
+ * Generated by JsPbCodeGenerator.
37
+ * @param {Array=} opt_data Optional initial data array, typically from a
38
+ * server response, or constructed directly in Javascript. The array is used
39
+ * in place and becomes part of the constructed object. It is not cloned.
40
+ * If no data is provided, the constructed object will be empty, but still
41
+ * valid.
42
+ * @extends {jspb.Message}
43
+ * @constructor
44
+ */
45
+ proto.Auth.PushNotificationProto = function(opt_data) {
46
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
47
+ };
48
+ goog.inherits(proto.Auth.PushNotificationProto, jspb.Message);
49
+ if (goog.DEBUG && !COMPILED) {
50
+ /**
51
+ * @public
52
+ * @override
53
+ */
54
+ proto.Auth.PushNotificationProto.displayName = 'proto.Auth.PushNotificationProto';
55
+ }
56
+ /**
57
+ * Generated by JsPbCodeGenerator.
58
+ * @param {Array=} opt_data Optional initial data array, typically from a
59
+ * server response, or constructed directly in Javascript. The array is used
60
+ * in place and becomes part of the constructed object. It is not cloned.
61
+ * If no data is provided, the constructed object will be empty, but still
62
+ * valid.
63
+ * @extends {jspb.Message}
64
+ * @constructor
65
+ */
66
+ proto.Auth.PushNotificationProto.OpenRequest = function(opt_data) {
67
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
68
+ };
69
+ goog.inherits(proto.Auth.PushNotificationProto.OpenRequest, jspb.Message);
70
+ if (goog.DEBUG && !COMPILED) {
71
+ /**
72
+ * @public
73
+ * @override
74
+ */
75
+ proto.Auth.PushNotificationProto.OpenRequest.displayName = 'proto.Auth.PushNotificationProto.OpenRequest';
76
+ }
77
+ /**
78
+ * Generated by JsPbCodeGenerator.
79
+ * @param {Array=} opt_data Optional initial data array, typically from a
80
+ * server response, or constructed directly in Javascript. The array is used
81
+ * in place and becomes part of the constructed object. It is not cloned.
82
+ * If no data is provided, the constructed object will be empty, but still
83
+ * valid.
84
+ * @extends {jspb.Message}
85
+ * @constructor
86
+ */
87
+ proto.Auth.PushNotificationProto.ActiveRequest = function(opt_data) {
88
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
89
+ };
90
+ goog.inherits(proto.Auth.PushNotificationProto.ActiveRequest, jspb.Message);
91
+ if (goog.DEBUG && !COMPILED) {
92
+ /**
93
+ * @public
94
+ * @override
95
+ */
96
+ proto.Auth.PushNotificationProto.ActiveRequest.displayName = 'proto.Auth.PushNotificationProto.ActiveRequest';
97
+ }
98
+ /**
99
+ * Generated by JsPbCodeGenerator.
100
+ * @param {Array=} opt_data Optional initial data array, typically from a
101
+ * server response, or constructed directly in Javascript. The array is used
102
+ * in place and becomes part of the constructed object. It is not cloned.
103
+ * If no data is provided, the constructed object will be empty, but still
104
+ * valid.
105
+ * @extends {jspb.Message}
106
+ * @constructor
107
+ */
108
+ proto.Auth.PushNotificationProto.InfoPushRequest = function(opt_data) {
109
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
110
+ };
111
+ goog.inherits(proto.Auth.PushNotificationProto.InfoPushRequest, jspb.Message);
112
+ if (goog.DEBUG && !COMPILED) {
113
+ /**
114
+ * @public
115
+ * @override
116
+ */
117
+ proto.Auth.PushNotificationProto.InfoPushRequest.displayName = 'proto.Auth.PushNotificationProto.InfoPushRequest';
118
+ }
119
+ /**
120
+ * Generated by JsPbCodeGenerator.
121
+ * @param {Array=} opt_data Optional initial data array, typically from a
122
+ * server response, or constructed directly in Javascript. The array is used
123
+ * in place and becomes part of the constructed object. It is not cloned.
124
+ * If no data is provided, the constructed object will be empty, but still
125
+ * valid.
126
+ * @extends {jspb.Message}
127
+ * @constructor
128
+ */
129
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest = function(opt_data) {
130
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
131
+ };
132
+ goog.inherits(proto.Auth.PushNotificationProto.ExpiredOpeningRequest, jspb.Message);
133
+ if (goog.DEBUG && !COMPILED) {
134
+ /**
135
+ * @public
136
+ * @override
137
+ */
138
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.displayName = 'proto.Auth.PushNotificationProto.ExpiredOpeningRequest';
139
+ }
140
+
141
+
142
+
143
+ if (jspb.Message.GENERATE_TO_OBJECT) {
144
+ /**
145
+ * Creates an object representation of this proto.
146
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
147
+ * Optional fields that are not set will be set to undefined.
148
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
149
+ * For the list of reserved names please see:
150
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
151
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
152
+ * JSPB instance for transitional soy proto support:
153
+ * http://goto/soy-param-migration
154
+ * @return {!Object}
155
+ */
156
+ proto.Auth.PushNotificationProto.prototype.toObject = function(opt_includeInstance) {
157
+ return proto.Auth.PushNotificationProto.toObject(opt_includeInstance, this);
158
+ };
159
+
160
+
161
+ /**
162
+ * Static version of the {@see toObject} method.
163
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
164
+ * the JSPB instance for transitional soy proto support:
165
+ * http://goto/soy-param-migration
166
+ * @param {!proto.Auth.PushNotificationProto} msg The msg instance to transform.
167
+ * @return {!Object}
168
+ * @suppress {unusedLocalVariables} f is only used for nested messages
169
+ */
170
+ proto.Auth.PushNotificationProto.toObject = function(includeInstance, msg) {
171
+ var f, obj = {
172
+
173
+ };
174
+
175
+ if (includeInstance) {
176
+ obj.$jspbMessageInstance = msg;
177
+ }
178
+ return obj;
179
+ };
180
+ }
181
+
182
+
183
+ /**
184
+ * Deserializes binary data (in protobuf wire format).
185
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
186
+ * @return {!proto.Auth.PushNotificationProto}
187
+ */
188
+ proto.Auth.PushNotificationProto.deserializeBinary = function(bytes) {
189
+ var reader = new jspb.BinaryReader(bytes);
190
+ var msg = new proto.Auth.PushNotificationProto;
191
+ return proto.Auth.PushNotificationProto.deserializeBinaryFromReader(msg, reader);
192
+ };
193
+
194
+
195
+ /**
196
+ * Deserializes binary data (in protobuf wire format) from the
197
+ * given reader into the given message object.
198
+ * @param {!proto.Auth.PushNotificationProto} msg The message object to deserialize into.
199
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
200
+ * @return {!proto.Auth.PushNotificationProto}
201
+ */
202
+ proto.Auth.PushNotificationProto.deserializeBinaryFromReader = function(msg, reader) {
203
+ while (reader.nextField()) {
204
+ if (reader.isEndGroup()) {
205
+ break;
206
+ }
207
+ var field = reader.getFieldNumber();
208
+ switch (field) {
209
+ default:
210
+ reader.skipField();
211
+ break;
212
+ }
213
+ }
214
+ return msg;
215
+ };
216
+
217
+
218
+ /**
219
+ * Serializes the message to binary data (in protobuf wire format).
220
+ * @return {!Uint8Array}
221
+ */
222
+ proto.Auth.PushNotificationProto.prototype.serializeBinary = function() {
223
+ var writer = new jspb.BinaryWriter();
224
+ proto.Auth.PushNotificationProto.serializeBinaryToWriter(this, writer);
225
+ return writer.getResultBuffer();
226
+ };
227
+
228
+
229
+ /**
230
+ * Serializes the given message to binary data (in protobuf wire
231
+ * format), writing to the given BinaryWriter.
232
+ * @param {!proto.Auth.PushNotificationProto} message
233
+ * @param {!jspb.BinaryWriter} writer
234
+ * @suppress {unusedLocalVariables} f is only used for nested messages
235
+ */
236
+ proto.Auth.PushNotificationProto.serializeBinaryToWriter = function(message, writer) {
237
+ var f = undefined;
238
+ };
239
+
240
+
241
+ /**
242
+ * @enum {number}
243
+ */
244
+ proto.Auth.PushNotificationProto.PushType = {
245
+ FCM: 0,
246
+ FCM_FIT: 2
247
+ };
248
+
249
+ /**
250
+ * @enum {number}
251
+ */
252
+ proto.Auth.PushNotificationProto.Tag = {
253
+ OPENING: 0,
254
+ ACTIVE: 1,
255
+ DELETED: 3,
256
+ CLOSED: 4
257
+ };
258
+
259
+
260
+
261
+
262
+ if (jspb.Message.GENERATE_TO_OBJECT) {
263
+ /**
264
+ * Creates an object representation of this proto.
265
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
266
+ * Optional fields that are not set will be set to undefined.
267
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
268
+ * For the list of reserved names please see:
269
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
270
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
271
+ * JSPB instance for transitional soy proto support:
272
+ * http://goto/soy-param-migration
273
+ * @return {!Object}
274
+ */
275
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.toObject = function(opt_includeInstance) {
276
+ return proto.Auth.PushNotificationProto.OpenRequest.toObject(opt_includeInstance, this);
277
+ };
278
+
279
+
280
+ /**
281
+ * Static version of the {@see toObject} method.
282
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
283
+ * the JSPB instance for transitional soy proto support:
284
+ * http://goto/soy-param-migration
285
+ * @param {!proto.Auth.PushNotificationProto.OpenRequest} msg The msg instance to transform.
286
+ * @return {!Object}
287
+ * @suppress {unusedLocalVariables} f is only used for nested messages
288
+ */
289
+ proto.Auth.PushNotificationProto.OpenRequest.toObject = function(includeInstance, msg) {
290
+ var f, obj = {
291
+ accountid: jspb.Message.getFieldWithDefault(msg, 1, 0),
292
+ cabinetname: jspb.Message.getFieldWithDefault(msg, 2, ""),
293
+ cabinetid: jspb.Message.getFieldWithDefault(msg, 3, 0),
294
+ tag: jspb.Message.getFieldWithDefault(msg, 4, 0),
295
+ error: jspb.Message.getFieldWithDefault(msg, 5, ""),
296
+ operatorname: jspb.Message.getFieldWithDefault(msg, 6, ""),
297
+ locale: jspb.Message.getFieldWithDefault(msg, 7, "")
298
+ };
299
+
300
+ if (includeInstance) {
301
+ obj.$jspbMessageInstance = msg;
302
+ }
303
+ return obj;
304
+ };
305
+ }
306
+
307
+
308
+ /**
309
+ * Deserializes binary data (in protobuf wire format).
310
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
311
+ * @return {!proto.Auth.PushNotificationProto.OpenRequest}
312
+ */
313
+ proto.Auth.PushNotificationProto.OpenRequest.deserializeBinary = function(bytes) {
314
+ var reader = new jspb.BinaryReader(bytes);
315
+ var msg = new proto.Auth.PushNotificationProto.OpenRequest;
316
+ return proto.Auth.PushNotificationProto.OpenRequest.deserializeBinaryFromReader(msg, reader);
317
+ };
318
+
319
+
320
+ /**
321
+ * Deserializes binary data (in protobuf wire format) from the
322
+ * given reader into the given message object.
323
+ * @param {!proto.Auth.PushNotificationProto.OpenRequest} msg The message object to deserialize into.
324
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
325
+ * @return {!proto.Auth.PushNotificationProto.OpenRequest}
326
+ */
327
+ proto.Auth.PushNotificationProto.OpenRequest.deserializeBinaryFromReader = function(msg, reader) {
328
+ while (reader.nextField()) {
329
+ if (reader.isEndGroup()) {
330
+ break;
331
+ }
332
+ var field = reader.getFieldNumber();
333
+ switch (field) {
334
+ case 1:
335
+ var value = /** @type {number} */ (reader.readInt64());
336
+ msg.setAccountid(value);
337
+ break;
338
+ case 2:
339
+ var value = /** @type {string} */ (reader.readString());
340
+ msg.setCabinetname(value);
341
+ break;
342
+ case 3:
343
+ var value = /** @type {number} */ (reader.readInt64());
344
+ msg.setCabinetid(value);
345
+ break;
346
+ case 4:
347
+ var value = /** @type {!proto.Auth.PushNotificationProto.Tag} */ (reader.readEnum());
348
+ msg.setTag(value);
349
+ break;
350
+ case 5:
351
+ var value = /** @type {string} */ (reader.readString());
352
+ msg.setError(value);
353
+ break;
354
+ case 6:
355
+ var value = /** @type {string} */ (reader.readString());
356
+ msg.setOperatorname(value);
357
+ break;
358
+ case 7:
359
+ var value = /** @type {string} */ (reader.readString());
360
+ msg.setLocale(value);
361
+ break;
362
+ default:
363
+ reader.skipField();
364
+ break;
365
+ }
366
+ }
367
+ return msg;
368
+ };
369
+
370
+
371
+ /**
372
+ * Serializes the message to binary data (in protobuf wire format).
373
+ * @return {!Uint8Array}
374
+ */
375
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.serializeBinary = function() {
376
+ var writer = new jspb.BinaryWriter();
377
+ proto.Auth.PushNotificationProto.OpenRequest.serializeBinaryToWriter(this, writer);
378
+ return writer.getResultBuffer();
379
+ };
380
+
381
+
382
+ /**
383
+ * Serializes the given message to binary data (in protobuf wire
384
+ * format), writing to the given BinaryWriter.
385
+ * @param {!proto.Auth.PushNotificationProto.OpenRequest} message
386
+ * @param {!jspb.BinaryWriter} writer
387
+ * @suppress {unusedLocalVariables} f is only used for nested messages
388
+ */
389
+ proto.Auth.PushNotificationProto.OpenRequest.serializeBinaryToWriter = function(message, writer) {
390
+ var f = undefined;
391
+ f = message.getAccountid();
392
+ if (f !== 0) {
393
+ writer.writeInt64(
394
+ 1,
395
+ f
396
+ );
397
+ }
398
+ f = message.getCabinetname();
399
+ if (f.length > 0) {
400
+ writer.writeString(
401
+ 2,
402
+ f
403
+ );
404
+ }
405
+ f = message.getCabinetid();
406
+ if (f !== 0) {
407
+ writer.writeInt64(
408
+ 3,
409
+ f
410
+ );
411
+ }
412
+ f = message.getTag();
413
+ if (f !== 0.0) {
414
+ writer.writeEnum(
415
+ 4,
416
+ f
417
+ );
418
+ }
419
+ f = message.getError();
420
+ if (f.length > 0) {
421
+ writer.writeString(
422
+ 5,
423
+ f
424
+ );
425
+ }
426
+ f = message.getOperatorname();
427
+ if (f.length > 0) {
428
+ writer.writeString(
429
+ 6,
430
+ f
431
+ );
432
+ }
433
+ f = message.getLocale();
434
+ if (f.length > 0) {
435
+ writer.writeString(
436
+ 7,
437
+ f
438
+ );
439
+ }
440
+ };
441
+
442
+
443
+ /**
444
+ * optional int64 accountId = 1;
445
+ * @return {number}
446
+ */
447
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.getAccountid = function() {
448
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
449
+ };
450
+
451
+
452
+ /**
453
+ * @param {number} value
454
+ * @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
455
+ */
456
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.setAccountid = function(value) {
457
+ return jspb.Message.setProto3IntField(this, 1, value);
458
+ };
459
+
460
+
461
+ /**
462
+ * optional string cabinetName = 2;
463
+ * @return {string}
464
+ */
465
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.getCabinetname = function() {
466
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
467
+ };
468
+
469
+
470
+ /**
471
+ * @param {string} value
472
+ * @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
473
+ */
474
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.setCabinetname = function(value) {
475
+ return jspb.Message.setProto3StringField(this, 2, value);
476
+ };
477
+
478
+
479
+ /**
480
+ * optional int64 cabinetId = 3;
481
+ * @return {number}
482
+ */
483
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.getCabinetid = function() {
484
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
485
+ };
486
+
487
+
488
+ /**
489
+ * @param {number} value
490
+ * @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
491
+ */
492
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.setCabinetid = function(value) {
493
+ return jspb.Message.setProto3IntField(this, 3, value);
494
+ };
495
+
496
+
497
+ /**
498
+ * optional Tag tag = 4;
499
+ * @return {!proto.Auth.PushNotificationProto.Tag}
500
+ */
501
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.getTag = function() {
502
+ return /** @type {!proto.Auth.PushNotificationProto.Tag} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
503
+ };
504
+
505
+
506
+ /**
507
+ * @param {!proto.Auth.PushNotificationProto.Tag} value
508
+ * @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
509
+ */
510
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.setTag = function(value) {
511
+ return jspb.Message.setProto3EnumField(this, 4, value);
512
+ };
513
+
514
+
515
+ /**
516
+ * optional string error = 5;
517
+ * @return {string}
518
+ */
519
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.getError = function() {
520
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
521
+ };
522
+
523
+
524
+ /**
525
+ * @param {string} value
526
+ * @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
527
+ */
528
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.setError = function(value) {
529
+ return jspb.Message.setProto3StringField(this, 5, value);
530
+ };
531
+
532
+
533
+ /**
534
+ * optional string operatorName = 6;
535
+ * @return {string}
536
+ */
537
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.getOperatorname = function() {
538
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
539
+ };
540
+
541
+
542
+ /**
543
+ * @param {string} value
544
+ * @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
545
+ */
546
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.setOperatorname = function(value) {
547
+ return jspb.Message.setProto3StringField(this, 6, value);
548
+ };
549
+
550
+
551
+ /**
552
+ * optional string locale = 7;
553
+ * @return {string}
554
+ */
555
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.getLocale = function() {
556
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
557
+ };
558
+
559
+
560
+ /**
561
+ * @param {string} value
562
+ * @return {!proto.Auth.PushNotificationProto.OpenRequest} returns this
563
+ */
564
+ proto.Auth.PushNotificationProto.OpenRequest.prototype.setLocale = function(value) {
565
+ return jspb.Message.setProto3StringField(this, 7, value);
566
+ };
567
+
568
+
569
+
570
+
571
+
572
+ if (jspb.Message.GENERATE_TO_OBJECT) {
573
+ /**
574
+ * Creates an object representation of this proto.
575
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
576
+ * Optional fields that are not set will be set to undefined.
577
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
578
+ * For the list of reserved names please see:
579
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
580
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
581
+ * JSPB instance for transitional soy proto support:
582
+ * http://goto/soy-param-migration
583
+ * @return {!Object}
584
+ */
585
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.toObject = function(opt_includeInstance) {
586
+ return proto.Auth.PushNotificationProto.ActiveRequest.toObject(opt_includeInstance, this);
587
+ };
588
+
589
+
590
+ /**
591
+ * Static version of the {@see toObject} method.
592
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
593
+ * the JSPB instance for transitional soy proto support:
594
+ * http://goto/soy-param-migration
595
+ * @param {!proto.Auth.PushNotificationProto.ActiveRequest} msg The msg instance to transform.
596
+ * @return {!Object}
597
+ * @suppress {unusedLocalVariables} f is only used for nested messages
598
+ */
599
+ proto.Auth.PushNotificationProto.ActiveRequest.toObject = function(includeInstance, msg) {
600
+ var f, obj = {
601
+ accountid: jspb.Message.getFieldWithDefault(msg, 1, 0),
602
+ operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
603
+ accepted: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
604
+ tag: jspb.Message.getFieldWithDefault(msg, 4, 0),
605
+ locale: jspb.Message.getFieldWithDefault(msg, 5, "")
606
+ };
607
+
608
+ if (includeInstance) {
609
+ obj.$jspbMessageInstance = msg;
610
+ }
611
+ return obj;
612
+ };
613
+ }
614
+
615
+
616
+ /**
617
+ * Deserializes binary data (in protobuf wire format).
618
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
619
+ * @return {!proto.Auth.PushNotificationProto.ActiveRequest}
620
+ */
621
+ proto.Auth.PushNotificationProto.ActiveRequest.deserializeBinary = function(bytes) {
622
+ var reader = new jspb.BinaryReader(bytes);
623
+ var msg = new proto.Auth.PushNotificationProto.ActiveRequest;
624
+ return proto.Auth.PushNotificationProto.ActiveRequest.deserializeBinaryFromReader(msg, reader);
625
+ };
626
+
627
+
628
+ /**
629
+ * Deserializes binary data (in protobuf wire format) from the
630
+ * given reader into the given message object.
631
+ * @param {!proto.Auth.PushNotificationProto.ActiveRequest} msg The message object to deserialize into.
632
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
633
+ * @return {!proto.Auth.PushNotificationProto.ActiveRequest}
634
+ */
635
+ proto.Auth.PushNotificationProto.ActiveRequest.deserializeBinaryFromReader = function(msg, reader) {
636
+ while (reader.nextField()) {
637
+ if (reader.isEndGroup()) {
638
+ break;
639
+ }
640
+ var field = reader.getFieldNumber();
641
+ switch (field) {
642
+ case 1:
643
+ var value = /** @type {number} */ (reader.readInt64());
644
+ msg.setAccountid(value);
645
+ break;
646
+ case 2:
647
+ var value = /** @type {string} */ (reader.readString());
648
+ msg.setOperator(value);
649
+ break;
650
+ case 3:
651
+ var value = /** @type {boolean} */ (reader.readBool());
652
+ msg.setAccepted(value);
653
+ break;
654
+ case 4:
655
+ var value = /** @type {!proto.Auth.PushNotificationProto.Tag} */ (reader.readEnum());
656
+ msg.setTag(value);
657
+ break;
658
+ case 5:
659
+ var value = /** @type {string} */ (reader.readString());
660
+ msg.setLocale(value);
661
+ break;
662
+ default:
663
+ reader.skipField();
664
+ break;
665
+ }
666
+ }
667
+ return msg;
668
+ };
669
+
670
+
671
+ /**
672
+ * Serializes the message to binary data (in protobuf wire format).
673
+ * @return {!Uint8Array}
674
+ */
675
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.serializeBinary = function() {
676
+ var writer = new jspb.BinaryWriter();
677
+ proto.Auth.PushNotificationProto.ActiveRequest.serializeBinaryToWriter(this, writer);
678
+ return writer.getResultBuffer();
679
+ };
680
+
681
+
682
+ /**
683
+ * Serializes the given message to binary data (in protobuf wire
684
+ * format), writing to the given BinaryWriter.
685
+ * @param {!proto.Auth.PushNotificationProto.ActiveRequest} message
686
+ * @param {!jspb.BinaryWriter} writer
687
+ * @suppress {unusedLocalVariables} f is only used for nested messages
688
+ */
689
+ proto.Auth.PushNotificationProto.ActiveRequest.serializeBinaryToWriter = function(message, writer) {
690
+ var f = undefined;
691
+ f = message.getAccountid();
692
+ if (f !== 0) {
693
+ writer.writeInt64(
694
+ 1,
695
+ f
696
+ );
697
+ }
698
+ f = message.getOperator();
699
+ if (f.length > 0) {
700
+ writer.writeString(
701
+ 2,
702
+ f
703
+ );
704
+ }
705
+ f = message.getAccepted();
706
+ if (f) {
707
+ writer.writeBool(
708
+ 3,
709
+ f
710
+ );
711
+ }
712
+ f = message.getTag();
713
+ if (f !== 0.0) {
714
+ writer.writeEnum(
715
+ 4,
716
+ f
717
+ );
718
+ }
719
+ f = message.getLocale();
720
+ if (f.length > 0) {
721
+ writer.writeString(
722
+ 5,
723
+ f
724
+ );
725
+ }
726
+ };
727
+
728
+
729
+ /**
730
+ * optional int64 accountId = 1;
731
+ * @return {number}
732
+ */
733
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.getAccountid = function() {
734
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
735
+ };
736
+
737
+
738
+ /**
739
+ * @param {number} value
740
+ * @return {!proto.Auth.PushNotificationProto.ActiveRequest} returns this
741
+ */
742
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.setAccountid = function(value) {
743
+ return jspb.Message.setProto3IntField(this, 1, value);
744
+ };
745
+
746
+
747
+ /**
748
+ * optional string operator = 2;
749
+ * @return {string}
750
+ */
751
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.getOperator = function() {
752
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
753
+ };
754
+
755
+
756
+ /**
757
+ * @param {string} value
758
+ * @return {!proto.Auth.PushNotificationProto.ActiveRequest} returns this
759
+ */
760
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.setOperator = function(value) {
761
+ return jspb.Message.setProto3StringField(this, 2, value);
762
+ };
763
+
764
+
765
+ /**
766
+ * optional bool accepted = 3;
767
+ * @return {boolean}
768
+ */
769
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.getAccepted = function() {
770
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
771
+ };
772
+
773
+
774
+ /**
775
+ * @param {boolean} value
776
+ * @return {!proto.Auth.PushNotificationProto.ActiveRequest} returns this
777
+ */
778
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.setAccepted = function(value) {
779
+ return jspb.Message.setProto3BooleanField(this, 3, value);
780
+ };
781
+
782
+
783
+ /**
784
+ * optional Tag tag = 4;
785
+ * @return {!proto.Auth.PushNotificationProto.Tag}
786
+ */
787
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.getTag = function() {
788
+ return /** @type {!proto.Auth.PushNotificationProto.Tag} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
789
+ };
790
+
791
+
792
+ /**
793
+ * @param {!proto.Auth.PushNotificationProto.Tag} value
794
+ * @return {!proto.Auth.PushNotificationProto.ActiveRequest} returns this
795
+ */
796
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.setTag = function(value) {
797
+ return jspb.Message.setProto3EnumField(this, 4, value);
798
+ };
799
+
800
+
801
+ /**
802
+ * optional string locale = 5;
803
+ * @return {string}
804
+ */
805
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.getLocale = function() {
806
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
807
+ };
808
+
809
+
810
+ /**
811
+ * @param {string} value
812
+ * @return {!proto.Auth.PushNotificationProto.ActiveRequest} returns this
813
+ */
814
+ proto.Auth.PushNotificationProto.ActiveRequest.prototype.setLocale = function(value) {
815
+ return jspb.Message.setProto3StringField(this, 5, value);
816
+ };
817
+
818
+
819
+
820
+
821
+
822
+ if (jspb.Message.GENERATE_TO_OBJECT) {
823
+ /**
824
+ * Creates an object representation of this proto.
825
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
826
+ * Optional fields that are not set will be set to undefined.
827
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
828
+ * For the list of reserved names please see:
829
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
830
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
831
+ * JSPB instance for transitional soy proto support:
832
+ * http://goto/soy-param-migration
833
+ * @return {!Object}
834
+ */
835
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.toObject = function(opt_includeInstance) {
836
+ return proto.Auth.PushNotificationProto.InfoPushRequest.toObject(opt_includeInstance, this);
837
+ };
838
+
839
+
840
+ /**
841
+ * Static version of the {@see toObject} method.
842
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
843
+ * the JSPB instance for transitional soy proto support:
844
+ * http://goto/soy-param-migration
845
+ * @param {!proto.Auth.PushNotificationProto.InfoPushRequest} msg The msg instance to transform.
846
+ * @return {!Object}
847
+ * @suppress {unusedLocalVariables} f is only used for nested messages
848
+ */
849
+ proto.Auth.PushNotificationProto.InfoPushRequest.toObject = function(includeInstance, msg) {
850
+ var f, obj = {
851
+ accountid: jspb.Message.getFieldWithDefault(msg, 1, 0),
852
+ cabinetname: jspb.Message.getFieldWithDefault(msg, 2, ""),
853
+ status: jspb.Message.getFieldWithDefault(msg, 3, ""),
854
+ locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
855
+ pushtype: jspb.Message.getFieldWithDefault(msg, 5, 0)
856
+ };
857
+
858
+ if (includeInstance) {
859
+ obj.$jspbMessageInstance = msg;
860
+ }
861
+ return obj;
862
+ };
863
+ }
864
+
865
+
866
+ /**
867
+ * Deserializes binary data (in protobuf wire format).
868
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
869
+ * @return {!proto.Auth.PushNotificationProto.InfoPushRequest}
870
+ */
871
+ proto.Auth.PushNotificationProto.InfoPushRequest.deserializeBinary = function(bytes) {
872
+ var reader = new jspb.BinaryReader(bytes);
873
+ var msg = new proto.Auth.PushNotificationProto.InfoPushRequest;
874
+ return proto.Auth.PushNotificationProto.InfoPushRequest.deserializeBinaryFromReader(msg, reader);
875
+ };
876
+
877
+
878
+ /**
879
+ * Deserializes binary data (in protobuf wire format) from the
880
+ * given reader into the given message object.
881
+ * @param {!proto.Auth.PushNotificationProto.InfoPushRequest} msg The message object to deserialize into.
882
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
883
+ * @return {!proto.Auth.PushNotificationProto.InfoPushRequest}
884
+ */
885
+ proto.Auth.PushNotificationProto.InfoPushRequest.deserializeBinaryFromReader = function(msg, reader) {
886
+ while (reader.nextField()) {
887
+ if (reader.isEndGroup()) {
888
+ break;
889
+ }
890
+ var field = reader.getFieldNumber();
891
+ switch (field) {
892
+ case 1:
893
+ var value = /** @type {number} */ (reader.readInt64());
894
+ msg.setAccountid(value);
895
+ break;
896
+ case 2:
897
+ var value = /** @type {string} */ (reader.readString());
898
+ msg.setCabinetname(value);
899
+ break;
900
+ case 3:
901
+ var value = /** @type {string} */ (reader.readString());
902
+ msg.setStatus(value);
903
+ break;
904
+ case 4:
905
+ var value = /** @type {string} */ (reader.readString());
906
+ msg.setLocale(value);
907
+ break;
908
+ case 5:
909
+ var value = /** @type {!proto.Auth.PushNotificationProto.PushType} */ (reader.readEnum());
910
+ msg.setPushtype(value);
911
+ break;
912
+ default:
913
+ reader.skipField();
914
+ break;
915
+ }
916
+ }
917
+ return msg;
918
+ };
919
+
920
+
921
+ /**
922
+ * Serializes the message to binary data (in protobuf wire format).
923
+ * @return {!Uint8Array}
924
+ */
925
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.serializeBinary = function() {
926
+ var writer = new jspb.BinaryWriter();
927
+ proto.Auth.PushNotificationProto.InfoPushRequest.serializeBinaryToWriter(this, writer);
928
+ return writer.getResultBuffer();
929
+ };
930
+
931
+
932
+ /**
933
+ * Serializes the given message to binary data (in protobuf wire
934
+ * format), writing to the given BinaryWriter.
935
+ * @param {!proto.Auth.PushNotificationProto.InfoPushRequest} message
936
+ * @param {!jspb.BinaryWriter} writer
937
+ * @suppress {unusedLocalVariables} f is only used for nested messages
938
+ */
939
+ proto.Auth.PushNotificationProto.InfoPushRequest.serializeBinaryToWriter = function(message, writer) {
940
+ var f = undefined;
941
+ f = message.getAccountid();
942
+ if (f !== 0) {
943
+ writer.writeInt64(
944
+ 1,
945
+ f
946
+ );
947
+ }
948
+ f = message.getCabinetname();
949
+ if (f.length > 0) {
950
+ writer.writeString(
951
+ 2,
952
+ f
953
+ );
954
+ }
955
+ f = message.getStatus();
956
+ if (f.length > 0) {
957
+ writer.writeString(
958
+ 3,
959
+ f
960
+ );
961
+ }
962
+ f = message.getLocale();
963
+ if (f.length > 0) {
964
+ writer.writeString(
965
+ 4,
966
+ f
967
+ );
968
+ }
969
+ f = message.getPushtype();
970
+ if (f !== 0.0) {
971
+ writer.writeEnum(
972
+ 5,
973
+ f
974
+ );
975
+ }
976
+ };
977
+
978
+
979
+ /**
980
+ * optional int64 accountId = 1;
981
+ * @return {number}
982
+ */
983
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.getAccountid = function() {
984
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
985
+ };
986
+
987
+
988
+ /**
989
+ * @param {number} value
990
+ * @return {!proto.Auth.PushNotificationProto.InfoPushRequest} returns this
991
+ */
992
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.setAccountid = function(value) {
993
+ return jspb.Message.setProto3IntField(this, 1, value);
994
+ };
995
+
996
+
997
+ /**
998
+ * optional string cabinetName = 2;
999
+ * @return {string}
1000
+ */
1001
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.getCabinetname = function() {
1002
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1003
+ };
1004
+
1005
+
1006
+ /**
1007
+ * @param {string} value
1008
+ * @return {!proto.Auth.PushNotificationProto.InfoPushRequest} returns this
1009
+ */
1010
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.setCabinetname = function(value) {
1011
+ return jspb.Message.setProto3StringField(this, 2, value);
1012
+ };
1013
+
1014
+
1015
+ /**
1016
+ * optional string status = 3;
1017
+ * @return {string}
1018
+ */
1019
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.getStatus = function() {
1020
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1021
+ };
1022
+
1023
+
1024
+ /**
1025
+ * @param {string} value
1026
+ * @return {!proto.Auth.PushNotificationProto.InfoPushRequest} returns this
1027
+ */
1028
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.setStatus = function(value) {
1029
+ return jspb.Message.setProto3StringField(this, 3, value);
1030
+ };
1031
+
1032
+
1033
+ /**
1034
+ * optional string locale = 4;
1035
+ * @return {string}
1036
+ */
1037
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.getLocale = function() {
1038
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1039
+ };
1040
+
1041
+
1042
+ /**
1043
+ * @param {string} value
1044
+ * @return {!proto.Auth.PushNotificationProto.InfoPushRequest} returns this
1045
+ */
1046
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.setLocale = function(value) {
1047
+ return jspb.Message.setProto3StringField(this, 4, value);
1048
+ };
1049
+
1050
+
1051
+ /**
1052
+ * optional PushType pushType = 5;
1053
+ * @return {!proto.Auth.PushNotificationProto.PushType}
1054
+ */
1055
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.getPushtype = function() {
1056
+ return /** @type {!proto.Auth.PushNotificationProto.PushType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
1057
+ };
1058
+
1059
+
1060
+ /**
1061
+ * @param {!proto.Auth.PushNotificationProto.PushType} value
1062
+ * @return {!proto.Auth.PushNotificationProto.InfoPushRequest} returns this
1063
+ */
1064
+ proto.Auth.PushNotificationProto.InfoPushRequest.prototype.setPushtype = function(value) {
1065
+ return jspb.Message.setProto3EnumField(this, 5, value);
1066
+ };
1067
+
1068
+
1069
+
1070
+
1071
+
1072
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1073
+ /**
1074
+ * Creates an object representation of this proto.
1075
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1076
+ * Optional fields that are not set will be set to undefined.
1077
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1078
+ * For the list of reserved names please see:
1079
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1080
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1081
+ * JSPB instance for transitional soy proto support:
1082
+ * http://goto/soy-param-migration
1083
+ * @return {!Object}
1084
+ */
1085
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.prototype.toObject = function(opt_includeInstance) {
1086
+ return proto.Auth.PushNotificationProto.ExpiredOpeningRequest.toObject(opt_includeInstance, this);
1087
+ };
1088
+
1089
+
1090
+ /**
1091
+ * Static version of the {@see toObject} method.
1092
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1093
+ * the JSPB instance for transitional soy proto support:
1094
+ * http://goto/soy-param-migration
1095
+ * @param {!proto.Auth.PushNotificationProto.ExpiredOpeningRequest} msg The msg instance to transform.
1096
+ * @return {!Object}
1097
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1098
+ */
1099
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.toObject = function(includeInstance, msg) {
1100
+ var f, obj = {
1101
+ accountid: jspb.Message.getFieldWithDefault(msg, 1, 0),
1102
+ cabinetname: jspb.Message.getFieldWithDefault(msg, 2, ""),
1103
+ locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
1104
+ jobid: jspb.Message.getFieldWithDefault(msg, 4, "")
1105
+ };
1106
+
1107
+ if (includeInstance) {
1108
+ obj.$jspbMessageInstance = msg;
1109
+ }
1110
+ return obj;
1111
+ };
1112
+ }
1113
+
1114
+
1115
+ /**
1116
+ * Deserializes binary data (in protobuf wire format).
1117
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1118
+ * @return {!proto.Auth.PushNotificationProto.ExpiredOpeningRequest}
1119
+ */
1120
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.deserializeBinary = function(bytes) {
1121
+ var reader = new jspb.BinaryReader(bytes);
1122
+ var msg = new proto.Auth.PushNotificationProto.ExpiredOpeningRequest;
1123
+ return proto.Auth.PushNotificationProto.ExpiredOpeningRequest.deserializeBinaryFromReader(msg, reader);
1124
+ };
1125
+
1126
+
1127
+ /**
1128
+ * Deserializes binary data (in protobuf wire format) from the
1129
+ * given reader into the given message object.
1130
+ * @param {!proto.Auth.PushNotificationProto.ExpiredOpeningRequest} msg The message object to deserialize into.
1131
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1132
+ * @return {!proto.Auth.PushNotificationProto.ExpiredOpeningRequest}
1133
+ */
1134
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.deserializeBinaryFromReader = function(msg, reader) {
1135
+ while (reader.nextField()) {
1136
+ if (reader.isEndGroup()) {
1137
+ break;
1138
+ }
1139
+ var field = reader.getFieldNumber();
1140
+ switch (field) {
1141
+ case 1:
1142
+ var value = /** @type {number} */ (reader.readInt64());
1143
+ msg.setAccountid(value);
1144
+ break;
1145
+ case 2:
1146
+ var value = /** @type {string} */ (reader.readString());
1147
+ msg.setCabinetname(value);
1148
+ break;
1149
+ case 3:
1150
+ var value = /** @type {string} */ (reader.readString());
1151
+ msg.setLocale(value);
1152
+ break;
1153
+ case 4:
1154
+ var value = /** @type {string} */ (reader.readString());
1155
+ msg.setJobid(value);
1156
+ break;
1157
+ default:
1158
+ reader.skipField();
1159
+ break;
1160
+ }
1161
+ }
1162
+ return msg;
1163
+ };
1164
+
1165
+
1166
+ /**
1167
+ * Serializes the message to binary data (in protobuf wire format).
1168
+ * @return {!Uint8Array}
1169
+ */
1170
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.prototype.serializeBinary = function() {
1171
+ var writer = new jspb.BinaryWriter();
1172
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.serializeBinaryToWriter(this, writer);
1173
+ return writer.getResultBuffer();
1174
+ };
1175
+
1176
+
1177
+ /**
1178
+ * Serializes the given message to binary data (in protobuf wire
1179
+ * format), writing to the given BinaryWriter.
1180
+ * @param {!proto.Auth.PushNotificationProto.ExpiredOpeningRequest} message
1181
+ * @param {!jspb.BinaryWriter} writer
1182
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1183
+ */
1184
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.serializeBinaryToWriter = function(message, writer) {
1185
+ var f = undefined;
1186
+ f = message.getAccountid();
1187
+ if (f !== 0) {
1188
+ writer.writeInt64(
1189
+ 1,
1190
+ f
1191
+ );
1192
+ }
1193
+ f = message.getCabinetname();
1194
+ if (f.length > 0) {
1195
+ writer.writeString(
1196
+ 2,
1197
+ f
1198
+ );
1199
+ }
1200
+ f = message.getLocale();
1201
+ if (f.length > 0) {
1202
+ writer.writeString(
1203
+ 3,
1204
+ f
1205
+ );
1206
+ }
1207
+ f = message.getJobid();
1208
+ if (f.length > 0) {
1209
+ writer.writeString(
1210
+ 4,
1211
+ f
1212
+ );
1213
+ }
1214
+ };
1215
+
1216
+
1217
+ /**
1218
+ * optional int64 accountId = 1;
1219
+ * @return {number}
1220
+ */
1221
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.prototype.getAccountid = function() {
1222
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1223
+ };
1224
+
1225
+
1226
+ /**
1227
+ * @param {number} value
1228
+ * @return {!proto.Auth.PushNotificationProto.ExpiredOpeningRequest} returns this
1229
+ */
1230
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.prototype.setAccountid = function(value) {
1231
+ return jspb.Message.setProto3IntField(this, 1, value);
1232
+ };
1233
+
1234
+
1235
+ /**
1236
+ * optional string cabinetName = 2;
1237
+ * @return {string}
1238
+ */
1239
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.prototype.getCabinetname = function() {
1240
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1241
+ };
1242
+
1243
+
1244
+ /**
1245
+ * @param {string} value
1246
+ * @return {!proto.Auth.PushNotificationProto.ExpiredOpeningRequest} returns this
1247
+ */
1248
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.prototype.setCabinetname = function(value) {
1249
+ return jspb.Message.setProto3StringField(this, 2, value);
1250
+ };
1251
+
1252
+
1253
+ /**
1254
+ * optional string locale = 3;
1255
+ * @return {string}
1256
+ */
1257
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.prototype.getLocale = function() {
1258
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1259
+ };
1260
+
1261
+
1262
+ /**
1263
+ * @param {string} value
1264
+ * @return {!proto.Auth.PushNotificationProto.ExpiredOpeningRequest} returns this
1265
+ */
1266
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.prototype.setLocale = function(value) {
1267
+ return jspb.Message.setProto3StringField(this, 3, value);
1268
+ };
1269
+
1270
+
1271
+ /**
1272
+ * optional string jobId = 4;
1273
+ * @return {string}
1274
+ */
1275
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.prototype.getJobid = function() {
1276
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1277
+ };
1278
+
1279
+
1280
+ /**
1281
+ * @param {string} value
1282
+ * @return {!proto.Auth.PushNotificationProto.ExpiredOpeningRequest} returns this
1283
+ */
1284
+ proto.Auth.PushNotificationProto.ExpiredOpeningRequest.prototype.setJobid = function(value) {
1285
+ return jspb.Message.setProto3StringField(this, 4, value);
1286
+ };
1287
+
1288
+
1289
+ goog.object.extend(exports, proto.Auth);