@aceplus/smartace-api 2.1.0-drumtracker.8 → 2.1.0-drumtracker.9

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 (217) hide show
  1. package/package.json +1 -1
  2. package/auth.account_events_pb.d.ts +0 -5
  3. package/auth.account_events_pb.js +0 -23
  4. package/auth.account_events_pb_service.d.ts +0 -3
  5. package/auth.account_events_pb_service.js +0 -3
  6. package/auth.account_pb.d.ts +0 -525
  7. package/auth.account_pb.js +0 -3983
  8. package/auth.account_pb_service.d.ts +0 -454
  9. package/auth.account_pb_service.js +0 -877
  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 -85
  23. package/auth.authn_pb.js +0 -625
  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.push_notification_pb.d.ts +0 -187
  39. package/auth.push_notification_pb.js +0 -1289
  40. package/auth.push_notification_pb_service.d.ts +0 -121
  41. package/auth.push_notification_pb_service.js +0 -182
  42. package/auth.sms_pb.d.ts +0 -79
  43. package/auth.sms_pb.js +0 -575
  44. package/auth.sms_pb_service.d.ts +0 -83
  45. package/auth.sms_pb_service.js +0 -102
  46. package/drumtracker.drum_pb.d.ts +0 -541
  47. package/drumtracker.drum_pb.js +0 -4110
  48. package/drumtracker.drum_pb_service.d.ts +0 -177
  49. package/drumtracker.drum_pb_service.js +0 -301
  50. package/drumtracker.tracker_pb.d.ts +0 -244
  51. package/drumtracker.tracker_pb.js +0 -1864
  52. package/drumtracker.tracker_pb_service.d.ts +0 -139
  53. package/drumtracker.tracker_pb_service.js +0 -221
  54. package/google/api/annotations_pb.d.ts +0 -9
  55. package/google/api/annotations_pb.js +0 -54
  56. package/google/api/annotations_pb_service.d.ts +0 -3
  57. package/google/api/annotations_pb_service.js +0 -3
  58. package/google/api/auth_pb.d.ts +0 -150
  59. package/google/api/auth_pb.js +0 -1160
  60. package/google/api/auth_pb_service.d.ts +0 -3
  61. package/google/api/auth_pb_service.js +0 -3
  62. package/google/api/backend_pb.d.ts +0 -59
  63. package/google/api/backend_pb.js +0 -448
  64. package/google/api/backend_pb_service.d.ts +0 -3
  65. package/google/api/backend_pb_service.js +0 -3
  66. package/google/api/billing_pb.d.ts +0 -54
  67. package/google/api/billing_pb.js +0 -416
  68. package/google/api/billing_pb_service.d.ts +0 -3
  69. package/google/api/billing_pb_service.js +0 -3
  70. package/google/api/client_pb.d.ts +0 -12
  71. package/google/api/client_pb.js +0 -104
  72. package/google/api/client_pb_service.d.ts +0 -3
  73. package/google/api/client_pb_service.js +0 -3
  74. package/google/api/config_change_pb.d.ts +0 -72
  75. package/google/api/config_change_pb.js +0 -489
  76. package/google/api/config_change_pb_service.d.ts +0 -3
  77. package/google/api/config_change_pb_service.js +0 -3
  78. package/google/api/consumer_pb.d.ts +0 -65
  79. package/google/api/consumer_pb.js +0 -430
  80. package/google/api/consumer_pb_service.d.ts +0 -3
  81. package/google/api/consumer_pb_service.js +0 -3
  82. package/google/api/context_pb.d.ts +0 -59
  83. package/google/api/context_pb.js +0 -463
  84. package/google/api/context_pb_service.d.ts +0 -3
  85. package/google/api/context_pb_service.js +0 -3
  86. package/google/api/control_pb.d.ts +0 -25
  87. package/google/api/control_pb.js +0 -176
  88. package/google/api/control_pb_service.d.ts +0 -3
  89. package/google/api/control_pb_service.js +0 -3
  90. package/google/api/distribution_pb.d.ts +0 -235
  91. package/google/api/distribution_pb.js +0 -1805
  92. package/google/api/distribution_pb_service.d.ts +0 -3
  93. package/google/api/distribution_pb_service.js +0 -3
  94. package/google/api/documentation_pb.d.ts +0 -103
  95. package/google/api/documentation_pb.js +0 -803
  96. package/google/api/documentation_pb_service.d.ts +0 -3
  97. package/google/api/documentation_pb_service.js +0 -3
  98. package/google/api/endpoint_pb.d.ts +0 -46
  99. package/google/api/endpoint_pb.js +0 -343
  100. package/google/api/endpoint_pb_service.d.ts +0 -3
  101. package/google/api/endpoint_pb_service.js +0 -3
  102. package/google/api/error_reason_pb.d.ts +0 -40
  103. package/google/api/error_reason_pb.js +0 -61
  104. package/google/api/error_reason_pb_service.d.ts +0 -3
  105. package/google/api/error_reason_pb_service.js +0 -3
  106. package/google/api/field_behavior_pb.d.ts +0 -20
  107. package/google/api/field_behavior_pb.js +0 -66
  108. package/google/api/field_behavior_pb_service.d.ts +0 -3
  109. package/google/api/field_behavior_pb_service.js +0 -3
  110. package/google/api/http_pb.d.ts +0 -136
  111. package/google/api/http_pb.js +0 -1012
  112. package/google/api/http_pb_service.d.ts +0 -3
  113. package/google/api/http_pb_service.js +0 -3
  114. package/google/api/httpbody_pb.d.ts +0 -38
  115. package/google/api/httpbody_pb.js +0 -292
  116. package/google/api/httpbody_pb_service.d.ts +0 -3
  117. package/google/api/httpbody_pb_service.js +0 -3
  118. package/google/api/label_pb.d.ts +0 -41
  119. package/google/api/label_pb.js +0 -246
  120. package/google/api/label_pb_service.d.ts +0 -3
  121. package/google/api/label_pb_service.js +0 -3
  122. package/google/api/launch_stage_pb.d.ts +0 -16
  123. package/google/api/launch_stage_pb.js +0 -37
  124. package/google/api/launch_stage_pb_service.d.ts +0 -3
  125. package/google/api/launch_stage_pb_service.js +0 -3
  126. package/google/api/log_pb.d.ts +0 -40
  127. package/google/api/log_pb.js +0 -298
  128. package/google/api/log_pb_service.d.ts +0 -3
  129. package/google/api/log_pb_service.js +0 -3
  130. package/google/api/logging_pb.d.ts +0 -60
  131. package/google/api/logging_pb.js +0 -469
  132. package/google/api/logging_pb_service.d.ts +0 -3
  133. package/google/api/logging_pb_service.js +0 -3
  134. package/google/api/metric_pb.d.ts +0 -100
  135. package/google/api/metric_pb.js +0 -629
  136. package/google/api/metric_pb_service.d.ts +0 -3
  137. package/google/api/metric_pb_service.js +0 -3
  138. package/google/api/monitored_resource_pb.d.ts +0 -93
  139. package/google/api/monitored_resource_pb.js +0 -723
  140. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  141. package/google/api/monitored_resource_pb_service.js +0 -3
  142. package/google/api/monitoring_pb.d.ts +0 -60
  143. package/google/api/monitoring_pb.js +0 -469
  144. package/google/api/monitoring_pb_service.d.ts +0 -3
  145. package/google/api/monitoring_pb_service.js +0 -3
  146. package/google/api/policy_pb.d.ts +0 -64
  147. package/google/api/policy_pb.js +0 -502
  148. package/google/api/policy_pb_service.d.ts +0 -3
  149. package/google/api/policy_pb_service.js +0 -3
  150. package/google/api/quota_pb.d.ts +0 -112
  151. package/google/api/quota_pb.js +0 -873
  152. package/google/api/quota_pb_service.d.ts +0 -3
  153. package/google/api/quota_pb_service.js +0 -3
  154. package/google/api/resource_pb.d.ts +0 -99
  155. package/google/api/resource_pb.js +0 -684
  156. package/google/api/resource_pb_service.d.ts +0 -3
  157. package/google/api/resource_pb_service.js +0 -3
  158. package/google/api/routing_pb.d.ts +0 -54
  159. package/google/api/routing_pb.js +0 -416
  160. package/google/api/routing_pb_service.d.ts +0 -3
  161. package/google/api/routing_pb_service.js +0 -3
  162. package/google/api/service_pb.d.ts +0 -184
  163. package/google/api/service_pb.js +0 -1400
  164. package/google/api/service_pb_service.d.ts +0 -3
  165. package/google/api/service_pb_service.js +0 -3
  166. package/google/api/source_info_pb.d.ts +0 -28
  167. package/google/api/source_info_pb.js +0 -208
  168. package/google/api/source_info_pb_service.d.ts +0 -3
  169. package/google/api/source_info_pb_service.js +0 -3
  170. package/google/api/system_parameter_pb.d.ts +0 -81
  171. package/google/api/system_parameter_pb.js +0 -630
  172. package/google/api/system_parameter_pb_service.d.ts +0 -3
  173. package/google/api/system_parameter_pb_service.js +0 -3
  174. package/google/api/usage_pb.d.ts +0 -66
  175. package/google/api/usage_pb.js +0 -499
  176. package/google/api/usage_pb_service.d.ts +0 -3
  177. package/google/api/usage_pb_service.js +0 -3
  178. package/google/api/visibility_pb.d.ts +0 -64
  179. package/google/api/visibility_pb.js +0 -546
  180. package/google/api/visibility_pb_service.d.ts +0 -3
  181. package/google/api/visibility_pb_service.js +0 -3
  182. package/platform.activity_log_pb.d.ts +0 -177
  183. package/platform.activity_log_pb.js +0 -1294
  184. package/platform.activity_log_pb_service.d.ts +0 -82
  185. package/platform.activity_log_pb_service.js +0 -101
  186. package/platform.client_pb.d.ts +0 -316
  187. package/platform.client_pb.js +0 -2399
  188. package/platform.client_pb_service.d.ts +0 -158
  189. package/platform.client_pb_service.js +0 -261
  190. package/platform.group_pb.d.ts +0 -195
  191. package/platform.group_pb.js +0 -1476
  192. package/platform.group_pb_service.d.ts +0 -139
  193. package/platform.group_pb_service.js +0 -221
  194. package/platform.local_account_pb.d.ts +0 -392
  195. package/platform.local_account_pb.js +0 -2962
  196. package/platform.local_account_pb_service.d.ts +0 -350
  197. package/platform.local_account_pb_service.js +0 -663
  198. package/platform.local_distribution_pb.d.ts +0 -69
  199. package/platform.local_distribution_pb.js +0 -506
  200. package/platform.local_distribution_pb_service.d.ts +0 -63
  201. package/platform.local_distribution_pb_service.js +0 -61
  202. package/platform.location_pb.d.ts +0 -271
  203. package/platform.location_pb.js +0 -2046
  204. package/platform.location_pb_service.d.ts +0 -139
  205. package/platform.location_pb_service.js +0 -221
  206. package/platform.pagination_pb.d.ts +0 -37
  207. package/platform.pagination_pb.js +0 -266
  208. package/platform.pagination_pb_service.d.ts +0 -3
  209. package/platform.pagination_pb_service.js +0 -3
  210. package/spic.cabinet_pb.d.ts +0 -1304
  211. package/spic.cabinet_pb.js +0 -9727
  212. package/spic.cabinet_pb_service.d.ts +0 -359
  213. package/spic.cabinet_pb_service.js +0 -677
  214. package/spic.contractor_pb.d.ts +0 -195
  215. package/spic.contractor_pb.js +0 -1476
  216. package/spic.contractor_pb_service.d.ts +0 -139
  217. package/spic.contractor_pb_service.js +0 -221
