@aceplus/smartace-api 3.6.0-alpha.17 → 3.6.0-alpha.18

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