@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,1476 @@
1
+ // source: spic.contractor.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 platform_pagination_pb = require('./platform.pagination_pb.js');
25
+ goog.object.extend(proto, platform_pagination_pb);
26
+ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
+ goog.object.extend(proto, google_api_annotations_pb);
28
+ goog.exportSymbol('proto.Spic.ContractorProto', null, global);
29
+ goog.exportSymbol('proto.Spic.ContractorProto.CreateRequest', null, global);
30
+ goog.exportSymbol('proto.Spic.ContractorProto.DeleteReply', null, global);
31
+ goog.exportSymbol('proto.Spic.ContractorProto.DeleteRequest', null, global);
32
+ goog.exportSymbol('proto.Spic.ContractorProto.RetrieveRequest', null, global);
33
+ goog.exportSymbol('proto.Spic.ContractorProto.SearchReply', null, global);
34
+ goog.exportSymbol('proto.Spic.ContractorProto.SearchRequest', null, global);
35
+ goog.exportSymbol('proto.Spic.ContractorProto.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.Spic.ContractorProto = function(opt_data) {
47
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
48
+ };
49
+ goog.inherits(proto.Spic.ContractorProto, jspb.Message);
50
+ if (goog.DEBUG && !COMPILED) {
51
+ /**
52
+ * @public
53
+ * @override
54
+ */
55
+ proto.Spic.ContractorProto.displayName = 'proto.Spic.ContractorProto';
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.Spic.ContractorProto.CreateRequest = function(opt_data) {
68
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
69
+ };
70
+ goog.inherits(proto.Spic.ContractorProto.CreateRequest, jspb.Message);
71
+ if (goog.DEBUG && !COMPILED) {
72
+ /**
73
+ * @public
74
+ * @override
75
+ */
76
+ proto.Spic.ContractorProto.CreateRequest.displayName = 'proto.Spic.ContractorProto.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.Spic.ContractorProto.RetrieveRequest = function(opt_data) {
89
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
90
+ };
91
+ goog.inherits(proto.Spic.ContractorProto.RetrieveRequest, jspb.Message);
92
+ if (goog.DEBUG && !COMPILED) {
93
+ /**
94
+ * @public
95
+ * @override
96
+ */
97
+ proto.Spic.ContractorProto.RetrieveRequest.displayName = 'proto.Spic.ContractorProto.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.Spic.ContractorProto.UpdateRequest = function(opt_data) {
110
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
111
+ };
112
+ goog.inherits(proto.Spic.ContractorProto.UpdateRequest, jspb.Message);
113
+ if (goog.DEBUG && !COMPILED) {
114
+ /**
115
+ * @public
116
+ * @override
117
+ */
118
+ proto.Spic.ContractorProto.UpdateRequest.displayName = 'proto.Spic.ContractorProto.UpdateRequest';
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.Spic.ContractorProto.DeleteRequest = function(opt_data) {
131
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
132
+ };
133
+ goog.inherits(proto.Spic.ContractorProto.DeleteRequest, jspb.Message);
134
+ if (goog.DEBUG && !COMPILED) {
135
+ /**
136
+ * @public
137
+ * @override
138
+ */
139
+ proto.Spic.ContractorProto.DeleteRequest.displayName = 'proto.Spic.ContractorProto.DeleteRequest';
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.Spic.ContractorProto.DeleteReply = function(opt_data) {
152
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
153
+ };
154
+ goog.inherits(proto.Spic.ContractorProto.DeleteReply, jspb.Message);
155
+ if (goog.DEBUG && !COMPILED) {
156
+ /**
157
+ * @public
158
+ * @override
159
+ */
160
+ proto.Spic.ContractorProto.DeleteReply.displayName = 'proto.Spic.ContractorProto.DeleteReply';
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.Spic.ContractorProto.SearchRequest = function(opt_data) {
173
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
174
+ };
175
+ goog.inherits(proto.Spic.ContractorProto.SearchRequest, jspb.Message);
176
+ if (goog.DEBUG && !COMPILED) {
177
+ /**
178
+ * @public
179
+ * @override
180
+ */
181
+ proto.Spic.ContractorProto.SearchRequest.displayName = 'proto.Spic.ContractorProto.SearchRequest';
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.Spic.ContractorProto.SearchReply = function(opt_data) {
194
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.ContractorProto.SearchReply.repeatedFields_, null);
195
+ };
196
+ goog.inherits(proto.Spic.ContractorProto.SearchReply, jspb.Message);
197
+ if (goog.DEBUG && !COMPILED) {
198
+ /**
199
+ * @public
200
+ * @override
201
+ */
202
+ proto.Spic.ContractorProto.SearchReply.displayName = 'proto.Spic.ContractorProto.SearchReply';
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.Spic.ContractorProto.prototype.toObject = function(opt_includeInstance) {
221
+ return proto.Spic.ContractorProto.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.Spic.ContractorProto} msg The msg instance to transform.
231
+ * @return {!Object}
232
+ * @suppress {unusedLocalVariables} f is only used for nested messages
233
+ */
234
+ proto.Spic.ContractorProto.toObject = function(includeInstance, msg) {
235
+ var f, obj = {
236
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
237
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
238
+ clientId: jspb.Message.getFieldWithDefault(msg, 3, 0)
239
+ };
240
+
241
+ if (includeInstance) {
242
+ obj.$jspbMessageInstance = msg;
243
+ }
244
+ return obj;
245
+ };
246
+ }
247
+
248
+
249
+ /**
250
+ * Deserializes binary data (in protobuf wire format).
251
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
252
+ * @return {!proto.Spic.ContractorProto}
253
+ */
254
+ proto.Spic.ContractorProto.deserializeBinary = function(bytes) {
255
+ var reader = new jspb.BinaryReader(bytes);
256
+ var msg = new proto.Spic.ContractorProto;
257
+ return proto.Spic.ContractorProto.deserializeBinaryFromReader(msg, reader);
258
+ };
259
+
260
+
261
+ /**
262
+ * Deserializes binary data (in protobuf wire format) from the
263
+ * given reader into the given message object.
264
+ * @param {!proto.Spic.ContractorProto} msg The message object to deserialize into.
265
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
266
+ * @return {!proto.Spic.ContractorProto}
267
+ */
268
+ proto.Spic.ContractorProto.deserializeBinaryFromReader = function(msg, reader) {
269
+ while (reader.nextField()) {
270
+ if (reader.isEndGroup()) {
271
+ break;
272
+ }
273
+ var field = reader.getFieldNumber();
274
+ switch (field) {
275
+ case 1:
276
+ var value = /** @type {number} */ (reader.readInt32());
277
+ msg.setId(value);
278
+ break;
279
+ case 2:
280
+ var value = /** @type {string} */ (reader.readString());
281
+ msg.setName(value);
282
+ break;
283
+ case 3:
284
+ var value = /** @type {number} */ (reader.readInt32());
285
+ msg.setClientId(value);
286
+ break;
287
+ default:
288
+ reader.skipField();
289
+ break;
290
+ }
291
+ }
292
+ return msg;
293
+ };
294
+
295
+
296
+ /**
297
+ * Serializes the message to binary data (in protobuf wire format).
298
+ * @return {!Uint8Array}
299
+ */
300
+ proto.Spic.ContractorProto.prototype.serializeBinary = function() {
301
+ var writer = new jspb.BinaryWriter();
302
+ proto.Spic.ContractorProto.serializeBinaryToWriter(this, writer);
303
+ return writer.getResultBuffer();
304
+ };
305
+
306
+
307
+ /**
308
+ * Serializes the given message to binary data (in protobuf wire
309
+ * format), writing to the given BinaryWriter.
310
+ * @param {!proto.Spic.ContractorProto} message
311
+ * @param {!jspb.BinaryWriter} writer
312
+ * @suppress {unusedLocalVariables} f is only used for nested messages
313
+ */
314
+ proto.Spic.ContractorProto.serializeBinaryToWriter = function(message, writer) {
315
+ var f = undefined;
316
+ f = message.getId();
317
+ if (f !== 0) {
318
+ writer.writeInt32(
319
+ 1,
320
+ f
321
+ );
322
+ }
323
+ f = message.getName();
324
+ if (f.length > 0) {
325
+ writer.writeString(
326
+ 2,
327
+ f
328
+ );
329
+ }
330
+ f = message.getClientId();
331
+ if (f !== 0) {
332
+ writer.writeInt32(
333
+ 3,
334
+ f
335
+ );
336
+ }
337
+ };
338
+
339
+
340
+
341
+
342
+
343
+ if (jspb.Message.GENERATE_TO_OBJECT) {
344
+ /**
345
+ * Creates an object representation of this proto.
346
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
347
+ * Optional fields that are not set will be set to undefined.
348
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
349
+ * For the list of reserved names please see:
350
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
351
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
352
+ * JSPB instance for transitional soy proto support:
353
+ * http://goto/soy-param-migration
354
+ * @return {!Object}
355
+ */
356
+ proto.Spic.ContractorProto.CreateRequest.prototype.toObject = function(opt_includeInstance) {
357
+ return proto.Spic.ContractorProto.CreateRequest.toObject(opt_includeInstance, this);
358
+ };
359
+
360
+
361
+ /**
362
+ * Static version of the {@see toObject} method.
363
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
364
+ * the JSPB instance for transitional soy proto support:
365
+ * http://goto/soy-param-migration
366
+ * @param {!proto.Spic.ContractorProto.CreateRequest} msg The msg instance to transform.
367
+ * @return {!Object}
368
+ * @suppress {unusedLocalVariables} f is only used for nested messages
369
+ */
370
+ proto.Spic.ContractorProto.CreateRequest.toObject = function(includeInstance, msg) {
371
+ var f, obj = {
372
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
373
+ clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
374
+ };
375
+
376
+ if (includeInstance) {
377
+ obj.$jspbMessageInstance = msg;
378
+ }
379
+ return obj;
380
+ };
381
+ }
382
+
383
+
384
+ /**
385
+ * Deserializes binary data (in protobuf wire format).
386
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
387
+ * @return {!proto.Spic.ContractorProto.CreateRequest}
388
+ */
389
+ proto.Spic.ContractorProto.CreateRequest.deserializeBinary = function(bytes) {
390
+ var reader = new jspb.BinaryReader(bytes);
391
+ var msg = new proto.Spic.ContractorProto.CreateRequest;
392
+ return proto.Spic.ContractorProto.CreateRequest.deserializeBinaryFromReader(msg, reader);
393
+ };
394
+
395
+
396
+ /**
397
+ * Deserializes binary data (in protobuf wire format) from the
398
+ * given reader into the given message object.
399
+ * @param {!proto.Spic.ContractorProto.CreateRequest} msg The message object to deserialize into.
400
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
401
+ * @return {!proto.Spic.ContractorProto.CreateRequest}
402
+ */
403
+ proto.Spic.ContractorProto.CreateRequest.deserializeBinaryFromReader = function(msg, reader) {
404
+ while (reader.nextField()) {
405
+ if (reader.isEndGroup()) {
406
+ break;
407
+ }
408
+ var field = reader.getFieldNumber();
409
+ switch (field) {
410
+ case 1:
411
+ var value = /** @type {string} */ (reader.readString());
412
+ msg.setName(value);
413
+ break;
414
+ case 2:
415
+ var value = /** @type {number} */ (reader.readInt32());
416
+ msg.setClientId(value);
417
+ break;
418
+ default:
419
+ reader.skipField();
420
+ break;
421
+ }
422
+ }
423
+ return msg;
424
+ };
425
+
426
+
427
+ /**
428
+ * Serializes the message to binary data (in protobuf wire format).
429
+ * @return {!Uint8Array}
430
+ */
431
+ proto.Spic.ContractorProto.CreateRequest.prototype.serializeBinary = function() {
432
+ var writer = new jspb.BinaryWriter();
433
+ proto.Spic.ContractorProto.CreateRequest.serializeBinaryToWriter(this, writer);
434
+ return writer.getResultBuffer();
435
+ };
436
+
437
+
438
+ /**
439
+ * Serializes the given message to binary data (in protobuf wire
440
+ * format), writing to the given BinaryWriter.
441
+ * @param {!proto.Spic.ContractorProto.CreateRequest} message
442
+ * @param {!jspb.BinaryWriter} writer
443
+ * @suppress {unusedLocalVariables} f is only used for nested messages
444
+ */
445
+ proto.Spic.ContractorProto.CreateRequest.serializeBinaryToWriter = function(message, writer) {
446
+ var f = undefined;
447
+ f = message.getName();
448
+ if (f.length > 0) {
449
+ writer.writeString(
450
+ 1,
451
+ f
452
+ );
453
+ }
454
+ f = message.getClientId();
455
+ if (f !== 0) {
456
+ writer.writeInt32(
457
+ 2,
458
+ f
459
+ );
460
+ }
461
+ };
462
+
463
+
464
+ /**
465
+ * optional string name = 1;
466
+ * @return {string}
467
+ */
468
+ proto.Spic.ContractorProto.CreateRequest.prototype.getName = function() {
469
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
470
+ };
471
+
472
+
473
+ /**
474
+ * @param {string} value
475
+ * @return {!proto.Spic.ContractorProto.CreateRequest} returns this
476
+ */
477
+ proto.Spic.ContractorProto.CreateRequest.prototype.setName = function(value) {
478
+ return jspb.Message.setProto3StringField(this, 1, value);
479
+ };
480
+
481
+
482
+ /**
483
+ * optional int32 client_id = 2;
484
+ * @return {number}
485
+ */
486
+ proto.Spic.ContractorProto.CreateRequest.prototype.getClientId = function() {
487
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
488
+ };
489
+
490
+
491
+ /**
492
+ * @param {number} value
493
+ * @return {!proto.Spic.ContractorProto.CreateRequest} returns this
494
+ */
495
+ proto.Spic.ContractorProto.CreateRequest.prototype.setClientId = function(value) {
496
+ return jspb.Message.setProto3IntField(this, 2, value);
497
+ };
498
+
499
+
500
+
501
+
502
+
503
+ if (jspb.Message.GENERATE_TO_OBJECT) {
504
+ /**
505
+ * Creates an object representation of this proto.
506
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
507
+ * Optional fields that are not set will be set to undefined.
508
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
509
+ * For the list of reserved names please see:
510
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
511
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
512
+ * JSPB instance for transitional soy proto support:
513
+ * http://goto/soy-param-migration
514
+ * @return {!Object}
515
+ */
516
+ proto.Spic.ContractorProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
517
+ return proto.Spic.ContractorProto.RetrieveRequest.toObject(opt_includeInstance, this);
518
+ };
519
+
520
+
521
+ /**
522
+ * Static version of the {@see toObject} method.
523
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
524
+ * the JSPB instance for transitional soy proto support:
525
+ * http://goto/soy-param-migration
526
+ * @param {!proto.Spic.ContractorProto.RetrieveRequest} msg The msg instance to transform.
527
+ * @return {!Object}
528
+ * @suppress {unusedLocalVariables} f is only used for nested messages
529
+ */
530
+ proto.Spic.ContractorProto.RetrieveRequest.toObject = function(includeInstance, msg) {
531
+ var f, obj = {
532
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
533
+ };
534
+
535
+ if (includeInstance) {
536
+ obj.$jspbMessageInstance = msg;
537
+ }
538
+ return obj;
539
+ };
540
+ }
541
+
542
+
543
+ /**
544
+ * Deserializes binary data (in protobuf wire format).
545
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
546
+ * @return {!proto.Spic.ContractorProto.RetrieveRequest}
547
+ */
548
+ proto.Spic.ContractorProto.RetrieveRequest.deserializeBinary = function(bytes) {
549
+ var reader = new jspb.BinaryReader(bytes);
550
+ var msg = new proto.Spic.ContractorProto.RetrieveRequest;
551
+ return proto.Spic.ContractorProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
552
+ };
553
+
554
+
555
+ /**
556
+ * Deserializes binary data (in protobuf wire format) from the
557
+ * given reader into the given message object.
558
+ * @param {!proto.Spic.ContractorProto.RetrieveRequest} msg The message object to deserialize into.
559
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
560
+ * @return {!proto.Spic.ContractorProto.RetrieveRequest}
561
+ */
562
+ proto.Spic.ContractorProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
563
+ while (reader.nextField()) {
564
+ if (reader.isEndGroup()) {
565
+ break;
566
+ }
567
+ var field = reader.getFieldNumber();
568
+ switch (field) {
569
+ case 1:
570
+ var value = /** @type {number} */ (reader.readInt64());
571
+ msg.setId(value);
572
+ break;
573
+ default:
574
+ reader.skipField();
575
+ break;
576
+ }
577
+ }
578
+ return msg;
579
+ };
580
+
581
+
582
+ /**
583
+ * Serializes the message to binary data (in protobuf wire format).
584
+ * @return {!Uint8Array}
585
+ */
586
+ proto.Spic.ContractorProto.RetrieveRequest.prototype.serializeBinary = function() {
587
+ var writer = new jspb.BinaryWriter();
588
+ proto.Spic.ContractorProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
589
+ return writer.getResultBuffer();
590
+ };
591
+
592
+
593
+ /**
594
+ * Serializes the given message to binary data (in protobuf wire
595
+ * format), writing to the given BinaryWriter.
596
+ * @param {!proto.Spic.ContractorProto.RetrieveRequest} message
597
+ * @param {!jspb.BinaryWriter} writer
598
+ * @suppress {unusedLocalVariables} f is only used for nested messages
599
+ */
600
+ proto.Spic.ContractorProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
601
+ var f = undefined;
602
+ f = message.getId();
603
+ if (f !== 0) {
604
+ writer.writeInt64(
605
+ 1,
606
+ f
607
+ );
608
+ }
609
+ };
610
+
611
+
612
+ /**
613
+ * optional int64 id = 1;
614
+ * @return {number}
615
+ */
616
+ proto.Spic.ContractorProto.RetrieveRequest.prototype.getId = function() {
617
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
618
+ };
619
+
620
+
621
+ /**
622
+ * @param {number} value
623
+ * @return {!proto.Spic.ContractorProto.RetrieveRequest} returns this
624
+ */
625
+ proto.Spic.ContractorProto.RetrieveRequest.prototype.setId = function(value) {
626
+ return jspb.Message.setProto3IntField(this, 1, value);
627
+ };
628
+
629
+
630
+
631
+
632
+
633
+ if (jspb.Message.GENERATE_TO_OBJECT) {
634
+ /**
635
+ * Creates an object representation of this proto.
636
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
637
+ * Optional fields that are not set will be set to undefined.
638
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
639
+ * For the list of reserved names please see:
640
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
641
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
642
+ * JSPB instance for transitional soy proto support:
643
+ * http://goto/soy-param-migration
644
+ * @return {!Object}
645
+ */
646
+ proto.Spic.ContractorProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
647
+ return proto.Spic.ContractorProto.UpdateRequest.toObject(opt_includeInstance, this);
648
+ };
649
+
650
+
651
+ /**
652
+ * Static version of the {@see toObject} method.
653
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
654
+ * the JSPB instance for transitional soy proto support:
655
+ * http://goto/soy-param-migration
656
+ * @param {!proto.Spic.ContractorProto.UpdateRequest} msg The msg instance to transform.
657
+ * @return {!Object}
658
+ * @suppress {unusedLocalVariables} f is only used for nested messages
659
+ */
660
+ proto.Spic.ContractorProto.UpdateRequest.toObject = function(includeInstance, msg) {
661
+ var f, obj = {
662
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
663
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
664
+ clientId: jspb.Message.getFieldWithDefault(msg, 3, 0)
665
+ };
666
+
667
+ if (includeInstance) {
668
+ obj.$jspbMessageInstance = msg;
669
+ }
670
+ return obj;
671
+ };
672
+ }
673
+
674
+
675
+ /**
676
+ * Deserializes binary data (in protobuf wire format).
677
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
678
+ * @return {!proto.Spic.ContractorProto.UpdateRequest}
679
+ */
680
+ proto.Spic.ContractorProto.UpdateRequest.deserializeBinary = function(bytes) {
681
+ var reader = new jspb.BinaryReader(bytes);
682
+ var msg = new proto.Spic.ContractorProto.UpdateRequest;
683
+ return proto.Spic.ContractorProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
684
+ };
685
+
686
+
687
+ /**
688
+ * Deserializes binary data (in protobuf wire format) from the
689
+ * given reader into the given message object.
690
+ * @param {!proto.Spic.ContractorProto.UpdateRequest} msg The message object to deserialize into.
691
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
692
+ * @return {!proto.Spic.ContractorProto.UpdateRequest}
693
+ */
694
+ proto.Spic.ContractorProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
695
+ while (reader.nextField()) {
696
+ if (reader.isEndGroup()) {
697
+ break;
698
+ }
699
+ var field = reader.getFieldNumber();
700
+ switch (field) {
701
+ case 1:
702
+ var value = /** @type {number} */ (reader.readInt64());
703
+ msg.setId(value);
704
+ break;
705
+ case 2:
706
+ var value = /** @type {string} */ (reader.readString());
707
+ msg.setName(value);
708
+ break;
709
+ case 3:
710
+ var value = /** @type {number} */ (reader.readInt32());
711
+ msg.setClientId(value);
712
+ break;
713
+ default:
714
+ reader.skipField();
715
+ break;
716
+ }
717
+ }
718
+ return msg;
719
+ };
720
+
721
+
722
+ /**
723
+ * Serializes the message to binary data (in protobuf wire format).
724
+ * @return {!Uint8Array}
725
+ */
726
+ proto.Spic.ContractorProto.UpdateRequest.prototype.serializeBinary = function() {
727
+ var writer = new jspb.BinaryWriter();
728
+ proto.Spic.ContractorProto.UpdateRequest.serializeBinaryToWriter(this, writer);
729
+ return writer.getResultBuffer();
730
+ };
731
+
732
+
733
+ /**
734
+ * Serializes the given message to binary data (in protobuf wire
735
+ * format), writing to the given BinaryWriter.
736
+ * @param {!proto.Spic.ContractorProto.UpdateRequest} message
737
+ * @param {!jspb.BinaryWriter} writer
738
+ * @suppress {unusedLocalVariables} f is only used for nested messages
739
+ */
740
+ proto.Spic.ContractorProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
741
+ var f = undefined;
742
+ f = message.getId();
743
+ if (f !== 0) {
744
+ writer.writeInt64(
745
+ 1,
746
+ f
747
+ );
748
+ }
749
+ f = message.getName();
750
+ if (f.length > 0) {
751
+ writer.writeString(
752
+ 2,
753
+ f
754
+ );
755
+ }
756
+ f = message.getClientId();
757
+ if (f !== 0) {
758
+ writer.writeInt32(
759
+ 3,
760
+ f
761
+ );
762
+ }
763
+ };
764
+
765
+
766
+ /**
767
+ * optional int64 id = 1;
768
+ * @return {number}
769
+ */
770
+ proto.Spic.ContractorProto.UpdateRequest.prototype.getId = function() {
771
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
772
+ };
773
+
774
+
775
+ /**
776
+ * @param {number} value
777
+ * @return {!proto.Spic.ContractorProto.UpdateRequest} returns this
778
+ */
779
+ proto.Spic.ContractorProto.UpdateRequest.prototype.setId = function(value) {
780
+ return jspb.Message.setProto3IntField(this, 1, value);
781
+ };
782
+
783
+
784
+ /**
785
+ * optional string name = 2;
786
+ * @return {string}
787
+ */
788
+ proto.Spic.ContractorProto.UpdateRequest.prototype.getName = function() {
789
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
790
+ };
791
+
792
+
793
+ /**
794
+ * @param {string} value
795
+ * @return {!proto.Spic.ContractorProto.UpdateRequest} returns this
796
+ */
797
+ proto.Spic.ContractorProto.UpdateRequest.prototype.setName = function(value) {
798
+ return jspb.Message.setProto3StringField(this, 2, value);
799
+ };
800
+
801
+
802
+ /**
803
+ * optional int32 client_id = 3;
804
+ * @return {number}
805
+ */
806
+ proto.Spic.ContractorProto.UpdateRequest.prototype.getClientId = function() {
807
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
808
+ };
809
+
810
+
811
+ /**
812
+ * @param {number} value
813
+ * @return {!proto.Spic.ContractorProto.UpdateRequest} returns this
814
+ */
815
+ proto.Spic.ContractorProto.UpdateRequest.prototype.setClientId = function(value) {
816
+ return jspb.Message.setProto3IntField(this, 3, value);
817
+ };
818
+
819
+
820
+
821
+
822
+
823
+ if (jspb.Message.GENERATE_TO_OBJECT) {
824
+ /**
825
+ * Creates an object representation of this proto.
826
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
827
+ * Optional fields that are not set will be set to undefined.
828
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
829
+ * For the list of reserved names please see:
830
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
831
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
832
+ * JSPB instance for transitional soy proto support:
833
+ * http://goto/soy-param-migration
834
+ * @return {!Object}
835
+ */
836
+ proto.Spic.ContractorProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
837
+ return proto.Spic.ContractorProto.DeleteRequest.toObject(opt_includeInstance, this);
838
+ };
839
+
840
+
841
+ /**
842
+ * Static version of the {@see toObject} method.
843
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
844
+ * the JSPB instance for transitional soy proto support:
845
+ * http://goto/soy-param-migration
846
+ * @param {!proto.Spic.ContractorProto.DeleteRequest} msg The msg instance to transform.
847
+ * @return {!Object}
848
+ * @suppress {unusedLocalVariables} f is only used for nested messages
849
+ */
850
+ proto.Spic.ContractorProto.DeleteRequest.toObject = function(includeInstance, msg) {
851
+ var f, obj = {
852
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
853
+ };
854
+
855
+ if (includeInstance) {
856
+ obj.$jspbMessageInstance = msg;
857
+ }
858
+ return obj;
859
+ };
860
+ }
861
+
862
+
863
+ /**
864
+ * Deserializes binary data (in protobuf wire format).
865
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
866
+ * @return {!proto.Spic.ContractorProto.DeleteRequest}
867
+ */
868
+ proto.Spic.ContractorProto.DeleteRequest.deserializeBinary = function(bytes) {
869
+ var reader = new jspb.BinaryReader(bytes);
870
+ var msg = new proto.Spic.ContractorProto.DeleteRequest;
871
+ return proto.Spic.ContractorProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
872
+ };
873
+
874
+
875
+ /**
876
+ * Deserializes binary data (in protobuf wire format) from the
877
+ * given reader into the given message object.
878
+ * @param {!proto.Spic.ContractorProto.DeleteRequest} msg The message object to deserialize into.
879
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
880
+ * @return {!proto.Spic.ContractorProto.DeleteRequest}
881
+ */
882
+ proto.Spic.ContractorProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
883
+ while (reader.nextField()) {
884
+ if (reader.isEndGroup()) {
885
+ break;
886
+ }
887
+ var field = reader.getFieldNumber();
888
+ switch (field) {
889
+ case 1:
890
+ var value = /** @type {number} */ (reader.readInt64());
891
+ msg.setId(value);
892
+ break;
893
+ default:
894
+ reader.skipField();
895
+ break;
896
+ }
897
+ }
898
+ return msg;
899
+ };
900
+
901
+
902
+ /**
903
+ * Serializes the message to binary data (in protobuf wire format).
904
+ * @return {!Uint8Array}
905
+ */
906
+ proto.Spic.ContractorProto.DeleteRequest.prototype.serializeBinary = function() {
907
+ var writer = new jspb.BinaryWriter();
908
+ proto.Spic.ContractorProto.DeleteRequest.serializeBinaryToWriter(this, writer);
909
+ return writer.getResultBuffer();
910
+ };
911
+
912
+
913
+ /**
914
+ * Serializes the given message to binary data (in protobuf wire
915
+ * format), writing to the given BinaryWriter.
916
+ * @param {!proto.Spic.ContractorProto.DeleteRequest} message
917
+ * @param {!jspb.BinaryWriter} writer
918
+ * @suppress {unusedLocalVariables} f is only used for nested messages
919
+ */
920
+ proto.Spic.ContractorProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
921
+ var f = undefined;
922
+ f = message.getId();
923
+ if (f !== 0) {
924
+ writer.writeInt64(
925
+ 1,
926
+ f
927
+ );
928
+ }
929
+ };
930
+
931
+
932
+ /**
933
+ * optional int64 id = 1;
934
+ * @return {number}
935
+ */
936
+ proto.Spic.ContractorProto.DeleteRequest.prototype.getId = function() {
937
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
938
+ };
939
+
940
+
941
+ /**
942
+ * @param {number} value
943
+ * @return {!proto.Spic.ContractorProto.DeleteRequest} returns this
944
+ */
945
+ proto.Spic.ContractorProto.DeleteRequest.prototype.setId = function(value) {
946
+ return jspb.Message.setProto3IntField(this, 1, value);
947
+ };
948
+
949
+
950
+
951
+
952
+
953
+ if (jspb.Message.GENERATE_TO_OBJECT) {
954
+ /**
955
+ * Creates an object representation of this proto.
956
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
957
+ * Optional fields that are not set will be set to undefined.
958
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
959
+ * For the list of reserved names please see:
960
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
961
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
962
+ * JSPB instance for transitional soy proto support:
963
+ * http://goto/soy-param-migration
964
+ * @return {!Object}
965
+ */
966
+ proto.Spic.ContractorProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
967
+ return proto.Spic.ContractorProto.DeleteReply.toObject(opt_includeInstance, this);
968
+ };
969
+
970
+
971
+ /**
972
+ * Static version of the {@see toObject} method.
973
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
974
+ * the JSPB instance for transitional soy proto support:
975
+ * http://goto/soy-param-migration
976
+ * @param {!proto.Spic.ContractorProto.DeleteReply} msg The msg instance to transform.
977
+ * @return {!Object}
978
+ * @suppress {unusedLocalVariables} f is only used for nested messages
979
+ */
980
+ proto.Spic.ContractorProto.DeleteReply.toObject = function(includeInstance, msg) {
981
+ var f, obj = {
982
+
983
+ };
984
+
985
+ if (includeInstance) {
986
+ obj.$jspbMessageInstance = msg;
987
+ }
988
+ return obj;
989
+ };
990
+ }
991
+
992
+
993
+ /**
994
+ * Deserializes binary data (in protobuf wire format).
995
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
996
+ * @return {!proto.Spic.ContractorProto.DeleteReply}
997
+ */
998
+ proto.Spic.ContractorProto.DeleteReply.deserializeBinary = function(bytes) {
999
+ var reader = new jspb.BinaryReader(bytes);
1000
+ var msg = new proto.Spic.ContractorProto.DeleteReply;
1001
+ return proto.Spic.ContractorProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
1002
+ };
1003
+
1004
+
1005
+ /**
1006
+ * Deserializes binary data (in protobuf wire format) from the
1007
+ * given reader into the given message object.
1008
+ * @param {!proto.Spic.ContractorProto.DeleteReply} msg The message object to deserialize into.
1009
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1010
+ * @return {!proto.Spic.ContractorProto.DeleteReply}
1011
+ */
1012
+ proto.Spic.ContractorProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
1013
+ while (reader.nextField()) {
1014
+ if (reader.isEndGroup()) {
1015
+ break;
1016
+ }
1017
+ var field = reader.getFieldNumber();
1018
+ switch (field) {
1019
+ default:
1020
+ reader.skipField();
1021
+ break;
1022
+ }
1023
+ }
1024
+ return msg;
1025
+ };
1026
+
1027
+
1028
+ /**
1029
+ * Serializes the message to binary data (in protobuf wire format).
1030
+ * @return {!Uint8Array}
1031
+ */
1032
+ proto.Spic.ContractorProto.DeleteReply.prototype.serializeBinary = function() {
1033
+ var writer = new jspb.BinaryWriter();
1034
+ proto.Spic.ContractorProto.DeleteReply.serializeBinaryToWriter(this, writer);
1035
+ return writer.getResultBuffer();
1036
+ };
1037
+
1038
+
1039
+ /**
1040
+ * Serializes the given message to binary data (in protobuf wire
1041
+ * format), writing to the given BinaryWriter.
1042
+ * @param {!proto.Spic.ContractorProto.DeleteReply} message
1043
+ * @param {!jspb.BinaryWriter} writer
1044
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1045
+ */
1046
+ proto.Spic.ContractorProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
1047
+ var f = undefined;
1048
+ };
1049
+
1050
+
1051
+
1052
+
1053
+
1054
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1055
+ /**
1056
+ * Creates an object representation of this proto.
1057
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1058
+ * Optional fields that are not set will be set to undefined.
1059
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1060
+ * For the list of reserved names please see:
1061
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1062
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1063
+ * JSPB instance for transitional soy proto support:
1064
+ * http://goto/soy-param-migration
1065
+ * @return {!Object}
1066
+ */
1067
+ proto.Spic.ContractorProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
1068
+ return proto.Spic.ContractorProto.SearchRequest.toObject(opt_includeInstance, this);
1069
+ };
1070
+
1071
+
1072
+ /**
1073
+ * Static version of the {@see toObject} method.
1074
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1075
+ * the JSPB instance for transitional soy proto support:
1076
+ * http://goto/soy-param-migration
1077
+ * @param {!proto.Spic.ContractorProto.SearchRequest} msg The msg instance to transform.
1078
+ * @return {!Object}
1079
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1080
+ */
1081
+ proto.Spic.ContractorProto.SearchRequest.toObject = function(includeInstance, msg) {
1082
+ var f, obj = {
1083
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1084
+ clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
1085
+ };
1086
+
1087
+ if (includeInstance) {
1088
+ obj.$jspbMessageInstance = msg;
1089
+ }
1090
+ return obj;
1091
+ };
1092
+ }
1093
+
1094
+
1095
+ /**
1096
+ * Deserializes binary data (in protobuf wire format).
1097
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1098
+ * @return {!proto.Spic.ContractorProto.SearchRequest}
1099
+ */
1100
+ proto.Spic.ContractorProto.SearchRequest.deserializeBinary = function(bytes) {
1101
+ var reader = new jspb.BinaryReader(bytes);
1102
+ var msg = new proto.Spic.ContractorProto.SearchRequest;
1103
+ return proto.Spic.ContractorProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
1104
+ };
1105
+
1106
+
1107
+ /**
1108
+ * Deserializes binary data (in protobuf wire format) from the
1109
+ * given reader into the given message object.
1110
+ * @param {!proto.Spic.ContractorProto.SearchRequest} msg The message object to deserialize into.
1111
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1112
+ * @return {!proto.Spic.ContractorProto.SearchRequest}
1113
+ */
1114
+ proto.Spic.ContractorProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
1115
+ while (reader.nextField()) {
1116
+ if (reader.isEndGroup()) {
1117
+ break;
1118
+ }
1119
+ var field = reader.getFieldNumber();
1120
+ switch (field) {
1121
+ case 1:
1122
+ var value = /** @type {string} */ (reader.readString());
1123
+ msg.setName(value);
1124
+ break;
1125
+ case 2:
1126
+ var value = /** @type {number} */ (reader.readInt32());
1127
+ msg.setClientId(value);
1128
+ break;
1129
+ default:
1130
+ reader.skipField();
1131
+ break;
1132
+ }
1133
+ }
1134
+ return msg;
1135
+ };
1136
+
1137
+
1138
+ /**
1139
+ * Serializes the message to binary data (in protobuf wire format).
1140
+ * @return {!Uint8Array}
1141
+ */
1142
+ proto.Spic.ContractorProto.SearchRequest.prototype.serializeBinary = function() {
1143
+ var writer = new jspb.BinaryWriter();
1144
+ proto.Spic.ContractorProto.SearchRequest.serializeBinaryToWriter(this, writer);
1145
+ return writer.getResultBuffer();
1146
+ };
1147
+
1148
+
1149
+ /**
1150
+ * Serializes the given message to binary data (in protobuf wire
1151
+ * format), writing to the given BinaryWriter.
1152
+ * @param {!proto.Spic.ContractorProto.SearchRequest} message
1153
+ * @param {!jspb.BinaryWriter} writer
1154
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1155
+ */
1156
+ proto.Spic.ContractorProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
1157
+ var f = undefined;
1158
+ f = message.getName();
1159
+ if (f.length > 0) {
1160
+ writer.writeString(
1161
+ 1,
1162
+ f
1163
+ );
1164
+ }
1165
+ f = message.getClientId();
1166
+ if (f !== 0) {
1167
+ writer.writeInt32(
1168
+ 2,
1169
+ f
1170
+ );
1171
+ }
1172
+ };
1173
+
1174
+
1175
+ /**
1176
+ * optional string name = 1;
1177
+ * @return {string}
1178
+ */
1179
+ proto.Spic.ContractorProto.SearchRequest.prototype.getName = function() {
1180
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1181
+ };
1182
+
1183
+
1184
+ /**
1185
+ * @param {string} value
1186
+ * @return {!proto.Spic.ContractorProto.SearchRequest} returns this
1187
+ */
1188
+ proto.Spic.ContractorProto.SearchRequest.prototype.setName = function(value) {
1189
+ return jspb.Message.setProto3StringField(this, 1, value);
1190
+ };
1191
+
1192
+
1193
+ /**
1194
+ * optional int32 client_id = 2;
1195
+ * @return {number}
1196
+ */
1197
+ proto.Spic.ContractorProto.SearchRequest.prototype.getClientId = function() {
1198
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1199
+ };
1200
+
1201
+
1202
+ /**
1203
+ * @param {number} value
1204
+ * @return {!proto.Spic.ContractorProto.SearchRequest} returns this
1205
+ */
1206
+ proto.Spic.ContractorProto.SearchRequest.prototype.setClientId = function(value) {
1207
+ return jspb.Message.setProto3IntField(this, 2, value);
1208
+ };
1209
+
1210
+
1211
+
1212
+ /**
1213
+ * List of repeated fields within this message type.
1214
+ * @private {!Array<number>}
1215
+ * @const
1216
+ */
1217
+ proto.Spic.ContractorProto.SearchReply.repeatedFields_ = [1];
1218
+
1219
+
1220
+
1221
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1222
+ /**
1223
+ * Creates an object representation of this proto.
1224
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1225
+ * Optional fields that are not set will be set to undefined.
1226
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1227
+ * For the list of reserved names please see:
1228
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1229
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1230
+ * JSPB instance for transitional soy proto support:
1231
+ * http://goto/soy-param-migration
1232
+ * @return {!Object}
1233
+ */
1234
+ proto.Spic.ContractorProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1235
+ return proto.Spic.ContractorProto.SearchReply.toObject(opt_includeInstance, this);
1236
+ };
1237
+
1238
+
1239
+ /**
1240
+ * Static version of the {@see toObject} method.
1241
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1242
+ * the JSPB instance for transitional soy proto support:
1243
+ * http://goto/soy-param-migration
1244
+ * @param {!proto.Spic.ContractorProto.SearchReply} msg The msg instance to transform.
1245
+ * @return {!Object}
1246
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1247
+ */
1248
+ proto.Spic.ContractorProto.SearchReply.toObject = function(includeInstance, msg) {
1249
+ var f, obj = {
1250
+ contractorsList: jspb.Message.toObjectList(msg.getContractorsList(),
1251
+ proto.Spic.ContractorProto.toObject, includeInstance),
1252
+ pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1253
+ };
1254
+
1255
+ if (includeInstance) {
1256
+ obj.$jspbMessageInstance = msg;
1257
+ }
1258
+ return obj;
1259
+ };
1260
+ }
1261
+
1262
+
1263
+ /**
1264
+ * Deserializes binary data (in protobuf wire format).
1265
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1266
+ * @return {!proto.Spic.ContractorProto.SearchReply}
1267
+ */
1268
+ proto.Spic.ContractorProto.SearchReply.deserializeBinary = function(bytes) {
1269
+ var reader = new jspb.BinaryReader(bytes);
1270
+ var msg = new proto.Spic.ContractorProto.SearchReply;
1271
+ return proto.Spic.ContractorProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1272
+ };
1273
+
1274
+
1275
+ /**
1276
+ * Deserializes binary data (in protobuf wire format) from the
1277
+ * given reader into the given message object.
1278
+ * @param {!proto.Spic.ContractorProto.SearchReply} msg The message object to deserialize into.
1279
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1280
+ * @return {!proto.Spic.ContractorProto.SearchReply}
1281
+ */
1282
+ proto.Spic.ContractorProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1283
+ while (reader.nextField()) {
1284
+ if (reader.isEndGroup()) {
1285
+ break;
1286
+ }
1287
+ var field = reader.getFieldNumber();
1288
+ switch (field) {
1289
+ case 1:
1290
+ var value = new proto.Spic.ContractorProto;
1291
+ reader.readMessage(value,proto.Spic.ContractorProto.deserializeBinaryFromReader);
1292
+ msg.addContractors(value);
1293
+ break;
1294
+ case 2:
1295
+ var value = new platform_pagination_pb.PaginationProto;
1296
+ reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1297
+ msg.setPagination(value);
1298
+ break;
1299
+ default:
1300
+ reader.skipField();
1301
+ break;
1302
+ }
1303
+ }
1304
+ return msg;
1305
+ };
1306
+
1307
+
1308
+ /**
1309
+ * Serializes the message to binary data (in protobuf wire format).
1310
+ * @return {!Uint8Array}
1311
+ */
1312
+ proto.Spic.ContractorProto.SearchReply.prototype.serializeBinary = function() {
1313
+ var writer = new jspb.BinaryWriter();
1314
+ proto.Spic.ContractorProto.SearchReply.serializeBinaryToWriter(this, writer);
1315
+ return writer.getResultBuffer();
1316
+ };
1317
+
1318
+
1319
+ /**
1320
+ * Serializes the given message to binary data (in protobuf wire
1321
+ * format), writing to the given BinaryWriter.
1322
+ * @param {!proto.Spic.ContractorProto.SearchReply} message
1323
+ * @param {!jspb.BinaryWriter} writer
1324
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1325
+ */
1326
+ proto.Spic.ContractorProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1327
+ var f = undefined;
1328
+ f = message.getContractorsList();
1329
+ if (f.length > 0) {
1330
+ writer.writeRepeatedMessage(
1331
+ 1,
1332
+ f,
1333
+ proto.Spic.ContractorProto.serializeBinaryToWriter
1334
+ );
1335
+ }
1336
+ f = message.getPagination();
1337
+ if (f != null) {
1338
+ writer.writeMessage(
1339
+ 2,
1340
+ f,
1341
+ platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1342
+ );
1343
+ }
1344
+ };
1345
+
1346
+
1347
+ /**
1348
+ * repeated ContractorProto contractors = 1;
1349
+ * @return {!Array<!proto.Spic.ContractorProto>}
1350
+ */
1351
+ proto.Spic.ContractorProto.SearchReply.prototype.getContractorsList = function() {
1352
+ return /** @type{!Array<!proto.Spic.ContractorProto>} */ (
1353
+ jspb.Message.getRepeatedWrapperField(this, proto.Spic.ContractorProto, 1));
1354
+ };
1355
+
1356
+
1357
+ /**
1358
+ * @param {!Array<!proto.Spic.ContractorProto>} value
1359
+ * @return {!proto.Spic.ContractorProto.SearchReply} returns this
1360
+ */
1361
+ proto.Spic.ContractorProto.SearchReply.prototype.setContractorsList = function(value) {
1362
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1363
+ };
1364
+
1365
+
1366
+ /**
1367
+ * @param {!proto.Spic.ContractorProto=} opt_value
1368
+ * @param {number=} opt_index
1369
+ * @return {!proto.Spic.ContractorProto}
1370
+ */
1371
+ proto.Spic.ContractorProto.SearchReply.prototype.addContractors = function(opt_value, opt_index) {
1372
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Spic.ContractorProto, opt_index);
1373
+ };
1374
+
1375
+
1376
+ /**
1377
+ * Clears the list making it empty but non-null.
1378
+ * @return {!proto.Spic.ContractorProto.SearchReply} returns this
1379
+ */
1380
+ proto.Spic.ContractorProto.SearchReply.prototype.clearContractorsList = function() {
1381
+ return this.setContractorsList([]);
1382
+ };
1383
+
1384
+
1385
+ /**
1386
+ * optional Platform.PaginationProto pagination = 2;
1387
+ * @return {?proto.Platform.PaginationProto}
1388
+ */
1389
+ proto.Spic.ContractorProto.SearchReply.prototype.getPagination = function() {
1390
+ return /** @type{?proto.Platform.PaginationProto} */ (
1391
+ jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1392
+ };
1393
+
1394
+
1395
+ /**
1396
+ * @param {?proto.Platform.PaginationProto|undefined} value
1397
+ * @return {!proto.Spic.ContractorProto.SearchReply} returns this
1398
+ */
1399
+ proto.Spic.ContractorProto.SearchReply.prototype.setPagination = function(value) {
1400
+ return jspb.Message.setWrapperField(this, 2, value);
1401
+ };
1402
+
1403
+
1404
+ /**
1405
+ * Clears the message field making it undefined.
1406
+ * @return {!proto.Spic.ContractorProto.SearchReply} returns this
1407
+ */
1408
+ proto.Spic.ContractorProto.SearchReply.prototype.clearPagination = function() {
1409
+ return this.setPagination(undefined);
1410
+ };
1411
+
1412
+
1413
+ /**
1414
+ * Returns whether this field is set.
1415
+ * @return {boolean}
1416
+ */
1417
+ proto.Spic.ContractorProto.SearchReply.prototype.hasPagination = function() {
1418
+ return jspb.Message.getField(this, 2) != null;
1419
+ };
1420
+
1421
+
1422
+ /**
1423
+ * optional int32 id = 1;
1424
+ * @return {number}
1425
+ */
1426
+ proto.Spic.ContractorProto.prototype.getId = function() {
1427
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1428
+ };
1429
+
1430
+
1431
+ /**
1432
+ * @param {number} value
1433
+ * @return {!proto.Spic.ContractorProto} returns this
1434
+ */
1435
+ proto.Spic.ContractorProto.prototype.setId = function(value) {
1436
+ return jspb.Message.setProto3IntField(this, 1, value);
1437
+ };
1438
+
1439
+
1440
+ /**
1441
+ * optional string name = 2;
1442
+ * @return {string}
1443
+ */
1444
+ proto.Spic.ContractorProto.prototype.getName = function() {
1445
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1446
+ };
1447
+
1448
+
1449
+ /**
1450
+ * @param {string} value
1451
+ * @return {!proto.Spic.ContractorProto} returns this
1452
+ */
1453
+ proto.Spic.ContractorProto.prototype.setName = function(value) {
1454
+ return jspb.Message.setProto3StringField(this, 2, value);
1455
+ };
1456
+
1457
+
1458
+ /**
1459
+ * optional int32 client_id = 3;
1460
+ * @return {number}
1461
+ */
1462
+ proto.Spic.ContractorProto.prototype.getClientId = function() {
1463
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1464
+ };
1465
+
1466
+
1467
+ /**
1468
+ * @param {number} value
1469
+ * @return {!proto.Spic.ContractorProto} returns this
1470
+ */
1471
+ proto.Spic.ContractorProto.prototype.setClientId = function(value) {
1472
+ return jspb.Message.setProto3IntField(this, 3, value);
1473
+ };
1474
+
1475
+
1476
+ goog.object.extend(exports, proto.Spic);