@@ -1,1785 +0,0 @@
1
- // source: auth.distribution.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 auth_cluster_pb = require('./auth.cluster_pb.js');
25
- goog.object.extend(proto, auth_cluster_pb);
26
- var platform_pagination_pb = require('./platform.pagination_pb.js');
27
- goog.object.extend(proto, platform_pagination_pb);
28
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
29
- goog.object.extend(proto, google_api_annotations_pb);
30
- var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
31
- goog.object.extend(proto, google_protobuf_timestamp_pb);
32
- goog.exportSymbol('proto.Auth.DistributionProto', null, global);
33
- goog.exportSymbol('proto.Auth.DistributionProto.CheckExistenceRequest', null, global);
34
- goog.exportSymbol('proto.Auth.DistributionProto.CheckExistenceResponse', null, global);
35
- goog.exportSymbol('proto.Auth.DistributionProto.DistributionLog', null, global);
36
- goog.exportSymbol('proto.Auth.DistributionProto.DistributionLog.RetrieveReply', null, global);
37
- goog.exportSymbol('proto.Auth.DistributionProto.DistributionLog.RetrieveRequest', null, global);
38
- /**
39
- * Generated by JsPbCodeGenerator.
40
- * @param {Array=} opt_data Optional initial data array, typically from a
41
- * server response, or constructed directly in Javascript. The array is used
42
- * in place and becomes part of the constructed object. It is not cloned.
43
- * If no data is provided, the constructed object will be empty, but still
44
- * valid.
45
- * @extends {jspb.Message}
46
- * @constructor
47
- */
48
- proto.Auth.DistributionProto = function(opt_data) {
49
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
50
- };
51
- goog.inherits(proto.Auth.DistributionProto, jspb.Message);
52
- if (goog.DEBUG && !COMPILED) {
53
- /**
54
- * @public
55
- * @override
56
- */
57
- proto.Auth.DistributionProto.displayName = 'proto.Auth.DistributionProto';
58
- }
59
- /**
60
- * Generated by JsPbCodeGenerator.
61
- * @param {Array=} opt_data Optional initial data array, typically from a
62
- * server response, or constructed directly in Javascript. The array is used
63
- * in place and becomes part of the constructed object. It is not cloned.
64
- * If no data is provided, the constructed object will be empty, but still
65
- * valid.
66
- * @extends {jspb.Message}
67
- * @constructor
68
- */
69
- proto.Auth.DistributionProto.CheckExistenceRequest = function(opt_data) {
70
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
71
- };
72
- goog.inherits(proto.Auth.DistributionProto.CheckExistenceRequest, jspb.Message);
73
- if (goog.DEBUG && !COMPILED) {
74
- /**
75
- * @public
76
- * @override
77
- */
78
- proto.Auth.DistributionProto.CheckExistenceRequest.displayName = 'proto.Auth.DistributionProto.CheckExistenceRequest';
79
- }
80
- /**
81
- * Generated by JsPbCodeGenerator.
82
- * @param {Array=} opt_data Optional initial data array, typically from a
83
- * server response, or constructed directly in Javascript. The array is used
84
- * in place and becomes part of the constructed object. It is not cloned.
85
- * If no data is provided, the constructed object will be empty, but still
86
- * valid.
87
- * @extends {jspb.Message}
88
- * @constructor
89
- */
90
- proto.Auth.DistributionProto.CheckExistenceResponse = function(opt_data) {
91
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
92
- };
93
- goog.inherits(proto.Auth.DistributionProto.CheckExistenceResponse, jspb.Message);
94
- if (goog.DEBUG && !COMPILED) {
95
- /**
96
- * @public
97
- * @override
98
- */
99
- proto.Auth.DistributionProto.CheckExistenceResponse.displayName = 'proto.Auth.DistributionProto.CheckExistenceResponse';
100
- }
101
- /**
102
- * Generated by JsPbCodeGenerator.
103
- * @param {Array=} opt_data Optional initial data array, typically from a
104
- * server response, or constructed directly in Javascript. The array is used
105
- * in place and becomes part of the constructed object. It is not cloned.
106
- * If no data is provided, the constructed object will be empty, but still
107
- * valid.
108
- * @extends {jspb.Message}
109
- * @constructor
110
- */
111
- proto.Auth.DistributionProto.DistributionLog = function(opt_data) {
112
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
113
- };
114
- goog.inherits(proto.Auth.DistributionProto.DistributionLog, jspb.Message);
115
- if (goog.DEBUG && !COMPILED) {
116
- /**
117
- * @public
118
- * @override
119
- */
120
- proto.Auth.DistributionProto.DistributionLog.displayName = 'proto.Auth.DistributionProto.DistributionLog';
121
- }
122
- /**
123
- * Generated by JsPbCodeGenerator.
124
- * @param {Array=} opt_data Optional initial data array, typically from a
125
- * server response, or constructed directly in Javascript. The array is used
126
- * in place and becomes part of the constructed object. It is not cloned.
127
- * If no data is provided, the constructed object will be empty, but still
128
- * valid.
129
- * @extends {jspb.Message}
130
- * @constructor
131
- */
132
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest = function(opt_data) {
133
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.repeatedFields_, null);
134
- };
135
- goog.inherits(proto.Auth.DistributionProto.DistributionLog.RetrieveRequest, jspb.Message);
136
- if (goog.DEBUG && !COMPILED) {
137
- /**
138
- * @public
139
- * @override
140
- */
141
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.displayName = 'proto.Auth.DistributionProto.DistributionLog.RetrieveRequest';
142
- }
143
- /**
144
- * Generated by JsPbCodeGenerator.
145
- * @param {Array=} opt_data Optional initial data array, typically from a
146
- * server response, or constructed directly in Javascript. The array is used
147
- * in place and becomes part of the constructed object. It is not cloned.
148
- * If no data is provided, the constructed object will be empty, but still
149
- * valid.
150
- * @extends {jspb.Message}
151
- * @constructor
152
- */
153
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply = function(opt_data) {
154
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.DistributionProto.DistributionLog.RetrieveReply.repeatedFields_, null);
155
- };
156
- goog.inherits(proto.Auth.DistributionProto.DistributionLog.RetrieveReply, jspb.Message);
157
- if (goog.DEBUG && !COMPILED) {
158
- /**
159
- * @public
160
- * @override
161
- */
162
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.displayName = 'proto.Auth.DistributionProto.DistributionLog.RetrieveReply';
163
- }
164
-
165
-
166
-
167
- if (jspb.Message.GENERATE_TO_OBJECT) {
168
- /**
169
- * Creates an object representation of this proto.
170
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
171
- * Optional fields that are not set will be set to undefined.
172
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
173
- * For the list of reserved names please see:
174
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
175
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
176
- * JSPB instance for transitional soy proto support:
177
- * http://goto/soy-param-migration
178
- * @return {!Object}
179
- */
180
- proto.Auth.DistributionProto.prototype.toObject = function(opt_includeInstance) {
181
- return proto.Auth.DistributionProto.toObject(opt_includeInstance, this);
182
- };
183
-
184
-
185
- /**
186
- * Static version of the {@see toObject} method.
187
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
188
- * the JSPB instance for transitional soy proto support:
189
- * http://goto/soy-param-migration
190
- * @param {!proto.Auth.DistributionProto} msg The msg instance to transform.
191
- * @return {!Object}
192
- * @suppress {unusedLocalVariables} f is only used for nested messages
193
- */
194
- proto.Auth.DistributionProto.toObject = function(includeInstance, msg) {
195
- var f, obj = {
196
-
197
- };
198
-
199
- if (includeInstance) {
200
- obj.$jspbMessageInstance = msg;
201
- }
202
- return obj;
203
- };
204
- }
205
-
206
-
207
- /**
208
- * Deserializes binary data (in protobuf wire format).
209
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
210
- * @return {!proto.Auth.DistributionProto}
211
- */
212
- proto.Auth.DistributionProto.deserializeBinary = function(bytes) {
213
- var reader = new jspb.BinaryReader(bytes);
214
- var msg = new proto.Auth.DistributionProto;
215
- return proto.Auth.DistributionProto.deserializeBinaryFromReader(msg, reader);
216
- };
217
-
218
-
219
- /**
220
- * Deserializes binary data (in protobuf wire format) from the
221
- * given reader into the given message object.
222
- * @param {!proto.Auth.DistributionProto} msg The message object to deserialize into.
223
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
224
- * @return {!proto.Auth.DistributionProto}
225
- */
226
- proto.Auth.DistributionProto.deserializeBinaryFromReader = function(msg, reader) {
227
- while (reader.nextField()) {
228
- if (reader.isEndGroup()) {
229
- break;
230
- }
231
- var field = reader.getFieldNumber();
232
- switch (field) {
233
- default:
234
- reader.skipField();
235
- break;
236
- }
237
- }
238
- return msg;
239
- };
240
-
241
-
242
- /**
243
- * Serializes the message to binary data (in protobuf wire format).
244
- * @return {!Uint8Array}
245
- */
246
- proto.Auth.DistributionProto.prototype.serializeBinary = function() {
247
- var writer = new jspb.BinaryWriter();
248
- proto.Auth.DistributionProto.serializeBinaryToWriter(this, writer);
249
- return writer.getResultBuffer();
250
- };
251
-
252
-
253
- /**
254
- * Serializes the given message to binary data (in protobuf wire
255
- * format), writing to the given BinaryWriter.
256
- * @param {!proto.Auth.DistributionProto} message
257
- * @param {!jspb.BinaryWriter} writer
258
- * @suppress {unusedLocalVariables} f is only used for nested messages
259
- */
260
- proto.Auth.DistributionProto.serializeBinaryToWriter = function(message, writer) {
261
- var f = undefined;
262
- };
263
-
264
-
265
-
266
-
267
-
268
- if (jspb.Message.GENERATE_TO_OBJECT) {
269
- /**
270
- * Creates an object representation of this proto.
271
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
272
- * Optional fields that are not set will be set to undefined.
273
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
274
- * For the list of reserved names please see:
275
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
276
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
277
- * JSPB instance for transitional soy proto support:
278
- * http://goto/soy-param-migration
279
- * @return {!Object}
280
- */
281
- proto.Auth.DistributionProto.CheckExistenceRequest.prototype.toObject = function(opt_includeInstance) {
282
- return proto.Auth.DistributionProto.CheckExistenceRequest.toObject(opt_includeInstance, this);
283
- };
284
-
285
-
286
- /**
287
- * Static version of the {@see toObject} method.
288
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
289
- * the JSPB instance for transitional soy proto support:
290
- * http://goto/soy-param-migration
291
- * @param {!proto.Auth.DistributionProto.CheckExistenceRequest} msg The msg instance to transform.
292
- * @return {!Object}
293
- * @suppress {unusedLocalVariables} f is only used for nested messages
294
- */
295
- proto.Auth.DistributionProto.CheckExistenceRequest.toObject = function(includeInstance, msg) {
296
- var f, obj = {
297
- uid: jspb.Message.getFieldWithDefault(msg, 1, "")
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.DistributionProto.CheckExistenceRequest}
312
- */
313
- proto.Auth.DistributionProto.CheckExistenceRequest.deserializeBinary = function(bytes) {
314
- var reader = new jspb.BinaryReader(bytes);
315
- var msg = new proto.Auth.DistributionProto.CheckExistenceRequest;
316
- return proto.Auth.DistributionProto.CheckExistenceRequest.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.DistributionProto.CheckExistenceRequest} msg The message object to deserialize into.
324
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
325
- * @return {!proto.Auth.DistributionProto.CheckExistenceRequest}
326
- */
327
- proto.Auth.DistributionProto.CheckExistenceRequest.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 {string} */ (reader.readString());
336
- msg.setUid(value);
337
- break;
338
- default:
339
- reader.skipField();
340
- break;
341
- }
342
- }
343
- return msg;
344
- };
345
-
346
-
347
- /**
348
- * Serializes the message to binary data (in protobuf wire format).
349
- * @return {!Uint8Array}
350
- */
351
- proto.Auth.DistributionProto.CheckExistenceRequest.prototype.serializeBinary = function() {
352
- var writer = new jspb.BinaryWriter();
353
- proto.Auth.DistributionProto.CheckExistenceRequest.serializeBinaryToWriter(this, writer);
354
- return writer.getResultBuffer();
355
- };
356
-
357
-
358
- /**
359
- * Serializes the given message to binary data (in protobuf wire
360
- * format), writing to the given BinaryWriter.
361
- * @param {!proto.Auth.DistributionProto.CheckExistenceRequest} message
362
- * @param {!jspb.BinaryWriter} writer
363
- * @suppress {unusedLocalVariables} f is only used for nested messages
364
- */
365
- proto.Auth.DistributionProto.CheckExistenceRequest.serializeBinaryToWriter = function(message, writer) {
366
- var f = undefined;
367
- f = message.getUid();
368
- if (f.length > 0) {
369
- writer.writeString(
370
- 1,
371
- f
372
- );
373
- }
374
- };
375
-
376
-
377
- /**
378
- * optional string uid = 1;
379
- * @return {string}
380
- */
381
- proto.Auth.DistributionProto.CheckExistenceRequest.prototype.getUid = function() {
382
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
383
- };
384
-
385
-
386
- /**
387
- * @param {string} value
388
- * @return {!proto.Auth.DistributionProto.CheckExistenceRequest} returns this
389
- */
390
- proto.Auth.DistributionProto.CheckExistenceRequest.prototype.setUid = function(value) {
391
- return jspb.Message.setProto3StringField(this, 1, value);
392
- };
393
-
394
-
395
-
396
-
397
-
398
- if (jspb.Message.GENERATE_TO_OBJECT) {
399
- /**
400
- * Creates an object representation of this proto.
401
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
402
- * Optional fields that are not set will be set to undefined.
403
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
404
- * For the list of reserved names please see:
405
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
406
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
407
- * JSPB instance for transitional soy proto support:
408
- * http://goto/soy-param-migration
409
- * @return {!Object}
410
- */
411
- proto.Auth.DistributionProto.CheckExistenceResponse.prototype.toObject = function(opt_includeInstance) {
412
- return proto.Auth.DistributionProto.CheckExistenceResponse.toObject(opt_includeInstance, this);
413
- };
414
-
415
-
416
- /**
417
- * Static version of the {@see toObject} method.
418
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
419
- * the JSPB instance for transitional soy proto support:
420
- * http://goto/soy-param-migration
421
- * @param {!proto.Auth.DistributionProto.CheckExistenceResponse} msg The msg instance to transform.
422
- * @return {!Object}
423
- * @suppress {unusedLocalVariables} f is only used for nested messages
424
- */
425
- proto.Auth.DistributionProto.CheckExistenceResponse.toObject = function(includeInstance, msg) {
426
- var f, obj = {
427
- exist: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
428
- cluster: (f = msg.getCluster()) && auth_cluster_pb.ClusterProto.toObject(includeInstance, f)
429
- };
430
-
431
- if (includeInstance) {
432
- obj.$jspbMessageInstance = msg;
433
- }
434
- return obj;
435
- };
436
- }
437
-
438
-
439
- /**
440
- * Deserializes binary data (in protobuf wire format).
441
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
442
- * @return {!proto.Auth.DistributionProto.CheckExistenceResponse}
443
- */
444
- proto.Auth.DistributionProto.CheckExistenceResponse.deserializeBinary = function(bytes) {
445
- var reader = new jspb.BinaryReader(bytes);
446
- var msg = new proto.Auth.DistributionProto.CheckExistenceResponse;
447
- return proto.Auth.DistributionProto.CheckExistenceResponse.deserializeBinaryFromReader(msg, reader);
448
- };
449
-
450
-
451
- /**
452
- * Deserializes binary data (in protobuf wire format) from the
453
- * given reader into the given message object.
454
- * @param {!proto.Auth.DistributionProto.CheckExistenceResponse} msg The message object to deserialize into.
455
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
456
- * @return {!proto.Auth.DistributionProto.CheckExistenceResponse}
457
- */
458
- proto.Auth.DistributionProto.CheckExistenceResponse.deserializeBinaryFromReader = function(msg, reader) {
459
- while (reader.nextField()) {
460
- if (reader.isEndGroup()) {
461
- break;
462
- }
463
- var field = reader.getFieldNumber();
464
- switch (field) {
465
- case 1:
466
- var value = /** @type {boolean} */ (reader.readBool());
467
- msg.setExist(value);
468
- break;
469
- case 2:
470
- var value = new auth_cluster_pb.ClusterProto;
471
- reader.readMessage(value,auth_cluster_pb.ClusterProto.deserializeBinaryFromReader);
472
- msg.setCluster(value);
473
- break;
474
- default:
475
- reader.skipField();
476
- break;
477
- }
478
- }
479
- return msg;
480
- };
481
-
482
-
483
- /**
484
- * Serializes the message to binary data (in protobuf wire format).
485
- * @return {!Uint8Array}
486
- */
487
- proto.Auth.DistributionProto.CheckExistenceResponse.prototype.serializeBinary = function() {
488
- var writer = new jspb.BinaryWriter();
489
- proto.Auth.DistributionProto.CheckExistenceResponse.serializeBinaryToWriter(this, writer);
490
- return writer.getResultBuffer();
491
- };
492
-
493
-
494
- /**
495
- * Serializes the given message to binary data (in protobuf wire
496
- * format), writing to the given BinaryWriter.
497
- * @param {!proto.Auth.DistributionProto.CheckExistenceResponse} message
498
- * @param {!jspb.BinaryWriter} writer
499
- * @suppress {unusedLocalVariables} f is only used for nested messages
500
- */
501
- proto.Auth.DistributionProto.CheckExistenceResponse.serializeBinaryToWriter = function(message, writer) {
502
- var f = undefined;
503
- f = message.getExist();
504
- if (f) {
505
- writer.writeBool(
506
- 1,
507
- f
508
- );
509
- }
510
- f = message.getCluster();
511
- if (f != null) {
512
- writer.writeMessage(
513
- 2,
514
- f,
515
- auth_cluster_pb.ClusterProto.serializeBinaryToWriter
516
- );
517
- }
518
- };
519
-
520
-
521
- /**
522
- * optional bool exist = 1;
523
- * @return {boolean}
524
- */
525
- proto.Auth.DistributionProto.CheckExistenceResponse.prototype.getExist = function() {
526
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
527
- };
528
-
529
-
530
- /**
531
- * @param {boolean} value
532
- * @return {!proto.Auth.DistributionProto.CheckExistenceResponse} returns this
533
- */
534
- proto.Auth.DistributionProto.CheckExistenceResponse.prototype.setExist = function(value) {
535
- return jspb.Message.setProto3BooleanField(this, 1, value);
536
- };
537
-
538
-
539
- /**
540
- * optional ClusterProto cluster = 2;
541
- * @return {?proto.Auth.ClusterProto}
542
- */
543
- proto.Auth.DistributionProto.CheckExistenceResponse.prototype.getCluster = function() {
544
- return /** @type{?proto.Auth.ClusterProto} */ (
545
- jspb.Message.getWrapperField(this, auth_cluster_pb.ClusterProto, 2));
546
- };
547
-
548
-
549
- /**
550
- * @param {?proto.Auth.ClusterProto|undefined} value
551
- * @return {!proto.Auth.DistributionProto.CheckExistenceResponse} returns this
552
- */
553
- proto.Auth.DistributionProto.CheckExistenceResponse.prototype.setCluster = function(value) {
554
- return jspb.Message.setWrapperField(this, 2, value);
555
- };
556
-
557
-
558
- /**
559
- * Clears the message field making it undefined.
560
- * @return {!proto.Auth.DistributionProto.CheckExistenceResponse} returns this
561
- */
562
- proto.Auth.DistributionProto.CheckExistenceResponse.prototype.clearCluster = function() {
563
- return this.setCluster(undefined);
564
- };
565
-
566
-
567
- /**
568
- * Returns whether this field is set.
569
- * @return {boolean}
570
- */
571
- proto.Auth.DistributionProto.CheckExistenceResponse.prototype.hasCluster = function() {
572
- return jspb.Message.getField(this, 2) != null;
573
- };
574
-
575
-
576
-
577
-
578
-
579
- if (jspb.Message.GENERATE_TO_OBJECT) {
580
- /**
581
- * Creates an object representation of this proto.
582
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
583
- * Optional fields that are not set will be set to undefined.
584
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
585
- * For the list of reserved names please see:
586
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
587
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
588
- * JSPB instance for transitional soy proto support:
589
- * http://goto/soy-param-migration
590
- * @return {!Object}
591
- */
592
- proto.Auth.DistributionProto.DistributionLog.prototype.toObject = function(opt_includeInstance) {
593
- return proto.Auth.DistributionProto.DistributionLog.toObject(opt_includeInstance, this);
594
- };
595
-
596
-
597
- /**
598
- * Static version of the {@see toObject} method.
599
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
600
- * the JSPB instance for transitional soy proto support:
601
- * http://goto/soy-param-migration
602
- * @param {!proto.Auth.DistributionProto.DistributionLog} msg The msg instance to transform.
603
- * @return {!Object}
604
- * @suppress {unusedLocalVariables} f is only used for nested messages
605
- */
606
- proto.Auth.DistributionProto.DistributionLog.toObject = function(includeInstance, msg) {
607
- var f, obj = {
608
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
609
- error: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
610
- date: (f = msg.getDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
611
- uid: jspb.Message.getFieldWithDefault(msg, 4, ""),
612
- operator: jspb.Message.getFieldWithDefault(msg, 5, ""),
613
- msg: jspb.Message.getFieldWithDefault(msg, 6, ""),
614
- firmwareVersion: jspb.Message.getFieldWithDefault(msg, 7, 0),
615
- networkNumber: jspb.Message.getFieldWithDefault(msg, 8, ""),
616
- imei: jspb.Message.getFieldWithDefault(msg, 9, ""),
617
- simIccid: jspb.Message.getFieldWithDefault(msg, 10, ""),
618
- crc: jspb.Message.getFieldWithDefault(msg, 11, ""),
619
- type: jspb.Message.getFieldWithDefault(msg, 12, "")
620
- };
621
-
622
- if (includeInstance) {
623
- obj.$jspbMessageInstance = msg;
624
- }
625
- return obj;
626
- };
627
- }
628
-
629
-
630
- /**
631
- * Deserializes binary data (in protobuf wire format).
632
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
633
- * @return {!proto.Auth.DistributionProto.DistributionLog}
634
- */
635
- proto.Auth.DistributionProto.DistributionLog.deserializeBinary = function(bytes) {
636
- var reader = new jspb.BinaryReader(bytes);
637
- var msg = new proto.Auth.DistributionProto.DistributionLog;
638
- return proto.Auth.DistributionProto.DistributionLog.deserializeBinaryFromReader(msg, reader);
639
- };
640
-
641
-
642
- /**
643
- * Deserializes binary data (in protobuf wire format) from the
644
- * given reader into the given message object.
645
- * @param {!proto.Auth.DistributionProto.DistributionLog} msg The message object to deserialize into.
646
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
647
- * @return {!proto.Auth.DistributionProto.DistributionLog}
648
- */
649
- proto.Auth.DistributionProto.DistributionLog.deserializeBinaryFromReader = function(msg, reader) {
650
- while (reader.nextField()) {
651
- if (reader.isEndGroup()) {
652
- break;
653
- }
654
- var field = reader.getFieldNumber();
655
- switch (field) {
656
- case 1:
657
- var value = /** @type {number} */ (reader.readInt64());
658
- msg.setId(value);
659
- break;
660
- case 2:
661
- var value = /** @type {boolean} */ (reader.readBool());
662
- msg.setError(value);
663
- break;
664
- case 3:
665
- var value = new google_protobuf_timestamp_pb.Timestamp;
666
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
667
- msg.setDate(value);
668
- break;
669
- case 4:
670
- var value = /** @type {string} */ (reader.readString());
671
- msg.setUid(value);
672
- break;
673
- case 5:
674
- var value = /** @type {string} */ (reader.readString());
675
- msg.setOperator(value);
676
- break;
677
- case 6:
678
- var value = /** @type {string} */ (reader.readString());
679
- msg.setMsg(value);
680
- break;
681
- case 7:
682
- var value = /** @type {number} */ (reader.readInt32());
683
- msg.setFirmwareVersion(value);
684
- break;
685
- case 8:
686
- var value = /** @type {string} */ (reader.readString());
687
- msg.setNetworkNumber(value);
688
- break;
689
- case 9:
690
- var value = /** @type {string} */ (reader.readString());
691
- msg.setImei(value);
692
- break;
693
- case 10:
694
- var value = /** @type {string} */ (reader.readString());
695
- msg.setSimIccid(value);
696
- break;
697
- case 11:
698
- var value = /** @type {string} */ (reader.readString());
699
- msg.setCrc(value);
700
- break;
701
- case 12:
702
- var value = /** @type {string} */ (reader.readString());
703
- msg.setType(value);
704
- break;
705
- default:
706
- reader.skipField();
707
- break;
708
- }
709
- }
710
- return msg;
711
- };
712
-
713
-
714
- /**
715
- * Serializes the message to binary data (in protobuf wire format).
716
- * @return {!Uint8Array}
717
- */
718
- proto.Auth.DistributionProto.DistributionLog.prototype.serializeBinary = function() {
719
- var writer = new jspb.BinaryWriter();
720
- proto.Auth.DistributionProto.DistributionLog.serializeBinaryToWriter(this, writer);
721
- return writer.getResultBuffer();
722
- };
723
-
724
-
725
- /**
726
- * Serializes the given message to binary data (in protobuf wire
727
- * format), writing to the given BinaryWriter.
728
- * @param {!proto.Auth.DistributionProto.DistributionLog} message
729
- * @param {!jspb.BinaryWriter} writer
730
- * @suppress {unusedLocalVariables} f is only used for nested messages
731
- */
732
- proto.Auth.DistributionProto.DistributionLog.serializeBinaryToWriter = function(message, writer) {
733
- var f = undefined;
734
- f = message.getId();
735
- if (f !== 0) {
736
- writer.writeInt64(
737
- 1,
738
- f
739
- );
740
- }
741
- f = message.getError();
742
- if (f) {
743
- writer.writeBool(
744
- 2,
745
- f
746
- );
747
- }
748
- f = message.getDate();
749
- if (f != null) {
750
- writer.writeMessage(
751
- 3,
752
- f,
753
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
754
- );
755
- }
756
- f = message.getUid();
757
- if (f.length > 0) {
758
- writer.writeString(
759
- 4,
760
- f
761
- );
762
- }
763
- f = message.getOperator();
764
- if (f.length > 0) {
765
- writer.writeString(
766
- 5,
767
- f
768
- );
769
- }
770
- f = message.getMsg();
771
- if (f.length > 0) {
772
- writer.writeString(
773
- 6,
774
- f
775
- );
776
- }
777
- f = message.getFirmwareVersion();
778
- if (f !== 0) {
779
- writer.writeInt32(
780
- 7,
781
- f
782
- );
783
- }
784
- f = message.getNetworkNumber();
785
- if (f.length > 0) {
786
- writer.writeString(
787
- 8,
788
- f
789
- );
790
- }
791
- f = message.getImei();
792
- if (f.length > 0) {
793
- writer.writeString(
794
- 9,
795
- f
796
- );
797
- }
798
- f = message.getSimIccid();
799
- if (f.length > 0) {
800
- writer.writeString(
801
- 10,
802
- f
803
- );
804
- }
805
- f = message.getCrc();
806
- if (f.length > 0) {
807
- writer.writeString(
808
- 11,
809
- f
810
- );
811
- }
812
- f = message.getType();
813
- if (f.length > 0) {
814
- writer.writeString(
815
- 12,
816
- f
817
- );
818
- }
819
- };
820
-
821
-
822
-
823
- /**
824
- * List of repeated fields within this message type.
825
- * @private {!Array<number>}
826
- * @const
827
- */
828
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.repeatedFields_ = [6,8];
829
-
830
-
831
-
832
- if (jspb.Message.GENERATE_TO_OBJECT) {
833
- /**
834
- * Creates an object representation of this proto.
835
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
836
- * Optional fields that are not set will be set to undefined.
837
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
838
- * For the list of reserved names please see:
839
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
840
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
841
- * JSPB instance for transitional soy proto support:
842
- * http://goto/soy-param-migration
843
- * @return {!Object}
844
- */
845
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
846
- return proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.toObject(opt_includeInstance, this);
847
- };
848
-
849
-
850
- /**
851
- * Static version of the {@see toObject} method.
852
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
853
- * the JSPB instance for transitional soy proto support:
854
- * http://goto/soy-param-migration
855
- * @param {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} msg The msg instance to transform.
856
- * @return {!Object}
857
- * @suppress {unusedLocalVariables} f is only used for nested messages
858
- */
859
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.toObject = function(includeInstance, msg) {
860
- var f, obj = {
861
- uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
862
- count: jspb.Message.getFieldWithDefault(msg, 2, 0),
863
- page: jspb.Message.getFieldWithDefault(msg, 3, 0),
864
- dateFrom: (f = msg.getDateFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
865
- dateTo: (f = msg.getDateTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
866
- operatorsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
867
- error: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
868
- crcList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
869
- simIccid: jspb.Message.getFieldWithDefault(msg, 9, ""),
870
- imei: jspb.Message.getFieldWithDefault(msg, 10, ""),
871
- type: jspb.Message.getFieldWithDefault(msg, 11, "")
872
- };
873
-
874
- if (includeInstance) {
875
- obj.$jspbMessageInstance = msg;
876
- }
877
- return obj;
878
- };
879
- }
880
-
881
-
882
- /**
883
- * Deserializes binary data (in protobuf wire format).
884
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
885
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest}
886
- */
887
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.deserializeBinary = function(bytes) {
888
- var reader = new jspb.BinaryReader(bytes);
889
- var msg = new proto.Auth.DistributionProto.DistributionLog.RetrieveRequest;
890
- return proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
891
- };
892
-
893
-
894
- /**
895
- * Deserializes binary data (in protobuf wire format) from the
896
- * given reader into the given message object.
897
- * @param {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} msg The message object to deserialize into.
898
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
899
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest}
900
- */
901
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
902
- while (reader.nextField()) {
903
- if (reader.isEndGroup()) {
904
- break;
905
- }
906
- var field = reader.getFieldNumber();
907
- switch (field) {
908
- case 1:
909
- var value = /** @type {string} */ (reader.readString());
910
- msg.setUid(value);
911
- break;
912
- case 2:
913
- var value = /** @type {number} */ (reader.readInt32());
914
- msg.setCount(value);
915
- break;
916
- case 3:
917
- var value = /** @type {number} */ (reader.readInt32());
918
- msg.setPage(value);
919
- break;
920
- case 4:
921
- var value = new google_protobuf_timestamp_pb.Timestamp;
922
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
923
- msg.setDateFrom(value);
924
- break;
925
- case 5:
926
- var value = new google_protobuf_timestamp_pb.Timestamp;
927
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
928
- msg.setDateTo(value);
929
- break;
930
- case 6:
931
- var value = /** @type {string} */ (reader.readString());
932
- msg.addOperators(value);
933
- break;
934
- case 7:
935
- var value = /** @type {boolean} */ (reader.readBool());
936
- msg.setError(value);
937
- break;
938
- case 8:
939
- var value = /** @type {string} */ (reader.readString());
940
- msg.addCrc(value);
941
- break;
942
- case 9:
943
- var value = /** @type {string} */ (reader.readString());
944
- msg.setSimIccid(value);
945
- break;
946
- case 10:
947
- var value = /** @type {string} */ (reader.readString());
948
- msg.setImei(value);
949
- break;
950
- case 11:
951
- var value = /** @type {string} */ (reader.readString());
952
- msg.setType(value);
953
- break;
954
- default:
955
- reader.skipField();
956
- break;
957
- }
958
- }
959
- return msg;
960
- };
961
-
962
-
963
- /**
964
- * Serializes the message to binary data (in protobuf wire format).
965
- * @return {!Uint8Array}
966
- */
967
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.serializeBinary = function() {
968
- var writer = new jspb.BinaryWriter();
969
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.serializeBinaryToWriter(this, writer);
970
- return writer.getResultBuffer();
971
- };
972
-
973
-
974
- /**
975
- * Serializes the given message to binary data (in protobuf wire
976
- * format), writing to the given BinaryWriter.
977
- * @param {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} message
978
- * @param {!jspb.BinaryWriter} writer
979
- * @suppress {unusedLocalVariables} f is only used for nested messages
980
- */
981
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
982
- var f = undefined;
983
- f = message.getUid();
984
- if (f.length > 0) {
985
- writer.writeString(
986
- 1,
987
- f
988
- );
989
- }
990
- f = message.getCount();
991
- if (f !== 0) {
992
- writer.writeInt32(
993
- 2,
994
- f
995
- );
996
- }
997
- f = message.getPage();
998
- if (f !== 0) {
999
- writer.writeInt32(
1000
- 3,
1001
- f
1002
- );
1003
- }
1004
- f = message.getDateFrom();
1005
- if (f != null) {
1006
- writer.writeMessage(
1007
- 4,
1008
- f,
1009
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1010
- );
1011
- }
1012
- f = message.getDateTo();
1013
- if (f != null) {
1014
- writer.writeMessage(
1015
- 5,
1016
- f,
1017
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1018
- );
1019
- }
1020
- f = message.getOperatorsList();
1021
- if (f.length > 0) {
1022
- writer.writeRepeatedString(
1023
- 6,
1024
- f
1025
- );
1026
- }
1027
- f = message.getError();
1028
- if (f) {
1029
- writer.writeBool(
1030
- 7,
1031
- f
1032
- );
1033
- }
1034
- f = message.getCrcList();
1035
- if (f.length > 0) {
1036
- writer.writeRepeatedString(
1037
- 8,
1038
- f
1039
- );
1040
- }
1041
- f = message.getSimIccid();
1042
- if (f.length > 0) {
1043
- writer.writeString(
1044
- 9,
1045
- f
1046
- );
1047
- }
1048
- f = message.getImei();
1049
- if (f.length > 0) {
1050
- writer.writeString(
1051
- 10,
1052
- f
1053
- );
1054
- }
1055
- f = message.getType();
1056
- if (f.length > 0) {
1057
- writer.writeString(
1058
- 11,
1059
- f
1060
- );
1061
- }
1062
- };
1063
-
1064
-
1065
- /**
1066
- * optional string uid = 1;
1067
- * @return {string}
1068
- */
1069
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getUid = function() {
1070
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1071
- };
1072
-
1073
-
1074
- /**
1075
- * @param {string} value
1076
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1077
- */
1078
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setUid = function(value) {
1079
- return jspb.Message.setProto3StringField(this, 1, value);
1080
- };
1081
-
1082
-
1083
- /**
1084
- * optional int32 count = 2;
1085
- * @return {number}
1086
- */
1087
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getCount = function() {
1088
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1089
- };
1090
-
1091
-
1092
- /**
1093
- * @param {number} value
1094
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1095
- */
1096
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setCount = function(value) {
1097
- return jspb.Message.setProto3IntField(this, 2, value);
1098
- };
1099
-
1100
-
1101
- /**
1102
- * optional int32 page = 3;
1103
- * @return {number}
1104
- */
1105
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getPage = function() {
1106
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1107
- };
1108
-
1109
-
1110
- /**
1111
- * @param {number} value
1112
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1113
- */
1114
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setPage = function(value) {
1115
- return jspb.Message.setProto3IntField(this, 3, value);
1116
- };
1117
-
1118
-
1119
- /**
1120
- * optional google.protobuf.Timestamp date_from = 4;
1121
- * @return {?proto.google.protobuf.Timestamp}
1122
- */
1123
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getDateFrom = function() {
1124
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1125
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
1126
- };
1127
-
1128
-
1129
- /**
1130
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1131
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1132
- */
1133
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setDateFrom = function(value) {
1134
- return jspb.Message.setWrapperField(this, 4, value);
1135
- };
1136
-
1137
-
1138
- /**
1139
- * Clears the message field making it undefined.
1140
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1141
- */
1142
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.clearDateFrom = function() {
1143
- return this.setDateFrom(undefined);
1144
- };
1145
-
1146
-
1147
- /**
1148
- * Returns whether this field is set.
1149
- * @return {boolean}
1150
- */
1151
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.hasDateFrom = function() {
1152
- return jspb.Message.getField(this, 4) != null;
1153
- };
1154
-
1155
-
1156
- /**
1157
- * optional google.protobuf.Timestamp date_to = 5;
1158
- * @return {?proto.google.protobuf.Timestamp}
1159
- */
1160
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getDateTo = function() {
1161
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1162
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
1163
- };
1164
-
1165
-
1166
- /**
1167
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1168
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1169
- */
1170
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setDateTo = function(value) {
1171
- return jspb.Message.setWrapperField(this, 5, value);
1172
- };
1173
-
1174
-
1175
- /**
1176
- * Clears the message field making it undefined.
1177
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1178
- */
1179
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.clearDateTo = function() {
1180
- return this.setDateTo(undefined);
1181
- };
1182
-
1183
-
1184
- /**
1185
- * Returns whether this field is set.
1186
- * @return {boolean}
1187
- */
1188
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.hasDateTo = function() {
1189
- return jspb.Message.getField(this, 5) != null;
1190
- };
1191
-
1192
-
1193
- /**
1194
- * repeated string operators = 6;
1195
- * @return {!Array<string>}
1196
- */
1197
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getOperatorsList = function() {
1198
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
1199
- };
1200
-
1201
-
1202
- /**
1203
- * @param {!Array<string>} value
1204
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1205
- */
1206
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setOperatorsList = function(value) {
1207
- return jspb.Message.setField(this, 6, value || []);
1208
- };
1209
-
1210
-
1211
- /**
1212
- * @param {string} value
1213
- * @param {number=} opt_index
1214
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1215
- */
1216
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.addOperators = function(value, opt_index) {
1217
- return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
1218
- };
1219
-
1220
-
1221
- /**
1222
- * Clears the list making it empty but non-null.
1223
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1224
- */
1225
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.clearOperatorsList = function() {
1226
- return this.setOperatorsList([]);
1227
- };
1228
-
1229
-
1230
- /**
1231
- * optional bool error = 7;
1232
- * @return {boolean}
1233
- */
1234
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getError = function() {
1235
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
1236
- };
1237
-
1238
-
1239
- /**
1240
- * @param {boolean} value
1241
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1242
- */
1243
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setError = function(value) {
1244
- return jspb.Message.setProto3BooleanField(this, 7, value);
1245
- };
1246
-
1247
-
1248
- /**
1249
- * repeated string crc = 8;
1250
- * @return {!Array<string>}
1251
- */
1252
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getCrcList = function() {
1253
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
1254
- };
1255
-
1256
-
1257
- /**
1258
- * @param {!Array<string>} value
1259
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1260
- */
1261
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setCrcList = function(value) {
1262
- return jspb.Message.setField(this, 8, value || []);
1263
- };
1264
-
1265
-
1266
- /**
1267
- * @param {string} value
1268
- * @param {number=} opt_index
1269
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1270
- */
1271
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.addCrc = function(value, opt_index) {
1272
- return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
1273
- };
1274
-
1275
-
1276
- /**
1277
- * Clears the list making it empty but non-null.
1278
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1279
- */
1280
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.clearCrcList = function() {
1281
- return this.setCrcList([]);
1282
- };
1283
-
1284
-
1285
- /**
1286
- * optional string sim_iccid = 9;
1287
- * @return {string}
1288
- */
1289
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getSimIccid = function() {
1290
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1291
- };
1292
-
1293
-
1294
- /**
1295
- * @param {string} value
1296
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1297
- */
1298
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setSimIccid = function(value) {
1299
- return jspb.Message.setProto3StringField(this, 9, value);
1300
- };
1301
-
1302
-
1303
- /**
1304
- * optional string imei = 10;
1305
- * @return {string}
1306
- */
1307
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getImei = function() {
1308
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1309
- };
1310
-
1311
-
1312
- /**
1313
- * @param {string} value
1314
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1315
- */
1316
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setImei = function(value) {
1317
- return jspb.Message.setProto3StringField(this, 10, value);
1318
- };
1319
-
1320
-
1321
- /**
1322
- * optional string type = 11;
1323
- * @return {string}
1324
- */
1325
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.getType = function() {
1326
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1327
- };
1328
-
1329
-
1330
- /**
1331
- * @param {string} value
1332
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveRequest} returns this
1333
- */
1334
- proto.Auth.DistributionProto.DistributionLog.RetrieveRequest.prototype.setType = function(value) {
1335
- return jspb.Message.setProto3StringField(this, 11, value);
1336
- };
1337
-
1338
-
1339
-
1340
- /**
1341
- * List of repeated fields within this message type.
1342
- * @private {!Array<number>}
1343
- * @const
1344
- */
1345
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.repeatedFields_ = [1];
1346
-
1347
-
1348
-
1349
- if (jspb.Message.GENERATE_TO_OBJECT) {
1350
- /**
1351
- * Creates an object representation of this proto.
1352
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1353
- * Optional fields that are not set will be set to undefined.
1354
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1355
- * For the list of reserved names please see:
1356
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1357
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1358
- * JSPB instance for transitional soy proto support:
1359
- * http://goto/soy-param-migration
1360
- * @return {!Object}
1361
- */
1362
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.toObject = function(opt_includeInstance) {
1363
- return proto.Auth.DistributionProto.DistributionLog.RetrieveReply.toObject(opt_includeInstance, this);
1364
- };
1365
-
1366
-
1367
- /**
1368
- * Static version of the {@see toObject} method.
1369
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1370
- * the JSPB instance for transitional soy proto support:
1371
- * http://goto/soy-param-migration
1372
- * @param {!proto.Auth.DistributionProto.DistributionLog.RetrieveReply} msg The msg instance to transform.
1373
- * @return {!Object}
1374
- * @suppress {unusedLocalVariables} f is only used for nested messages
1375
- */
1376
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.toObject = function(includeInstance, msg) {
1377
- var f, obj = {
1378
- logsList: jspb.Message.toObjectList(msg.getLogsList(),
1379
- proto.Auth.DistributionProto.DistributionLog.toObject, includeInstance),
1380
- pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1381
- };
1382
-
1383
- if (includeInstance) {
1384
- obj.$jspbMessageInstance = msg;
1385
- }
1386
- return obj;
1387
- };
1388
- }
1389
-
1390
-
1391
- /**
1392
- * Deserializes binary data (in protobuf wire format).
1393
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1394
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveReply}
1395
- */
1396
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.deserializeBinary = function(bytes) {
1397
- var reader = new jspb.BinaryReader(bytes);
1398
- var msg = new proto.Auth.DistributionProto.DistributionLog.RetrieveReply;
1399
- return proto.Auth.DistributionProto.DistributionLog.RetrieveReply.deserializeBinaryFromReader(msg, reader);
1400
- };
1401
-
1402
-
1403
- /**
1404
- * Deserializes binary data (in protobuf wire format) from the
1405
- * given reader into the given message object.
1406
- * @param {!proto.Auth.DistributionProto.DistributionLog.RetrieveReply} msg The message object to deserialize into.
1407
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1408
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveReply}
1409
- */
1410
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.deserializeBinaryFromReader = function(msg, reader) {
1411
- while (reader.nextField()) {
1412
- if (reader.isEndGroup()) {
1413
- break;
1414
- }
1415
- var field = reader.getFieldNumber();
1416
- switch (field) {
1417
- case 1:
1418
- var value = new proto.Auth.DistributionProto.DistributionLog;
1419
- reader.readMessage(value,proto.Auth.DistributionProto.DistributionLog.deserializeBinaryFromReader);
1420
- msg.addLogs(value);
1421
- break;
1422
- case 2:
1423
- var value = new platform_pagination_pb.PaginationProto;
1424
- reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1425
- msg.setPagination(value);
1426
- break;
1427
- default:
1428
- reader.skipField();
1429
- break;
1430
- }
1431
- }
1432
- return msg;
1433
- };
1434
-
1435
-
1436
- /**
1437
- * Serializes the message to binary data (in protobuf wire format).
1438
- * @return {!Uint8Array}
1439
- */
1440
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.serializeBinary = function() {
1441
- var writer = new jspb.BinaryWriter();
1442
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.serializeBinaryToWriter(this, writer);
1443
- return writer.getResultBuffer();
1444
- };
1445
-
1446
-
1447
- /**
1448
- * Serializes the given message to binary data (in protobuf wire
1449
- * format), writing to the given BinaryWriter.
1450
- * @param {!proto.Auth.DistributionProto.DistributionLog.RetrieveReply} message
1451
- * @param {!jspb.BinaryWriter} writer
1452
- * @suppress {unusedLocalVariables} f is only used for nested messages
1453
- */
1454
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.serializeBinaryToWriter = function(message, writer) {
1455
- var f = undefined;
1456
- f = message.getLogsList();
1457
- if (f.length > 0) {
1458
- writer.writeRepeatedMessage(
1459
- 1,
1460
- f,
1461
- proto.Auth.DistributionProto.DistributionLog.serializeBinaryToWriter
1462
- );
1463
- }
1464
- f = message.getPagination();
1465
- if (f != null) {
1466
- writer.writeMessage(
1467
- 2,
1468
- f,
1469
- platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1470
- );
1471
- }
1472
- };
1473
-
1474
-
1475
- /**
1476
- * repeated DistributionLog logs = 1;
1477
- * @return {!Array<!proto.Auth.DistributionProto.DistributionLog>}
1478
- */
1479
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.getLogsList = function() {
1480
- return /** @type{!Array<!proto.Auth.DistributionProto.DistributionLog>} */ (
1481
- jspb.Message.getRepeatedWrapperField(this, proto.Auth.DistributionProto.DistributionLog, 1));
1482
- };
1483
-
1484
-
1485
- /**
1486
- * @param {!Array<!proto.Auth.DistributionProto.DistributionLog>} value
1487
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveReply} returns this
1488
- */
1489
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.setLogsList = function(value) {
1490
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1491
- };
1492
-
1493
-
1494
- /**
1495
- * @param {!proto.Auth.DistributionProto.DistributionLog=} opt_value
1496
- * @param {number=} opt_index
1497
- * @return {!proto.Auth.DistributionProto.DistributionLog}
1498
- */
1499
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.addLogs = function(opt_value, opt_index) {
1500
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Auth.DistributionProto.DistributionLog, opt_index);
1501
- };
1502
-
1503
-
1504
- /**
1505
- * Clears the list making it empty but non-null.
1506
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveReply} returns this
1507
- */
1508
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.clearLogsList = function() {
1509
- return this.setLogsList([]);
1510
- };
1511
-
1512
-
1513
- /**
1514
- * optional Platform.PaginationProto pagination = 2;
1515
- * @return {?proto.Platform.PaginationProto}
1516
- */
1517
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.getPagination = function() {
1518
- return /** @type{?proto.Platform.PaginationProto} */ (
1519
- jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1520
- };
1521
-
1522
-
1523
- /**
1524
- * @param {?proto.Platform.PaginationProto|undefined} value
1525
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveReply} returns this
1526
- */
1527
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.setPagination = function(value) {
1528
- return jspb.Message.setWrapperField(this, 2, value);
1529
- };
1530
-
1531
-
1532
- /**
1533
- * Clears the message field making it undefined.
1534
- * @return {!proto.Auth.DistributionProto.DistributionLog.RetrieveReply} returns this
1535
- */
1536
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.clearPagination = function() {
1537
- return this.setPagination(undefined);
1538
- };
1539
-
1540
-
1541
- /**
1542
- * Returns whether this field is set.
1543
- * @return {boolean}
1544
- */
1545
- proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.hasPagination = function() {
1546
- return jspb.Message.getField(this, 2) != null;
1547
- };
1548
-
1549
-
1550
- /**
1551
- * optional int64 id = 1;
1552
- * @return {number}
1553
- */
1554
- proto.Auth.DistributionProto.DistributionLog.prototype.getId = function() {
1555
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1556
- };
1557
-
1558
-
1559
- /**
1560
- * @param {number} value
1561
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1562
- */
1563
- proto.Auth.DistributionProto.DistributionLog.prototype.setId = function(value) {
1564
- return jspb.Message.setProto3IntField(this, 1, value);
1565
- };
1566
-
1567
-
1568
- /**
1569
- * optional bool error = 2;
1570
- * @return {boolean}
1571
- */
1572
- proto.Auth.DistributionProto.DistributionLog.prototype.getError = function() {
1573
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
1574
- };
1575
-
1576
-
1577
- /**
1578
- * @param {boolean} value
1579
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1580
- */
1581
- proto.Auth.DistributionProto.DistributionLog.prototype.setError = function(value) {
1582
- return jspb.Message.setProto3BooleanField(this, 2, value);
1583
- };
1584
-
1585
-
1586
- /**
1587
- * optional google.protobuf.Timestamp date = 3;
1588
- * @return {?proto.google.protobuf.Timestamp}
1589
- */
1590
- proto.Auth.DistributionProto.DistributionLog.prototype.getDate = function() {
1591
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1592
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
1593
- };
1594
-
1595
-
1596
- /**
1597
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1598
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1599
- */
1600
- proto.Auth.DistributionProto.DistributionLog.prototype.setDate = function(value) {
1601
- return jspb.Message.setWrapperField(this, 3, value);
1602
- };
1603
-
1604
-
1605
- /**
1606
- * Clears the message field making it undefined.
1607
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1608
- */
1609
- proto.Auth.DistributionProto.DistributionLog.prototype.clearDate = function() {
1610
- return this.setDate(undefined);
1611
- };
1612
-
1613
-
1614
- /**
1615
- * Returns whether this field is set.
1616
- * @return {boolean}
1617
- */
1618
- proto.Auth.DistributionProto.DistributionLog.prototype.hasDate = function() {
1619
- return jspb.Message.getField(this, 3) != null;
1620
- };
1621
-
1622
-
1623
- /**
1624
- * optional string uid = 4;
1625
- * @return {string}
1626
- */
1627
- proto.Auth.DistributionProto.DistributionLog.prototype.getUid = function() {
1628
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1629
- };
1630
-
1631
-
1632
- /**
1633
- * @param {string} value
1634
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1635
- */
1636
- proto.Auth.DistributionProto.DistributionLog.prototype.setUid = function(value) {
1637
- return jspb.Message.setProto3StringField(this, 4, value);
1638
- };
1639
-
1640
-
1641
- /**
1642
- * optional string operator = 5;
1643
- * @return {string}
1644
- */
1645
- proto.Auth.DistributionProto.DistributionLog.prototype.getOperator = function() {
1646
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1647
- };
1648
-
1649
-
1650
- /**
1651
- * @param {string} value
1652
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1653
- */
1654
- proto.Auth.DistributionProto.DistributionLog.prototype.setOperator = function(value) {
1655
- return jspb.Message.setProto3StringField(this, 5, value);
1656
- };
1657
-
1658
-
1659
- /**
1660
- * optional string msg = 6;
1661
- * @return {string}
1662
- */
1663
- proto.Auth.DistributionProto.DistributionLog.prototype.getMsg = function() {
1664
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1665
- };
1666
-
1667
-
1668
- /**
1669
- * @param {string} value
1670
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1671
- */
1672
- proto.Auth.DistributionProto.DistributionLog.prototype.setMsg = function(value) {
1673
- return jspb.Message.setProto3StringField(this, 6, value);
1674
- };
1675
-
1676
-
1677
- /**
1678
- * optional int32 firmware_version = 7;
1679
- * @return {number}
1680
- */
1681
- proto.Auth.DistributionProto.DistributionLog.prototype.getFirmwareVersion = function() {
1682
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
1683
- };
1684
-
1685
-
1686
- /**
1687
- * @param {number} value
1688
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1689
- */
1690
- proto.Auth.DistributionProto.DistributionLog.prototype.setFirmwareVersion = function(value) {
1691
- return jspb.Message.setProto3IntField(this, 7, value);
1692
- };
1693
-
1694
-
1695
- /**
1696
- * optional string network_number = 8;
1697
- * @return {string}
1698
- */
1699
- proto.Auth.DistributionProto.DistributionLog.prototype.getNetworkNumber = function() {
1700
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1701
- };
1702
-
1703
-
1704
- /**
1705
- * @param {string} value
1706
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1707
- */
1708
- proto.Auth.DistributionProto.DistributionLog.prototype.setNetworkNumber = function(value) {
1709
- return jspb.Message.setProto3StringField(this, 8, value);
1710
- };
1711
-
1712
-
1713
- /**
1714
- * optional string imei = 9;
1715
- * @return {string}
1716
- */
1717
- proto.Auth.DistributionProto.DistributionLog.prototype.getImei = function() {
1718
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1719
- };
1720
-
1721
-
1722
- /**
1723
- * @param {string} value
1724
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1725
- */
1726
- proto.Auth.DistributionProto.DistributionLog.prototype.setImei = function(value) {
1727
- return jspb.Message.setProto3StringField(this, 9, value);
1728
- };
1729
-
1730
-
1731
- /**
1732
- * optional string sim_iccid = 10;
1733
- * @return {string}
1734
- */
1735
- proto.Auth.DistributionProto.DistributionLog.prototype.getSimIccid = function() {
1736
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1737
- };
1738
-
1739
-
1740
- /**
1741
- * @param {string} value
1742
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1743
- */
1744
- proto.Auth.DistributionProto.DistributionLog.prototype.setSimIccid = function(value) {
1745
- return jspb.Message.setProto3StringField(this, 10, value);
1746
- };
1747
-
1748
-
1749
- /**
1750
- * optional string crc = 11;
1751
- * @return {string}
1752
- */
1753
- proto.Auth.DistributionProto.DistributionLog.prototype.getCrc = function() {
1754
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1755
- };
1756
-
1757
-
1758
- /**
1759
- * @param {string} value
1760
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1761
- */
1762
- proto.Auth.DistributionProto.DistributionLog.prototype.setCrc = function(value) {
1763
- return jspb.Message.setProto3StringField(this, 11, value);
1764
- };
1765
-
1766
-
1767
- /**
1768
- * optional string type = 12;
1769
- * @return {string}
1770
- */
1771
- proto.Auth.DistributionProto.DistributionLog.prototype.getType = function() {
1772
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1773
- };
1774
-
1775
-
1776
- /**
1777
- * @param {string} value
1778
- * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1779
- */
1780
- proto.Auth.DistributionProto.DistributionLog.prototype.setType = function(value) {
1781
- return jspb.Message.setProto3StringField(this, 12, value);
1782
- };
1783
-
1784
-
1785
- goog.object.extend(exports, proto.Auth);