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

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