@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-jan-auth-refactor.1

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 (225) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -704
  3. package/auth.account_pb.js +0 -5239
  4. package/auth.account_pb_service.d.ts +0 -511
  5. package/auth.account_pb_service.js +0 -997
  6. package/auth.account_two_factor_pb.d.ts +0 -159
  7. package/auth.account_two_factor_pb.js +0 -1184
  8. package/auth.account_two_factor_pb_service.d.ts +0 -121
  9. package/auth.account_two_factor_pb_service.js +0 -182
  10. package/auth.app_account_pb.d.ts +0 -156
  11. package/auth.app_account_pb.js +0 -1153
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -172
  15. package/auth.app_authn_pb.js +0 -1233
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -94
  23. package/auth.authn_pb.js +0 -636
  24. package/auth.authn_pb_service.d.ts +0 -82
  25. package/auth.authn_pb_service.js +0 -101
  26. package/auth.cluster_pb.d.ts +0 -258
  27. package/auth.cluster_pb.js +0 -1929
  28. package/auth.cluster_pb_service.d.ts +0 -139
  29. package/auth.cluster_pb_service.js +0 -221
  30. package/auth.distribution_pb.d.ts +0 -233
  31. package/auth.distribution_pb.js +0 -1785
  32. package/auth.distribution_pb_service.d.ts +0 -82
  33. package/auth.distribution_pb_service.js +0 -101
  34. package/auth.email_pb.d.ts +0 -277
  35. package/auth.email_pb.js +0 -1960
  36. package/auth.email_pb_service.d.ts +0 -121
  37. package/auth.email_pb_service.js +0 -182
  38. package/auth.firmware_pb.d.ts +0 -256
  39. package/auth.firmware_pb.js +0 -1997
  40. package/auth.firmware_pb_service.d.ts +0 -120
  41. package/auth.firmware_pb_service.js +0 -181
  42. package/auth.push_notification_pb.d.ts +0 -187
  43. package/auth.push_notification_pb.js +0 -1289
  44. package/auth.push_notification_pb_service.d.ts +0 -121
  45. package/auth.push_notification_pb_service.js +0 -182
  46. package/auth.sms_pb.d.ts +0 -79
  47. package/auth.sms_pb.js +0 -575
  48. package/auth.sms_pb_service.d.ts +0 -83
  49. package/auth.sms_pb_service.js +0 -102
  50. package/google/api/annotations_pb.d.ts +0 -9
  51. package/google/api/annotations_pb.js +0 -54
  52. package/google/api/annotations_pb_service.d.ts +0 -3
  53. package/google/api/annotations_pb_service.js +0 -3
  54. package/google/api/auth_pb.d.ts +0 -150
  55. package/google/api/auth_pb.js +0 -1160
  56. package/google/api/auth_pb_service.d.ts +0 -3
  57. package/google/api/auth_pb_service.js +0 -3
  58. package/google/api/backend_pb.d.ts +0 -59
  59. package/google/api/backend_pb.js +0 -448
  60. package/google/api/backend_pb_service.d.ts +0 -3
  61. package/google/api/backend_pb_service.js +0 -3
  62. package/google/api/billing_pb.d.ts +0 -54
  63. package/google/api/billing_pb.js +0 -416
  64. package/google/api/billing_pb_service.d.ts +0 -3
  65. package/google/api/billing_pb_service.js +0 -3
  66. package/google/api/client_pb.d.ts +0 -12
  67. package/google/api/client_pb.js +0 -104
  68. package/google/api/client_pb_service.d.ts +0 -3
  69. package/google/api/client_pb_service.js +0 -3
  70. package/google/api/config_change_pb.d.ts +0 -72
  71. package/google/api/config_change_pb.js +0 -489
  72. package/google/api/config_change_pb_service.d.ts +0 -3
  73. package/google/api/config_change_pb_service.js +0 -3
  74. package/google/api/consumer_pb.d.ts +0 -65
  75. package/google/api/consumer_pb.js +0 -430
  76. package/google/api/consumer_pb_service.d.ts +0 -3
  77. package/google/api/consumer_pb_service.js +0 -3
  78. package/google/api/context_pb.d.ts +0 -59
  79. package/google/api/context_pb.js +0 -463
  80. package/google/api/context_pb_service.d.ts +0 -3
  81. package/google/api/context_pb_service.js +0 -3
  82. package/google/api/control_pb.d.ts +0 -25
  83. package/google/api/control_pb.js +0 -176
  84. package/google/api/control_pb_service.d.ts +0 -3
  85. package/google/api/control_pb_service.js +0 -3
  86. package/google/api/distribution_pb.d.ts +0 -235
  87. package/google/api/distribution_pb.js +0 -1805
  88. package/google/api/distribution_pb_service.d.ts +0 -3
  89. package/google/api/distribution_pb_service.js +0 -3
  90. package/google/api/documentation_pb.d.ts +0 -103
  91. package/google/api/documentation_pb.js +0 -803
  92. package/google/api/documentation_pb_service.d.ts +0 -3
  93. package/google/api/documentation_pb_service.js +0 -3
  94. package/google/api/endpoint_pb.d.ts +0 -46
  95. package/google/api/endpoint_pb.js +0 -343
  96. package/google/api/endpoint_pb_service.d.ts +0 -3
  97. package/google/api/endpoint_pb_service.js +0 -3
  98. package/google/api/error_reason_pb.d.ts +0 -40
  99. package/google/api/error_reason_pb.js +0 -61
  100. package/google/api/error_reason_pb_service.d.ts +0 -3
  101. package/google/api/error_reason_pb_service.js +0 -3
  102. package/google/api/field_behavior_pb.d.ts +0 -20
  103. package/google/api/field_behavior_pb.js +0 -66
  104. package/google/api/field_behavior_pb_service.d.ts +0 -3
  105. package/google/api/field_behavior_pb_service.js +0 -3
  106. package/google/api/http_pb.d.ts +0 -136
  107. package/google/api/http_pb.js +0 -1012
  108. package/google/api/http_pb_service.d.ts +0 -3
  109. package/google/api/http_pb_service.js +0 -3
  110. package/google/api/httpbody_pb.d.ts +0 -38
  111. package/google/api/httpbody_pb.js +0 -292
  112. package/google/api/httpbody_pb_service.d.ts +0 -3
  113. package/google/api/httpbody_pb_service.js +0 -3
  114. package/google/api/label_pb.d.ts +0 -41
  115. package/google/api/label_pb.js +0 -246
  116. package/google/api/label_pb_service.d.ts +0 -3
  117. package/google/api/label_pb_service.js +0 -3
  118. package/google/api/launch_stage_pb.d.ts +0 -16
  119. package/google/api/launch_stage_pb.js +0 -37
  120. package/google/api/launch_stage_pb_service.d.ts +0 -3
  121. package/google/api/launch_stage_pb_service.js +0 -3
  122. package/google/api/log_pb.d.ts +0 -40
  123. package/google/api/log_pb.js +0 -298
  124. package/google/api/log_pb_service.d.ts +0 -3
  125. package/google/api/log_pb_service.js +0 -3
  126. package/google/api/logging_pb.d.ts +0 -60
  127. package/google/api/logging_pb.js +0 -469
  128. package/google/api/logging_pb_service.d.ts +0 -3
  129. package/google/api/logging_pb_service.js +0 -3
  130. package/google/api/metric_pb.d.ts +0 -100
  131. package/google/api/metric_pb.js +0 -629
  132. package/google/api/metric_pb_service.d.ts +0 -3
  133. package/google/api/metric_pb_service.js +0 -3
  134. package/google/api/monitored_resource_pb.d.ts +0 -93
  135. package/google/api/monitored_resource_pb.js +0 -723
  136. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  137. package/google/api/monitored_resource_pb_service.js +0 -3
  138. package/google/api/monitoring_pb.d.ts +0 -60
  139. package/google/api/monitoring_pb.js +0 -469
  140. package/google/api/monitoring_pb_service.d.ts +0 -3
  141. package/google/api/monitoring_pb_service.js +0 -3
  142. package/google/api/policy_pb.d.ts +0 -64
  143. package/google/api/policy_pb.js +0 -502
  144. package/google/api/policy_pb_service.d.ts +0 -3
  145. package/google/api/policy_pb_service.js +0 -3
  146. package/google/api/quota_pb.d.ts +0 -112
  147. package/google/api/quota_pb.js +0 -873
  148. package/google/api/quota_pb_service.d.ts +0 -3
  149. package/google/api/quota_pb_service.js +0 -3
  150. package/google/api/resource_pb.d.ts +0 -99
  151. package/google/api/resource_pb.js +0 -684
  152. package/google/api/resource_pb_service.d.ts +0 -3
  153. package/google/api/resource_pb_service.js +0 -3
  154. package/google/api/routing_pb.d.ts +0 -54
  155. package/google/api/routing_pb.js +0 -416
  156. package/google/api/routing_pb_service.d.ts +0 -3
  157. package/google/api/routing_pb_service.js +0 -3
  158. package/google/api/service_pb.d.ts +0 -184
  159. package/google/api/service_pb.js +0 -1400
  160. package/google/api/service_pb_service.d.ts +0 -3
  161. package/google/api/service_pb_service.js +0 -3
  162. package/google/api/source_info_pb.d.ts +0 -28
  163. package/google/api/source_info_pb.js +0 -208
  164. package/google/api/source_info_pb_service.d.ts +0 -3
  165. package/google/api/source_info_pb_service.js +0 -3
  166. package/google/api/system_parameter_pb.d.ts +0 -81
  167. package/google/api/system_parameter_pb.js +0 -630
  168. package/google/api/system_parameter_pb_service.d.ts +0 -3
  169. package/google/api/system_parameter_pb_service.js +0 -3
  170. package/google/api/usage_pb.d.ts +0 -66
  171. package/google/api/usage_pb.js +0 -499
  172. package/google/api/usage_pb_service.d.ts +0 -3
  173. package/google/api/usage_pb_service.js +0 -3
  174. package/google/api/visibility_pb.d.ts +0 -64
  175. package/google/api/visibility_pb.js +0 -546
  176. package/google/api/visibility_pb_service.d.ts +0 -3
  177. package/google/api/visibility_pb_service.js +0 -3
  178. package/meta.client_pb.d.ts +0 -168
  179. package/meta.client_pb.js +0 -1268
  180. package/meta.client_pb_service.d.ts +0 -122
  181. package/meta.client_pb_service.js +0 -183
  182. package/meta.spic_config_pb.d.ts +0 -251
  183. package/meta.spic_config_pb.js +0 -1820
  184. package/meta.spic_config_pb_service.d.ts +0 -141
  185. package/meta.spic_config_pb_service.js +0 -223
  186. package/platform.activity_log_pb.d.ts +0 -177
  187. package/platform.activity_log_pb.js +0 -1294
  188. package/platform.activity_log_pb_service.d.ts +0 -82
  189. package/platform.activity_log_pb_service.js +0 -101
  190. package/platform.client_pb.d.ts +0 -350
  191. package/platform.client_pb.js +0 -2663
  192. package/platform.client_pb_service.d.ts +0 -158
  193. package/platform.client_pb_service.js +0 -261
  194. package/platform.group_pb.d.ts +0 -195
  195. package/platform.group_pb.js +0 -1476
  196. package/platform.group_pb_service.d.ts +0 -139
  197. package/platform.group_pb_service.js +0 -221
  198. package/platform.local_account_pb.d.ts +0 -434
  199. package/platform.local_account_pb.js +0 -3318
  200. package/platform.local_account_pb_service.d.ts +0 -388
  201. package/platform.local_account_pb_service.js +0 -743
  202. package/platform.local_distribution_pb.d.ts +0 -69
  203. package/platform.local_distribution_pb.js +0 -506
  204. package/platform.local_distribution_pb_service.d.ts +0 -63
  205. package/platform.local_distribution_pb_service.js +0 -61
  206. package/platform.location_pb.d.ts +0 -271
  207. package/platform.location_pb.js +0 -2046
  208. package/platform.location_pb_service.d.ts +0 -139
  209. package/platform.location_pb_service.js +0 -221
  210. package/platform.pagination_pb.d.ts +0 -45
  211. package/platform.pagination_pb.js +0 -276
  212. package/platform.pagination_pb_service.d.ts +0 -3
  213. package/platform.pagination_pb_service.js +0 -3
  214. package/spic.cabinet_pb.d.ts +0 -1320
  215. package/spic.cabinet_pb.js +0 -9833
  216. package/spic.cabinet_pb_service.d.ts +0 -359
  217. package/spic.cabinet_pb_service.js +0 -677
  218. package/spic.config_pb.d.ts +0 -249
  219. package/spic.config_pb.js +0 -1891
  220. package/spic.config_pb_service.d.ts +0 -120
  221. package/spic.config_pb_service.js +0 -181
  222. package/spic.contractor_pb.d.ts +0 -195
  223. package/spic.contractor_pb.js +0 -1476
  224. package/spic.contractor_pb_service.d.ts +0 -139
  225. package/spic.contractor_pb_service.js +0 -221
@@ -1,1289 +0,0 @@
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);